<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 14, 2017 at 12:13 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<a href="https://github.com/systemd/systemd/issues/6334" rel="noreferrer" target="_blank">https://github.com/systemd/<wbr>systemd/issues/6334</a><br>
<br>
Since this commit<br>
<a href="https://github.com/systemd/systemd/commit/2d058a87ffb2d31a50422a8aebd119bbb4427244" rel="noreferrer" target="_blank">https://github.com/systemd/<wbr>systemd/commit/<wbr>2d058a87ffb2d31a50422a8aebd119<wbr>bbb4427244</a><br>
(in v233 and v234), you can no longer create<br>
/etc/systemd/system/default.<wbr>target.wants/ and drop in service files<br>
(or symlinks).  The directory is skipped.  I have reverted the commit<br>
on top of systemd from git and that makes defaults.target.wants work<br>
again.<br>
<br>
Is this supposed to work?  It worked fine since at least Fedora 18-25,<br>
but it is now broken in Fedora 26.<br>
<br>
If it was never supposed to work, how are you supposed to enable a<br>
service for the default target, even allowing for the user to change<br>
the default target and still have the service enabled?<br></blockquote><div><br></div><div>The current convention is to install all regular services into multi-user.target, and I would expect all custom "daily use" targets to be superset of multi-user.target as well, like the provided graphical.target already is.</div><div><br></div><div>IMHO, don't try to second-guess the user. If they know how to create custom targets, they'll probably know how to look what's inside their multi-user.target.wants/ and deal with it.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>