[systemd-devel] [PATCH] systemctl: add commands set-default and get-default

2013-05-28 Thread Vaclav Pavlin
From: Václav Pavlín vpav...@redhat.com systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target. --- man/systemctl.xml | 18 ++ shell-completion/bash/systemctl | 6 +++-

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread Colin Guthrie
'Twas brillig, and systemdki...@yopmail.com at 26/05/13 06:29 did gyre and gimble: Jan Alexander Steffens, So in this timer, where/how apply reboot.target, or else tell systemd to invoke? Thx -- # /etc/systemd/system/nightjanitor.timer [Unit]

[systemd-devel] [PATCH] journald: DO recalculate the ACL mask, but only if it doesn't exist

2013-05-28 Thread Jan Alexander Steffens (heftig)
From: Jan Alexander Steffens (heftig) jan.steff...@gmail.com Since 11ec7ce, journald isn't setting the ACLs properly anymore if the files had no ACLs to begin with: acl_set_fd fails with EINVAL. An ACL with ACL_USER or ACL_GROUP entries but no ACL_MASK entry is invalid, so make sure a mask

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Kok, Auke-jan H
On Tue, May 28, 2013 at 3:00 AM, Chengwei Yang chengwei.y...@intel.com wrote: Currently, if we have a user session, when systemd user session start, just like the situation for it as PID 1, dbus-daemon isn't ready at that moment, so it always failed with below error. Feb 06 16:50:10

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Yang Chengwei
On Tue, May 28, 2013 at 01:53:16PM -0700, Kok, Auke-jan H wrote: On Tue, May 28, 2013 at 3:00 AM, Chengwei Yang chengwei.y...@intel.com wrote: Currently, if we have a user session, when systemd user session start, just like the situation for it as PID 1, dbus-daemon isn't ready at that

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread systemdkiosk
Tried all advice so far, no dice, but thanks. A more advanced timer/service layout may be needful in this rev of systemd (204), though I'm fairly clueless what. Last try was ( sleep 30 systemctl --no-block start reboot.target ) If anyone succeeds making something work, please post and thank

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread Andrey Borzenkov
В Wed, 29 May 2013 04:24:41 + systemdki...@yopmail.com пишет: Tried all advice so far, no dice, but thanks. A more advanced timer/service layout may be needful in this rev of systemd (204), though I'm fairly clueless what. Last try was ( sleep 30 systemctl --no-block start

Re: [systemd-devel] [PATCH] honor SELinux labels, when creating and writing config files

2013-05-28 Thread poma
On 14.02.2013 16:21, Harald Hoyer wrote: Am 14.02.2013 12:27, schrieb har...@redhat.com: From: Harald Hoyer har...@redhat.com see https://bugzilla.redhat.com/show_bug.cgi?id=881577 obsoleted by