Re: [systemd-devel] [PATCH] build: don't install busname units and target if kdbus support is disabled

2014-09-03 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Sep 03, 2014 at 11:51:58PM +0200, Michael Biebl wrote: > If kbus support is disabled we already do omit the installation of > org.freedesktop.systemd1.busname > > Be consistent and do that that for all busname units and the > busnames.target unit, since installing them is rather useless wi

Re: [systemd-devel] loginctl - multi-seats

2014-09-03 Thread poma
$ systemctl get-default graphical.target $ systemctl show display-manager -p Id Id=lightdm.service ~~ $ systemctl is-enabled display-manager enabled ~~~ $ systemctl is-active display-manager active ~~~ $ lightdm --show-config [Li

[systemd-devel] [PATCH] build: don't install busname units and target if kdbus support is disabled

2014-09-03 Thread Michael Biebl
If kbus support is disabled we already do omit the installation of org.freedesktop.systemd1.busname Be consistent and do that that for all busname units and the busnames.target unit, since installing them is rather useless without kdbus support. Fix install-target-wants-hook while at it. Chee

Re: [systemd-devel] You are invited to give your thoughts on some async-signal-safety issues.

2014-09-03 Thread Lennart Poettering
On Sun, 31.08.14 03:31, Steven Stewart-Gallus ([email protected]) wrote: > Hello, > > I understand that systemd uses sandboxing and multithreading. After a > fork, many things are messed up so it's only practical to use > async-signal-safe functions after a fork from a threaded p

Re: [systemd-devel] Work on adding polkit support to systemd1

2014-09-03 Thread Lennart Poettering
On Mon, 01.09.14 15:28, Stef Walter ([email protected]) wrote: > > We had the idea to reserve a single bit in the dbus message header for > > that. See the discussion on the dbus-ML: > > http://lists.freedesktop.org/archives/dbus/2014-August/016294.html > > Thanks. I have now posted a patch

Re: [systemd-devel] [PATCH] build: configure option to disable hibernation

2014-09-03 Thread Lennart Poettering
On Tue, 02.09.14 12:31, Umut Tezduyar Lindskog ([email protected]) wrote: Applied! Thanks! > --- > Makefile.am | 52 > configure.ac |6 ++ > 2 files changed, 38 insertions(+), 20 deletions(-) > > diff --git a/Makefile.am b/Mak

Re: [systemd-devel] [PATCH v4] socket: introduce SELinuxContextFromNet option

2014-09-03 Thread Lennart Poettering
On Tue, 02.09.14 15:17, Michal Sekletar ([email protected]) wrote: > > -int service_set_socket_fd(Service *s, int fd, Socket *sock) { > +int service_set_socket_fd(Service *s, int fd, Socket *sock, bool > selinux_context_net) { > _cleanup_free_ char *peer = NULL; > int r; >

Re: [systemd-devel] [PATCH] switch_root: do not fail, if base_filesystem_create() failed

2014-09-03 Thread Lennart Poettering
On Wed, 03.09.14 13:34, [email protected] ([email protected]) wrote: > From: Harald Hoyer > > Not all switch roots are like base_filesystem_create() wants them > to look like. They might even boot, if they are RO and don't have the FS > layout. Just output the error and switch_root nevertheless.

Re: [systemd-devel] [PATCH] journald: add CAP_MAC_OVERRIDE in journald for SMACK issue

2014-09-03 Thread Lennart Poettering
On Wed, 03.09.14 22:16, Juho Son ([email protected]) wrote: > systemd-journald check the cgroup id to support rate limit option for > every messages. so journald should be available to access cgroup node in > each process send messages to journald. > In system using SMACK, cgroup node in proc

Re: [systemd-devel] Problem when using Cgroups with the Systemd command

2014-09-03 Thread Lukáš Nykrýn
Wei Yan píše v Út 02. 09. 2014 v 09:05 -0700: > Hi, guys, > > > I’m trying to get Cgroups working for RHEL7, and has a question on the > Cgroups. When I started a process using “systemd-run --user ” > under a user account, I always got an exception that “cannot get > the dbus connection”. The sys

[systemd-devel] [PATCH] journald: add CAP_MAC_OVERRIDE in journald for SMACK issue

2014-09-03 Thread Juho Son
systemd-journald check the cgroup id to support rate limit option for every messages. so journald should be available to access cgroup node in each process send messages to journald. In system using SMACK, cgroup node in proc is assigned execute label as each process's execute label. so if journald

[systemd-devel] [PATCH] switch_root: do not fail, if base_filesystem_create() failed

2014-09-03 Thread harald
From: Harald Hoyer Not all switch roots are like base_filesystem_create() wants them to look like. They might even boot, if they are RO and don't have the FS layout. Just output the error and switch_root nevertheless. --- src/shared/switch-root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio