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
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
If autodev is not specifically set to 0 or 1, attempts to determine if
systemd is being utilized and forces autodev=1 to prevent host system
conflicts and collisions.
If autodev is enabled and the host /dev is mounted with devtmpfs
or /dev/.lxc is mounted with another file system...
Each containe
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.
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: bdb3f44147bc1a55a97131b4b39d42844ae4fb9e
https://github.com/lxc/lxc/commit/bdb3f44147bc1a55a97131b4b39d42844ae4fb9e
Author: Serge Hallyn
Date: 2013-11-11 (Mon, 11 Nov 2013)
Changed paths:
M src/lxc/af_uni
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
Really the log stuff should be
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 bef
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 that commit. So if the correct command
sock name doesn't work, try