FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 10-09-2012, 04:14 AM
Thomas Goirand
 
Default possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

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 probably a more appropriate
severity at this point in the release process. Best wishes, Mike


I don't agree.

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). Both MySQL and MariaDB would use and
implement /var/run/mysql/mysql.sock. If both were installable at the same
time, then shipping /var/run/mysql would create a useless conflict, while
they could really live together (of course, not started at the same time,
but living on the same filesystem, giving the user the option to switch from
one to another as wished).

So it *is* a very practical problem. I know at least that multiple packages
are using /var/run/ircd for example.

On 10/09/2012 04:02 AM, Michael Biebl 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 directory in the package does have some value (at least
for me).

Well, the problem *IS* that dpkg knows about the folder when it should
absolutely not.

Cheers,

Thomas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 5073A4C3.80508@debian.org">http://lists.debian.org/5073A4C3.80508@debian.org
 
Old 10-09-2012, 06:53 AM
Raphael Hertzog
 
Default possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

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). Both MySQL and MariaDB would use and
> implement /var/run/mysql/mysql.sock. If both were installable at the same
> time, then shipping /var/run/mysql would create a useless conflict, while
> they could really live together (of course, not started at the same time,
> but living on the same filesystem, giving the user the option to switch from
> one to another as wished).
>
> So it *is* a very practical problem. I know at least that multiple packages
> are using /var/run/ircd for example.

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
base-files, isc-dhcp-client, uml-utilities, dnsmasq-base: /var/run

It's *not* a problem.

Cheers,
--
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20121009065356.GD3663@x230-buxy.home.ouaza.com">http://lists.debian.org/20121009065356.GD3663@x230-buxy.home.ouaza.com
 
Old 10-09-2012, 06:19 PM
Thomas Goirand
 
Default possible mass bug filing for packages shipping stuff in /var/run, /var/lock, /run?

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
base-files, isc-dhcp-client, uml-utilities, dnsmasq-base: /var/run

It's *not* a problem.

Cheers,

Right, sorry. I wrote something silly (again!) !

Thomas


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 50746A9B.1070503@debian.org">http://lists.debian.org/50746A9B.1070503@debian.org
 

Thread Tools




All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org