Bug#585708: unowned files after purge (policy 6.8)

2010-06-26 Thread Christoph Anton Mitterer
Hi.


Although this has been fixed now:

I'd say, that even in such rare cases, where one can argue that people
usually never delete the package, it's important to fully obey the
policy,... because if we start to make exceptions, everybody comes and
claims that his package might justify for such one...


Cheers,
Chris :)


smime.p7s
Description: S/MIME cryptographic signature


Bug#585708: unowned files after purge (policy 6.8)

2010-06-14 Thread Marco d'Itri
On Jun 14, Holger Levsen hol...@layer-acht.org wrote:

  Because the files contained in this package are usually essential to
  have working networking.
 how is /etc/networks essential? I dont have it on my lenny system.
The *other* files.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#585708: unowned files after purge (policy 6.8)

2010-06-14 Thread Holger Levsen
Hi,

On Montag, 14. Juni 2010, Marco d'Itri wrote:
  how is /etc/networks essential? I dont have it on my lenny system.
 The *other* files.

I see. So /etc/networks will be removed on purge in future?! Great.


Thanks,
Holger



signature.asc
Description: This is a digitally signed message part.


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Holger Levsen
Package: netbase
Version: 4.41
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package left unowned files on the 
system after purge, which is a violation of policy 6.8:

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

From the attached log (scroll to the bottom...):

0m19.0s ERROR: FAIL: Package purging left files on system:
  /etc/networks  not owned


regards,
Holger
Start: 2010-05-20 00:50:07 UTC

Package: netbase
Priority: important
Section: admin
Installed-Size: 96
Maintainer: Marco d'Itri m...@linux.it
Architecture: all
Version: 4.41
Depends: lsb-base (= 3.0-6), initscripts
Recommends: ifupdown
Conflicts: inetutils-inetd ( 2:1.4.3+20060719-3), openbsd-inetd ( 0.20050402-3)
Filename: pool/main/n/netbase/netbase_4.41_all.deb
Size: 20122
MD5sum: f716d37ce067febdbb3d6f1e3ea19364
SHA1: 774bdf974ad894ff97f6d509461639272feccf83
SHA256: c2bc1987bde4347c254402d572141927a8f743f258fd2b05f782dc9421d40734
Description: Basic TCP/IP networking system
 This package provides the necessary infrastructure for basic TCP/IP based
 networking.
Tag: network::configuration, role::app-data

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ netbase
Guessed: debian
0m0.0s INFO: --
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: --
0m0.0s INFO: piuparts version 0.39~201005180735 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ netbase
0m0.0s INFO: Running on: Linux piatti 2.6.32.13-dsa-amd64 #1 SMP Fri May 14 10:29:18 CEST 2010 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpianqz_
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmpianqz_
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpianqz_', '-zxf', 'sid.tar.gz']
0m2.0s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpianqz_', '-zxf', 'sid.tar.gz']
0m2.0s DEBUG: Created policy-rc.d and chmodded it.
0m2.0s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpianqz_', 'apt-get', 'update']
0m4.2s DUMP: 
  Get:1 http://piatti.debian.org sid Release.gpg [835B]
  Get:2 http://piatti.debian.org sid Release [104kB]
  Ign http://piatti.debian.org sid/main Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free Packages/DiffIndex
  Get:3 http://piatti.debian.org sid/main Packages [8734kB]
  Get:4 http://piatti.debian.org sid/contrib Packages [67.8kB]
  Get:5 http://piatti.debian.org sid/non-free Packages [134kB]
  Fetched 9041kB in 1s (7855kB/s)
  Reading package lists...
0m4.2s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpianqz_', 'apt-get', 'update']
0m4.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpianqz_', 'mount', '-t', 'proc', 'proc', '/proc']
0m4.2s DEBUG: Command ok: ['chroot', '/org/piuparts.debian.org/tmp/tmpianqz_', 'mount', '-t', 'proc', 'proc', '/proc']
0m4.2s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpianqz_', 'apt-get', '-yf', 'upgrade']
0m13.5s DUMP: 
  Reading package lists...
  Building dependency tree...
  The following packages will be upgraded:
base-files dpkg e2fslibs e2fsprogs gcc-4.4-base libcomerr2 libgcc1 libss2
libstdc++6
  9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 3548kB of archives.
  After this operation, 65.5kB disk space will be freed.
  Get:1 http://piatti.debian.org sid/main base-files 5.5 [61.5kB]
  Get:2 http://piatti.debian.org sid/main dpkg 1.15.7.2 [1919kB]
  Get:3 http://piatti.debian.org sid/main e2fslibs 1.41.12-1 [144kB]
  Get:4 http://piatti.debian.org sid/main e2fsprogs 1.41.12-1 [817kB]
  Get:5 http://piatti.debian.org sid/main gcc-4.4-base 4.4.4-2 [117kB]
  Get:6 http://piatti.debian.org sid/main libstdc++6 4.4.4-2 [341kB]
  Get:7 http://piatti.debian.org sid/main libgcc1 1:4.4.4-2 [45.1kB]
  Get:8 http://piatti.debian.org sid/main libcomerr2 1.41.12-1 [49.1kB]
  Get:9 http://piatti.debian.org sid/main libss2 1.41.12-1 [54.2kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 3548kB in 0s (44.2MB/s)
  (Reading database ... 6034 files and directories currently installed.)
  Preparing to replace base-files 5.4 (using 

Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Marco d'Itri
On Jun 13, Holger Levsen hol...@layer-acht.org wrote:

 during a test with piuparts I noticed your package left unowned files on the 
 system after purge, which is a violation of policy 6.8:
Who cares? Nobody purges netbase.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Holger Levsen
Hi Marco,

On Sonntag, 13. Juni 2010, Marco d'Itri wrote:
 Who cares? Nobody purges netbase.

me. policy. piuparts.

This bug blocks qa work on the archive, to give one example:

http://piuparts.debian.org/sid/source/m/masqmail.html cannot be tested, 
because netbase fails the piuparts test and piuparts doesnt test packages 
with buggy depends.

lynx --dump 
http://piuparts.debian.org/sid/state-dependency-failed-testing.html | grep 
netbase | grep -E dependency .* is failed-testing|wc -l

currently gives 97 packages not being tested due to this bug. Plus packages 
which depend on those... 

That's why I care.


cheers,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Marco d'Itri
On Jun 13, Holger Levsen hol...@layer-acht.org wrote:

  Who cares? Nobody purges netbase.
 me. policy. piuparts.
So it should be possible to fix at least the policy and piuparts.

 http://piuparts.debian.org/sid/source/m/masqmail.html cannot be tested, 
 because netbase fails the piuparts test and piuparts doesnt test packages 
 with buggy depends.
Packages are not generally supposed to depend on netbase (if this were
really needed then every package which uses networking would have to).
Even if it is not essential, purging it is guaranteed to break just
about any system.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Holger Levsen
On Sonntag, 13. Juni 2010, Marco d'Itri wrote:
 Even if it is not essential, purging it is guaranteed to break just
 about any system.

why?

purging is mandated by policy...



signature.asc
Description: This is a digitally signed message part.


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Marco d'Itri
On Jun 13, Holger Levsen hol...@layer-acht.org wrote:

 On Sonntag, 13. Juni 2010, Marco d'Itri wrote:
  Even if it is not essential, purging it is guaranteed to break just
  about any system.
 why?
Because the files contained in this package are usually essential to
have working networking.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#585708: unowned files after purge (policy 6.8)

2010-06-13 Thread Holger Levsen
On Sonntag, 13. Juni 2010, Marco d'Itri wrote:
 Because the files contained in this package are usually essential to
 have working networking.

how is /etc/networks essential? I dont have it on my lenny system.


signature.asc
Description: This is a digitally signed message part.