[systemd-bugs] [Bug 55902] New: tmpfiles fails to write to /sys/kernel/debug/vgaswitcheroo/switch on boot
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 12 01:31:37 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=55902
Priority: medium
Bug ID: 55902
Assignee: systemd-bugs at lists.freedesktop.org
Summary: tmpfiles fails to write to
/sys/kernel/debug/vgaswitcheroo/switch on boot
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: Daniel.Oertwig at googlemail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: general
Product: systemd
I have an /etc/tmpfiles.d/vgaswitcheroo.conf file with the following content:
w /sys/kernel/debug/vgaswitcheroo/switch - - - - OFF
This is intended as a replacement for the old
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
from rc.local
However, a cat /sys/kernel/debug/vgaswitcheroo/switch after boot reveals that
the "OFF" has not been written. (This results in both graphic cards being
powered, which is not much fun in terms of power consumption)
But when I issue
systemd-tmpfiles --create /etc/tmpfiles.d/vgaswitcheroo.conf
manually, everything works as expected.
I get absolutely no error / warning during boot (checked using journalctl) and
/sys/kernel/debug gets (according to journalctl) mounted before anything
corresponding to tmpfiles is executed.
Changing the contents of the file to
f /sys/kernel/debug/vgaswitcheroo/switch - - - - OFF
results in an error at boot saying "no such file or directory"
Additional information:
[daniel at camino ~]$ systemctl --version
systemd 194
arch
+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
[daniel at camino ~]$ uname -a
Linux camino 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:30:49 CEST 2012 x86_64
GNU/Linux
dump of journalctl:
Oct 12 08:21:15 camino systemd[1]: Mounted Debug File System.
Oct 12 08:21:15 camino systemd[1]: Started Remount Root and Kernel File
Systems.
Oct 12 08:21:15 camino systemd[1]: Starting Local File Systems (Pre).
Oct 12 08:21:15 camino systemd[1]: Reached target Local File Systems (Pre).
Oct 12 08:21:15 camino systemd[1]: Mounting /tmp...
Oct 12 08:21:15 camino systemd-vconsole-setup[143]: Cannot open font file
latarcyrheb-sun16
Oct 12 08:21:15 camino systemd[1]: Starting Load Random Seed...
Oct 12 08:21:15 camino systemd[1]: Mounted /tmp.
Oct 12 08:21:15 camino systemd[1]: Starting Local File Systems.
Oct 12 08:21:15 camino systemd[1]: Reached target Local File Systems.
Oct 12 08:21:15 camino systemd-modules-load[141]: Inserted module
'acpi_cpufreq'
Oct 12 08:21:15 camino systemd[1]: Starting Recreate Volatile Files and
Directories...
Oct 12 08:21:15 camino systemd[1]: Starting Trigger Flushing of Journal to
Persistent Storage...
Oct 12 08:21:15 camino systemd[1]: Started Load Random Seed.
Oct 12 08:21:15 camino kernel: fuse init (API version 7.19)
Oct 12 08:21:15 camino systemd-modules-load[141]: Inserted module 'fuse'
Oct 12 08:21:15 camino systemd[1]: Started Trigger Flushing of Journal to
Persistent Storage.
Oct 12 08:21:15 camino systemd-modules-load[141]: Inserted module 'kvm'
Oct 12 08:21:15 camino systemd-modules-load[141]: Inserted module 'kvm_intel'
Oct 12 08:21:15 camino systemd-tmpfiles[166]: Failed to create file
/sys/kernel/debug/vgaswitcheroo/switch: No such file or directory
Oct 12 08:21:15 camino systemd[1]: Started Recreate Volatile Files and
Directories.
--
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/20121012/a959c515/attachment.html>
More information about the systemd-bugs
mailing list