Re: [systemd-devel] [PATCH] udev: fix printf specifiers

2013-12-14 Thread Shawn Landden
On Sat, Dec 14, 2013 at 8:11 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Dec 14, 2013 at 06:48:34PM -0800, Shawn Landden wrote: >> This keeps the same behavior, which is wierd. >> --- >> src/udev/udev-builtin-path_id.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff -

Re: [systemd-devel] [PATCH] udev: fix printf specifiers

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 14, 2013 at 06:48:34PM -0800, Shawn Landden wrote: > This keeps the same behavior, which is wierd. > --- > src/udev/udev-builtin-path_id.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c > i

Re: [systemd-devel] Fwd: [Pkg-systemd-maintainers] Bug#732157: Want SIGSTOP-style daemon/service readiness notification

2013-12-14 Thread Kay Sievers
On Sat, Dec 14, 2013 at 11:19 PM, Shawn Landden wrote: > It would be nice if systemd could implement the service supervisor > side of the service readiness protocol that upstart calls "expect > stop": > > The service doesn't fork, and when considers itself ready it raises > SIGSTOP. The supervis

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Dec 15, 2013 at 01:08:29AM +0100, Cecil Westerhof wrote: > >And for good measure, the output from > >SYSTEMD_LOG_LEVEL=debug journalctl -u h2 2>&1 >/dev/null|grep 'Journal > >filter' > > That gives nothing. Even when I remove >/dev/null So you have some old systemd version (<= 204). What

[systemd-devel] [PATCH] udev: fix printf specifiers

2013-12-14 Thread Shawn Landden
This keeps the same behavior, which is wierd. --- src/udev/udev-builtin-path_id.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c index 7476330..7543a11 100644 --- a/src/udev/udev-builtin-path_id.c +++ b/src/

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Shawn Landden
meme status http://gnomememes.tumblr.com/post/48703520110#notes On Sat, Dec 14, 2013 at 8:56 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Dec 14, 2013 at 11:55:47AM +0200, Oleksii Shevchuk wrote: >> > strace -p 1 >> >> stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 >> open("/sys/cl

Re: [systemd-devel] [PATCH] Add more _printf_'s for format-nonliterals

2013-12-14 Thread Thomas H.P. Andersen
On Sat, Dec 14, 2013 at 5:31 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Dec 14, 2013 at 01:32:35PM +0100, Thomas H.P. Andersen wrote: >> From: Thomas Hindoe Paaboel Andersen >> >> Clang is a bit more strict wrt format-nonliterals: >> http://clang.llvm.org/docs/LanguageExtensions.html#format

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
On 12/14/2013 05:25 PM, Zbigniew Jędrzejewski-Szmek wrote: On Sat, Dec 14, 2013 at 09:22:46AM +0100, Cecil Westerhof wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple

Re: [systemd-devel] [PATCH] systemctl: add the --plain option to the help message

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] [PATCH] systemctl: add the --plain option to the help message

2013-12-14 Thread Djalal Harouni
--- src/systemctl/systemctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 24a74c3..9a76349 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4834,7 +4834,8 @@ static int systemctl_help(vo

Re: [systemd-devel] [PATCH] build: use -ftrapv for development

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Fwd: [Pkg-systemd-maintainers] Bug#732157: Want SIGSTOP-style daemon/service readiness notification

2013-12-14 Thread Shawn Landden
forwarding to systemd-devel for discussion -- Forwarded message -- From: Ian Jackson Date: Sat, Dec 14, 2013 at 1:05 PM Subject: [Pkg-systemd-maintainers] Bug#732157: Want SIGSTOP-style daemon/service readiness notification To: sub...@bugs.debian.org Package: systemd Version: 2

Re: [systemd-devel] machines get killed when scopes are destroyed

2013-12-14 Thread Cole Robinson
On Mon, Nov 18, 2013 at 03:03:18AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > v0lZy reported on IRC that his qemu machines get killed when shutting > down the host. libvirt-guests.service is designed to suspend them > during shutdown, but when it was run, the guests were all already dead. > > And

[systemd-devel] [PATCH] build: use -ftrapv for development

2013-12-14 Thread Shawn Landden
We want to find these bugs if they exist. --- autogen.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autogen.sh b/autogen.sh index d0a2f3f..9ffd724 100755 --- a/autogen.sh +++ b/autogen.sh @@ -54,10 +54,10 @@ args="$args \ fi if [ "x$1" = "xc" ]; then -./c

Re: [systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 14, 2013 at 11:55:47AM +0200, Oleksii Shevchuk wrote: > > strace -p 1 > > stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 > open("/sys/class/tty/console/active", O_RDONLY|O_CLOEXEC) = 19 > fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PR

Re: [systemd-devel] [PATCH] Add more _printf_'s for format-nonliterals

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 14, 2013 at 01:32:35PM +0100, Thomas H.P. Andersen wrote: > From: Thomas Hindoe Paaboel Andersen > > Clang is a bit more strict wrt format-nonliterals: > http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking > > Adding these extra printf attributes also makes gcc

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 14, 2013 at 09:22:46AM +0100, Cecil Westerhof wrote: > I made a first setup to make a service for the H2 database. I made > the folowing service file: > [Unit] > Description=H2 Database > > [Service] > Type=simple > ExecStart=/usr/bin/java -cp > /home/cecil/java/h2/

Re: [systemd-devel] [RFC] [PATCH 0/3] journal: Add deferred log processing to reduce synchonous IO overhead

2013-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Dec 13, 2013 at 10:16:16PM +0100, Karol Lewandowski wrote: > One of the problems I see, though, is that no matter how deep I make > the queue (`max_dgram_qlen') I still see process sleeping on send() > way earlier that configured queue depth would suggest. Are you sure that the sysctl is se

[systemd-devel] [PATCH] Add more _printf_'s for format-nonliterals

2013-12-14 Thread Thomas H.P. Andersen
From: Thomas Hindoe Paaboel Andersen Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builti

[systemd-devel] systemd + logind possible deadlock

2013-12-14 Thread Oleksii Shevchuk
> strace -p 1 stat("/sys", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 open("/sys/class/tty/console/active", O_RDONLY|O_CLOEXEC) = 19 fstat(19, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fbab0d58000 read(19, "ttyS0

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
On 12/14/2013 10:29 AM, Andrey Borzenkov wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Andrey Borzenkov
В Sat, 14 Dec 2013 10:19:45 +0100 Cecil Westerhof пишет: > On 12/14/2013 09:56 AM, Andrey Borzenkov wrote: > > >> I made a first setup to make a service for the H2 database. I made the > >> folowing service file: > >> [Unit] > >> Description=H2 Database > >> > >> [Service] > >>

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
On 12/14/2013 09:56 AM, Andrey Borzenkov wrote: I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar org

Re: [systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Andrey Borzenkov
В Sat, 14 Dec 2013 09:22:46 +0100 Cecil Westerhof пишет: > I made a first setup to make a service for the H2 database. I made the > folowing service file: > [Unit] > Description=H2 Database > > [Service] > Type=simple > ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bi

[systemd-devel] Why doe I not see the logging with -u

2013-12-14 Thread Cecil Westerhof
I made a first setup to make a service for the H2 database. I made the folowing service file: [Unit] Description=H2 Database [Service] Type=simple ExecStart=/usr/bin/java -cp /home/cecil/java/h2/bin/h2-1.3.174.jar org.h2.tools.Console -tool -tcp Restart=always User=