Hi,

Here's what happens on a freshly installed Squeeze system:

nfs:/etc/network# dpkg --status ifenslave-2.6
Package: ifenslave-2.6
Status: unknown ok not-installed
Priority: optional
Section: net
nfs:/etc/network# find -name "ifenslave*"
nfs:/etc/network# aptitude install ifenslave-2.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be installed:
  ifenslave-2.6 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/17.1kB of archives. After unpacking 139kB will be used.
Writing extended state information... Done
Selecting previously deselected package ifenslave-2.6.
(Reading database ... 17323 files and directories currently installed.)
Unpacking ifenslave-2.6 (from .../ifenslave-2.6_1.1.0-15_i386.deb) ...
Processing triggers for man-db ...
Setting up ifenslave-2.6 (1.1.0-15) ...
update-alternatives: using /sbin/ifenslave-2.6 to provide /sbin/ifenslave 
(ifenslave) in auto mode.
Preserving user changes to /etc/network/if-pre-up.d/ifenslave ...
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         

nfs:/etc/network# find -name "ifenslave*"
./if-post-down.d/ifenslave
./if-pre-up.d/ifenslave.dpkg-new
./if-pre-up.d/ifenslave

As a result, if-pre-up.d/ifenslave.dpkg-new is what should really be
if-pre-up.d/ifenslave, if-pre-up.d/ifenslave is the bond-give-a-chance
instead.  The postinst logic is broken, as /etc/network/if-up.d/ifenslave
is part of the package, thus on a clean install the stock version is
moved to /etc/network/if-pre-up.d/ifenslave.dpkg-new if the version
check is true.  This makes the package non-functional after installation,
thus the grave severity.
-- 
Thanks,
Feri.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to