<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - tmpfiles fails to write to /sys/kernel/debug/vgaswitcheroo/switch on boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55902#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - tmpfiles fails to write to /sys/kernel/debug/vgaswitcheroo/switch on boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55902">bug 55902</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>