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 #374459,
regarding makedev: uses chown as a conditional, runs set +e
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.)


-- 
374459: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374459
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: makedev
Version: 2.3.1-81
Severity: normal

I'm unsure if any of these are *intentionally* not the way I expect.

That the ls -l |cut is also suspect, since, for me, it gives a piece
of the date, instead of the device number...  You could use stat -c,
except that it lives in /usr/bin, not /bin.

--- /var/lib/dpkg/info/makedev.postinst 2006-04-11 03:07:24.000000000 -0400
+++ /tmp/makedev.postinst       2006-06-18 16:48:17.000000000 -0400
@@ -1,6 +1,5 @@
-#!/bin/sh
-
-set +e
+#! /bin/sh
+set -e
 
 # Automatically added by dh_installinit
 if [ -x "/etc/init.d/makedev" ]; then
@@ -58,16 +57,20 @@
 done
 
 # fix security hole caused by group-write permissions on kmem
-test -e /dev/kmem && chown root:kmem /dev/kmem && chmod 0640 /dev/kmem
+if test -e /dev/kmem; then
+       chown root:kmem /dev/kmem
+       chmod 0640 /dev/kmem
+fi
 
 LIST=""
 
 for TYPE in tty pty ; do
        for LETTER in p q r s t u v w x y z a b c d e ; do
-               if [ -e /dev/$TYPE$LETTER"0" ]; then
-                       MAJOR="`/bin/ls -l /dev/$TYPE$LETTER"0"|cut -c33-36`"
+               s="$TYPE$LETTER"
+               if [ -e "/dev/${s}0" ]; then
+                       MAJOR="`/bin/ls -l "/dev/${s}0" |cut -c33-36`"
                        if [ "$MAJOR" = 4 ] ; then
-                               LIST="$LIST $TYPE$LETTER"
+                               LIST="$LIST $s"
                        fi
                fi
        done
@@ -75,12 +78,13 @@
 
 if [ -n "$LIST" ]; then
        cat > /etc/rc.boot/makedev << EOF
-#!/bin/sh
+#! /bin/sh
+set -e
 
 echo "Creating new console devices"
 /sbin/MAKEDEV $LIST
 
-rm /etc/rc.boot/makedev ; exit 0
+rm /etc/rc.boot/makedev
 EOF
 
 chmod 755 /etc/rc.boot/makedev


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