Re: Please do not use /run yet
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 2011-04-06 13:12, Noel David Torres Taño wrote:
>> On Wed, Apr 6, 2011 at 12:18:32 +0200, Reinhard Tartler wrote:
>>> On Wed, Apr 06, 2011 at 10:54:53 (CEST), Roger Leigh wrote:
>>>> As of base-files 6.2 which went into unstable yesterday, we have a
>>>> new top-level directory, /run.
>>>>
>>>> This directory will contain a tmpfs which will be present from early
>>>> boot, and which will replace /var/run. This will be done by
>>>> initscripts, which we are waiting to be uploaded. For the time
>>>> being, /run is just an empty directory, and it's not guaranteed to
>>>> be writable either during early boot, or during normal operation.
>>>
>>> What about adding a lintian warning (error?) for packages that place
>>> files in /run?
>>
>> How do you catch that? Files in /run wouldn't be part of the packages,
>> they'd be created at runtime.
>
> Precisely :) Throw an error on all packages placing files in /run
>
> Noel
> er Envite
You mean like the tag dir-or-file-in-var-run, which lintian already
throws at people? Sure, just file a wishlist bug against lintian.
But we are unlikely to be able to detect (e.g.) that packages are using
/run without depending on the right version of initscripts[1], which I
think was the original proposal.
~Niels
[1] Assuming they create files at run-time which (as I understand it) is
the correct usage of /run.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBCAAGBQJNnE8sAAoJEAVLu599gGRC7QkQAJ3xo96j1fK/Escfi4qxsGsO
ZVlrHw8AKprUOVmg86X90pYLlZuMaOJOIlarP3Rtowt8gmzLFrnwyTr4JoC/fGbw
mvA2Fef/l9Pj8f71u/29OnakKPRlXAccWRKLO79oKRvzUgGCeQHz81Dg+fVl9zFZ
M0f98A+y0mL6/np/pMvlUByD5gWHa7yBu6w5shD5pA3MNPh5mv986HleE1dCVKE5
JtRDiRfMCdPEhaH5q2ArJfZSg5whsFXPRLo8Dc8V5fJC8lsYM125ojlairhBmhj1
yeIIqyc8p076mFmdB9QZ2jZMF+xwsOTxZs2jTFHOd9F53Oj0UuhHFFwp4SOInWfb
Jophn7hyoEvVtxrg5yC9eIt86BzJ0EA1uE6QuzX5NRlFheq2fg76l7hGsvPXcTCi
MHNVsvIF9HvsbmLeSIXiIjmMP2z2VGCQ95hZr8nVMYzMkw3YL0C+dfJZfXBY/7mS
Urhcf05YCoEHnRi2QRSiudPKsWv806I5uTM0mRJzN+Mj7CqtF9+jI2JhzjCrvCX4
VV9VpKbGRnO1O9b/DEbwtngguovqb5zsNwjkE78PNf55KUvcbNmUaEgpJxPLR08W
oQAkcirSPtNzyRZmCPELzAsKK1e5woj/0nzaMdnucxKfVnuB2zx9AJrYbLBxeZyd
sfkH8KEFwkXN6w6uz50u
=UrTH
-----END PGP SIGNATURE-----
Reply to: