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:
Updated by dustin tsang about 10 years ago
- Has duplicate Bug #9163: katello-installer failed on rhel7 with error: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: added
Updated by dustin tsang about 10 years ago
- Is duplicate of Bug #8478: MongoDB fails to start with a RHEL 7 system added
Updated by dustin tsang about 10 years ago
tested seems to be fixed by #8478.
installer: output https://gist.github.com/3dc986eb9ce41dc32dc8
(for katello-installer @ 0c126a368f2e37755aa0d2fada2c54f51ea33f09)
Updated by Eric Helms about 10 years ago
- Status changed from Closed to Duplicate
- Triaged changed from No to Yes
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 166