[Bug 2122633] Re: os-prober is broken (mktemp: Permission denied) on Questing due to apparmor misconfiguration

corrado venturini 2122633 at bugs.launchpad.net
Sat Sep 13 19:27:38 UTC 2025


According my log also "/usr/lib/cargo/bin/coreutils/rm" is denied:

Sep 12 17:54:47 corrado-n5-qq-0912 sudo[4316]: pam_unix(sudo:session): session opened for user root(uid=0) by corrado(uid=1000)
Sep 12 17:54:47 corrado-n5-qq-0912 sudo[4316]: corrado : TTY=/dev/pts/0 ; PWD=/home/corrado ; USER=root ; COMMAND=/usr/bin/os-prober
Sep 12 17:54:47 corrado-n5-qq-0912 kernel: audit: type=1400 audit(1757692487.026:345): apparmor="DENIED" operation="exec" class="file" profile="os-prober" name="/usr/lib/cargo/bin/coreutils/mktemp" pid=4321 comm="os-prober" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
Sep 12 17:54:47 corrado-n5-qq-0912 kernel: audit: type=1400 audit(1757692487.026:346): apparmor="DENIED" operation="exec" class="file" profile="os-prober" name="/usr/lib/cargo/bin/coreutils/mktemp" pid=4321 comm="os-prober" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
Sep 12 17:54:47 corrado-n5-qq-0912 kernel: audit: type=1400 audit(1757692487.026:347): apparmor="DENIED" operation="mknod" class="file" profile="os-prober" name="/dmraid-map" pid=4319 comm="os-prober" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 12 17:54:47 corrado-n5-qq-0912 kernel: audit: type=1400 audit(1757692487.027:348): apparmor="DENIED" operation="exec" class="file" profile="os-prober" name="/usr/lib/cargo/bin/coreutils/rm" pid=4322 comm="os-prober" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
Sep 12 17:54:47 corrado-n5-qq-0912 kernel: audit: type=1400 audit(1757692487.027:349): apparmor="DENIED" operation="exec" class="file" profile="os-prober" name="/usr/lib/cargo/bin/coreutils/rm" pid=4322 comm="os-prober" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
Sep 12 17:54:47 corrado-n5-qq-0912 sudo[4316]: pam_unix(sudo:session): session closed for user root

see my bug https://bugs.launchpad.net/ubuntu/+source/os-
prober/+bug/2122661

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to os-prober in Ubuntu.
https://bugs.launchpad.net/bugs/2122633

Title:
  os-prober is broken (mktemp: Permission denied) on Questing due to
  apparmor misconfiguration

Status in apparmor package in Ubuntu:
  Confirmed
Status in os-prober package in Ubuntu:
  Confirmed
Status in rust-coreutils package in Ubuntu:
  Confirmed

Bug description:
  os=prober fails to function Questing.

  It appears that apparmor blocks temp directory creation (mktemp from
  rust-coreutils) in context of os-prober.

  Just renaming os-prober script to anything else allows it to function.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2122633/+subscriptions




More information about the foundations-bugs mailing list