Am 03.05.19 um 23:59 Uhr schrieb Lakshmi Ramasubramanian:
When trying to set security.ima extended attribute on any file I get
error "Invalid argument".
setfattr -n security.ima -v foo /boot/vmlinuz-4.18.0-17-generic
setfattr: /boot/vmlinuz-4.18.0-17-generic: Invalid argument
"foo" is not a valid value.
If you just want to test setting *any* value you may try
"0sBAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxg==".
If I try any other name for the extended, say, foo I see error
"Operation not supported".
setfattr -n foo -v bar /boot/vmlinuz-4.18.0-17-generic
setfattr: /boot/vmlinuz-4.18.0-17-generic: Operation not supported
You need to use a namespace, see `man 7 xattr` for more information
about extended attributes.
Ignaz