Re: [systemd-devel] [systemd-commits] 42 commits - configure.ac Makefile.am man/.gitignore README src/journal src/python-systemd

2013-02-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 28, 2013 at 05:15:05PM -0800, Zbigniew Jędrzejewski-Szmek wrote: > Makefile.am | 80 +++ > README |7 > configure.ac|1 > man/.gitignore |1 > src/journal/journalctl.c

[systemd-devel] [PATCH] Support system freeze

2013-02-28 Thread Cristian Rodríguez
As implemented in kernel 3.9 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36 --- Makefile.am | 2 ++ man/systemd-suspend.service.xml | 19 ++- src/sleep/sleep.c | 8 units

Re: [systemd-devel] OnCalendar= timers crashing systemd

2013-02-28 Thread Lennart Poettering
On Thu, 28.02.13 20:47, Tomasz Torcz (to...@pipebreaker.pl) wrote: > > Hi, > > Carlos Silva, known as r3pek on IRC, found out that some parts of DBUS code > weren't updated when introducing calendar events. Specifically, this simple > unit: > > --- crash.timer --- > [Unit] > Description=upd

Re: [systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Lennart Poettering
On Thu, 28.02.13 20:09, Mantas Mikulėnas (graw...@gmail.com) wrote: > Doesn't coreutils "tac" already do this? The way tac works is that is queues the entire output, and then reorders. This is necessarily slow. We can do this much much more efficient when directly accessing journal files, by simp

Re: [systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Cristian Rodríguez
El 28/02/13 15:09, Mantas Mikulėnas escribió: Doesn't coreutils "tac" already do this? Yes, but one of the reasons for the journal is to make people's life easier by not having to use shell pipe tricks to solve very common needs. ___ systemd-deve

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Cristian Rodríguez
El 28/02/13 12:55, Colin Guthrie escribió: That said, I think Fred had patches that are applied in Suse to read these pm-utils hooks anyway, so that might be what Cristian needs? No, this request was based on the fact that this change was made to openSUSE systemd and calling pm-utils is an st

[systemd-devel] OnCalendar= timers crashing systemd

2013-02-28 Thread Tomasz Torcz
Hi, Carlos Silva, known as r3pek on IRC, found out that some parts of DBUS code weren't updated when introducing calendar events. Specifically, this simple unit: --- crash.timer --- [Unit] Description=update DNS hourly [Timer] OnCalendar=hourly --- is enough to kill systemd by "systemctl s

Re: [systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Colin Guthrie
'Twas brillig, and Mantas Mikulėnas at 28/02/13 18:09 did gyre and gimble: > Doesn't coreutils "tac" already do this? Yes but that would require piping the entire output through tac which could be really inefficient. If this patch is committed, please don't forget to fix the subject!! s/--revert/

Re: [systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Mantas Mikulėnas
Doesn't coreutils "tac" already do this? -- Mantas Mikulėnas ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Lennart Poettering
On Thu, 28.02.13 14:32, Lukas Nykryn (lnyk...@redhat.com) wrote: Looks good in principle, but this sounds so useful we might want to grant it a "-r" short option? > --- > man/journalctl.xml | 7 ++ > src/journal/journalctl.c | 59 > +++- >

Re: [systemd-devel] EnvironmentFile, (-)sign

2013-02-28 Thread Lennart Poettering
On Thu, 28.02.13 17:05, lux-integ (lux-in...@btconnect.com) wrote: > I am new to systemd. I notice in the service files the 'EnvironmentFile' > path variable is prepended by a minus (-) sign like so:- > > EnvironmentFile=-/etc/sysconfig/whatever > > > Could somene advise if this is necessary

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
Le jeudi 28 février 2013 à 17:58 +0100, Tom Gundersen a écrit : > On Thu, Feb 28, 2013 at 5:51 PM, Frederic Crozat wrote: > > Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : > >> 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and > >> gimble: > >> > On Wed, 27.02

Re: [systemd-devel] EnvironmentFile, (-)sign

2013-02-28 Thread Reindl Harald
Am 28.02.2013 18:05, schrieb lux-integ: > I am new to systemd. I notice in the service files the 'EnvironmentFile' > path variable is prepended by a minus (-) sign like so:- > > EnvironmentFile=-/etc/sysconfig/whatever > > Could somene advise if this is necessary/advisable/advantageous...

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Tom Gundersen
On Thu, Feb 28, 2013 at 5:51 PM, Frederic Crozat wrote: > Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : >> 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: >> > On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) >> > wrote: >> > >>

[systemd-devel] EnvironmentFile, (-)sign

2013-02-28 Thread lux-integ
I am new to systemd. I notice in the service files the 'EnvironmentFile' path variable is prepended by a minus (-) sign like so:- EnvironmentFile=-/etc/sysconfig/whatever Could somene advise if this is necessary/advisable/advantageous ... or not thanks in advance LuxInteg __

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Frederic Crozat
Le jeudi 28 février 2013 à 15:55 +, Colin Guthrie a écrit : > 'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: > > On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > > > >> Hi: > >> > >> There is buggy, legacy software around which simply

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 28/02/13 12:37 did gyre and gimble: > On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > >> Hi: >> >> There is buggy, legacy software around which simply does not behave >> properly when faced with resume/suspend/hibernate which

[systemd-devel] [PATCH] journalctl: add --revert option to show the newest lines first

2013-02-28 Thread Lukas Nykryn
--- man/journalctl.xml | 7 ++ src/journal/journalctl.c | 59 +++- 2 files changed, 60 insertions(+), 6 deletions(-) diff --git a/man/journalctl.xml b/man/journalctl.xml index 5ed0e1f..768c588 100644 --- a/man/journalctl.xml +++ b/man/journal

Re: [systemd-devel] On(Resume|suspend|hibernate) in unit files?

2013-02-28 Thread Lennart Poettering
On Wed, 27.02.13 22:22, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > Hi: > > There is buggy, legacy software around which simply does not behave > properly when faced with resume/suspend/hibernate which is not > always practical to modify or fix. > > Is there any way to have something

Re: [systemd-devel] [systemd-commits] 12 commits - src/core src/shared

2013-02-28 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 28/02/13 03:10 did gyre and gimble: > В Wed, 27 Feb 2013 17:27:16 -0800 (PST) > mich...@kemper.freedesktop.org (Michal Schmidt) пишет: > >> New commits: >> commit 03b717a3c4f9348807fc56e7a7d711d72d4ec0cb >> Author: Michal Schmidt >> Date: Thu Feb 28 00:03: