Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432458 - net-im/prosody should create /var/run/jabber directory as needed
Summary: net-im/prosody should create /var/run/jabber directory as needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tobias Klausmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock 388797
  Show dependency tree
 
Reported: 2012-08-23 15:01 UTC by Alexander Tsoy
Modified: 2012-11-27 09:22 UTC (History)
2 users (show)

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


Attachments
prosody.initd.patch (prosody.initd.patch,409 bytes, patch)
2012-11-27 07:50 UTC, Alexander Tsoy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2012-08-23 15:01:32 UTC
In new stage3 tarballs there is a symlink /var/run -> /run. Since prosody relies
 on /var/run/jabber directory existance it fails to start because /run is tmpfs that being cleared after every reboot.

Reproducible: Always

Steps to Reproduce:
1. If there is no symlink /var/run -> /run then create it
2. Try to start prosody

Actual Results:  
$ sudo /etc/init.d/prosody restart
 * Stopping Prosody XMPP Server ...
 * start-stop-daemon: fopen `/var/run/jabber/prosody.pid': No such file or directory                                                                  [ ok ]
 * Starting Prosody XMPP Server ...                                                                                                                   [ ok ]
 * start-stop-daemon: fopen `/var/run/jabber/prosody.pid': No such file or directory
Comment 1 Alexander Tsoy 2012-11-27 07:50:10 UTC
Created attachment 330712 [details, diff]
prosody.initd.patch
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2012-11-27 09:22:07 UTC
Updated the init script in CVS, new merges (and remerges) should install the init script with your patch.