On Mon, May 23, 2011 at 12:43 PM, Michał Górny <mgo...@gentoo.org> wrote:
> On Mon, 23 May 2011 12:35:12 +0530
> Nirbheek Chauhan <nirbh...@gentoo.org> wrote:
>
>> As I understand it, that's precisely what William's plan is.
>>
>> $ ls -ld /var/{lock/run}
>> /var/lock -> /run/lock
>> /var/run -> /run/
>>
>> This should work transparently for all existing applications.
>>
>> The only way this would fail is if they do an incorrect stat() on
>> /var/run and error out if it's a symbolic link. OTOH, it's precisely
>> to iron out such kinks that we have ~arch.
>
> What if a daemon tries to do braindead compat attempt through creating
> a pidfile in both directories?
>

I think the answer is obvious — we patch it to use /run/lock ...


-- 
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team

Reply via email to