I've been trying to get syslogd working for the past several days,
and ran into a few problems.
The UNIX domain socket implementation only implements connection
based sockets, and syslogd wants a connectionless socket. Is anyone
working on implementing recvfrom/sendto?
Next I thought, no problem, I'll just rewrite the code to use
a named pipe instead. In my first attempt I opened the FIFO
with the flags O_RDONLY|O_NONBLOCK. This worked (the open
didn't hang), but the select system call kept indicating that
the FIFO was ready for reading when in fact it wasn't (read
returned -1, errno EAGAIN). This doesn't seem like correct
behaviour for select.
Fortunately the story ends well: I was able to get a non-blocking
open on the FIFO by opening with just O_RDWR. The above issues
should still be looked at, though, for the sake of other
applications.
Eric Negaard| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Linux 2.6.25-rc4 |
| Jon Smirl | Re: 463 kernel developers missing! |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | Re: HTB accuracy for high speed |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
