[lxc-devel] lxc-create: file-based capabilities are lost

Harald Dunkel harald.dunkel at aixigo.de
Fri Jul 28 08:38:46 UTC 2017


I verified this on github:

% cd /tmp
% git clone git://github.com/lxc/lxc
Cloning into 'lxc'...
remote: Counting objects: 38059, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 38059 (delta 19), reused 31 (delta 14), pack-reused 38015
Receiving objects: 100% (38059/38059), 13.15 MiB | 2.62 MiB/s, done.
Resolving deltas: 100% (28288/28288), done.
% cd lxc/
% git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/stable-0.7.4
  remotes/origin/stable-1.0
  remotes/origin/stable-1.1
  remotes/origin/stable-2.0
% git checkout stable-2.0
Branch stable-2.0 set up to track remote branch stable-2.0 from origin.
Switched to a new branch 'stable-2.0'
% git log -n 1
commit c1922c2cdb3910b9d0347d17972f3594ec966750 (HEAD -> stable-2.0, origin/stable-2.0)
Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date:   Tue Jun 20 17:36:30 2017 +0900

    doc: Untabify Japanese lxc.container.conf(5)
    
    Tab and white space is mixed in Japanese lxc.container.conf(5), so
    unify into the white space.
    
    Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

% grep rsync templates/* | grep rootfs
templates/lxc-altlinux.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-centos.in:    rsync -a $cache/rootfs/ $rootfs_path/
templates/lxc-debian.in:    rsync -Ha "$cache/rootfs-$release-$arch"/ "$rootfs"/ || return 1
templates/lxc-fedora.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-openmandriva.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-opensuse.in:    rsync -Ha $cache/rootfs-$arch/ $rootfs/ || return 1
templates/lxc-ubuntu.in:      rsync -Ha $cache/rootfs-$arch/ $rootfs/ || return 1



Same on the master branch:

% git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
% grep rsync templates/* | grep rootfs
templates/lxc-altlinux.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-centos.in:    rsync -a $cache/rootfs/ $rootfs_path/
templates/lxc-debian.in:        rsync -Ha "$cache/rootfs-$release-$arch"/ "$rootfs"/ || return 1
templates/lxc-fedora-legacy.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-fedora.in:    rsync --archive --hard-links --sparse "${cache}/" "${rootfs}/" &&
templates/lxc-fedora.in:options=$(getopt -o a:hp:n:cR:dP:M: -l help,path:,rootfs:,name:,clean,release:,arch:,debug,fqdn:,mask-tmp,mirror:,packages:,rsync -- "$@")
templates/lxc-openmandriva.in:    rsync -Ha $cache/rootfs/ $rootfs_path/
templates/lxc-opensuse.in:    rsync -Ha $cache/rootfs-$arch/ $rootfs/ || return 1
templates/lxc-ubuntu.in:      rsync -Ha $cache/rootfs-$arch/ $rootfs/ || return 1


Regards
Harri


More information about the lxc-devel mailing list