Re: [systemd-devel] [PATCH] service: don't report alien child as alive when it's not

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jun 09, 2013 at 05:28:44PM +0100, Ross Lagerwall wrote: > When a sigchld is received from an alien child, main_pid is set to > 0 then service_enter_running calls main_pid_good to check if the > child is running. This incorrectly returned true because > kill(main_pid, 0) would return >= 0.

Re: [systemd-devel] [PATCHv2] Allow for the use of @ in remote host calls

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jun 09, 2013 at 03:54:39PM -0500, Daniel Wallace wrote: > Without this you have to use %40 with the -H flag because dbus doesn't > like the @ sign being unescaped. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.or

Re: [systemd-devel] [PATCH v3] journalctl: Add support for showing messages from a previous boot

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Jun 05, 2013 at 02:32:35PM +0200, Jan Janssen wrote: > > --b > ---this-boot > - > -Show data only from > -current boot. This will add a m

[systemd-devel] [PATCHv2] Allow for the use of @ in remote host calls

2013-06-09 Thread Daniel Wallace
Without this you have to use %40 with the -H flag because dbus doesn't like the @ sign being unescaped. --- src/hostname/hostnamectl.c | 5 +++-- src/locale/localectl.c | 5 +++-- src/login/loginctl.c | 5 +++-- src/shared/dbus-common.c | 4 ++-- src/shared/util.c | 10 +++

[systemd-devel] Automount behavior

2013-06-09 Thread Mickaël THOMAS
Hi, I was trying to achieve automatic mounting of my external hard drive whenever it's plugged in. I first tried the x-systemd.automount option in /etc/fstab but that led to problems when the disk is not plugged (KDE/GTK file dialogs hang indefinitely because they wait for the disk to be mounted)

Re: [systemd-devel] [RFC PATCH] logs-show: print multiline messages

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
Hi, On Mon, May 06, 2013 at 11:43:38AM +0200, Lennart Poettering wrote: > On Fri, 03.05.13 19:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > On Fri, May 03, 2013 at 06:51:35PM +0200, Lennart Poettering wrote: > > > On Wed, 24.04.13 10:30, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw

[systemd-devel] [PATCH] service: don't report alien child as alive when it's not

2013-06-09 Thread Ross Lagerwall
When a sigchld is received from an alien child, main_pid is set to 0 then service_enter_running calls main_pid_good to check if the child is running. This incorrectly returned true because kill(main_pid, 0) would return >= 0. This fixes an error where a service would die and the cgroup would beco

Re: [systemd-devel] systemd-shutdown static linking (was: Please proof-read: ...)

2013-06-09 Thread Ross Lagerwall
On Sun, Jun 09, 2013 at 05:11:19PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Jun 09, 2013 at 08:52:01AM +0100, Ross Lagerwall wrote: > > On Sat, Jun 08, 2013 at 05:06:50PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > > > Maybe mention that systemd-shutdown is statically linked (I know it >

Re: [systemd-devel] systemd-shutdown static linking (was: Please proof-read: ...)

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jun 09, 2013 at 08:52:01AM +0100, Ross Lagerwall wrote: > On Sat, Jun 08, 2013 at 05:06:50PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > > Maybe mention that systemd-shutdown is statically linked (I know it > > can be inferred from the text, but being explicit might be better). > > At leas

Re: [systemd-devel] [PATCH] Allow for the use of @ in remote host calls

2013-06-09 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Jun 08, 2013 at 08:21:09PM -0500, Daniel Wallace wrote: > Without this you have to use %40 with the -H flag because dbus doesn't > like the @ sign being unescaped. > --- > src/hostname/hostnamectl.c | 12 ++-- > src/locale/localectl.c | 12 ++-- > src/login/loginctl.c

Re: [systemd-devel] systemd-shutdown static linking (was: Please proof-read: ...)

2013-06-09 Thread Ross Lagerwall
On Sat, Jun 08, 2013 at 05:06:50PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > Maybe mention that systemd-shutdown is statically linked (I know it > can be inferred from the text, but being explicit might be better). At least on Arch, it is still statically linked to libc and udev: $ ldd /usr/lib/