[systemd-commits] 4 commits - Makefile.am TODO src/kernel-install units/ldconfig.service units/systemd-journal-catalog-update.service.in units/systemd-sysusers.service.in units/systemd-udev-hwdb-update.service.in units/systemd-update-done.service.in
Lennart Poettering
lennart at kemper.freedesktop.org
Mon Jun 16 03:36:02 PDT 2014
Makefile.am | 6 ++++--
TODO | 5 +++++
src/kernel-install/Makefile | 1 +
units/ldconfig.service | 20 ++++++++++++++++++++
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 --
8 files changed, 30 insertions(+), 10 deletions(-)
New commits:
commit a01647e53727107d82382bc5c9d98c894e8f386c
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 12:29:51 2014 +0200
update TODO
diff --git a/TODO b/TODO
index 774cdd8..b116451 100644
--- a/TODO
+++ b/TODO
@@ -32,6 +32,11 @@ External:
Features:
+* support empty /etc boots nicely:
+ - apply presets at first boot
+ - tmpfiles: allow overriding of /etc/mtab
+ - tmpfiles: add nice way to copy files /usr/share/etc â /etc
+
* generator that automatically discovers btrfs subvolumes, identifies their purpose based on some xattr on them.
* support setting empty environment variables with Environment= and EnvironmentFile=
commit de66f68d9f8640eb1bc98c6d8c60925ebbf606fe
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 12:29:35 2014 +0200
build-sys: add missing Makefile link
diff --git a/src/kernel-install/Makefile b/src/kernel-install/Makefile
new file mode 120000
index 0000000..d0b0e8e
--- /dev/null
+++ b/src/kernel-install/Makefile
@@ -0,0 +1 @@
+../Makefile
\ No newline at end of file
commit 137243fd130149ce22071d22c7de95bf46c7079c
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 12:28:44 2014 +0200
units: add a service to invoke ldconfig on system updates at boot
diff --git a/Makefile.am b/Makefile.am
index 8af619c..ec5f04d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -460,7 +460,8 @@ dist_systemunit_DATA = \
units/systemd-udevd-control.socket \
units/systemd-udevd-kernel.socket \
units/system-update.target \
- units/initrd-switch-root.target
+ units/initrd-switch-root.target \
+ units/ldconfig.service
nodist_systemunit_DATA = \
units/getty at .service \
@@ -5142,7 +5143,8 @@ endif
SYSINIT_TARGET_WANTS += \
systemd-update-utmp.service \
- systemd-update-done.service
+ systemd-update-done.service \
+ ldconfig.service
LOCAL_FS_TARGET_WANTS += \
systemd-remount-fs.service \
diff --git a/units/ldconfig.service b/units/ldconfig.service
new file mode 100644
index 0000000..43c145b
--- /dev/null
+++ b/units/ldconfig.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Rebuild Dynamic Linker Cache
+Documentation=man:ldconfig(8)
+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
+ConditionNeedsUpdate=/etc
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/sbin/ldconfig -X
commit b63bb8a724cab7a315f04c3068f0d628cc163b8b
Author: Lennart Poettering <lennart at poettering.net>
Date: Mon Jun 16 12:25:49 2014 +0200
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 d45381d..0cb7076 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 a4c7714..69fea11 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 4e7b845..153d93c 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 1a907f9..f75fcff 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
More information about the systemd-commits
mailing list