<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - swap.target in sysinit.target with After"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66616">66616</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>swap.target in sysinit.target with After
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>harald@redhat.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I removed "After=swap.target" from sysinit.target:
# systemd-delta
[...]
[OVERRIDDEN] /etc/systemd/system/sysinit.target →
/usr/lib/systemd/system/sysinit.target
--- /usr/lib/systemd/system/sysinit.target 2013-07-05 13:13:24.934943143
+0200
+++ /etc/systemd/system/sysinit.target 2013-07-05 11:01:50.829617792 +0200
@@ -10,5 +10,5 @@
Documentation=man:systemd.special(7)
Conflicts=emergency.service emergency.target
Wants=local-fs.target swap.target
-After=local-fs.target swap.target emergency.service emergency.target
+After=local-fs.target emergency.service emergency.target
RefuseManualStart=yes
[...]
# fgrep -r swap.target /lib/systemd/system /etc/systemd/system /run/systemd/
/lib/systemd/system/sysinit.target:Wants=local-fs.target swap.target
/lib/systemd/system/sysinit.target:After=local-fs.target swap.target
emergency.service emergency.target
/etc/systemd/system/sysinit.target:Wants=local-fs.target swap.target
/run/systemd/generator/dev-disk-by\x2duuid-0a5847a8\x2d358d\x2d454f\x2dab98\x2d8592de5ca4ba.swap:Before=swap.target
BUT:
# systemctl show sysinit.target| fgrep swap.target
Wants=local-fs.target swap.target [...]
After=local-fs.target [...] swap.target [...]
It is still there! How come?</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>