[Gllug] Faxgetty - further musings

Xander D Harkness xander at harkness.co.uk
Mon Apr 28 12:20:43 UTC 2003


>          Xander
>
> Having re-read your message properly, I see that /dev/FIFO.modem is a
> named pipe, which according the faxgetty manpage faxgetty creates/opens
> to communicate with a 'command channel'.  If it already exists when you
> tried the strace faxgetty, then presumably another process must have
> already created the pipe, with different access privileges.
Thanks for the update.

I have done so:
ls -l /dev/FIFO.modem
prwxrwxrwx    1 root     root            0 Apr 28 13:08 /dev/FIFO.modem

The strace does look the same, I have included all from the denied
permission to the end.

mknod("dev/FIFO.modem", S_IFIFO|0600)   = -1 EEXIST (File exists)
open("dev/FIFO.modem", O_RDWR|O_NONBLOCK) = -1 EACCES (Permission denied)
brk(0x80c5000)                          = 0x80c5000
brk(0x80c8000)                          = 0x80c8000
time([1051531753])                      = 1051531753
open("/etc/localtime", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x124000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0"..., 4096)
= 1323
close(3)                                = 0
munmap(0x124000, 4096)                  = 0
getpid()                                = 23380
rt_sigaction(SIGPIPE, {0x2dff48, [], 0x4000000}, {SIG_IGN}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
connect(3, {sin_family=AF_UNIX, path="/dev/log"}, 16) = 0
send(3, "<171>Apr 28 13:09:13 FaxGetty[23"..., 97, 0) = 97
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
_exit(-1)                               = ?


I have also tried using ttyS0, which modem points to and get the same pip
error, with and without the device created.

I am also going to probe the Debian list, just incase anyone else there
witnessed the problem.  Kinda funny really as I am running stable.

Kind regards
Xander




-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list