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

Re: How much of /proc is implemented?



On Tue, 2011-01-25 at 15:48 +0100, Guillem Jover wrote:
> Hi!
> 
> On Mon, 2011-01-24 at 11:29:35 +0100, Samuel Thibault wrote:
> > Svante Signell, le Mon 24 Jan 2011 11:03:13 +0100, a écrit :
> > > /etc/cron.daily/man-db:
> > > egrep: /proc/self/status: No such file or directory
> > 
> > Self is not really implemented yet, yes.
> 
> This specific case for man-db is there only to handle Linux vserver
> and OpenVZ. So it could be conditionalized.

Ok, that could be done. In the reply from Samuel, he mentions $$. What
is that?

> > > Jan 23 13:11:16 qemu-hurd dsyslog[122]: (ERROR) source_klogfile.c:120
> > > [dsyslog_source_klogfile_new]: while opening /proc/kmsg: No such file or
> > > directory
> > 
> > Not implemented, but should be easy by simply symlinking to /dev/klog
> 
> Probably better to just fix dsyslog to look into /dev/klog. It's a
> matter of changing the default config file debian/dsyslog.conf:
> 
> ,---
> source klogfile { path "/proc/kmsg"; };

Does not seem to work, I changed on another computer having syslog-ng
installed:
/etc/syslog-ng/syslog-ng.conf
# Hurd specific, does not work
                    file("/dev/klog" program_override("kernel"));
# Original code:
#                    file("/proc/kmsg" program_override("kernel"));

from /var/log/{error,sylog} (plenty of them):
Jan 27 19:58:31 kvm-hurd syslog-ng[93]: Error invoking seek on followed
file; error='Illegal seek (1073741853)'


Reply to: