Bug 16990
Summary: | mysql init script doesn't do condrestart | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | giulioo |
Component: | mysql | Assignee: | Patrick Macdonald <patrickm> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-08-28 06:43:12 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
giulioo
2000-08-26 18:22:04 UTC
if [ "$1" -ge "1" ]; then /sbin/service mysqld condrestart >/dev/null 2>&1 fi (granted, I should have added a || : there - done) 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 do case $1 in condrestart) ... Doh. Fixed. Thanks, |