[PATCH] afs: Fix afs_listxattr() to not list afs ACL special xattrs

David Howells dhowells at redhat.com
Wed Mar 10 08:59:08 GMT 2021


Gaja Sophie Peters <gaja.peters at math.uni-hamburg.de> wrote:

> Same in Ubuntu (20.04).
> 
> $ dpkg -L libattr1
> /etc/xattr.conf
> ...
> 
> It's not the xattr.conf that's in the wrong place, it was cp *looking*
> for it in the wrong place. (which isn't a bug in cp/coreutils, but in
> libattr, or the way Ubuntu makes the packages from it)
> Some random "greps" in the Ubuntu-source-code for "attr":
> 
> 	debian/rules:	  --prefix=/usr \
> 	debian/libattr1.install:usr/etc/xattr.conf etc
> 	configure:ac_default_prefix=/usr
> 	sysconfdir='${prefix}/etc'
> 	-DSYSCONFDIR=\"$(sysconfdir)\"
> 	#define ATTR_CONF SYSCONFDIR "/xattr.conf"
> 
> All that combined means the file is placed in /etc/xattr.conf, but the
> rest of the source-code expects it in /usr/etc/xattr.conf

Can you log a Debian bug for that?

David




More information about the linux-afs mailing list