[syslog-ng] I/O error occurred while reading; fd='4', error='Operation not permitted (1)'

Matt Miller syslog-ng at mattmillersf.fastmail.fm
Tue Jan 2 23:12:33 CET 2007


> > running in a jail via the "-C" option, but ... syslog-ng[19522]:
> > I/O error occurred while reading; fd='4', error='Operation not
> > permitted (1)'
>
> starting the daemon through strace, and looking for the system "read"
> which results in a return of EACCESS.  The first argument should be
> "4" representing the process' 4th file descriptor.

Thanks, I've been trying this, but the problem is not fixed yet.  I've
attached my 'strace' output.  For fun I also traced "chroot" calls,
since I'm thinking that it's after the chroot that things go bad.

Looking at that attached output, my best guess at what's opened on
descriptor 4 is /proc/kmsg.  However, I did this:

mount -t proc proc /var/local/chroot/syslogng/proc

so I think I've got /prog/kmsg covered.

What can I try next?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript
Type: application/octet-stream
Size: 3141 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070102/5c744663/typescript.obj


More information about the syslog-ng mailing list