chiark / gitweb /
plymouth: use PID file to detect whether ply is running
authorLennart Poettering <lennart@poettering.net>
Thu, 31 Mar 2011 02:26:40 +0000 (04:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 31 Mar 2011 02:26:40 +0000 (04:26 +0200)
TODO
src/util.c
units/plymouth-start.service

diff --git a/TODO b/TODO
index 215a73601c1e95d8b616364af9b08ff80eb28a6d..803c6a8ecdded499574f678e107ab068e4709665 100644 (file)
--- 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
index 5e101e44178fcee9a73d1e080562bf257ef454a0..a44fea09cfdbb0234a7383c3a0424695964db20a 100644 (file)
@@ -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[] = {
index 6ab51f32af25e8a7545f4548176e23fcf11a9749..10d03c6c62df5ce92956012f8ad5d1bb9ad4b6b1 100644 (file)
@@ -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