[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685376: marked as done (postinst fails on non-default Debian kernels and is useless on =<3.4)



Your message dated Sun, 09 Sep 2012 12:48:07 +0000
with message-id <E1TAgvn-0006Ux-Vb@franck.debian.org>
and subject line Bug#685376: fixed in makedev 2.3.1-92
has caused the Debian Bug report #685376,
regarding postinst fails on non-default Debian kernels and is useless on =<3.4
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 owner@bugs.debian.org
immediately.)


-- 
685376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685376
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: makedev
Version: 2.3.1-91
Severity: serious

Hi,

the debian/postinst of makedev currently contains the following code:
# force update of fb devices if kernel is Linux >= 2.4 and they already exist
kern_rev1=`uname -r | sed -e 's@^\([^.]*\)\..*@\1@'`
kern_rev2=`uname -r | sed -e 's@^[^.]*\.\([^.]*\)\..*@\1@'`
if [ `uname -s` = "Linux" ] && [ $kern_rev1 -ge 2 ] && [ $kern_rev2 -ge 4 ] && [ -e /dev/fb0 ]
then
        MAKEDEV fb
fi

This fails boldly on my machine with linux-image-3.4-trunk-amd64 being
installed as `uname -r` returns "3.4-trunk-amd64".
And even if it would return 3.4.0, the condition is false for 3.x kernels
before 3.4 (like the 3.2 in Wheezy) → serious because of that.

A possible fix would be
kern_rev2=`uname -r | sed -e 's@^[^.]*\.\([0-9]*\).*@\1@'`
But then the if condition still has to be updated, as it won't trigger
with [3.0..3.4[

Regards
Evgeni

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.4-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
Source: makedev
Source-Version: 2.3.1-92

We believe that the bug you reported is fixed in the latest version of
makedev, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 685376@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated makedev package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 09 Sep 2012 14:15:33 +0200
Source: makedev
Binary: makedev
Architecture: source all
Version: 2.3.1-92
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Description: 
 makedev    - creates device files in /dev
Closes: 644318 685376
Changes: 
 makedev (2.3.1-92) unstable; urgency=low
 .
   * QA upload.
   * Fix "postinst fails on non-default Debian kernels and is
     useless on =< 3.4":
     drop check for kernel version >= 2.4
     (Closes: #685376)
   * Fix "/run transition: Please update use of /dev/.udev":
     additionally check for /run/udev, patch from Roger Leigh
     (release goal).
     (Closes: #644318)
Checksums-Sha1: 
 9e408a77e8d9475a15d20adb8a1fdff0cd345643 1722 makedev_2.3.1-92.dsc
 643396fa3ffa05602b3a455fc8f6788301e7c524 49972 makedev_2.3.1-92.diff.gz
 a4d91ffb5481a3213ffdfab881efbc4f7a5ffd22 42324 makedev_2.3.1-92_all.deb
Checksums-Sha256: 
 ff4ed942f2d5739abb3367137a427b0787f9dd564a7655d8670e7294a2dba68c 1722 makedev_2.3.1-92.dsc
 8e4f6a694409587b49203ffe7b81dbc25344c45564f88d5cc341d76169e0138c 49972 makedev_2.3.1-92.diff.gz
 c9657ef78b9f36eb092ef8cfa5bf7c5d3cc2b35a5e4066d9bcd333568e27777d 42324 makedev_2.3.1-92_all.deb
Files: 
 449dcac3d2507454c1f2cb59208443c7 1722 admin extra makedev_2.3.1-92.dsc
 91ee806cd47a73f6eb78d54a7c0c954f 49972 admin extra makedev_2.3.1-92.diff.gz
 c9489199ace612c90dc51be2c4beb6b0 42324 admin extra makedev_2.3.1-92_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQTI4YAAoJELs6aAGGSaoGdaoP/3Bd+cDtNdPlweN3zFUG4t51
3pp800tO/tuyYJ2KEFdGznJLXmEr8gQ0ocY3lrgpH49tZWJvltwS9FGJ6bJnRoYA
f9WitRuxBk/T5cPedcQNwN700DKCr3fRb0XIzGQiIJiDSsfgpRzGqkqaNMWNgBl0
1pat3pYxn5MrmQYKsSYgPHsljrHZigdHsNPuIM+1SBxsON1N366+LKIsUE8oyG6U
5H5BkXuuais0SpNM0u9OrHXKn0U6UuMEwublPNRTlrZVd1aEqK5vih0+TN8nBSP7
sb4cW9bisHqdk08uci1GxWUqHyWk5dmFWVif2jjZ5qxLq2uchgmuCv8ZU0optCTY
qOYPmyNXYtvjNyrFDxBLDnwMmvm/tnaFTsGz654ZOnS/iO2r5v7QCUVTgJpvLBpa
1wQPAvBpOaZ9cl/Hx58pk5BWCYD4zpQhnCSDXWbcsFf2dVU9cl91W9jABLv7SCbr
uM+8fCo1fJrUFWyorQS85I8+LgQTVrFGpcAHVeBY8vo9m3f5KFZ5ZkzPldvOrJXp
TSBCZaxoN+PInrRoAICGAF7CqQW32m6RTY/EPtVhsZRsLrsLIvycx+ixDx76ys+O
UE7ejH4WsG8eo2udglNS0wTGBhNUu1Fuus6ZljWt3NxuHmE4Qnh+FwWRJq0R/uGF
3mgvKcFnNg/v4tn5D5t1
=YRFK
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: