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

Jouke Witteveen j.witteveen
Mon Jan 28 14:04:47 PST 2013

On Mon, Jan 28, 2013 at 9:08 PM, Ben Greear <greearb at candelatech.com> wrote:
> On 01/28/2013 11:11 AM, Jouke Witteveen wrote:
>> On Mon, Jan 28, 2013 at 3:11 PM, sven falempin <sven.falempin at gmail.com>
>> wrote:
>>> Right patch is :
>>> should be choosen at compilation or run time
>>> not this  :@
>>> IMHO
>>> On Mon, Jan 28, 2013 at 7:09 AM, Jouke Witteveen <j.witteveen at gmail.com>
>>> wrote:
>>>> On Mon, Jan 28, 2013 at 11:51 AM, Johannes Berg
>>>> <johannes at sipsolutions.net> wrote:
>>>>> On Mon, 2013-01-28 at 11:34 +0100, Jouke Witteveen wrote:
>>>>>> Follow an FHS proposal[1] that is already implemented on some major
>>>>>> distributions.
>>>>> Shouldn't those distros carry the patch then? :)
>>>>> johannes
>>>> Could be, but if all major distros switch, waiting for the foundation
>>>> can look a lot like testing your patience ;-).
>>>> - Jouke
>> It already is a compile-time option, the patch just changes the
>> default to something that better suits the current landscape.
>> Most of the hassle is documentation updates.
> It's going to break older systems...I think you should
> leave the defaults as is...

We could put it in for a later version (3.x?), as far as I can see,
most systems are still on 1.x. As long as the /run directory exists, I
expect breakage to be minor.

> Or, perhaps detect that you are on a 'new' system at compile time and
> change the new default in that case only.

It is unclear to me what constitutes a 'new' system. Any that has
/run? I think it is best not to over-complicate things and either take
the patch more or less like this, or leave it until the foundation
makes a move (if ever).

I assembled the patch mainly to see how deep integration goes. In
fact, I am not extremely bothered by the issue on a day-to-day basis.
The reason I submitted it is mainly to start the discussion. Perhaps
some feel strongly in favor of it.

- Jouke

More information about the Hostap mailing list