[systemd-commits] 2 commits - src/logger.c TODO units/hwclock-save.service units/systemd-random-seed-save.service.in

Lennart Poettering lennart at kemper.freedesktop.org
Mon Nov 22 16:37:26 PST 2010


 TODO                                      |    2 ++
 src/logger.c                              |    2 +-
 units/hwclock-save.service                |    4 +++-
 units/systemd-random-seed-save.service.in |    3 ++-
 4 files changed, 8 insertions(+), 3 deletions(-)

New commits:
commit d4a80c124356e87dadd1af2b386e77c9b286bbbf
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Nov 23 01:37:18 2010 +0100

    units: simplify shutdown scripts

diff --git a/units/hwclock-save.service b/units/hwclock-save.service
index 11ad0eb..dedee76 100644
--- a/units/hwclock-save.service
+++ b/units/hwclock-save.service
@@ -8,7 +8,9 @@
 [Unit]
 Description=Update RTC With System Clock
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service
+After=hwclock-load.service
+Before=shutdown.target
+Conflicts=hwclock-load.service
 
 [Service]
 Type=oneshot
diff --git a/units/systemd-random-seed-save.service.in b/units/systemd-random-seed-save.service.in
index 6539bdc..9a074cf 100644
--- a/units/systemd-random-seed-save.service.in
+++ b/units/systemd-random-seed-save.service.in
@@ -8,7 +8,8 @@
 [Unit]
 Description=Save Random Seed
 DefaultDependencies=no
-Before=poweroff.service reboot.service halt.service
+After=systemd-random-seed-load.service
+Before=shutdown.target
 Conflicts=systemd-random-seed-load.service
 
 [Service]

commit aeb70c8d60dd6e21dc3e2b20072f30c045d12261
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Nov 23 01:36:54 2010 +0100

    logger: fix error handling

diff --git a/TODO b/TODO
index fbe299c..4b0d8ae 100644
--- a/TODO
+++ b/TODO
@@ -69,6 +69,8 @@
 
 * isolate multi-user.target doesn't start a getty at tty1 if we run it from graphical.target
 
+* alsa rule file, alsa service files, alsa state file → /var/lib, sequencer soll by device node ladbar
+
 Fedora:
 
 * obsolete readhead in system pkgs
diff --git a/src/logger.c b/src/logger.c
index 9c3cb1a..32c57f8 100644
--- a/src/logger.c
+++ b/src/logger.c
@@ -318,7 +318,7 @@ static int stream_process(Stream *s, usec_t ts) {
                         return 0;
 
                 log_warning("Failed to read from stream: %m");
-                return -1;
+                return -errno;
         }
 
 



More information about the systemd-commits mailing list