[systemd-bugs] [Bug 58679] New: systemd overriding /sys/power/disk with "platform" on hibernate
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 23 04:07:50 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=58679
Priority: medium
Bug ID: 58679
Assignee: systemd-bugs at lists.freedesktop.org
Summary: systemd overriding /sys/power/disk with "platform" on
hibernate
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: tekrotzen+bugzilla at gmail.com
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: systemd
My computer restarts automatically if /sys/power/disk is set to platform.
I used to echo "shutdown" in it, but since systemd 196 (I suppose), this
setting is overrided in sleep/sleep.c:
if (streq(argv[1], "hibernate")) {
if (write_one_line_file("/sys/power/disk", "platform") < 0)
write_one_line_file("/sys/power/disk", "shutdown");
}
Is there any clean way to change this behaviour?
As far as I understand hooks are innefectives, as they are called before.
Thanks
--
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/20121223/838d2332/attachment.html>
More information about the systemd-bugs
mailing list