Based on the log lines in comment #2, it looks like "only" executing of
/usr/lib/cargo/bin/coreutils/mktemp gets denied. The profile needs to
allow this in the same way as it already allows /usr/bin/mktemp.
That said - the new coreutils paths probably break several profiles, not
only os-prober.
Therefore an alternative would be to create aliases for all the
coreutils (maybe in tunables/alias.d/rust-coreutils):
alias /usr/bin/mktemp -> /usr/lib/cargo/bin/coreutils/mktemp
# + similar lines for all coreutils
or just create an alias for the directory to cover all at once:
alias /usr/bin/ -> /usr/lib/cargo/bin/coreutils/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2122633
Title:
os-prober is broken (mktemp: Permission denied) on Questing due to
apparmor misconfiguration
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2122633/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs