https://bugzilla.novell.com/show_bug.cgi?id=808980 https://bugzilla.novell.com/show_bug.cgi?id=808980#c0 Summary: rc.status fails to correctly redirect links starting with 'rc' (e.g. rckdm) Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: joschibrauchle@gmx.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.160 Safari/537.22 On openSUSE 12.3, running yield: --------- # rckdm status Checking for service kdm: running rcxdm.service Loaded: error (Reason: No such file or directory) Active: inactive (dead) --------- The reason is that --------- # l `which rckdm` lrwxrwxrwx 1 root root 5 Feb 28 14:15 /usr/sbin/rckdm -> rcxdm* --------- and then in /etc/rc.status: --------- case "$0" in /etc/init.d/boot.*) _rc_base=${0##*/boot.} ;; /etc/init.d/*|/etc/rc.d/*) _rc_base=${0##*/} ;; */rc*) if test -L "$0"; then ## <-- processing links _rc_base=`readlink "$0"` _rc_base=${_rc_base##*/} case "$_rc_base" in boot.*) _rc_base=${_rc_base#boot.} esac else _rc_base=${0##*/rc} ## <-- dropping 'rc' prefix from files but not links fi ;; esac --------- does not capture a link that also starts with 'rc'. Reproducible: Always Steps to Reproduce: 1. rckdm status -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.