Bug 66434

Summary: services in both /etc/init.d/ and /etc/xinet.d/ not handled well
Product: [Retired] Red Hat Linux Reporter: Daniel Walsh <dwalsh>
Component: chkconfigAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-30 19:35:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Walsh 2002-06-10 15:42:21 UTC
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.
checkconfig --list 
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):


How reproducible:
Always

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.

Additional info:

Comment 1 Daniel Walsh 2004-09-30 19:35:27 UTC
Not that important and too dificult to fix.