← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2122661] Re: os-prober: 25: mktemp: Permission denied

 

*** This bug is a duplicate of bug 2122633 ***
    https://bugs.launchpad.net/bugs/2122633

** This bug has been marked a duplicate of bug 2122633
   os-prober is broken on Questing due to apparmor misconfiguration

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2122661

Title:
  os-prober: 25: mktemp: Permission denied

Status in apparmor package in Ubuntu:
  New
Status in coreutils package in Ubuntu:
  New
Status in os-prober package in Ubuntu:
  New

Bug description:
  corrado@corrado-n5-qq-0912:~$ sudo update-grub
  [sudo: authenticate] Password: 
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/kdump-tools.cfg'
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-6.17.0-4-generic
  Found initrd image: /boot/initrd.img-6.17.0-4-generic
  Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
  Found memtest86+ 32bit EFI image: /boot/memtest86+ia32.efi
  Found memtest86+ 64bit image: /boot/memtest86+x64.bin
  Found memtest86+ 32bit image: /boot/memtest86+ia32.bin
  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: Permission denied
  /usr/bin/os-prober: 18: rm: Permission denied
  Adding boot menu entry for UEFI Firmware Settings ...
  done
  corrado@corrado-n5-qq-0912:~$ inxi -Fxc
  System:
    Host: corrado-n5-qq-0912 Kernel: 6.17.0-4-generic arch: x86_64 bits: 64
      compiler: gcc v: 15.2.0
    Desktop: GNOME v: 49.rc Distro: Ubuntu 25.10 (Questing Quokka)
  Machine:
    Type: Desktop System: Gigabyte product: H510M H v: -CF
      serial: <superuser required>
    Mobo: Gigabyte model: H510M H v: x.x serial: <superuser required>
      UEFI: American Megatrends LLC. v: F14 date: 03/25/2022
  CPU:
    Info: 6-core model: 11th Gen Intel Core i5-11400 bits: 64 type: MT MCP
      arch: Rocket Lake rev: 1 cache: L1: 480 KiB L2: 3 MiB L3: 12 MiB
    Speed (MHz): avg: 800 min/max: 800/4400 cores: 1: 800 2: 800 3: 800 4: 800
      5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 62208
    Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Graphics:
    Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] vendor: Gigabyte
      driver: i915 v: kernel arch: Xe bus-ID: 00:02.0
    Device-2: Logitech HD Webcam C615 driver: snd-usb-audio,uvcvideo type: USB
      bus-ID: 1-6:3
    Display: wayland server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
      compositor: gnome-shell driver: dri: iris gpu: i915
      resolution: 1920x1080~60Hz
    API: EGL v: 1.5 drivers: iris,swrast platforms:
      active: gbm,wayland,x11,surfaceless,device inactive: N/A
    API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.2.2-1ubuntu1
      glx-v: 1.4 direct-render: yes renderer: Mesa Intel Graphics (RKL GT1)
    Info: Tools: api: eglinfo,glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr
  Audio:
    Device-1: Intel Tiger Lake-H HD Audio vendor: Gigabyte driver: snd_hda_intel
      v: kernel bus-ID: 00:1f.3
    Device-2: Logitech HD Webcam C615 driver: snd-usb-audio,uvcvideo type: USB
      bus-ID: 1-6:3
    API: ALSA v: k6.17.0-4-generic status: kernel-api
    Server-1: PipeWire v: 1.4.7 status: active
  Network:
    Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
      vendor: Gigabyte driver: r8169 v: kernel port: 3000 bus-ID: 02:00.0
    IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 74:56:3c:01:8f:cb
    Device-2: D-Link driver: rtl8xxxu type: USB bus-ID: 1-1:2
    IF: wlx04bad667ffcb state: down mac: 04:ba:d6:67:ff:cb
  Drives:
    Local Storage: total: 1.36 TiB used: 17.68 GiB (1.3%)
    ID-1: /dev/nvme0n1 vendor: Kingston model: SNV2S500G size: 465.76 GiB
      temp: 32.9 C
    ID-2: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
    ID-3: /dev/sdb vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
  Partition:
    ID-1: / size: 39.08 GiB used: 17.67 GiB (45.2%) fs: ext4 dev: /dev/nvme0n1p5
    ID-2: /boot/efi size: 511 MiB used: 10.7 MiB (2.1%) fs: vfat
      dev: /dev/nvme0n1p1
  Swap:
    ID-1: swap-1 type: file size: 4 GiB used: 0 KiB (0.0%) file: /swap.img
  Sensors:
    System Temperatures: cpu: 34.0 C mobo: 30.0 C
    Fan Speeds (rpm): N/A
  Info:
    Memory: total: 16 GiB available: 14.66 GiB used: 2.28 GiB (15.6%)
    Processes: 343 Uptime: 3m Init: systemd
    Packages: 1985 Compilers: N/A Shell: Bash v: 5.2.37 inxi: 3.3.39
  corrado@corrado-n5-qq-0912:~$ 

  attaching journal

  also ubuntu-bug gives many error messages
   
  corrado@corrado-n5-qq-0912:~$ ubuntu-bug os-prober
  REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions
  REDACTED config part /etc/cloud/cloud.cfg.d/00-subiquity-disable-cloudinit-networking.cfg, insufficient permissions
  corrado@corrado-n5-qq-0912:~$ update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/local/share/doc /usr/local/share/doc none bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/local/share/doc" because it would affect the host in "/var/lib/snapd"
  update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help none bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/gimp/2.0/help" because it would affect the host in "/var/lib/snapd"
  update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/javascript /usr/share/javascript none bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/javascript" because it would affect the host in "/var/lib/snapd"
  update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme /usr/share/sphinx_rtd_theme none bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme" because it would affect the host in "/var/lib/snapd"
  update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot write to "/var/lib/snapd/hostfs/usr/share/xubuntu-docs" because it would affect the host in "/var/lib/snapd"
  Gtk-Message: 12:08:38.759: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.10
  Package: os-prober 1.83ubuntu2
  ProcVersionSignature: Ubuntu 6.17.0-4.4-generic 6.17.0-rc5
  Uname: Linux 6.17.0-4-generic x86_64
  ApportVersion: 2.33.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep 12 12:08:17 2025
  InstallationDate: Installed on 2025-09-12 (0 days ago)
  InstallationMedia: Ubuntu 25.10 "Questing Quokka" - Daily amd64 (20250912)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: os-prober
  UpgradeStatus: No upgrade log present (probably fresh install)

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