Re: [systemd-devel] Hang when mounting NFS via systemd

2012-10-15 Thread Lennart Poettering
On Mon, 08.10.12 19:57, Bardur Arantsson ([email protected]) wrote: > > On 09/24/2012 12:56 PM, Lennart Poettering wrote: > > On Sun, 23.09.12 17:21, Bardur Arantsson ([email protected]) wrote: > > > >> Hi all, > >> > [--snip--] > > > > This indicates a bug i systemd actually. For some re

Re: [systemd-devel] [PATCH] configure.ac: Add a --with-python option.

2012-10-15 Thread Lennart Poettering
On Mon, 08.10.12 19:03, Wulf C. Krueger ([email protected]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello Zbigniew, > > On 08.10.2012 14:34, Zbigniew Jędrzejewski-Szmek wrote: > > I think that a patch which adds the explicit switch, but leaves > > the default as autodet

Re: [systemd-devel] [PATCH 2/2] core/swap.c: Do not add Before=swap.target to swap units.

2012-10-15 Thread Lennart Poettering
On Sat, 06.10.12 01:11, Thomas Bächler ([email protected]) wrote: > The fstab generator adds Before=swap.target by default, and when creating > a custom .swap unit, you can also add Before=swap.target to the unit. > > However, it is impossible to not have this ordering dependency right now. >

Re: [systemd-devel] [PATCH 1/2] core: Refuse to run a user instance when the system hasn't been booted with systemd.

2012-10-15 Thread Lennart Poettering
On Sat, 06.10.12 01:11, Thomas Bächler ([email protected]) wrote: > Running as a user instance won't work at all if systemd isn't running as > system > manager, so refuse to start in that case. Applied. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. _

Re: [systemd-devel] SELinux patch still broken, in that we are not checking the correct source context.

2012-10-15 Thread Lennart Poettering
On Thu, 11.10.12 17:06, Daniel J Walsh ([email protected]) wrote: Applied both patches, with minor changes (replaced calloc+strncpy with strndup()). > diff --git a/src/core/selinux-access.c b/src/core/selinux-access.c > index d9c3f9b..974e9fe 100644 > --- a/src/core/selinux-access.c > +++ b/src/c

Re: [systemd-devel] [PATCH] core: allow Type=oneshot services to have ExecReload

2012-10-15 Thread Lennart Poettering
On Wed, 10.10.12 20:18, Mantas Mikulėnas ([email protected]) wrote: Heya, > Use cases: > > * iptables.service – atomically reload rules without having to flush >them beforehand (which may leave the system insecure if reload fails) > > * rpc-nfsd.service – reexport filesystems after /etc/e

Re: [systemd-devel] [PATCH v2] check for name_to_handle_at declaration instead of its definition

2012-10-15 Thread Lennart Poettering
On Tue, 09.10.12 14:58, Michael Olbrich ([email protected]) wrote: > AC_CHECK_FUNCS may be successful, even though name_to_handle_at and > 'struct file_handle' are not available. OK, applied. Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] journald leaking maps?

2012-10-15 Thread Lennart Poettering
On Thu, 11.10.12 23:31, Colin Guthrie ([email protected]) wrote: > Hi, > > This has been discussion on IRC but I've not heard anything about it > specifically nor have I seen any commits relating to it. > > Using journald without persistent logs (i.e. /run only), I see the > memory footprint

Re: [systemd-devel] journald leaking maps?

2012-10-15 Thread Lennart Poettering
On Fri, 12.10.12 20:55, Michael Olbrich ([email protected]) wrote: > > Well perhaps, but with systemd 189 (I think, perhaps a bit earlier) I > > certainly didn't see this kind of memory usage. I'm certainly hitting > > OOMs much more regularly now unless I restart systemd occasionally. > >

Re: [systemd-devel] [PATCH] Fix typo in udevadm documentation

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 19:38, Ferenc Wágner ([email protected]) wrote: > --- a/man/udevadm.xml > +++ b/man/udevadm.xml > @@ -363,7 +363,7 @@ > > > --timeout=seconds > > -The maximum number seconds to wait for a reply from > systemd-udevd. > +The max

Re: [systemd-devel] journalctl segfault in gcrypt code

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 23:02, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > On Mon, Oct 15, 2012 at 10:01:31PM +0200, Lennart Poettering wrote: > > On Sat, 13.10.12 17:59, Zbigniew Jędrzejewski-Szmek ([email protected]) > > wrote: > > > > > Hi, > > > > > > I'm having trouble debugging t

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 13:59, Andrew Eikum ([email protected]) wrote: > As you likely know, Arch Linux is in the process of moving to systemd. > So I was reading through the various systemd docs and quickly became > baffled by this new abbreviation "resp.", which I've never seen before > in my Engl

Re: [systemd-devel] journalctl segfault in gcrypt code

2012-10-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Oct 15, 2012 at 10:01:31PM +0200, Lennart Poettering wrote: > On Sat, 13.10.12 17:59, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > Hi, > > > > I'm having trouble debugging the problem below. Maybe somebody has an > > idea... When I run journalctl, on a specific (large) se

Re: [systemd-devel] PATCH: Integration with Python logging framework

2012-10-15 Thread Marti Raudsepp
On Sun, Oct 14, 2012 at 2:22 PM, David Strauss wrote: > This support has been on my task list for a while. Thanks for taking a > first stab at it. A cursory look at the patch looks promising, and > I'll probably commit it after some basic testing in the next few days. I've been pondering how deve

Re: [systemd-devel] [PATCH] sd-daemon: fix cppcheck warnings

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 21:05, Sami Kerola ([email protected]) wrote: > Found with 'cppcheck --enable=all --inconclusive --std=posix' while > working with util-linux, which has a copy of this file. > > [misc-utils/sd-daemon.c:91]: (style) Checking if unsigned variable 'l' is \ > less than zero. > [misc-ut

[systemd-devel] [PATCH] sd-daemon: fix cppcheck warnings

2012-10-15 Thread Sami Kerola
Found with 'cppcheck --enable=all --inconclusive --std=posix' while working with util-linux, which has a copy of this file. [misc-utils/sd-daemon.c:91]: (style) Checking if unsigned variable 'l' is \ less than zero. [misc-utils/sd-daemon.c:254]: (warning) Comparison of a boolean \ expression with

Re: [systemd-devel] journalctl segfault in gcrypt code

2012-10-15 Thread Lennart Poettering
On Sat, 13.10.12 17:59, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > Hi, > > I'm having trouble debugging the problem below. Maybe somebody has an > idea... When I run journalctl, on a specific (large) set of journal > logs, it segfaults. Always in the same place. Hmm, I have not se

Re: [systemd-devel] Questions on setting up a Truecrypt volume management service

2012-10-15 Thread Matthew Monaco
On 10/15/2012 04:42 AM, Jakob Hetzelein wrote: > Dear list, > > since there don't seem to be many people around worrying about the > interaction between *Truecrypt and systemd*, I recently encountered the > problem of incorporating the mounting of my home directory neatly into > systemd's start up

[systemd-devel] [PATCH] Fix typo in udevadm documentation

2012-10-15 Thread Ferenc Wágner
Signed-off-by: Ferenc Wágner --- man/udevadm.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/udevadm.xml b/man/udevadm.xml index b46a5f5..accf701 100644 --- a/man/udevadm.xml +++ b/man/udevadm.xml @@ -363,7 +363,7 @@ --timeout=seconds

[systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Andrew Eikum
As you likely know, Arch Linux is in the process of moving to systemd. So I was reading through the various systemd docs and quickly became baffled by this new abbreviation "resp.", which I've never seen before in my English-mother-tongue life. Some quick Googling turned up a reference:

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Colin Guthrie
'Twas brillig, and Dave Reisner at 15/10/12 18:35 did gyre and gimble: > Personally, I think its entirely the wrong usage of the word, > abbreviated or not. > > "Start showing entries newer or of the specified date, resp. older or of > the specified date" > > Perhaps simply be written as: > > "S

Re: [systemd-devel] [RFC][PATCH]user-sessions: order after network.target

2012-10-15 Thread Kok, Auke-jan H
On Mon, Oct 15, 2012 at 10:52 AM, Lennart Poettering wrote: > On Sun, 14.10.12 13:18, Tom Gundersen ([email protected]) wrote: > >> It is necessary to terminate remote sessions before shutting down >> the network connection. Otherwise, remote sessions might hang. >> >> In particular this is a problem w

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Dave Reisner
On Mon, Oct 15, 2012 at 08:26:02PM +0200, Lennart Poettering wrote: > On Mon, 15.10.12 13:35, Dave Reisner ([email protected]) wrote: > > > > > On Mon, Oct 15, 2012 at 06:15:18PM +0100, Colin Guthrie wrote: > > > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > > > On

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Oct 15, 2012 at 08:26:02PM +0200, Lennart Poettering wrote: > On Mon, 15.10.12 13:35, Dave Reisner ([email protected]) wrote: > > > > > On Mon, Oct 15, 2012 at 06:15:18PM +0100, Colin Guthrie wrote: > > > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > > > On

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 13:35, Dave Reisner ([email protected]) wrote: > > On Mon, Oct 15, 2012 at 06:15:18PM +0100, Colin Guthrie wrote: > > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > > On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum > > > wrote: > > >> The trouble is

Re: [systemd-devel] [RFC][PATCH]user-sessions: order after network.target

2012-10-15 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 15/10/12 18:52 did gyre and gimble: > On Sun, 14.10.12 13:18, Tom Gundersen ([email protected]) wrote: > >> It is necessary to terminate remote sessions before shutting down >> the network connection. Otherwise, remote sessions might hang. >> >> In particular th

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 18:15, Colin Guthrie ([email protected]) wrote: > > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum > > wrote: > >> The trouble is "resp." isn't used in English, ever. > > > > For what it is worth, "r

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 11:14, Andrew Eikum ([email protected]) wrote: > On Mon, Oct 15, 2012 at 05:59:35PM +0200, Lennart Poettering wrote: > > Hmmm, as I understood the text you linked this usage is actually > > correct, as "resp." means "each separately in the order mentioned", > > which is preci

Re: [systemd-devel] [RFC][PATCH]user-sessions: order after network.target

2012-10-15 Thread Lennart Poettering
On Sun, 14.10.12 13:18, Tom Gundersen ([email protected]) wrote: > It is necessary to terminate remote sessions before shutting down > the network connection. Otherwise, remote sessions might hang. > > In particular this is a problem with ssh on Arch [0]. The network > connection might be pulled down

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Andrew Eikum
On Mon, Oct 15, 2012 at 06:15:18PM +0100, Colin Guthrie wrote: > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum > > wrote: > >> The trouble is "resp." isn't used in English, ever. > > > > For what it is worth, "resp." is

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Dave Reisner
On Mon, Oct 15, 2012 at 06:15:18PM +0100, Colin Guthrie wrote: > 'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > > On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum > > wrote: > >> The trouble is "resp." isn't used in English, ever. > > > > For what it is worth, "resp." is

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Colin Guthrie
'Twas brillig, and Tom Gundersen at 15/10/12 17:57 did gyre and gimble: > On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum wrote: >> The trouble is "resp." isn't used in English, ever. > > For what it is worth, "resp." is commonly used in mathematics. I don't > know about technical writing in genera

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Tom Gundersen
On Mon, Oct 15, 2012 at 6:14 PM, Andrew Eikum wrote: > The trouble is "resp." isn't used in English, ever. For what it is worth, "resp." is commonly used in mathematics. I don't know about technical writing in general though. -t ___ systemd-devel maili

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 15/10/12 16:59 did gyre and gimble: > On Mon, 15.10.12 09:41, Andrew Eikum ([email protected]) wrote: > > Heya, > >> >> As you likely know, Arch Linux is in the process of moving to systemd. >> So I was reading through the various systemd docs and qui

Re: [systemd-devel] ---- lines and verbose export

2012-10-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Oct 15, 2012 at 04:18:40PM +0200, Lennart Poettering wrote: > On Mon, 15.10.12 12:36, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > > Hi, > > > > the " Logs since ...", etc, lines are not described in the export > > format specification. So a simplistic 'journalctl -o exp

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Andrew Eikum
On Mon, Oct 15, 2012 at 05:59:35PM +0200, Lennart Poettering wrote: > Hmmm, as I understood the text you linked this usage is actually > correct, as "resp." means "each separately in the order mentioned", > which is precisely what is meant here. The diff doesn't show it, but > this section is about

Re: [systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 09:41, Andrew Eikum ([email protected]) wrote: Heya, > > As you likely know, Arch Linux is in the process of moving to systemd. > So I was reading through the various systemd docs and quickly became > baffled by this new abbreviation "resp.", which I've never seen before >

Re: [systemd-devel] Starting/stopping service on net connection

2012-10-15 Thread Lennart Poettering
On Sun, 14.10.12 16:15, Dan Tihelka ([email protected]) wrote: > Hallo, > just a short question, sorry if it seems "stupid", I am just curious. And > google does not provide satisfactory answers (or I didn't ask the right > question) > > So: > is there a robust and reliable way of starting/sto

Re: [systemd-devel] Questions on setting up a Truecrypt volume management service

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 11:42, Jakob Hetzelein ([email protected]) wrote: > Dear list, > > since there don't seem to be many people around worrying about the > interaction between *Truecrypt and systemd*, I recently encountered the > problem of incorporating the mounting of my home directory neatly i

Re: [systemd-devel] Linux 3.6 hybrid-sleep

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 11:40, Federico Di Pierro ([email protected]) wrote: > Hi! > I'm using systemd 194 in archlinux. I read that linux 3.6 comes with > hybrid-sleep, finally. > I only rely on systemd to suspend/hibernate (well i use it together with > tuxonice to hibernate, but i don't think this ca

[systemd-devel] [PATCH] Reword sentences that contain psuedo-English "resp."

2012-10-15 Thread Andrew Eikum
As you likely know, Arch Linux is in the process of moving to systemd. So I was reading through the various systemd docs and quickly became baffled by this new abbreviation "resp.", which I've never seen before in my English-mother-tongue life. Some quick Googling turned up a reference:

Re: [systemd-devel] [PATCH] systemctl: don't mangle name when it is a path

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 14:51, Lukas Nykryn ([email protected]) wrote: Hi! > systemctl enable, disable, ... can also accept full path and in this case > we don't need to alter it (rhbz#866346). Hmm, so I can't say I really like the asymmetry between "systemctl enable" and "systemctl status" now, but t

Re: [systemd-devel] journald leaking maps?

2012-10-15 Thread Olav Vitters
On Thu, Oct 11, 2012 at 11:31:18PM +0100, Colin Guthrie wrote: > Something is obviously not good there! journald is using something in > the region of 250MB res. My journal stats: USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 367 0.0 4.9 4904900 198620 ? Ss Oc

Re: [systemd-devel] ---- lines and verbose export

2012-10-15 Thread Lennart Poettering
On Mon, 15.10.12 12:36, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > Hi, > > the " Logs since ...", etc, lines are not described in the export > format specification. So a simplistic 'journalctl -o export | parse_logs' > will fail. Should the specification be tweaked, or should jo

[systemd-devel] [PATCH] systemctl: don't mangle name when it is a path

2012-10-15 Thread Lukas Nykryn
systemctl enable, disable, ... can also accept full path and in this case we don't need to alter it (rhbz#866346). --- src/systemctl/systemctl.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d1fbb78..4576bbf

[systemd-devel] Questions on setting up a Truecrypt volume management service

2012-10-15 Thread Jakob Hetzelein
Dear list, since there don't seem to be many people around worrying about the interaction between *Truecrypt and systemd*, I recently encountered the problem of incorporating the mounting of my home directory neatly into systemd's start up process. Since I use Arch, I mainly found information on t

[systemd-devel] ---- lines and verbose export

2012-10-15 Thread Zbigniew Jędrzejewski-Szmek
Hi, the " Logs since ...", etc, lines are not described in the export format specification. So a simplistic 'journalctl -o export | parse_logs' will fail. Should the specification be tweaked, or should journalctl stop outputting those (otherwise useful) lines in verbose mode? Zbyszek

[systemd-devel] Linux 3.6 hybrid-sleep

2012-10-15 Thread Federico Di Pierro
Hi! I'm using systemd 194 in archlinux. I read that linux 3.6 comes with hybrid-sleep, finally. I only rely on systemd to suspend/hibernate (well i use it together with tuxonice to hibernate, but i don't think this can be a problem). So I was wondering: will i be able to hybrid-sleep with systemd o