[systemd-bugs] [Bug 55902] tmpfiles fails to write to /sys/kernel/debug/vgaswitcheroo/switch on boot
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Oct 15 12:44:25 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=55902
--- Comment #2 from Lennart Poettering <lennart at poettering.net> ---
This is a general race between loading modules and applying the /sys change.
Basically, "tmpfiles" is simply not the tool to make the change you are
attempting. Instead, please use a udev rule that writes the file in question as
the hw shows up. That's the only way how to properly serialize the actions.
Which reminds me that I actually have had on my TODO list for a while to post a
blog story about how to properly apply /sys and /proc/sys settings to a device
without these races.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121015/6c2b63fc/attachment.html>
More information about the systemd-bugs
mailing list