Hi!

First the good news:
I applied the 0.16.5 patches to the diald-0.16 sources and compiled
successfully. Fine.

Now for the bad: Diald-0.16.5 would not dump monitor information.

An `echo "monitor /etc/diald/modem.monitor" > /etc/diald/modem.fifo'

procduced the following syslog entries:

Aug  3 11:15:00 banshee diald[5463]: 
FIFO: full monitor connection to monitor /etc/diald/modem.monitor requested
FIFO: could not open pipe /etc/diald/modem.monitor: No such file or 
      directory

There cannot be any permission problems because everything (echo, diald)
were run as root. Of course fifo /etc/diald/modem.monitor does exist.

Morever, it did work with previous diald-0.16 as I did not change anything
but compile the new diald and install it.

I solved the problem when I *removed* the patch (beginning at line 653 of
diald-patch-0.16.5) in diald.c:

@@ -431,7 +468,7 @@
     if (stat(fifoname,&sbuf) < 0 || !sbuf.st_mode&S_IFIFO) {
         syslog(LOG_INFO,"FIFO: %s not a pipe.",
             buf+k);
-    } else if ((fd = open(buf+k,O_WRONLY))<0) {
+    } else if ((fd = open(buf+k,O_WRONLY|O_NDELAY))<0) {
         syslog(LOG_INFO,"FIFO: could not open pipe %s: %m",
             buf+k);
     } else {

That is, I cut `|O_NDELAY' and recompiled. 
Now diald-0.16.5 happily dumps monitoring info again.

Can anyone dump monitor info with an unmodified diald-0.16.5 ?

Regards, Walter

--
Walter Haidinger, email: [EMAIL PROTECTED]
Student of Electrical Engineering, University of Technology, Vienna, Austria
Address: Brunnerstr.6, A-3108 St.P�lten, Austria. Tel.: +43-2742-257191



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to