[systemd-devel] [PATCH] cgls: correctly ellipsize command lines for PIDs >= 1000000

2012-10-19 Thread Mantas Mikulėnas
--- src/shared/cgroup-show.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c index 9003a12..2ffed8b 100644 --- a/src/shared/cgroup-show.c +++ b/src/shared/cgroup-show.c @@ -52,7 +52,7 @@ static unsigned ilog10(unsigne

Re: [systemd-devel] fix typo in comment

2012-10-19 Thread Zbigniew Jędrzejewski-Szmek
On 10/17/2012 04:06 PM, Christian Hesse wrote: > Hello everybody, > > I found a typo in comment. Patch is attached, thanks! Applied. Note: your signature confuses 'git am'. Best to git-send-email directly. ___ systemd-devel mailing list systemd-devel@li

Re: [systemd-devel] [PATCH] make sure __NR_name_to_handle_at is correctly defined

2012-10-19 Thread Zbigniew Jędrzejewski-Szmek
On 10/18/2012 01:55 PM, Michael Olbrich wrote: > 341 is only valid for x86, so don't use it for other architectures. > Add the correct numbers for ARM and PowerPC while at it. Applied (with fix). Zbyszek ___ systemd-devel mailing list systemd-devel@lis

Re: [systemd-devel] fix return code for systemctl in chroot

2012-10-19 Thread Zbigniew Jędrzejewski-Szmek
On 10/17/2012 04:03 PM, Christian Hesse wrote: > Hello everybody, > > if 'systemctl enable' (and friends) is run inside chroot it always > exits with a bad return code. unit_file_enable() returns the number of > symlink rules that were supposed to be created. So resetting r to 0 and > exiting grac

Re: [systemd-devel] [PATCH] random-seed: Fix error message typo

2012-10-19 Thread Zbigniew Jędrzejewski-Szmek
On 10/19/2012 01:05 PM, Umut Tezduyar wrote: > The file node is /dev/urandom, not /dev/random. Applied. Note: your patch is mangled. Best to use git-send-email directly. Zbyszek > if ((r = loop_write(random_fd, buf, (size_t) r, > false)) <= 0) > -

Re: [systemd-devel] [PATCH RFC] swap: use aliases to group swap units for same device

2012-10-19 Thread jjacky
On 10/19/12 11:24, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Oct 19, 2012 at 10:06:03AM +0100, Colin Guthrie wrote: >> 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 18/10/12 23:56 did >> gyre and gimble: >>> A series of .swap units "following" one another are replaced with a >>> single uni

[systemd-devel] [PATCH] random-seed: Fix error message typo

2012-10-19 Thread Umut Tezduyar
The file node is /dev/urandom, not /dev/random. --- src/random-seed/random-seed.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/random-seed/random-seed.c b/src/random-seed/random-seed.c index c2729fe..1257c52 100644 --- a/src/random-seed/random-seed.c +++ b/src/rand

Re: [systemd-devel] [PATCH RFC] swap: use aliases to group swap units for same device

2012-10-19 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Oct 19, 2012 at 10:06:03AM +0100, Colin Guthrie wrote: > 'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 18/10/12 23:56 did > gyre and gimble: > > A series of .swap units "following" one another are replaced with a > > single unit with multiple names. > > > > The idea is to simplify thin

Re: [systemd-devel] [PATCH RFC] swap: use aliases to group swap units for same device

2012-10-19 Thread Colin Guthrie
'Twas brillig, and Zbigniew Jędrzejewski-Szmek at 18/10/12 23:56 did gyre and gimble: > A series of .swap units "following" one another are replaced with a > single unit with multiple names. > > The idea is to simplify things for the user: only one swap unit per > swap area. It shouldn't matter wh

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

2012-10-19 Thread Wolf Erik
Wolf Erik wrote: > Lennart Poettering wrote: >> On Sun, 23.09.12 17:21, Bardur Arantsson ([email protected]) >> wrote: >> >>> Hi all, >>> >>> (Hopefully this list is appropriate for this -- please let me know >>> if there's a more appropriate one.) >>> >>> I'm having a little trouble with NF