chiark / gitweb /
units: disallow manual starting of passive units
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Mar 2013 14:14:27 +0000 (15:14 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Mar 2013 14:15:39 +0000 (15:15 +0100)
As passive units only are useful for ordering things within the initial
transaction there is no point in ever activating them manually, hence
refuse it.

units/local-fs-pre.target
units/nss-lookup.target
units/nss-user-lookup.target
units/remote-fs-pre.target
units/rpcbind.target
units/time-sync.target

index f8760ec9dfca909576f7b1dfef3d608306d732f4..809f2ed2363fd02b9a31b529d64f4c29f07792eb 100644 (file)
@@ -8,3 +8,4 @@
 [Unit]
 Description=Local File Systems (Pre)
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
index 339b507faed14517beab5097016b780659272c6f..c9e3a7c4190c265c90b769280d38615d98ba3370 100644 (file)
@@ -11,3 +11,4 @@
 [Unit]
 Description=Host and Network Name Lookups
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
index 43b722c9703e6ebae5fe676b08a8a672c0722d6c..80023cdfb6bdb9b0b0b3c340b149ccd75dd9c7c4 100644 (file)
@@ -11,3 +11,4 @@
 [Unit]
 Description=User and Group Name Lookups
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
index febdc01c7cbe7e50a57c052b1bf0bd9e68f4791a..36a196cfda1c72f1fe0d2a7c2aff18045faedf25 100644 (file)
@@ -8,3 +8,4 @@
 [Unit]
 Description=Remote File Systems (Pre)
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
index eb06a6db269d1e7056f2b1215137ed8412a7b7da..e03e915ee0dc04aa756ada1dd56a0f3c60d1ad63 100644 (file)
@@ -11,3 +11,4 @@
 [Unit]
 Description=RPC Port Mapper
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
index ec00ecbbf491b59c8d1286c3b2c9bdd4046b5ff6..54078069f276ac3e6e3671b678ce0e7bf51858c3 100644 (file)
@@ -11,3 +11,4 @@
 [Unit]
 Description=System Time Synchronized
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes