Bug 17025 - /sbin/service outputs /etc/init.d instead of /etc/rc.d/init.d
/sbin/service outputs /etc/init.d instead of /etc/rc.d/init.d
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-28 02:51 EDT by giulioo
Modified: 2014-03-16 22:16 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-28 02:51:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description giulioo 2000-08-28 02:51:39 EDT
# rpm -q initscripts
initscripts-5.46-1
# /sbin/service smb testing
Usage: /etc/init.d/smb {start|stop|restart|status|condrestart}
# /sbin/service mysqld testing
Usage: /etc/init.d/mysqld {start|stop|status|reload|condrestart|restart}
#

I think that, for consistency reasons, it should say 
Usage: /etc/rc.d/init.d/smb  ....
Usage: /etc/rc.d/init.d/mysqld ....
that is, it should use the real file names and not the symlinks.
Comment 1 Bill Nottingham 2000-08-29 14:07:34 EDT
Both paths are vaild on a pinstripe and later system, so we
probably won't change this.

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