Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Daniel Spannbauer
Am 08/27/2013 07:50 PM, schrieb Kok, Auke-jan H: > On Tue, Aug 27, 2013 at 9:38 AM, Colin Guthrie wrote: >> Also I don't think this will properly handle session registration will >> it? There is nothing here that registers the session - no pam configs to >> include pam_systemd etc. > > nope > >>

[systemd-devel] [PATCH] blcokio bandwidth: add missing set of CGroupBlockIODeviceBandwidth's read

2013-08-27 Thread Gao feng
BlockIOReadBandwidth and BlockIOWriteBandwidth both use config_parse_blockio_bandwidth to set up CGroupBlockIODeviceBandwidth, We should set the read value based on the left values in config files. --- src/core/load-fragment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/load-fragm

[systemd-devel] [PATCH v2] device cgroup: don't create a new CGroupDeviceAllow when it already in the list

2013-08-27 Thread Gao feng
If a device node is already in the device_allow list of CGroupContext, we should replace it instead of create a new one and append this new one to the end of device_allow list. change from v1: use streq to replace !strcmp --- src/core/dbus-cgroup.c | 32 +++- 1 file ch

[systemd-devel] [PATCH] journald: fix vacuuming of archived journals

2013-08-27 Thread George McCollister
d_name is modified on line 227 so if the entire journal name is needed again p must be used. Before this change when journal_file_empty was called on archived journals it would always return with -2. Signed-off-by: George McCollister --- src/journal/journal-vacuum.c | 10 +- 1 file chang

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Kok, Auke-jan H
On Tue, Aug 27, 2013 at 9:38 AM, Colin Guthrie wrote: > Also I don't think this will properly handle session registration will > it? There is nothing here that registers the session - no pam configs to > include pam_systemd etc. nope > I think you would need some kind of PAMName= attribute here

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 27/08/13 14:58 did gyre and gimble: > On Tue, Aug 27, 2013 at 03:28:51PM +0200, Daniel Spannbauer wrote: >> Hello, >> >> till now we had the following entry in the /etc/inittab: >> >> X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/

Re: [systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Aug 27, 2013 at 03:28:51PM +0200, Daniel Spannbauer wrote: > Hello, > > till now we had the following entry in the /etc/inittab: > > X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/bin/X > :1 vt08 -r -br" 1>/tmp/X1.log 2>&1 > > > On our new system systemd is now standar

[systemd-devel] Convert Inittab-Entry to systemd

2013-08-27 Thread Daniel Spannbauer
Hello, till now we had the following entry in the /etc/inittab: X1:5:once:/bin/su - user -c "xinit /home/user/.xsession -- /usr/bin/X :1 vt08 -r -br" 1>/tmp/X1.log 2>&1 On our new system systemd is now standard. So I tried to convert this in a systemd.servce: [Unit] Description=Autologin Aft

Re: [systemd-devel] [PATCH 00/10] Device Management for systemd-logind

2013-08-27 Thread Tom Gundersen
On Tue, Aug 27, 2013 at 12:00 AM, David Herrmann wrote: > Hi > > On Mon, Aug 26, 2013 at 6:37 AM, Tom Gundersen wrote: >> On Sun, Aug 25, 2013 at 8:46 PM, David Herrmann >> wrote: >>> logind itselfs takes care of revoking device access for inactive sessions >>> (synchronized with session-switch