[lxc-devel] [PATCH] document lxc-console escape sequence and argument

2013-01-04 Thread Dwight Engen
Signed-off-by: Dwight Engen --- doc/lxc-console.sgml.in | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/doc/lxc-console.sgml.in b/doc/lxc-console.sgml.in index 7b32e08..ca2539f 100644 --- a/doc/lxc-console.sgml.in +++ b/doc/lxc-console.sgml.in @@ -50,6

Re: [lxc-devel] [PATCH 20/21] lxc_unshare: Replace getpw*_r by getpw*

2013-01-04 Thread Stéphane Graber
On 01/03/2013 02:51 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> Bionic and maybe some other libc implementations lack the _r nss functions. >> This replaces our current getpwnam_r and getpwuid_r calls by getpwnam and >> getpwuid. >> >> Signed-off-by: Stéphane Graber

Re: [lxc-devel] [PATCH 14/21] Make utmpx.h optional

2013-01-04 Thread Stéphane Graber
On 01/03/2013 04:18 PM, Serge Hallyn wrote: > Quoting Stéphane Graber (stgra...@ubuntu.com): >> This adds code detecting the presence of utmpx.h and in its absence, turns >> the >> utmp related functions into no-ops. >> >> Signed-off-by: Stéphane Graber >> --- >> configure.ac | 2 +- >> src/lx

Re: [lxc-devel] [PATCH] fixed RELEASE_URL for fedora releases higher than 16

2013-01-04 Thread Stéphane Graber
On 01/04/2013 12:03 PM, Serge Hallyn wrote: > Quoting Maximilian Seesslen (m...@seesslen.net): >> The Url for the fedora-release RPM changed in release 17. >> >> Signed-off-by: Maximilian Seesslen > > Acked-by: Serge E. Hallyn Pushed >> --- >> templates/lxc-fedora.in |6 +- >> 1 file

Re: [lxc-devel] [PATCH] fixed RELEASE_URL for fedora releases higher than 16

2013-01-04 Thread Serge Hallyn
Quoting Maximilian Seesslen (m...@seesslen.net): > The Url for the fedora-release RPM changed in release 17. > > Signed-off-by: Maximilian Seesslen Acked-by: Serge E. Hallyn > --- > templates/lxc-fedora.in |6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/templ

[lxc-devel] [PATCH] fixed RELEASE_URL for fedora releases higher than 16

2013-01-04 Thread Maximilian Seesslen
The Url for the fedora-release RPM changed in release 17. Signed-off-by: Maximilian Seesslen --- templates/lxc-fedora.in |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 366e776..684bb9c 100644 --- a/templates/lxc

Re: [lxc-devel] [PATCH] lxc-shutdown: special handling for busybox init signals

2013-01-04 Thread Stéphane Graber
On 01/04/2013 04:15 AM, Natanael Copa wrote: > busybox uses different signals for poweroff and reboot. Check if init > is a symlink to busybox and use the busybox variants, USR2 and TERM. > > Signed-off-by: Natanael Copa We quickly talked about this with Serge and we seem to agree that we should

Re: [lxc-devel] [PATCH] lxc-ps: fix order of output and fix --lxc opt

2013-01-04 Thread Stéphane Graber
On 01/04/2013 03:39 AM, Natanael Copa wrote: > We must output the lines from 'ps' in same order for tree views. > > Fix also --lxc option to only show processes from containers. > > Signed-off-by: Natanael Copa That looks much better, thanks. Acked-by: Stéphane Graber > --- > > The logic wa

[lxc-devel] [PATCH] lxc-shutdown: special handling for busybox init signals

2013-01-04 Thread Natanael Copa
busybox uses different signals for poweroff and reboot. Check if init is a symlink to busybox and use the busybox variants, USR2 and TERM. Signed-off-by: Natanael Copa --- I have only tested this busybox so please test before pusing it. Thanks! src/lxc/lxc-shutdown.in | 14 -- 1 fi

Re: [lxc-devel] [PATCH] lxc-shutdown: use posix shell instead of bash

2013-01-04 Thread Natanael Copa
On Wed, 02 Jan 2013 13:49:51 -0500 Stéphane Graber wrote: > Turns out that not all kill implementations allow "-s SIG", some > instead required "-s ". As far as I can tell, all > implementations support the latter, so I pushed a change to use that > instead. Sorry about that. lxc-shutdown does

[lxc-devel] [PATCH] lxc-ps: fix order of output and fix --lxc opt

2013-01-04 Thread Natanael Copa
We must output the lines from 'ps' in same order for tree views. Fix also --lxc option to only show processes from containers. Signed-off-by: Natanael Copa --- The logic was wrong. Sorry. src/lxc/lxc-ps.in | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/l