[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 Sat, Jun 06, 2009 at 05:01:46PM +0200, Julian Andres Klode wrote:
> The wording of Policy 9.3.2's
> 
>  /var/run and /var/lock may be mounted as temporary filesystems[60], so the
>  init.d scripts must handle this correctly.
> 
> only applies to init.d scripts. But init.d scripts are not the only scripts
> using /var/run. Bug#452198 is not RC if you apply this rule only to init.d
> scripts, because it provides no init.d script.
> 
> 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?

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?

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: