Re: Storing additional metadata in the dpkg database [Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?]

2012-10-22 Thread Guillem Jover
On Wed, 2012-10-10 at 05:44:25 +0200, Michael Biebl wrote: On 08.10.2012 22:53, Guillem Jover wrote: That applies as well to any path generated at maintainer script or run time by the package (like state, cache, log files, etc), but I don't think it's currently a good idea for these to

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-09 Thread Raphael Hertzog
On Tue, 09 Oct 2012, Thomas Goirand wrote: Imagine for a minute that we have 2 implementation of the same service. Lets say, for this example, MariaDB and MySQL (this is *not* a real world example, since last time I checked, we don't have MariaDB in Debian but it well could be a real problem).

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-09 Thread Thomas Goirand
On 10/09/2012 02:53 PM, Raphael Hertzog wrote: And? It's perfectly possible to share directories between multiple packages. The fact that /var/run/mysql/ would be owned by multiple packages is no different from the fact that /var/run/ is already owned by multiple packages: $ dpkg -S /var/run

Re: Storing additional metadata in the dpkg database [Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?]

2012-10-09 Thread Michael Biebl
Hi guillem! On 08.10.2012 22:53, Guillem Jover wrote: On Mon, 2012-10-08 at 22:02:57 +0200, Michael Biebl wrote: On 08.10.2012 20:15, Michael Gilbert wrote: I actually find it pretty handy if I can use dpkg -S to find out which package a particular directory belongs to. So shipping the

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-08 Thread Thomas Goirand
On 10/08/2012 01:21 AM, Julien Cristau wrote: On Fri, Oct 5, 2012 at 23:16:05 +0200, Andreas Beckmann wrote: Hi, I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate piuparts logs that should cover /var/run and

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-08 Thread Mehdi Dogguy
On 08/10/2012 12:33, Thomas Goirand wrote: On 10/08/2012 01:21 AM, Julien Cristau wrote: On Fri, Oct 5, 2012 at 23:16:05 +0200, Andreas Beckmann wrote: Hi, I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-08 Thread Michael Gilbert
On Mon, Oct 8, 2012 at 6:33 AM, Thomas Goirand wrote: On 10/08/2012 01:21 AM, Julien Cristau wrote: Would it be appropriate to file RC bugs against all the packages shipping anything in /var/run, /var/lock or /run? No, there's nothing wrong with that. Cheers, Julien Lintian (and myself)

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-08 Thread Jakub Wilk
* Michael Gilbert mgilb...@debian.org, 2012-10-08, 14:15: Packages must not include files or directories under /run, or under the older /var/run and /var/lock paths. The thing is that it really does no harm if a package actually does this Given that /var/lock is world-writable in Debian, and

Storing additional metadata in the dpkg database [Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?]

2012-10-08 Thread Michael Biebl
On 08.10.2012 20:15, Michael Gilbert wrote: On Mon, Oct 8, 2012 at 6:33 AM, Thomas Goirand wrote: Packages must not include files or directories under /run, or under the older /var/run and /var/lock paths. The thing is that it really does no harm if a package actually does this; although it

Re: Storing additional metadata in the dpkg database [Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?]

2012-10-08 Thread Guillem Jover
Hi! On Mon, 2012-10-08 at 22:02:57 +0200, Michael Biebl wrote: On 08.10.2012 20:15, Michael Gilbert wrote: On Mon, Oct 8, 2012 at 6:33 AM, Thomas Goirand wrote: Packages must not include files or directories under /run, or under the older /var/run and /var/lock paths. The thing is

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-08 Thread Thomas Goirand
On 10/09/2012 02:15 AM, Michael Gilbert wrote: The thing is that it really does no harm if a package actually does this; although it is pretty pointless since those files will be gone after reboot. So, even though policy says must not, it's not really a problem in practice, so important is

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-07 Thread Thomas Goirand
On 10/06/2012 03:16 PM, Thomas Goirand wrote: On 10/06/2012 05:46 AM, Andreas Beckmann wrote: Anyone who wants to take this easy job? Since I don't have to analyze piuparts logs for getting the data ... Andreas Hi, I'll try to send bugs *with patches* over this week end. Thomas Goirand

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-07 Thread Julien Cristau
On Fri, Oct 5, 2012 at 23:16:05 +0200, Andreas Beckmann wrote: Hi, I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate piuparts logs that should cover /var/run and /var/lock, but I haven't sorted them in buggy,

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-06 Thread Thomas Goirand
On 10/06/2012 05:46 AM, Andreas Beckmann wrote: Anyone who wants to take this easy job? Since I don't have to analyze piuparts logs for getting the data ... Andreas Hi, I'll try to send bugs *with patches* over this week end. Thomas Goirand (zigo) -- To UNSUBSCRIBE, email to

possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-05 Thread Andreas Beckmann
Hi, I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate piuparts logs that should cover /var/run and /var/lock, but I haven't sorted them in buggy, depends on buggy, other problem. I expect the buggy category to be

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-05 Thread Jakub Wilk
* Andreas Beckmann deb...@abeckmann.de, 2012-10-05, 23:16: I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate piuparts logs that should cover /var/run and /var/lock, but I haven't sorted them in buggy, depends on

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-05 Thread Andreas Beckmann
On 2012-10-05 23:35, Jakub Wilk wrote: Lintian should be able to spot all the buggy ones, shouldn't it? Good point. http://lintian.debian.org/tags/dir-or-file-in-run.html 0 :-) http://lintian.debian.org/tags/dir-or-file-in-var-run.html 28 (6 overridden)

Re: possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

2012-10-05 Thread Ben Hutchings
On Fri, Oct 05, 2012 at 11:35:53PM +0200, Jakub Wilk wrote: * Andreas Beckmann deb...@abeckmann.de, 2012-10-05, 23:16: I haven't made a detailed analysis, yet, and cannot say how many packages would be affected. Right now I have about 100 candidate piuparts logs that should cover /var/run and