[lxc-devel] [lxc/lxc] 68c36a: ubuntu templates: don't check for $rootfs/run/shm

GitHub noreply at github.com
Fri Aug 8 15:40:13 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 68c36a303f402b52f94067d3da7b168e274001a7
      https://github.com/lxc/lxc/commit/68c36a303f402b52f94067d3da7b168e274001a7
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-08 (Fri, 08 Aug 2014)

  Changed paths:
    M templates/lxc-ubuntu-cloud.in
    M templates/lxc-ubuntu.in

  Log Message:
  -----------
  ubuntu templates: don't check for $rootfs/run/shm

/dev/shm must be turned from a directory into a symlink to /run/shm.
The templates do this only if they find -d $rootfs/run/shm.  Since /run
will be a tmpfs, checking for it in the rootfs is silly.  It also is
currently broken as ubuntu cloud images have an empty /run.

(this should fix https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1353734)

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: cdd01be26ea320a8b5be313a864cb553df90c33e
      https://github.com/lxc/lxc/commit/cdd01be26ea320a8b5be313a864cb553df90c33e
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2014-08-08 (Fri, 08 Aug 2014)

  Changed paths:
    M src/lxc/bdev.c
    M src/lxc/bdev.h
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Do not allow snapshots of LVM backed containers

They don't work right now, so until we fix that, don't allow it.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/96f15ca18cd1...cdd01be26ea3


More information about the lxc-devel mailing list