Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464130 - net-im/jabberd2 init script should create /var/run/jabber directory
Summary: net-im/jabberd2 init script should create /var/run/jabber directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-04-01 21:03 UTC by parafin
Modified: 2013-07-23 10:01 UTC (History)
0 users

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


Attachments
patch for jabberd init script (jabberd2.init.patch,260 bytes, text/plain)
2013-04-01 21:03 UTC, parafin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2013-04-01 21:03:55 UTC
Created attachment 344006 [details]
patch for jabberd init script

Since /var/run is now a symlink to /run, which is mounted as tmpfs, directories have to be recreated after each reboot. Because jabberd init script doesn't do it, PID files don't get created and that in turn causes "/etc/init.d/jabberd stop" to succeed without doing anything. I'm attaching a patch for init script.
Comment 1 Sergey Popov gentoo-dev 2013-07-23 10:01:46 UTC
+  23 Jul 2013; Sergey Popov <pinkbyte@gentoo.org> files/jabberd2-2.2.4.init,
+  files/jabberd2-2.2.8.init, jabberd2-2.2.14-r1.ebuild:
+  Create pid directory in initscript, wrt bug #464130. Thanks to parafin <help
+  AT imtrappedininter.net> for discovering this issue