{"action":"created","issue":{"url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/307","labels_url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/307/comments","events_url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/307/events","html_url":"https://github.com/quattor/configuration-modules-core/issues/307","id":43634486,"number":307,"title":"ncm-chkconfig: towards new ncm-chkconfig","user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/quattor/configuration-modules-core/milestones/8","html_url":"https://github.com/quattor/configuration-modules-core/milestones/15.4","labels_url":"https://api.github.com/repos/quattor/configuration-modules-core/milestones/8/labels","id":811146,"number":8,"title":"15.4","description":null,"creator":{"login":"jrha","id":323309,"avatar_url":"https://avatars.githubusercontent.com/u/323309?v=3","gravatar_id":"","url":"https://api.github.com/users/jrha","html_url":"https://github.com/jrha","followers_url":"https://api.github.com/users/jrha/followers","following_url":"https://api.github.com/users/jrha/following{/other_user}","gists_url":"https://api.github.com/users/jrha/gists{/gist_id}","starred_url":"https://api.github.com/users/jrha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrha/subscriptions","organizations_url":"https://api.github.com/users/jrha/orgs","repos_url":"https://api.github.com/users/jrha/repos","events_url":"https://api.github.com/users/jrha/events{/privacy}","received_events_url":"https://api.github.com/users/jrha/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":76,"state":"open","created_at":"2014-10-02T10:30:31Z","updated_at":"2015-05-13T13:20:03Z","due_on":"2015-04-28T07:00:00Z","closed_at":null},"comments":7,"created_at":"2014-09-23T14:16:53Z","updated_at":"2015-05-13T13:23:21Z","closed_at":null,"body":"hi all,\r\n\r\n(probably to be discussed/settled during workshop).\r\n\r\nEL7 support is missing ncm-chkconfig support due to the fact that `chkconfig` (as opposed to `service`) has no full out-of-the-box support for systemd. in particular, the `--list` option is broken in all kinds of new ways. so the current component needs to be extended (or replaced by new one), and thus this raises the question how to deal with this.\r\n\r\nmain questions are:\r\nA. move the logic to `CAF::Service`: although it makes sense, the code will be ugly, e.g. for current EL70 systems, we neeed both `chkconfig` and `systemctl` to get a list of all services if there any sysvinit only services in use. also `chkconfig --levels` acts different on systemd services.\r\n\r\nB. simplify the schema: this will be a backwards incompatible issue, but the current schema is not understandable wrt what the component will do given certain combinations of settings.\r\n\r\nif you have any proposals and/or opinions wrt A and/or B, post them here. it's important this work can be continued, and i don't want to discuss design in PRs anymore ;)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/comments/101661981","html_url":"https://github.com/quattor/configuration-modules-core/issues/307#issuecomment-101661981","issue_url":"https://api.github.com/repos/quattor/configuration-modules-core/issues/307","id":101661981,"user":{"login":"stdweird","id":1517606,"avatar_url":"https://avatars.githubusercontent.com/u/1517606?v=3","gravatar_id":"","url":"https://api.github.com/users/stdweird","html_url":"https://github.com/stdweird","followers_url":"https://api.github.com/users/stdweird/followers","following_url":"https://api.github.com/users/stdweird/following{/other_user}","gists_url":"https://api.github.com/users/stdweird/gists{/gist_id}","starred_url":"https://api.github.com/users/stdweird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdweird/subscriptions","organizations_url":"https://api.github.com/users/stdweird/orgs","repos_url":"https://api.github.com/users/stdweird/repos","events_url":"https://api.github.com/users/stdweird/events{/privacy}","received_events_url":"https://api.github.com/users/stdweird/received_events","type":"User","site_admin":false},"created_at":"2015-05-13T13:23:21Z","updated_at":"2015-05-13T13:23:21Z","body":"`ncm-systemd` now does something similar with the services defined in `/software/component/chkconfig`. reading the state from another path (and with other schema) is only a matter of wrting a mapper from the `/system/services` to the description used internal in the systemd component.\r\n\r\nsee e.g. the inner loop of https://github.com/quattor/configuration-modules-core/blob/master/ncm-systemd/src/main/perl/Systemd/Service/Chkconfig.pm#L209"}}