Bopm fails to start if /var/run/bopm is missing. The init script doesn't create the directory if it's missing, causing the pid file creation to choke. Reproducible: Always Actual Results: fails to start Expected Results: init script automatically creates /var/run/bopm It appears that the ebuild is creating this file during install. However, this is not appropriate because /var/run is a tmpfs and the directory will vanish if the server reboots. The directory should instead be created by the initscript during service launch.
Created attachment 413496 [details, diff] Patch for the ebuild to not create the directory at install time
Created attachment 413498 [details, diff] Patch to the initscript to create the directory at runtime
[19:02:01] <grknight> Shentino: binki: if i were to rewrite the init script to modern times, I would start with https://bpaste.net/show/89f04622a580 I agree with this suggestion, if it's a valid one.
Committed a fix as bopm-3.1.3-r1: > net-misc/bopm: Support tmpfs /run for bug #562032. Thanks shentino, grknight. Thanks for the bug and prodding me on IRC.
*** Bug 469514 has been marked as a duplicate of this bug. ***
*** Bug 458162 has been marked as a duplicate of this bug. ***