On Mon, Apr 04, 2011 at 11:35:03AM +0200, Santiago Vila wrote:

Hi Santiago,

> * If I add /run to base-files, what would prevent anyone from
> submitting a bug report against base-files saying "this is a
> FHS/policy violation"?

This isn't strictly an FHS violation, from what I understand and have
seen comments on WRT /run.  The FHS defines a minimum set of
directories, not a maximum, and distributions are free to add
additional directories at their discretion.

Additionally, /run isn't a Debian-specific feature; it is being
implemented by Fedora (hence RHEL in time) and SuSE right now, and
other distributions will be catching up in time.

/run has been proposed for FHS inclusion, so it should become an
official part of the FHS in time, especially since it will be
implemented by all the major distributions.

WRT being in violation of Policy, Policy documents existing best
practice, so I don't think it can really go into Policy until we
have a working implementation.  OTOH, we have a working implementation
done now, which should be deployed soon, so I think proposing a Policy
change to add /run would be inappropriate.

> If we are going to make an exception to the
> FHS, could you please amend policy accordingly? (cloning this report
> and reassigning the clone to debian-policy would be a good start).

I'll make a patch documenting the exception for /run in Policy,
and make that bug blocked by this one, if that's OK?

> * Do you really need a dependency on base-files? It seems to me that a
> simple "mkdir /run" in whatever package needs it would probably be
> enough to start using it. Of course I will gladly add /run to
> base-files for completeness, it's just that I don't see the need to
> have a dependency here.

We can certainly just provide /run in initscripts.  It's just that it
will be needed by other init systems (e.g. systemd, upstart), and that
it's a replacement location for existing directories provided by
base-files.  If you think it's better for initscripts not to have a
versioned base-files dependency and to just provide /run as well, I
can certainly do that--I wasn't sure if that was appropriate given
that it was a top-level directory which the system might be expected
to provide.  Regardless of how this is handled in the specific case
of initscripts, I think it would be appropriate for base-files to
provide /run.


Kind regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to