Your message dated Wed, 17 Apr 2024 11:55:00 +0000
with message-id <[email protected]>
and subject line Bug#1064931: Removed package(s) from unstable
has caused the Debian Bug report #708278,
regarding /sbin/MAKEDEV: don't know how to make device "tty0"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
708278: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708278
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2.3.1-97.1+rm

Dear submitter,

as the package makedev has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1064931

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to