[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#532120: Require support for temporary /var/run/ and /var/lock in all packages



On Thu, Jun 18, 2009 at 10:04:21AM +0100, Colin Watson wrote:
> On Sat, Jun 06, 2009 at 05:01:46PM +0200, Julian Andres Klode wrote:
> > Therefore, I propose to change the requirement so that all packages must
> > support /var/run/ and /var/lock/ on temporary filesystems, and not only
> > those which provide an init script.
> 
> This seems reasonable to me; I don't think we'd foreseen this being a
> problem for things other than init scripts. Do you have a proposed patch
> for this, or a suggestion on how it might be better written?

How about:
 /var/run and /var/lock may be mounted as temporary filesystems[59], so
 packages must handle this correctly. This will typically amount to creating any
 required subdirectories dynamically when an init.d script is run, rather than
 including them in the package and relying on dpkg to create them. 

Replacing the first "the init.d scripts" with "packages", and the second
"the init.d script" with "an init.d script".

> 
> I thought a bit about moving the text somewhere else - maybe a new
> subsection under 9.1 - but I think the requirement applies *principally*
> to init scripts. Perhaps it would be best to simply add a parenthesis
> saying that this also applies to the rest of the system?

A new section under 9.1 would be easier to find.


-- 
Julian Andres Klode  - Free Software Developer
   Debian Developer  - Contributing Member of SPI
   Ubuntu Member     - Fellow of FSFE

Website: http://jak-linux.org/   XMPP: juliank@jabber.org
Debian:  http://www.debian.org/  SPI:  http://www.spi-inc.org/
Ubuntu:  http://www.ubuntu.com/  FSFE: http://www.fsfe.org/



Reply to: