[BRLTTY] Re: Write of brltty.pid on read-konly file systems at boot
Mario Lang
mlang at delysid.org
Mon Dec 18 09:55:19 EST 2006
yan at mistigri.org (Yannick PLASSIARD) writes:
>> For a start, could you check that /var/run/brltty.pid properly contains
>> the pid of the currently running brltty?
>>
>> Mmm, just to make sure: do you start brltty very early? For instance,
>> before / is even mounted read and write, so that brltty may not be able
>> to write /var/run/brltty.pid? (and hence the upgrade script not be able
>> to find out that there is a brltty daemon running)
> I don't use Debian packages, but I'm starting Brltty before the
> fsck (and so, before the remounting of / in read-write) so Brltty is
> unable to write its /var/run/brltty.pid file.
>
> Fix proposal: If the Brltty process can't write to /var/run, could it
> retry every n seconds (or minutes) until the writing is successful? Of
> course, it should run normably bitween the start and the actual writing.
One other alternative would be the /lib/init/rw directory
that is a ram backed directory on Debian systems.
I guess we could use this for our brltty.pid as well...
--
CYa,
Mario | Debian Developer <URL:http://debian.org/>
.''`. | Get my public key via finger mlang at db.debian.org
: :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
`. `'
`- <URL:http://delysid.org/> <URL:http://www.staff.tugraz.at/mlang/>
More information about the BRLTTY
mailing list