Hide Forgot
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) How reproducible: deterministic Steps to Reproduce: # rpm -q vsftpd vsftpd-2.3.4-5.el7.x86_64 # chkconfig vsftpd on error reading information on service vsftpd: No such file or directory Actual results: 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 Expected results: chkconfig sshd --list shows current status Additional info:
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] systemctl list-dependencies 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?
Hello, 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? For ex: 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. http://git.fedorahosted.org/cgit/chkconfig.git/commit/?id=c3a81fea271fc7fb5bf224b2036cdb6991220060
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.