This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 3918 - chkconfig --list fails to display all services
chkconfig --list fails to display all services
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: chkconfig (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-06 11:30 EDT by phostetl
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-07-12 13:49:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description phostetl 1999-07-06 11:30:52 EDT
After adding mysql.server using:

# chkconfig --add mysql.server
# chkconfig --level 345 mysql.server on


Running:

# chkconfig --list | grep mysql

fails to list mysql.server.


# locate mysql.server
/etc/rc.d/init.d/mysql.server
/etc/rc.d/rc0.d/K90mysql.server
/etc/rc.d/rc1.d/K90mysql.server
/etc/rc.d/rc3.d/S90mysql.server
/etc/rc.d/rc4.d/S90mysql.server
/etc/rc.d/rc5.d/S90mysql.server
/etc/rc.d/rc6.d/K90mysql.server
/usr/local/share/mysql/mysql.server
/usr/src/redhat/SOURCES/mysql-3.22.22/support-files/mysql.server.sh

The file /etc/rc.d/init.d/mysql.server contains the required
info for chkconfig:

# Comments to support chkconfig on RedHat Linux
# chkconfig: 2345 90 90
# description: A very fast and reliable SQL database engine.
Comment 1 David Lawrence 1999-07-07 14:36:59 EDT
Where did you obtain the rpm of mysql that you are using?
Comment 2 phostetl 1999-07-07 21:43:59 EDT
MySQL was built from an srpm (no longer available for 3.22.23b at
www.mysql.org.)

$ rpm -qip MySQL-3.22.23b-1.i386.rpm
Name        : MySQL                        Relocations: (not
relocateable)
Version     : 3.22.23b                          Vendor: (none)
Release     : 1                             Build Date: Thu Jun 17
15:08:09 1999Install date: (not installed)               Build Host:
peach.fruit
Group       : Applications/Databases        Source RPM:
MySQL-3.22.23b-1.src.rpmSize        : 15845333
License: MySQL FREE PUBLIC LICENSE (See the file PUBLIC)
Packager    : David Axmark <david@mysql.com>
URL         : http://www.mysql.com/
Summary     : MySQL: a very fast and reliable SQL database engine
Comment 3 phostetl 1999-07-12 13:10:59 EDT
Rebuilt MySQL using 3.22.25 srpm.  There was a change of
/etc/rc.d/init.d/mysql.server to /etc/rc.d/init.d/mysql .  chkconfig
works fine with the non-dotted name.  The problem appears to be that
chkconfig couldn't handle somename.anything.
Comment 4 David Lawrence 1999-07-12 13:49:59 EDT
Yep, the init scripts can no longer use the dot notation. That was
changed a while back. All new initscripts should be a single word now.

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