New: Dbus and /var/run management
https://bugs.busybox.net/show_bug.cgi?id=5420
Summary: Dbus and /var/run management
Product: buildroot
Version: unspecified
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: vincent at ouhena.org
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 4466
--> https://bugs.busybox.net/attachment.cgi?id=4466
Remove /var/run from target
Some BSP vendors manage /var/run as a symlink to /tmp. Dbus package creates a target/var/run/dbus directory which can prevent the final symlink. Since S30dbus handles the creation of /var/run/dbus, it can be removed from target directory.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5420] Dbus and /var/run management
https://bugs.busybox.net/show_bug.cgi?id=5420
--- Comment #1 from Thomas De Schampheleire <[email protected]> 2014-02-11 21:05:58 UTC --- Hi Vincent,
Do you still experience this bug with a recent buildroot version (2013.11 or git)?
If so, can you clarify a bit more?
In buildroot, when you use the default target skeleton, /var/run is indeed a symbolic link to /tmp.
And the S30dbus script does indeed:
# Create needed directories.
[ -d /var/run/dbus ] || mkdir -p /var/run/dbus [ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys [ -d /tmp/dbus ] || mkdir -p /tmp/dbus
However, I don't understand how both conflict with each other. The creation of /var/run/dbus will actually result in /tmp/dbus, which should be fine.
So maybe I don't fully understand the problem you experience. Please clarify.
Note that the patch you propose is not correct in my opinion: removing the entire /var/run directory during the building of dbus, may remove files created by other packages, which is not the intended behavior.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 5420] Dbus and /var/run management
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=5420
Thomas De Schampheleire <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME--- Comment #2 from Thomas De Schampheleire <[email protected]> 2014-02-23 14:45:42 UTC --- No feedback from submitter after request for clarification.
There seems to be no problem in the handling of /tmp and /var/run/dbus, even
with symbolic links.
Please reopen if you still have the problem, in which case you should provide
more details.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.