<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - systemctl hybrid-sleep/hibernate fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=87832">87832</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>systemctl hybrid-sleep/hibernate fails
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>marcosfrm@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>My system does not have swap. When I run systemctl hybrid-sleep it fails:
# systemctl -l status systemd-hybrid-sleep.service
● systemd-hybrid-sleep.service - Hybrid Suspend+Hibernate
Loaded: loaded (/usr/lib/systemd/system/systemd-hybrid-sleep.service;
static)
Drop-In: /etc/systemd/system/systemd-hybrid-sleep.service.d
└─debug.conf
Active: failed (Result: exit-code) since Seg 2014-12-29 12:17:40 BRST; 13min
ago
Docs: man:systemd-suspend.service(8)
Process: 653 ExecStart=/usr/lib/systemd/systemd-sleep hybrid-sleep
(code=exited, status=1/FAILURE)
Main PID: 653 (code=exited, status=1/FAILURE)
Dez 29 12:17:39 thinkpad.localdomain systemd-sleep[653]: Failed to open
configuration file '/etc/systemd/sleep.conf': No such file or directory
Dez 29 12:17:39 thinkpad.localdomain systemd-sleep[654]: Spawned
/usr/lib/systemd/system-sleep/hdd-apm-level.sh as 655.
Dez 29 12:17:39 thinkpad.localdomain systemd-sleep[653]:
/usr/lib/systemd/system-sleep succeeded.
Dez 29 12:17:39 thinkpad.localdomain systemd-sleep[653]: Suspending system...
Dez 29 12:17:40 thinkpad.localdomain systemd[1]: systemd-hybrid-sleep.service:
main process exited, code=exited, status=1/FAILURE
Dez 29 12:17:40 thinkpad.localdomain systemd[1]: Failed to start Hybrid
Suspend+Hibernate.
Dez 29 12:17:40 thinkpad.localdomain systemd[1]: Unit
systemd-hybrid-sleep.service entered failed state.
Dez 29 12:17:40 thinkpad.localdomain systemd[1]: systemd-hybrid-sleep.service
failed.
Same thing with systemctl hibernate. I think a swap presence check is missing
in there...
systemd-216-12.fc21.x86_64</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>