Bug 16990 - mysql init script doesn't do condrestart
mysql init script doesn't do condrestart
Product: Red Hat Linux
Classification: Retired
Component: mysql (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Patrick Macdonald
Depends On:
  Show dependency treegraph
Reported: 2000-08-26 14:22 EDT by giulioo
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:
Last Closed: 2000-08-28 02:43:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description giulioo 2000-08-26 14:22:04 EDT
It has the condrestart function, but it's not checked in case "$1" in ...
Comment 1 Trond Eivind Glomsrxd 2000-08-27 17:33:30 EDT
if [ "$1" -ge "1" ]; then
    /sbin/service mysqld condrestart >/dev/null 2>&1

(granted, I should have added a || : there - done)
Comment 2 giulioo 2000-08-28 02:43:10 EDT
I'm not sure we're talking about the same thing. My bug was about the init 
script not the spec file

# /sbin/service mysqld condrestart
Usage: /etc/init.d/mysqld {start|stop|status|reload|condrestart|restart}
# /etc/rc.d/init.d/mysqld condrestart
Usage: /etc/rc.d/init.d/mysqld {start|stop|status|reload|condrestart|restart}

I said that in the init script you put the condrestart function, but you don't 

case $1 in 
Comment 3 Trond Eivind Glomsrxd 2000-08-28 09:41:59 EDT
Doh. Fixed. Thanks,

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