Bug #9202
closedkatello-installer should use systemd instead of chkconfig for all services on rhel7
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1187206
Description of problem:
See bz: https://bugzilla.redhat.com/show_bug.cgi?id=1187014
Recent nightly installer failed with following error on rhel7.
[ERROR 2015-01-29 02:24:41 verbose] Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Postgresql::Server::Service/Service[postgresqld]/enable: change from false to true failed: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/enable: change from false to true failed: Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Puppet::Agent::Service/Service[puppet]/enable: change from false to true failed: Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory
[ERROR 2015-01-29 02:24:41 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/enable: change from false to true failed: Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on
Here you can see a bunch of services like foreman-proxy, mongod, puppet, postgresql using chkconfig. It should be replaced by systemd.
Version-Release number of selected component (if applicable):
nightly rhel7
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Here you can see a bunch of services like foreman-proxy, mongod, puppet, postgresql using chkconfig. It should be replaced by systemd.
Additional info: