<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemctl cannot reset default.target"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76623#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemctl cannot reset default.target"
href="https://bugs.freedesktop.org/show_bug.cgi?id=76623">bug 76623</a>
from <span class="vcard"><a class="email" href="mailto:code@progandy.de" title="code@progandy.de">code@progandy.de</a>
</span></b>
<pre>systemctl set-default works only once, then you have to manually delete the
symlink in /etc/systemd/system/default.target
progandy@pamobile /tmp % sudo sc set-default graphical.target :(
ln -s '/usr/lib/systemd/system/graphical.target'
'/etc/systemd/system/default.target'
progandy@pamobile /etc/systemd/system % sudo sc set-default multi-user.target
Failed to set default target: File exists
1 progandy@pamobile /etc/systemd/system % sudo sc set-default graphical.target
progandy@pamobile /etc/systemd/system % sudo sc set-default multi-user.target
Failed to set default target: File exists
progandy@pamobile /etc/systemd/system % sudo rm default.target
progandy@pamobile /tmp % sudo sc set-default graphical.target :(
ln -s '/usr/lib/systemd/system/graphical.target'
'/etc/systemd/system/default.target'</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>