From: Lennart Poettering Date: Mon, 16 Jun 2014 10:25:49 +0000 (+0200) Subject: units: drop RefuseManualStart= from a couple of update services X-Git-Tag: v215~418 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b63bb8a724cab7a315f04c3068f0d628cc163b8b;p=thirdparty%2Fsystemd.git units: drop RefuseManualStart= from a couple of update services The only update service we really need to guard like this is systemd-tmpfiles-setup.service since if invoked manually might create /var/run/nologin and thus blocking the user from login. The other services are pretty much idempotent and don't suffer by this problem, hence let's simplify them. --- diff --git a/units/systemd-journal-catalog-update.service.in b/units/systemd-journal-catalog-update.service.in index d45381d47ba..0cb7076f12a 100644 --- a/units/systemd-journal-catalog-update.service.in +++ b/units/systemd-journal-catalog-update.service.in @@ -12,8 +12,6 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target Before=sysinit.target shutdown.target systemd-update-done.service -RefuseManualStart=yes -RefuseManualStop=yes ConditionNeedsUpdate=/etc [Service] diff --git a/units/systemd-sysusers.service.in b/units/systemd-sysusers.service.in index a4c77141557..69fea11fb15 100644 --- a/units/systemd-sysusers.service.in +++ b/units/systemd-sysusers.service.in @@ -12,8 +12,6 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service Before=sysinit.target shutdown.target systemd-update-done.service -RefuseManualStart=yes -RefuseManualStop=yes ConditionNeedsUpdate=/etc [Service] diff --git a/units/systemd-udev-hwdb-update.service.in b/units/systemd-udev-hwdb-update.service.in index 4e7b845ea47..153d93c7e54 100644 --- a/units/systemd-udev-hwdb-update.service.in +++ b/units/systemd-udev-hwdb-update.service.in @@ -12,8 +12,6 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service Before=sysinit.target shutdown.target systemd-update-done.service -RefuseManualStart=yes -RefuseManualStop=yes ConditionNeedsUpdate=/etc [Service] diff --git a/units/systemd-update-done.service.in b/units/systemd-update-done.service.in index 1a907f9637d..f75fcff5781 100644 --- a/units/systemd-update-done.service.in +++ b/units/systemd-update-done.service.in @@ -12,8 +12,6 @@ DefaultDependencies=no Conflicts=shutdown.target After=systemd-readahead-collect.service systemd-readahead-replay.service local-fs.target Before=sysinit.target shutdown.target -RefuseManualStart=yes -RefuseManualStop=yes ConditionNeedsUpdate=|/etc ConditionNeedsUpdate=|/var