https://bugzilla.novell.com/show_bug.cgi?id=818373 https://bugzilla.novell.com/show_bug.cgi?id=818373#c0 Summary: chattr cannot add compression flags (+c) to some files on btrfs Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hartrumpf@gmx.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 If I try to set the compression flag (+c) on many files (with or without using -R), chattr will fail for some files. I have no clue why it fails on some files and why it succeeds on others. The filesystem is btrfs, with mount options rw,noatime,compress=lzo,space_cache. Reproducible: Always Steps to Reproduce:
cd /your-btrfs-dir-with-mount-option-compresslzo cp -a /usr/bin . cd bin find . -type l | xargs rm chattr -R +c .
Actual Results: chattr: Invalid argument while setting flags on ./speech-dispatcher chattr: Invalid argument while setting flags on ./mysqldumpslow chattr: Invalid argument while setting flags on ./gnome-session chattr: Invalid argument while setting flags on ./autoexpect chattr: Invalid argument while setting flags on ./grops chattr: Invalid argument while setting flags on ./mysqldump chattr: Invalid argument while setting flags on ./myisampack chattr: Invalid argument while setting flags on ./resolveip chattr: Invalid argument while setting flags on ./tomahawk chattr: Invalid argument while setting flags on ./resolve_stack_dump chattr: Invalid argument while setting flags on ./bibtexu chattr: Invalid argument while setting flags on ./smidump chattr: Invalid argument while setting flags on ./qt3to4 chattr: Invalid argument while setting flags on ./my_print_defaults chattr: Invalid argument while setting flags on ./tzselect chattr: Invalid argument while setting flags on ./systemctl chattr: Invalid argument while setting flags on ./piconv chattr: Invalid argument while setting flags on ./mysqladmin chattr: Invalid argument while setting flags on ./mysqlcheck chattr: Invalid argument while setting flags on ./teckit_compile chattr: Invalid argument while setting flags on ./psmandup chattr: Invalid argument while setting flags on ./dislocate chattr: Invalid argument while setting flags on ./bashbug chattr: Invalid argument while setting flags on ./htdig chattr: Invalid argument while setting flags on ./card chattr: Invalid argument while setting flags on ./mysqlimport chattr: Invalid argument while setting flags on ./w3m chattr: Invalid argument while setting flags on ./xml_pp chattr: Invalid argument while setting flags on ./myisamchk chattr: Invalid argument while setting flags on ./transmission-gtk chattr: Invalid argument while setting flags on ./gkrellm chattr: Invalid argument while setting flags on ./inkscape chattr: Invalid argument while setting flags on ./myisam_ftdump chattr: Invalid argument while setting flags on ./mysqlshow chattr: Invalid argument while setting flags on ./xetex chattr: Invalid argument while setting flags on ./showaudio chattr: Invalid argument while setting flags on ./guess_encoding chattr: Invalid argument while setting flags on ./qvfb chattr: Invalid argument while setting flags on ./luatex chattr: Invalid argument while setting flags on ./uum chattr: Invalid argument while setting flags on ./config_data chattr: Invalid argument while setting flags on ./mkinfodir Expected Results: No output (and the c attribute should be set for all specified files). same on openSUSE 12.2 (last tested some months ago) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.