Bug 6180 - klogd can't read /proc/kmsg
: klogd can't read /proc/kmsg
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/kernel-image-vs26-smp)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-02-28 17:03 by
Modified: 2008-03-13 23:24 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-02-28 17:03:21
# uname -a
Linux trap.skh 2.6.10-vs26-smp-alt2 #1 SMP Sat Jan 8 23:54:01 MSK 2005 \
 i686 unknown unknown GNU/Linux

# service klogd start
Starting kernel logger service:  [ DONE ]

# service klogd status
klogd is dead, but stale PID file exists

# strace -f -s 512  klogd -c 1 -2 -u klogd -j /var/lib/klogd 
....
open("/proc/kmsg", O_RDONLY|O_LARGEFILE) = -1 EPERM (Operation not permitted)
write(2, "klogd: Cannot open proc file system, 1 - Operation not permitted.\n",
66) = 66
syslog(0x7, 0, 0)                       = -1 EPERM (Operation not permitted)

# rpm -qa|grep '^klogd'
klogd-1.4.1-alt20

На 2.6.10-std26-(up|smp)-alt3 klogd нормально работает.
------- Comment #1 From 2005-02-28 17:13:27 -------
Принято, будем смотреть.
------- Comment #2 From 2005-07-13 20:02:26 -------
исправлено в kernel-image-vs26-smp-2.6.12-alt1