[Bug 2116973] Re: mknod doesn't respect --mode argument

Julian Andres Klode 2116973 at bugs.launchpad.net
Thu Jul 31 10:23:41 UTC 2025


It's not clear to me where that mknod call is supposed to be coming
from. It's supposed to be fixed now but the issue still happens in
sbuild (with schroot backend)

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

Title:
  mknod doesn't respect --mode argument

Status in coreutils:
  Unknown
Status in livecd-rootfs package in Ubuntu:
  New
Status in rust-coreutils package in Ubuntu:
  Fix Released

Bug description:
  root at q-mknod:~# rm null
  root at q-mknod:~# mknod --mode 0666 null c 1 3
  root at q-mknod:~# l null
  crw-r--r-- 1 root root 1, 3 Jul 15 18:36 null

  lrwxrwxrwx 1 root root 9 May 14 09:16 /usr/bin/mknod -> coreutils

  
  This is making livecd-rootfs an FTBFS[1] (see all the permission denied errors when writing to /dev/null):

  dpkg-buildpackage: info: host architecture amd64
   debian/rules clean
  dh clean
  sh: 1: cannot create /dev/null: Permission denied
     dh_clean
   debian/rules binary
  dh binary
  sh: 1: cannot create /dev/null: Permission denied
     dh_update_autotools_config
  (...)
  dpkg-buildpackage: info: host architecture amd64
   debian/rules clean
  dh clean
  sh: 1: cannot create /dev/null: Permission denied
     dh_clean
   debian/rules binary
  dh binary
  sh: 1: cannot create /dev/null: Permission denied
     dh_update_autotools_config

  
  1. https://launchpadlibrarian.net/805275144/buildlog_ubuntu-questing-amd64.livecd-rootfs_25.10.12_BUILDING.txt.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/coreutils/+bug/2116973/+subscriptions




More information about the foundations-bugs mailing list