[PATCH] Migrate from /var/run to /run

Jouni Malinen j
Sat Feb 2 14:02:24 PST 2013


On Mon, Jan 28, 2013 at 11:34:33AM +0100, Jouke Witteveen wrote:
> Follow an FHS proposal[1] that is already implemented on some major
> distributions.
> 
> [1] https://bugs.linuxfoundation.org/show_bug.cgi?id=718

Actually.. That proposal seems to indicate that programs may continue to
use /var/run for the purposes of backwards compatibility and some linked
discussion seemed to indicate that programs "should" and not just "may"
do so.. Could you please provide a pointer to the FHS draft that
justifies this change for wpa_supplicant or use cases where /run has to
be used instead of /var/run?

It would sound simplest to continue using /var/run since FHS
specification seems to indicate that this directory is required to exist
(e.g., as a symlink or some other means of linking it to to /run). This
would not cause problems for existing systems or non-Linux platforms and
should continue to work with new Linux systems for that matter.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list