Red Hat Bugzilla – Bug 800334
chkconfig --list should be able to say whats the service startup status
Last modified: 2015-08-31 23:38:40 EDT
Description of problem:
I dont know if its related to systemd or chkonfig manipulation but its hard to find which services should be started during startup and which not.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux Server release 7.0 Alpha1 (Maipo)
Steps to Reproduce:
# rpm -q vsftpd
# chkconfig vsftpd on
error reading information on service vsftpd: No such file or directory
chkconfig --list is supported when I read man pages in rhel7
chkconfig vsftpd on/off doesnt work
chkconfig sshd on/off does work but I am not able to find out its status by chkconfig
chkconfig sshd --list shows current status
Question is what do want from its output, if it is sufficient that service is enabled/disabled and is wanted by that target, this should be quite easy to implement, but whole picture of all dependency can be probably viewed only by systemctl dot.
If we introduce this RFE in systemd https://bugzilla.redhat.com/show_bug.cgi?id=795365 would it be sufficient solution?
Created attachment 682394 [details]
We have added command to systemctl (for now it is only in upstream repository), which can be used to determine what services are enabled on specified target. Is this sufficient solution for you?
I guess that there are all startup services in that list, right?
chkconfig --list should say:
1, name of the service (which is in you list)
2, status if service should be started after bootup
3, Are there services which are not running?
4, Are there service which I can start?
Generaly I would like to see the list of all available services in the system?
rhel6: chkconfig --list shows:
ypxfrd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
*** Bug 879373 has been marked as a duplicate of this bug. ***
I have added suggestion to call systemctl in --list error message. Please note that list-dependencies command will be in systemd-198.
list-dependencies is now in systemd-198 a chkconfig --list suggests to use it, so I will close this as WONTFIX.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.