Summary: | sys-apps/attr: missing syscalls for various arches (hppa/aarch64/...) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeroen Roovers (RETIRED) <jer> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://lists.nongnu.org/archive/html/acl-devel/2012-12/msg00000.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 212517 |
post the strace output of running setcap on that fs what fs are you using exactly ? ext4 (rw,relatime,data=ordered) CONFIG_EXT4_FS_POSIX_ACL and CONFIG_EXT4_FS_SECURITY are enabled but not implemented on HPPA, as far as I can tell. karsten ~ # getcap -v /usr/bin/dumpcap Failed to get capabilities of file `/usr/bin/dumpcap' (Function not implemented) (In reply to comment #2) > ext4 (rw,relatime,data=ordered) The same failure occurs with acl,user_xattr added. (In reply to comment #2) you're running into the stupidity i whined about upstream. the attr project hardcodes all the syscall #'s and if you're unlucky enough to be listed there, you get ENOSYS. hppa isn't listed there. i've grabbed a patch that was posted to upstream acl-devel after i complained. it was meant for a diff arch, but seems to fix hppa as well. i've committed attr-2.4.46-r2 with that patch, so once you update, that should fix the failures. as such, i'd like to continue letting fcaps.eclass dying on ENOSYS until we have a compelling scenario. |
>>> Original instance of package unmerged safely. * Setting caps 'cap_dac_read_search,cap_net_raw,cap_net_admin=ep' on file '//usr/bin/dumpcap' failed: * Failed to set capabilities on file `//usr/bin/dumpcap' (Function not implemented) * usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ] * * Note <filename> must be a regular (non-symlink) file. * ERROR: net-analyzer/wireshark-1.6.14 failed (postinst phase): * could not set caps * * Call stack: * ebuild.sh, line 93: Called pkg_postinst * environment, line 3640: Called fcaps '-o' '0' '-g' 'wireshark' '-m' '4550' '-M' '550' 'cap_dac_read_search,cap_net_raw,cap_net _admin' '//usr/bin/dumpcap' * environment, line 2637: Called die * The specific snippet of code: * die "could not set caps"; * * If you need support, post the output of `emerge --info '=net-analyzer/wireshark-1.6.14'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/wireshark-1.6.14'`. * The complete build log is located at '/keeps/gentoo/emergelogs/karsten/net-analyzer:wireshark-1.6.14:20130307-155334.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/wireshark-1.6.14/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/wireshark-1.6.14/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/wireshark-1.6.14' * S: '/var/tmp/portage/net-analyzer/wireshark-1.6.14/work/wireshark-1.6.14' !!! FAILED postinst: 1 At this point, it fails to run the fallback chown/chmod