Your message dated Fri, 02 Nov 2012 21:19:23 +0000
with message-id <e1tuoeb-0002vk...@franck.debian.org>
and subject line Bug#691973: fixed in wicd 1.7.2.4-3
has caused the Debian Bug report #691973,
regarding wicd-daemon.py clobbers /etc/resolv.conf
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 ow...@bugs.debian.org
immediately.)


-- 
691973: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691973
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wicd
Version: 1.7.2.4-2
Severity: serious

In wicd-daemon.py the main() function backs up and restores
/etc/resolv.conf. To back up it does

    shutil.copy2('/etc/resolv.conf', wpath.varlib + 'resolv.conf.orig')

which is like the following shell command.

   cp -p /etc/resolv.conf path/resolv.conf.orig

Note that if /etc/resolv.conf is a symbolic link to another file, the
shutil.copy2() copies the contents to the target; it does not create an
equivalent symbolic link at the target.

To restore, it does

    shutil.move(wpath.varlib + 'resolv.conf.orig', '/etc/resolv.conf')

which is like the following.

    mv path/resolv.conf.orig /etc/resolv.conf

If /etc/resolv.conf was a symbolic link before the backup-and-restore
sequence then afterwards it is a plain file with the contents of the target
of that symlink. Put more bluntly, it clobbers the symlink.

Resolvconf makes use of a symbolic link /etc/resolv.conf ->
../run/resolvconf/resolv.conf. Therefore it appears that wicd-daemon.py
will break any system using resolvconf.

I was just reading the wicd code and this bug report arises from that
reading, not from testing. But even if the code in question isn't currently
executed it should be fixed.

--- End Message ---
--- Begin Message ---
Source: wicd
Source-Version: 1.7.2.4-3

We believe that the bug you reported is fixed in the latest version of
wicd, 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 691...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <da...@debian.org> (supplier of updated wicd 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 02 Nov 2012 21:49:32 +0100
Source: wicd
Binary: wicd wicd-daemon wicd-gtk wicd-curses wicd-cli python-wicd
Architecture: source all
Version: 1.7.2.4-3
Distribution: unstable
Urgency: low
Maintainer: David Paleino <da...@debian.org>
Changed-By: David Paleino <da...@debian.org>
Description: 
 python-wicd - wired and wireless network manager - Python module
 wicd       - wired and wireless network manager - metapackage
 wicd-cli   - wired and wireless network manager - scriptable console client
 wicd-curses - wired and wireless network manager - Curses client
 wicd-daemon - wired and wireless network manager - daemon
 wicd-gtk   - wired and wireless network manager - GTK+ client
Closes: 680976 683559 691973
Changes: 
 wicd (1.7.2.4-3) unstable; urgency=low
 .
   * Fix debian/watch
   * Recommend rfkill in wicd-daemon (Closes: #683559)
   * Substitute dependency on dhcp3-client with isc-dhcp-client
     (Closes: #680976)
   * Fix handling of /etc/resolv.conf when it's a symlink (Closes: #691973)
Checksums-Sha1: 
 6596a6649d4927f5cda6a8f419a4be559536171f 1437 wicd_1.7.2.4-3.dsc
 3b8bc8722baa52c44e21566f7ee7f0c1df52f326 26050 wicd_1.7.2.4-3.debian.tar.gz
 e9c3a409f57399bf6d24f968c7f241fcd6c0ad8f 15886 wicd_1.7.2.4-3_all.deb
 0f5e855ba302566d59894767f4a05b31c0a6abf8 229238 wicd-daemon_1.7.2.4-3_all.deb
 d01f3adaf6438511765d23e8719e0ffcd0f429ea 118470 wicd-gtk_1.7.2.4-3_all.deb
 2952a52bf248775798890fa220856fa45ae20610 45298 wicd-curses_1.7.2.4-3_all.deb
 2cad485d38be5bfee65994ab349cda7179ac2993 19524 wicd-cli_1.7.2.4-3_all.deb
 65dbd6866a73c8270375c697104e1f396cc42053 50750 python-wicd_1.7.2.4-3_all.deb
Checksums-Sha256: 
 6e3294cb3634385d7bd858354df115655b04055c41ed26b847e308e9b678288a 1437 
wicd_1.7.2.4-3.dsc
 2bcecdd5120c15a6484a6dec6b953796514b535db5107c7e1ca0fe70c946b050 26050 
wicd_1.7.2.4-3.debian.tar.gz
 a9fa67191747cfff20a1c8fe927b6c5bed0201e599ff09b70bc2b07f82d4a3a7 15886 
wicd_1.7.2.4-3_all.deb
 1ea06c9a095d95e1322157539d88af6691b09dba36b460e8baec384497ee61e3 229238 
wicd-daemon_1.7.2.4-3_all.deb
 3a1e2ddb68fad620d5c3169691abf15b770f36fa6bd7f1c97f1a0ce7a7514ee9 118470 
wicd-gtk_1.7.2.4-3_all.deb
 b474a6209e1da06316689b991f4d57c41ea9d04401135e49663b3a551d9b5aaa 45298 
wicd-curses_1.7.2.4-3_all.deb
 64a66c0d519613896a2c18b70dc0d355ad127595d5eb0c3b40aa49e79664a6b6 19524 
wicd-cli_1.7.2.4-3_all.deb
 40ac70d728ab76d1c973afa14522c915b92b2181f98da81d3f7bfdf21fd73971 50750 
python-wicd_1.7.2.4-3_all.deb
Files: 
 fd7ea828c21362002dd604314792a1bf 1437 net optional wicd_1.7.2.4-3.dsc
 274b0f810e339a2f46a5d8ffbd7a78f4 26050 net optional 
wicd_1.7.2.4-3.debian.tar.gz
 bbf23b202e17458fa6d707baabd8953f 15886 net optional wicd_1.7.2.4-3_all.deb
 cc0f82192d8e1bb156dd51bd4e598321 229238 net optional 
wicd-daemon_1.7.2.4-3_all.deb
 079ed99b562270eb928b7d2fcc800e68 118470 net optional wicd-gtk_1.7.2.4-3_all.deb
 e92e21c773a47365ad129e89c2c66ef5 45298 net optional 
wicd-curses_1.7.2.4-3_all.deb
 6db9db319e6f5c5486ddd91c3b19de20 19524 net optional wicd-cli_1.7.2.4-3_all.deb
 54442b114c221c2ebe0996c432db1c60 50750 python optional 
python-wicd_1.7.2.4-3_all.deb

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

iEYEARECAAYFAlCUNG4ACgkQ5qqQFxOSsXS77QCghWJ+URNbFLbZjbWlXut9nCRR
C/sAn0W4jzhI7ScOlLK3t5F6mn1io4c9
=roUa
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to