Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525402 - =net-im/prosody-0.9.5-r1 pid file created as directory
Summary: =net-im/prosody-0.9.5-r1 pid file created as directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Tobias Klausmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 12:53 UTC by Daniel Kenzelmann
Modified: 2014-10-15 08:08 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kenzelmann 2014-10-14 12:53:31 UTC
In line 29:

checkpath -q -d -m 0770 -o jabber:jabber "${pidfile}"

creates a directory called /var/run/jabber/prosody.pid/

which causes the error during startup, resulting in prosody not starting:
Oct 14 14:39:49 [prosody] mod_posix: Couldn't write pidfile at /var/run/jabber/prosody.pid; /var/run/jabber/prosody.pid: Is a directory
Oct 14 14:39:49 [prosody] general: Shutting down: Couldn't write pidfile


Reproducible: Always
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-10-14 23:12:32 UTC
I can confirm this.
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2014-10-15 08:08:38 UTC
Fix is in CVS -- this was caused by me forgetting to change -d to -f on the added checkpath call :-/