Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#23126 - [prosody] 0.7.0 init script should create /var/run/prosody

Attached to Project: Community Packages
Opened by Fnord Popos (noddy) - Thursday, 03 March 2011, 16:27 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 04 March 2011, 13:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If said directory doesn't exist, for example if /var/run is tmpfs-backed, and /etc/prosody/prosody.cfg.lua contains the line

pidfile = "/var/run/prosody/prosody.pid"

, as it does in Arch, prosody will silently exit because it cannot create the directory. The init script should, to match the configuration directive.


Additional info:
* package version(s)

prosody-0.7.0-4


Steps to reproduce:

1) delete /var/run/prosody
2) sudo prosodyctl start
3) try to debug silent death
4) ????
5) cry.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 04 March 2011, 13:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  only in svn yet.

mkdir -p `dirname $pid_file` added into rc-script

Loading...