busybox inetd: init script problem
‘service inetd stop’ doesn’t work in Alpine 3.8:
# service inetd stop -v
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/inetd stop
* Stopping busybox inetd ...
* start-stop-daemon: fopen `/var/run/inetd.pid': No such file or directory
* Failed to stop busybox inetd [ !! ]
* ERROR: inetd failed to stop
Looks like inetd doesn’t create /var/run/inetd.pid.
As a workaround, I’ve added ‘start_stop_daemon_args=“-mb”’ to /etc/init.d/inetd and ‘INETD_OPTS=“-f”’ to /etc/conf.d/inetd.
(from redmine: issue id 9557, created on 2018-10-17)