Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 694936

Summary: www-servers/apache: '/etc/init.d/apache2 gracefulstop' doesn't remove openrc status files
Product: Gentoo Linux Reporter: Kai Peter <kp>
Component: Current packagesAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: CONFIRMED ---    
Severity: normal CC: apache-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kai Peter 2019-09-19 08:39:41 UTC
The function gracefulstop in '/etc/init.d/apache2 doesn't work correctely. The openrc status in '/run/openrc' will not be removed.


$> ~ # /etc/init.d/apache gracefulstop
 * Gracefully stopping apache ...              [ ok ]
$> ~ # /etc/init.d/apache status
 * status: crashed
$> ~ # /etc/init.d/apache start
 * WARNING: apache has already been started
$> ~ # /etc/init.d/apache zap
 * Manually resetting apache to stopped state
$> ~ # /etc/init.d/apache start
 * Starting apache ...                         [ ok ]

The function gracefulstop should work like function stop.