Description of problem: In order for anaconda to extract tarpayload with extended filesystem attributes, it must use --xattrs-include='*' as an argument. Please use this argument so that tar preserves things like capabilities on files. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 994973 [details] Patch to fix this
Created attachment 994974 [details] Patch to fix this
For some reason i couldn't get this working even after applying this patch to anaconda. I can however extract files using tar manually on a shell with extended attributes fine. But in the installation environment it just doesn't seem to work. During installation, this is how mount options look like [root@lab2 b]# tune2fs -l /dev/mapper/sys-root tune2fs 1.42.9 (28-Dec-2013) Filesystem volume name: <none> Last mounted on: / Filesystem UUID: cbea6887-b3dd-4fb0-b745-eddbbbd13605 Filesystem magic number: 0xEF53 Filesystem revision #: 1 (dynamic) Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize Filesystem flags: signed_directory_hash Default mount options: user_xattr acl Filesystem state: clean Errors behavior: Continue Filesystem OS type: Linux Inode count: 655360 Block count: 2621440 Reserved block count: 131072 Free blocks: 2355295 Free inodes: 633444The stage2 i built using anaconda (RHEL7) is available First block: 0 Block size: 4096 Fragment size: 4096 Group descriptor size: 64 Reserved GDT blocks: 1024 Blocks per group: 32768 Fragments per group: 32768 Inodes per group: 8192 Inode blocks per group: 512 Flex block group size: 16 Filesystem created: Wed Feb 25 04:29:07 2015 Last mount time: Wed Feb 25 04:41:56 2015 Last write time: Wed Feb 25 04:29:17 2015 Mount count: 2 Maximum mount count: -1 Last checked: Wed Feb 25 04:29:07 2015 Check interval: 0 (<none>) Lifetime writes: 150 MB Reserved blocks uid: 0 (user root) Reserved blocks gid: 0 (group root) First inode: 11 Inode size: 256 Required extra isize: 28 Desired extra isize: 28 Journal inode: 8 Default directory hash: half_md4 Directory Hash Seed: 87fb6241-9916-4471-b44c-613d2c135d52 Journal backup: inode blocks The stage2 i built using patched anaconda (against 19.31.111 beta) (RHEL7) is available at https://sagarun.fedorapeople.org/misc/stage2-minimal.tar.bz2
Created attachment 995331 [details] Patch to fix tar extract
Created attachment 995405 [details] Patch
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23