Bug 6180 - klogd can't read /proc/kmsg
Summary: klogd can't read /proc/kmsg
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: kernel-image-vs26-smp (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 17:03 MSK by Dmitry Lebkov
Modified: 2008-03-13 23:24 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Lebkov 2005-02-28 17:03:21 MSK
# 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 Anton Farygin 2005-02-28 17:13:27 MSK
Принято, будем смотреть.
Comment 2 Anton Farygin 2005-07-13 20:02:26 MSD
исправлено в kernel-image-vs26-smp-2.6.12-alt1