Bug 74324 - chkconfig stops if symlink cannot be resolved in /etc/init.d
Summary: chkconfig stops if symlink cannot be resolved in /etc/init.d
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: chkconfig
Version: 7.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL:
Whiteboard:
: 103381 107838 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-20 13:57 UTC by Peter Bieringer
Modified: 2014-03-17 02:31 UTC (History)
3 users (show)

Fixed In Version: 1.3.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-02 20:57:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Peter Bieringer 2002-09-20 13:57:46 UTC
Description of problem:
if /etc/init.d contains an unresolvable symlink to an external program,
chkconfig will stop immediately

Version-Release number of selected component (if applicable):
chkconfig version 1.3.5

How reproducible:
Always

Steps to Reproduce:
1. # ln -sf /tmp/notexist /etc/init.d/notexist
2. # chkconfig --list
keytable        0:off   1:on    2:on    3:on    4:on    5:on    6:off
...
syslog-ng       0:off   1:off   2:on    3:on    4:on    5:on    6:off
error reading from directory /etc/init.d: No such file or directory[root@gromit
init.d]#
	

Actual Results:  Not displaying anymore information

Expected Results:  Fulfilling list, perhaps displaying a message about such symlink

Additional info:

Comment 1 Bill Nottingham 2005-02-02 20:57:01 UTC
fixed in 1.3.14-1.

Comment 2 Bill Nottingham 2005-02-02 21:02:22 UTC
*** Bug 103381 has been marked as a duplicate of this bug. ***

Comment 3 Bill Nottingham 2005-02-02 21:21:49 UTC
*** Bug 107838 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.