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 [email protected]: >> From: Harald Hoyer >> >> see https://bugzilla.redhat.com/show_bug.cgi?id=881577 > > > obsoleted by > http://cgit.freedesktop.org/systemd/systemd/commit/?id=a5c32cff1f56afe6f0c6c70d91a88a7a8238b2d7 > >

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread Andrey Borzenkov
В Wed, 29 May 2013 04:24:41 + [email protected] пишет: > 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 rebo

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] [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 > 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 alwa

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 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 localhost.localdomain system

[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)" 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 exists before trying to se

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

2013-05-28 Thread Chengwei Yang
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 localhost.localdomain systemd[417]: Failed to open private bus connection: Failed to connect

Re: [systemd-devel] Automatic Reboot Protocol

2013-05-28 Thread Colin Guthrie
'Twas brillig, and [email protected] 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 > [

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

2013-05-28 Thread Vaclav Pavlin
From: Václav Pavlín 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 +++- src/core/dbus-manager.c | 28 +++