Package: munin-node
Version: 1.2.2-2
Severity: normal

Hi,

I have a /etc/munin/plugin-conf.d/entropy file which reads:

[entropy]
user root
group proc

Originally it just had "group proc", because:

dr-xr-x---  11 root proc 0 Mar 15 09:10 /proc/sys

(/proc/sys is only accessible to root and to group proc on my ststem).

I recently noticed that this no longer worked; the entropy plugin couldn't
read the entropy_avail file. I added an 'id' command to the plugin, and
noticed the following:

# telnet localhost 4949
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
# munin node at name-of-box
fetch entropy
#uid=0(root) gid=183(munin) groups=183(munin)
entropy.value 16814
.

Note how it is not a member of the "proc" group. The situation is the same
if I remove "user root" (obviously it runs as a different uid then, but
still no group proc). Naturally, a large number of other plugins are
affected as well.

This used to work before and got broken recently. Alas, I can't say exactly
when.

Andras

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages munin-node depends on:
ii  libnet-server-perl            0.87-2     An extensible, general perl server
ii  perl                          5.8.4-5    Larry Wall's Practical Extraction 
ii  procps                        1:3.2.5-1  /proc file system utilities

-- no debconf information

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
            Computer Lie #1: You'll never use all that disk space.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to