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

Bug#514326: debian-policy: fhs-2.3 doesn't specify that /var/run and /var/lock may be volatile ref rcS(5)



tags 514326 pending
thanks

On Mon, Feb 16, 2009 at 08:06:00PM +0000, Tim Small wrote:
> Colin Watson wrote:
>> Tim was referring to the text of the FHS, though
>> (see the subject line), which I don't think we ought to modify in
>> debian-policy for this.
>
> Yes, sorry about that, I hadn't appreciated that the FHS is independent  
> of Debian..  Your proposed change to policy looks good.

Thanks. I've committed this for the next release of policy.

> I wonder if it's worth adding a note/example that the "install", and  
> "mkdir -p" options in this context e.g.
>
> install -o owner -g group -m mode -Z SELinux_context -d /var/run/subdir
>
> ... just because I've seen some roundabout / verbose ways of creating  
> such directories in various init scripts.  If this is overly directive  
> (or patronising) it could be left out, of course....

To be honest I think this is a bit too much detail for this section, and
not really necessary for policy to specify; we don't generally mandate
that people must write concise code!

Regards,

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: