gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [BUG] a socket file in the way causes 'tla inventor


From: Jan Hudec
Subject: Re: [Gnu-arch-users] [BUG] a socket file in the way causes 'tla inventory' panic
Date: Mon, 3 May 2004 12:18:08 +0200
User-agent: Mutt/1.5.5.1+cvs20040105i

On Mon, May 03, 2004 at 10:14:28 +0200, Matthieu MOY wrote:
> With the "tagline" tagging method, I get :
> 
> $ ls -l socket
> srwxr-xr-x    1 me     mygroup        0 05-03 09:54 socket=
> $ tla inventory
> [ ... ]
> error finding file id (6: No such device or address)
>  path: ./socket
> PANIC: arch_inventory_id
> 
> I don't know the best way to solve the problem. I suppose the most sensible 
> way
> would be to consider socket files as 'precious', and to hardcode that in tla ?

Just like for directories and symlinks tla does not try to read the id
from the file and instead looks for an explicit one, neither should it
with pipes, sockets and devices. Note, however, that socket nodes should
never exist unless the application is running, since bind insists on
creating them.

> Another interesting case :
> 
> $ mkfifo myfifo
> $ tla inventory
> 
> Off course, tla inventory searches for a tagline in the fifo, but reading in 
> the
> fifo is blocking, so, tla just hangs :-(
> 
> Same as above, I think fifo should be considered precious.
> 
> -- 
> Matthieu
> 
> -------------------------------------------------
> envoyé via Webmail/IMAG !
> 
> 
> 
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnu-arch-users
> 
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
> 
-------------------------------------------------------------------------------
                                                 Jan 'Bulb' Hudec 
<address@hidden>

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]