[lxc-devel] [lxc/lxc] a542dd: busybox template: support for unprivileged contain...

GitHub noreply at github.com
Wed Oct 22 14:18:26 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a542dd3c1aca8b6674f631d625d888eb13ae3a4d
      https://github.com/lxc/lxc/commit/a542dd3c1aca8b6674f631d625d888eb13ae3a4d
  Author: Bogdan Purcareata <bogdan.purcareata at freescale.com>
  Date:   2014-10-22 (Wed, 22 Oct 2014)

  Changed paths:
    M templates/lxc-busybox.in

  Log Message:
  -----------
  busybox template: support for unprivileged containers

Apply the changes found in templates/lxc-download to the busybox template as
well. Change ownership of the config and fstab files to the unprivileged user,
and the ownership of the rootfs to root in the new user namespace.

Eliminate the "unsupported for userns" flag.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


  Commit: 12c3b43fbeacd9cc471adf565ecea3263e37e353
      https://github.com/lxc/lxc/commit/12c3b43fbeacd9cc471adf565ecea3263e37e353
  Author: Bogdan Purcareata <bogdan.purcareata at freescale.com>
  Date:   2014-10-22 (Wed, 22 Oct 2014)

  Changed paths:
    M templates/lxc-busybox.in

  Log Message:
  -----------
  busybox template: mount fstab when available

When running unprivileged, lxc-create will touch a fstab file, with bind-mounts
for the ttys and other devices. Add this entry in the container config.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata at freescale.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/5e1c5795a308...12c3b43fbeac


More information about the lxc-devel mailing list