smack.mount: "WantedBy" is illegal in [Unit] context.
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 24 Oct 2012 20:30:46 +0000 (13:30 -0700)
committerAuke Kok <auke-jan.h.kok@intel.com>
Wed, 24 Oct 2012 20:30:46 +0000 (13:30 -0700)
There is no need to define a dependency or preferred mounting
point as smack.service already requires smack.mount to be
started, and smack.service forces itself to be part of
basic.target.

WantedBy additionally is illegal in [Unit] and so does
nothing but create a warning.

Since mounting smackfs without enabling smack.service doesn't
really do much, we opt out of putting Also=smack.mount in
smack.service.

init/smack.mount

index 2a81668..de9ae3c 100644 (file)
@@ -1,6 +1,5 @@
 [Unit]
 Description=Smack filesystem mounting
-WantedBy=local-fs.target
 
 [Mount]
 What=smackfs