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://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b63bb8a724cab7a315f04c3068f0d628cc163b8b;hp=4997cb9e16c14cda41a415412c6bd40849ef18ac 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 d45381d47..0cb7076f1 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 a4c771415..69fea11fb 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 4e7b845ea..153d93c7e 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 1a907f963..f75fcff57 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