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

Peter de Kraker 2122633 at bugs.launchpad.net
Mon Sep 15 16:15:41 UTC 2025


My Windows install is no longer detected when updating grub due to this
issue.

Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/bin/os-prober: 25: mktemp: Permission denied
/usr/bin/os-prober: 17: cannot create /dmraid-map: Is a directory
/usr/bin/os-prober: 18: rm: Permission denied

-- 
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