[systemd-commits] 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

Lennart Poettering lennart at kemper.freedesktop.org
Tue Mar 26 07:36:28 PDT 2013


 units/local-fs-pre.target    |    1 +
 units/nss-lookup.target      |    1 +
 units/nss-user-lookup.target |    1 +
 units/remote-fs-pre.target   |    1 +
 units/rpcbind.target         |    1 +
 units/time-sync.target       |    1 +
 6 files changed, 6 insertions(+)

New commits:
commit 6a9280cc60b333817e22f0885b9c145e6252cc0b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Mar 26 15:14:27 2013 +0100

    units: disallow manual starting of passive units
    
    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.

diff --git a/units/local-fs-pre.target b/units/local-fs-pre.target
index f8760ec..809f2ed 100644
--- a/units/local-fs-pre.target
+++ b/units/local-fs-pre.target
@@ -8,3 +8,4 @@
 [Unit]
 Description=Local File Systems (Pre)
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/nss-lookup.target b/units/nss-lookup.target
index 339b507..c9e3a7c 100644
--- a/units/nss-lookup.target
+++ b/units/nss-lookup.target
@@ -11,3 +11,4 @@
 [Unit]
 Description=Host and Network Name Lookups
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/nss-user-lookup.target b/units/nss-user-lookup.target
index 43b722c..80023cd 100644
--- a/units/nss-user-lookup.target
+++ b/units/nss-user-lookup.target
@@ -11,3 +11,4 @@
 [Unit]
 Description=User and Group Name Lookups
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/remote-fs-pre.target b/units/remote-fs-pre.target
index febdc01..36a196c 100644
--- a/units/remote-fs-pre.target
+++ b/units/remote-fs-pre.target
@@ -8,3 +8,4 @@
 [Unit]
 Description=Remote File Systems (Pre)
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/rpcbind.target b/units/rpcbind.target
index eb06a6d..e03e915 100644
--- a/units/rpcbind.target
+++ b/units/rpcbind.target
@@ -11,3 +11,4 @@
 [Unit]
 Description=RPC Port Mapper
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes
diff --git a/units/time-sync.target b/units/time-sync.target
index ec00ecb..5407806 100644
--- a/units/time-sync.target
+++ b/units/time-sync.target
@@ -11,3 +11,4 @@
 [Unit]
 Description=System Time Synchronized
 Documentation=man:systemd.special(7)
+RefuseManualStart=yes



More information about the systemd-commits mailing list