From b63bb8a724cab7a315f04c3068f0d628cc163b8b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 16 Jun 2014 12:25:49 +0200 Subject: [PATCH] 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. --- units/systemd-journal-catalog-update.service.in | 2 -- units/systemd-sysusers.service.in | 2 -- units/systemd-udev-hwdb-update.service.in | 2 -- units/systemd-update-done.service.in | 2 -- 4 files changed, 8 deletions(-) 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 -- 2.30.2