Red Hat Bugzilla – Bug 66434
services in both /etc/init.d/ and /etc/xinet.d/ not handled well
Last modified: 2014-03-16 22:27:59 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc3) Gecko/20020523
Description of problem:
If you have a service that can be run either at system startup or within
xinetd, chkconfig does not handle it well.
Shows both entries.
checkconfig --list NAME
Shows only the entry in /etc/init.d
checkconfig NAME on does not work on /etc/xinit.d/
This caused a crash of serviceconfig. I have eliminated the second entry from
serviceconfig since there is no good way to handle this problem as long as
chkconfig can not handle it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create a service in xinet.d that matches a name in /etc/init.d/
2.run chkconfig --list
3.run chkconfig --list NAME
Actual Results: On step two both services listed on step three only the
/etc/init.d service listed.
Expected Results: Both should be listed in both situations.
Not that important and too dificult to fix.