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#9847 - dbus, hal: create run directories by init script

Attached to Project: Arch Linux
Opened by Michal Bozon (mykhal) - Sunday, 16 March 2008, 00:45 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 27 May 2008, 14:49 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Many users having arch linux installed on flash disk (SSD, SD card, ..), might want having /var/run directory, (except from others like /tmp, /var/lock, ..) mounted as tmpfs, to reduce disk writes. Doing this, /var/run/dbus directory, which is created during dbus installation, is now missing, and it causes dbus start failure.

"mkdir -p /var/log/dbus" should be added to /etc/rc.d/dbus start section to fix it.

The similar problem is in hal: /var/run/hald/hald-{local,runner} missing

(something similar is already present in /etc/rc.d/nscd)
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 27 May 2008, 14:49 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in hal 0.5.11-1.
Comment by Michal Bozon (mykhal) - Sunday, 16 March 2008, 00:52 GMT
OOPS, I meant "mkdir -p /var/run/dbus", of course
Comment by Roman Kyrylych (Romashka) - Sunday, 16 March 2008, 11:52 GMT
what about many other daemons that use /var/run? And how /var/lock is different?
Comment by Jan de Groot (JGC) - Sunday, 16 March 2008, 13:34 GMT
Sounds good to me. I remember Debian doing this also with packages like saslauthd where they restore permissions on the directory in case you changed or deleted it.
Comment by Michal Bozon (mykhal) - Sunday, 16 March 2008, 15:22 GMT
romaschka: of course all deamons should check it, another candidate is networkmanager. I reported only those I have problems with.
/var/lock is not different, I meant, "..(like others like /tmp, /var/lock.." sorry
Comment by Roman Kyrylych (Romashka) - Sunday, 16 March 2008, 15:30 GMT
Ugh, another change to many daemons. :-(
Some of them will need to also chmod/chown those dirs, e.g. mpd.
Comment by Jan de Groot (JGC) - Friday, 21 March 2008, 23:20 GMT
Implemented for dbus, will do hal on the next package upgrade.
Comment by Michal Bozon (mykhal) - Wednesday, 30 April 2008, 16:12 GMT
netcfg2 would also need fix (needs /var/run/network/profiles)
Comment by Greg (dolby) - Saturday, 17 May 2008, 15:52 GMT
@JGC seems like you didnt include that in latest hal upgrade. Do you think you can add it in next one, since a new version is out already and get this closed? Thanks

Loading...