On Wed, Mar 25, 2020 at 02:54:24PM -0000, David Kastrup wrote: > I don't even think it directly calls the interpreter: I discovered that my > hashbang was > #!/bin/bash > while the complained was about /usr/bin/dash (and still is).
This may be due to a confusing, relatively new, symlink: $ ls -ld /bin /bin/bash /usr/bin/bash lrwxrwxrwx 1 root root 7 Apr 10 2019 /bin -> usr/bin -rwxr-xr-x 1 root root 1183448 Feb 25 12:03 /bin/bash -rwxr-xr-x 1 root root 1183448 Feb 25 12:03 /usr/bin/bash Symlinks are 'resolved' before AppArmor's mediation points in the kernel, so AppArmor will see /usr/bin/bash as the execution target. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1868363 Title: /etc/gpsd/device-hook not actually called To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1868363/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs