Re: [lxc-devel] [PATCH 1/1] lxc_abstract_unix_connect: accomodate containers started before Oct 28

2013-11-11 Thread Stéphane Graber
On Mon, Nov 11, 2013 at 12:34:51PM -0600, Serge Hallyn wrote: commit aae93dd3dd20dd12c6b8f9f0490e2fb877ee3f09 fixed the command socket name to use the right pathlen instead of always passing in the max socket namelen. However, this breaks lxc-info/lxc-list/etc for containers started before

Re: [lxc-devel] [PATCH] Protect global variables in log module via mutex

2013-11-11 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): Log module contains multiple global variables so protect them introducing a new mutex and serialize accessing log functions. Also gather all locking related code into src/lxc/lxclock.c Signed-off-by: S.Çağlar Onur cag...@10ur.org Really the log

[lxc-devel] [lxc/lxc] bdb3f4: lxc_abstract_unix_connect: accomodate containers s...

2013-11-11 Thread GitHub
Branch: refs/heads/master Home: https://github.com/lxc/lxc Commit: bdb3f44147bc1a55a97131b4b39d42844ae4fb9e https://github.com/lxc/lxc/commit/bdb3f44147bc1a55a97131b4b39d42844ae4fb9e Author: Serge Hallyn serge.hal...@ubuntu.com Date: 2013-11-11 (Mon, 11 Nov 2013) Changed

[lxc-devel] Patch [0/2] Some work on autodev, devtmpfs, and systemd stuff and all.

2013-11-11 Thread Michael H. Warfield
Hey all, Following is my promised patches for the devtempfs stuff that I discussed with Serge at LinuxPlumbers and modified by some of our discussion over the last several week. The first patch will involve adapting to using subdirectories under /dev/ in the case where /dev/ is a devtmpfs mount.

[lxc-devel] [PATCH 2/2] Support files for systemd on Fedora.

2013-11-11 Thread Michael H. Warfield
Added a file lxc.service for a systemd service file. Added a file lxc-devsetup to setup /dev/ on startup to support autodev in containers. Service file references lxc-devsetup as an ExecStartPre command. The lxc-devsetup script is not dependent on systemd or Fedora and can be used at bootup on

[lxc-devel] Not a Patch: 03/02... The follow-on script...

2013-11-11 Thread Michael H. Warfield
Ok all... This is my 3rd piece. It's my script that runs with my setup to start up containers at boot with systemd on Fedora. I don't want to step on the valuable work that Stéphane is doing in this area but I hope this provides him with ideas. Installed in /usr/libexec/lxc/lxc-startup, it