[syslog-ng] [Bug 108] 2.6.38+ will require CAP_SYSLOG (CAP_SYS_ADMIN not enough)

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Sun Jun 12 05:07:55 CEST 2011


https://bugzilla.balabit.com/show_bug.cgi?id=108


Christian Kujau <lists at nerdbynature.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lists at nerdbynature.de




--- Comment #19 from Christian Kujau <lists at nerdbynature.de>  2011-06-12 05:07:55 ---
Still there with syslog-ng v3.1.3 (compiled against libcap-2.19-3) and Linux 3.0-rc2, with the following, rather scary warning:

Attempt to access syslog with CAP_SYS_ADMIN but no CAP_SYSLOG (deprecated).
------------[ cut here ]------------
WARNING: at /usr/local/src/linux-2.6-git/kernel/printk.c:322
Modules linked in: therm_adt746x aes_generic sd_mod firewire_sbp2 scsi_mod arc4 b43 mac80211 i2c_powermac cfg80211
NIP: c0034190 LR: c0034190 CTR: 00000000
REGS: eea07c80 TRAP: 0700   Not tainted  (3.0.0-rc2-00251-g7f45e5c-dirty)
MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 22082442  XER: 20000000
TASK = ef2fd1d0[1444] 'syslog-ng' THREAD: eea06000
GPR00: c0034190 eea07d30 ef2fd1d0 0000005e 00000001 c00331d4 00000000 00000002 
GPR08: 00000000 ef2fd1d0 c005b278 00000001 48082428 100653a0 00000000 10016228 
GPR16: ffffffff 10004e68 00000000 00000000 00000000 ffffffe9 00000000 00000000 
GPR24: 107f2144 c0126524 eef543c0 c0126558 00000000 00000000 c057bd78 00000001 
NIP [c0034190] do_syslog+0x11c/0x638
LR [c0034190] do_syslog+0x11c/0x638
Call Trace:
[eea07d30] [c0034190] do_syslog+0x11c/0x638 (unreliable)
[eea07d90] [c0126578] kmsg_open+0x20/0x30
[eea07da0] [c01198c8] proc_reg_open+0xac/0x190
[eea07dd0] [c00c310c] __dentry_open+0x158/0x2bc
[eea07df0] [c00d4520] do_last+0x1d8/0x724
[eea07e30] [c00d5b90] path_openat+0xe4/0x410
[eea07e90] [c00d5fdc] do_filp_open+0x44/0xb0
[eea07f10] [c00c2ea8] do_sys_open+0x104/0x1e8
[eea07f40] [c0012214] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xfacd008
    LR = 0xfaccfb8
Instruction dump:
3bc0ffff 4800af39 2f830000 41beff74 3fc0c058 3bdebd78 881e04b8 2f800001 
419eff54 3c60c04b 38638a24 483cccd9 <0fe00000> 38000001 981e04b8 4bffff38 
---[ end trace 5166675c35e74c71 ]---


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list