On Fri, Sep 10, 2021 at 09:51:30AM +0200, BERTRAND Joël wrote: > Since a few days (if I remember since I have upgraded my workstation > to last testing release), man aborts with folloging message: > > Root hilbert:[~] > man man > man: error while loading shared libraries: libmandb-2.9.4.so: cannot open > shared object file: Permission denied > > This workstation is a diskless workstation. Rootfs is exported by a NetBSD > server.
This is probably AppArmor: unfortunately NFS mounts count as network access, which isn't normally allowed. Adding a "network," line to the end of /etc/apparmor.d/local/usr.bin.man and then running "sudo apparmor_parser -r /etc/apparmor.d/usr.bin.man" may help, though I haven't tested that at all. Failing that, you can use "sudo aa-complain /etc/apparmor.d/usr.bin.man" to set that profile to complain mode rather than enforce mode. See https://wiki.debian.org/AppArmor for more details about AppArmor. -- Colin Watson (he/him) [cjwat...@debian.org]