FAI 5.0.3 Debian jessie: ftar ACL bug?

Thomas Lange lange at informatik.uni-koeln.de
Wed May 11 22:49:08 CEST 2016

>>>>> On Wed, 11 May 2016 17:35:25 +0200, Alexander Bugl <alexander.bugl at mpimet.mpg.de> said:

    > When packing the base.tar.xz in /usr/sbin/fai-make-nfsroot tar is called 
    > So there is no option --xattrs or --acl used.

    > So we have the case that --xattrs and --acl are used when extracting.
OK, one problem is the different use of options.

    > But what if different FS are used (one without the possibility to use 
    > ACLs)? Or even different machines?

    > For me the solution would be to stop using ACLs/CAPs/EAs at all.
I've added the options xattr,acl,selinux to ftar because it was needed
when extracting CentOS base files.
In basefiles/mk-basefile the tar files are created with those options.

The best way would be to test, if the tar file include any
xattr,acl,selinux options any decide depending on this test if the
options should be used when extracting.

I would be happy to hear opinions from others.

regards Thomas

More information about the linux-fai mailing list