[systemd-commits] 2 commits - Makefile.am src/util.c TODO units/plymouth-start.service

Lennart Poettering lennart at kemper.freedesktop.org
Wed Mar 30 19:26:46 PDT 2011


 Makefile.am                  |    3 +++
 TODO                         |    4 ++++
 src/util.c                   |    2 +-
 units/plymouth-start.service |    4 ++--
 4 files changed, 10 insertions(+), 3 deletions(-)

New commits:
commit 9408a2d295a312a5472345090e28e0502570494b
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Mar 31 04:26:40 2011 +0200

    plymouth: use PID file to detect whether ply is running

diff --git a/TODO b/TODO
index 215a736..803c6a8 100644
--- a/TODO
+++ b/TODO
@@ -33,6 +33,10 @@ F15:
 
 * selinux issue http://people.gnome.org/~cosimoc/selinux.jpg
 
+* do not print errors when random seed is not around
+
+* fix alsa mixer restore to not print error when no config is stored
+
 Features:
 
 * Find a way to replace /var/run, /var/lock directories with
diff --git a/src/util.c b/src/util.c
index 5e101e4..a44fea0 100644
--- a/src/util.c
+++ b/src/util.c
@@ -4189,7 +4189,7 @@ bool nulstr_contains(const char*nulstr, const char *needle) {
 }
 
 bool plymouth_running(void) {
-        return access("/run/initramfs/plymouth", F_OK) >= 0;
+        return access("/run/plymouth/pid", F_OK) >= 0;
 }
 
 static const char *const ioprio_class_table[] = {
diff --git a/units/plymouth-start.service b/units/plymouth-start.service
index 6ab51f3..10d03c6 100644
--- a/units/plymouth-start.service
+++ b/units/plymouth-start.service
@@ -13,9 +13,9 @@ After=systemd-vconsole-setup.service udev-settle.service
 Before=systemd-ask-password-plymouth.service
 
 # Dracut informs us with this flag file if plymouth is already running
-ConditionPathExists=!/run/initramfs/plymouth
+ConditionPathExists=!/run/plymouth/pid
 
 [Service]
-ExecStart=/sbin/plymouthd --mode=boot
+ExecStart=/sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid
 ExecStartPost=-/bin/plymouth --show-splash
 Type=forking

commit f695b3b09b672c327c5b525ed7a2390c4b99a67e
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Mar 31 03:25:30 2011 +0200

    build-sys: install systemd-analyze by default

diff --git a/Makefile.am b/Makefile.am
index 130e76c..bc713fc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -114,6 +114,9 @@ bin_PROGRAMS = \
 	systemd-stdio-bridge \
         systemd-nspawn
 
+dist_bin_SCRIPTS = \
+        src/systemd-analyze
+
 if HAVE_GTK
 bin_PROGRAMS += \
 	systemadm \



More information about the systemd-commits mailing list