[systemd-devel] SOLVED systemctl enable myunit.service ---> Failed to execute operation: Invalid argument (bobafetthotmail)

Chaiken, Alison alison at she-devel.com
Mon Feb 8 05:22:00 CET 2016


 

Ah, then quoting der Lennart: 

All units by default are actually ordered so that they are run after
"basic.target". If you have a special unit (and you do) that needs to be
run very early at boot you must disable those implicit default
dependencies by setting "DefaultDependencies=no" and adding the
right ones manually. 

I didn't realize that DefaultDependencies had that effect, but it makes
sense since it's effectively ConflictsWith for basic.target and
shutdown.target.   Thanks for letting me know! 

--Alison 

---
Alison Chaiken                      alison at she-devel.com, 650-279-5600 
http://{ she-devel.com, exerciseforthereader.org  }
"Democracy is the original crowd-sourcing." -- Philip Tetlock,
_Superforecasting_ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160207/b898c1d3/attachment.html>


More information about the systemd-devel mailing list