Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694936 - www-servers/apache: '/etc/init.d/apache2 gracefulstop' doesn't remove openrc status files
Summary: www-servers/apache: '/etc/init.d/apache2 gracefulstop' doesn't remove openrc ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
Depends on:
Reported: 2019-09-19 08:39 UTC by Kai Peter
Modified: 2021-04-28 19:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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.