[systemd-commits] 2 commits - TODO src/system-update-generator

Lennart Poettering lennart at kemper.freedesktop.org
Mon Jan 26 16:29:16 PST 2015


 TODO                                                  |    2 ++
 src/system-update-generator/system-update-generator.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 31a11e8f30449a81867e8fd081e3e76cf6664bb4
Author: Lennart Poettering <lennart at poettering.net>
Date:   Tue Jan 27 01:28:53 2015 +0100

    update TODO

diff --git a/TODO b/TODO
index 8079a8b..a248e81 100644
--- a/TODO
+++ b/TODO
@@ -31,6 +31,8 @@ External:
 
 Features:
 
+* logind: maybe allow configuration of the StopTimeout for session scopes
+
 * Set NoNewPriviliges= on all of our own services, where that makes sense
 
 * Rework systemctl's GetAll property parsing to use the generic bus_map_all_properties() API

commit 6b321a790142449e0cf3685ffa5294e147d692f7
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Mon Jan 26 07:34:32 2015 +0100

    system-update-generator: accept a dangling symlink
    
    The offline update mechanism is explicitly designed to work with a
    separate /var. systemd-update-generator is supposed to run early,
    before filesystems are mounted, so it cannot check if the
    /system-update symlink actually points to anything.
    
    The update is run *after* filesystems are mounted, so it should be
    able to access the target of the symlink without trouble.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1178978

diff --git a/src/system-update-generator/system-update-generator.c b/src/system-update-generator/system-update-generator.c
index 464ee22..455a841 100644
--- a/src/system-update-generator/system-update-generator.c
+++ b/src/system-update-generator/system-update-generator.c
@@ -37,7 +37,7 @@ static const char *arg_dest = "/tmp";
 static int generate_symlink(void) {
         const char *p = NULL;
 
-        if (access("/system-update", F_OK) < 0) {
+        if (laccess("/system-update", F_OK) < 0) {
                 if (errno == ENOENT)
                         return 0;
 



More information about the systemd-commits mailing list