Bug#673057: ifupdown: /etc/network/run migration leaves unnecessary /etc/network/run.dpkg-old

2012-06-02 Thread Marc Dequènes (Duck)

Coin,

This seems to be related:

dpkg: considering deconfiguration of ifupdown, which would be broken  
by installation of netbase ...

dpkg: yes, will deconfigure ifupdown (broken by netbase).
(Reading database ... 18691 files and directories currently installed.)
Preparing to replace netbase 4.47 (using .../archives/netbase_5.0_all.deb) ...
De-configuring ifupdown ...
Unpacking replacement netbase ...
Preparing to replace ifupdown 0.7~alpha5+really0.6.16 (using  
.../archives/ifupdown_0.7_i386.deb) ...

Moving obsolete conffile /etc/default/ifupdown out of the way...
Moving obsolete conffile /etc/init.d/ifupdown out of the way...
Moving obsolete conffile /etc/init.d/ifupdown-clean out of the way...
Unpacking replacement ifupdown ...
…
Setting up netbase (5.0) ...
Installing new version of config file /etc/services ...
Installing new version of config file /etc/init.d/networking ...
Setting up iproute (20120521-2) ...
Setting up ifupdown (0.7) ...
Migrating network state directory from /etc/network/run to /run/network...
mv: cannot overwrite non-directory `/etc/network/run.dpkg-old' with  
directory `/etc/network/run'

dpkg: error processing ifupdown (--configure):
 subprocess installed post-installation script returned error exit status 1

Removing /etc/network/run.dpkg-old solves the problem.

It could be a serious bug but as the previous package was an alpha  
one, maybe it's not necessary. Do as you see fit.


Regards.


pgpPGEzhssEdQ.pgp
Description: PGP Digital Signature


Bug#673057: ifupdown: /etc/network/run migration leaves unnecessary /etc/network/run.dpkg-old

2012-05-15 Thread Michal Politowski
Package: ifupdown
Version: 0.7~rc3
Severity: normal

When /etc/network/run starts as a link to /dev/shm/network on upgrade to 
0.7~rc3,
then an unnecessary link from /etc/network/run.dpkg-old to /dev/shm/network
remains after the migration.

Messages:

Setting up ifupdown (0.7~rc3) ...
Installing new version of config file /etc/init.d/networking ...
Migrating network state directory from /dev/shm/network to /run/network...
Moving /etc/network/run/ifstate to /run/network/ifstate
ifupdown.postinst: Warning: Not removing the old contents of /etc/network/run: 
directory not empty; renamed into /etc/network/run.dpkg-old.

Results:

$ ls -l /etc/network/run*
lrwxrwxrwx 1 root root 12 May 15 20:05 /etc/network/run - /run/network
lrwxrwxrwx 1 root root 16 Aug 12  2004 /etc/network/run.dpkg-old - 
/dev/shm/network

$ ls -l /etc/network/run.dpkg-old/
total 0

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown depends on:
ii  dpkg 1.16.3
ii  initscripts  2.88dsf-22.1
ii  iproute  20120319-1
ii  libc62.13-32
ii  lsb-base 4.1+Debian3

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
pn  isc-dhcp-client | dhcp-client  none
pn  net-tools  1.60-24.1
pn  pppnone
pn  rdnssd none

-- debconf information:
* ifupdown/convert-interfaces: true

-- 
Michał Politowski
Talking has been known to lead to communication if practiced carelessly.



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