Arch Linux

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#30552 - [bitlbee] /var/run/bitlbee doesn't exist

Attached to Project: Arch Linux
Opened by Daniel Wallace (gtmanfred) - Thursday, 05 July 2012, 15:21 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 05 July 2012, 23:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

can't create the pid or socket files since the /var/run symlink

/var/run/bitlbee/bitlbee.sock: No such file or directory
Jul 05 10:17:21 Tom-PC bitlbee[317]: Warning: Warning: Couldn't write PID to `/var/run/bitlbee/bitlbee.pid'
Jul 05 10:17:21 Tom-PC bitlbee[317]: Unable to bind UNIX socket to /var/run/bitlbee/bitlbee.sock: No such file or directory
Jul 05 10:17:21 Tom-PC bitlbee[317]: Warning: Couldn't write PID to `/var/run/bitlbee/bitlbee.pid'
This task depends upon

Closed by  Dave Reisner (falconindy)
Thursday, 05 July 2012, 23:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  testing/bitlbee-3.0.5-4
Comment by Simon Gomizelj (simongmzlj) - Thursday, 05 July 2012, 15:37 GMT
This tmpfiled conf addresses it. Also ideally maybe the systemd service should have User=bitlbee set too by default? Its set for the .socket
Comment by Dave Reisner (falconindy) - Thursday, 05 July 2012, 15:41 GMT
This only occurs under systemd... There's a few things that need to be adjusted here, imo:

- add tmpfiles.d fragment to address this (removing the explicit install in the rc.d script)
- use the actual pidfile in the rc.d script
- change /var/run -> /run in ./configure options
Comment by Simon Gomizelj (simongmzlj) - Thursday, 05 July 2012, 16:04 GMT
Updated PKGBUILD
   PKGBUILD (1.8 KiB)
Comment by Dave Reisner (falconindy) - Thursday, 05 July 2012, 23:27 GMT
Threw a new package in testing with all these fixes. Enjoy!

Loading...