Hello
I’ve setup a Linux (Devuan) chroot environment on my FreeBSD 13.x server. I’m using nullfs to mount few ZFS filesystems inside the chroot. One of these FS has ACLs,that the linux part seems unable to see:
hence, any ACL remains ineffective for linux processes.
Is that to be expected? Is there a workaround?
I’ve setup a Linux (Devuan) chroot environment on my FreeBSD 13.x server. I’m using nullfs to mount few ZFS filesystems inside the chroot. One of these FS has ACLs,that the linux part seems unable to see:
Bash:
# grep /var/log /etc/fstab
/var/log /compat/devuan01/var/hostlog nullfs rw,late 0 0
# getfacl /compat/devuan01/var/hostlog
# file: /compat/devuan01/var/hostlog
# owner: root
# group: wheel
group:splunk:r-x---a-R-c--s:-------:allow
owner@:rwxp--aARWcCos:-------:allow
group@:r-x---a-R-c--s:-------:allow
group:splunk:r-----a-R-c---:f------:allow
group:splunk:r-x---a-R-c---:-d-----:allow
everyone@:r-x---a-R-c--s:-------:allow
# ls -ld /compat/devuan01/var/hostlog
drwxr-xr-x+ 11 root wheel 420 Mar 28 16:00 /compat/devuan01/var/hostlog
# chroot /compat/devuan01 /bin/bash -l
# ls -ld /var/hostlog
drwxr-xr-x 11 root root 420 Mar 28 15:00 /var/hostlog
hence, any ACL remains ineffective for linux processes.
Is that to be expected? Is there a workaround?