Package: makedev Version: 2.3.1-92 Severity: normal I'm doing a squeeze to wheezy upgrade within a linux vserver.
the limited /dev/ directory within a vserver container has only: 0 grunt:~# ls -la /dev/tty* crw-rw-rw- 1 root root 5, 0 May 14 15:11 /dev/tty 0 grunt:~# Upon the upgrade of the makedev package, i get a lot of warnings (but not failures) that look like: mknod: `loop2-': Operation not permitted makedev loop2 b 7 2 root disk 0660: failed mknod: `loop3-': Operation not permitted makedev loop3 b 7 3 root disk 0660: failed mknod: `loop4-': Operation not permitted makedev loop4 b 7 4 root disk 0660: failed This is probably fine, and to be expected. However, i get a hard failure when we try to create tty0: makedev tty0 c 4 0 root tty 0600: failed mknod: `console-': Operation not permitted makedev console c 5 1 root tty 0600: failed /sbin/MAKEDEV: don't know how to make device "tty0" dpkg: error processing makedev (--configure): subprocess installed post-installation script returned error exit status 1 I'm attaching the output of "sh -x /sbin/MAKEDEV tty0", in case that helps. My current workaround was just to modify the postinst script directly on this machine: 0 grunt:~# diff -u /var/lib/dpkg/info/makedev.postinst{~,} --- /var/lib/dpkg/info/makedev.postinst~ 2013-05-14 15:15:20.000000000 -0400 +++ /var/lib/dpkg/info/makedev.postinst 2013-05-14 15:16:52.000000000 -0400 @@ -21,11 +21,11 @@ MAKEDEV std consoleonly fd # ensure base tty set exists, since debootstrap no longer does -for i in tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9; do -: test -e /dev/$i || MAKEDEV $i -done +#for i in tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7 tty8 tty9; do +# test -e /dev/$i || MAKEDEV $i +#done -chmod g-r,o= /dev/tty[0-9]* +#chmod g-r,o= /dev/tty[0-9]* test -e /dev/random || MAKEDEV random test -e /dev/urandom || MAKEDEV urandom 1 grunt:~# thanks for maintaining makedev in debian, --dkg -- System Information: Debian Release: 7.0 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-vserver-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages makedev depends on: ii base-passwd 3.5.26 makedev recommends no packages. makedev suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130514191755.4265.46357.report...@grunt.lair.fifthhorseman.net