Bug#606465: munin-node: Module sendmail_mailqueue: can't read /var/spoll/mqueue

2012-01-15 Thread Marc Haber
On Thu, Dec 09, 2010 at 03:55:49PM +0100, Julien Palard wrote:
 It work for the mqueue-client directory, but can't for the mqueue
 directory as smmsp don't have execute permission on it :
 drwxr-s---  2 smmta smmsp 112K Dec  9 15:49 mqueue

As far as I can see, short of running as smmta or root, there is
nothing that munin-plugins can do to remedy this.

Is it intended to have that directory not accessible to users running
with smssp as groups? Would it be feasible to dpkg-statoverride that
directory to add a group x bit?

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606465: munin-node: Module sendmail_mailqueue: can't read /var/spoll/mqueue

2010-12-09 Thread Julien Palard
Package: munin-node
Version: 1.4.5-3
Severity: normal

Version of sendmail-bin : 8.14.3-9.4

The plugin dont have rights to read the mqueue directory :
drwxr-s---  smmta smmsp mqueue
as the plugin runs as nobody:nogroup
So it always say that the mqueue is empty


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin-node depends on:
ii  adduser   3.112+nmu2 add and remove users and groups
ii  gawk  1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii  libnet-server-perl0.97-1 An extensible, general perl server
ii  lsb-base  3.2-23.1   Linux Standard Base 3.2 init scrip
ii  munin-common  1.4.5-3network-wide graphing framework (c
ii  perl  5.10.1-16  Larry Wall's Practical Extraction 
ii  procps1:3.2.8-9  /proc file system utilities

Versions of packages munin-node recommends:
ii  libnet-snmp-perl  5.2.0-4Script SNMP connections

Versions of packages munin-node suggests:
pn  acpi | lm-sensors   none   (no description available)
ii  ethtool 1:2.6.34-3   display or change Ethernet device 
pn  hdparm  none   (no description available)
pn  libcache-cache-perl none   (no description available)
pn  libcrypt-ssleay-perlnone   (no description available)
ii  libdbd-mysql-perl   4.016-1  Perl5 database interface to the My
pn  libdbd-pg-perl  none   (no description available)
pn  liblwp-useragent-determ none   (no description available)
pn  libnet-irc-perl none   (no description available)
pn  libnet-ssleay-perl  none   (no description available)
pn  libtext-csv-xs-perl none   (no description available)
pn  libwww-perl none   (no description available)
pn  libxml-simple-perl  none   (no description available)
pn  logtail none   (no description available)
pn  munin   none   (no description available)
pn  munin-java-plugins  none   (no description available)
pn  munin-plugins-extra none   (no description available)
ii  mysql-client5.1.49-3 MySQL database client (metapackage
ii  mysql-client-5.1 [mysql 5.1.49-3 MySQL database client binaries
ii  net-tools   1.60-23  The NET-3 networking toolkit
ii  python  2.6.6-3+squeeze1 interactive high-level object-orie
pn  rubynone   (no description available)
pn  smartmontools   none   (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606465: munin-node: Module sendmail_mailqueue: can't read /var/spoll/mqueue

2010-12-09 Thread Tom Feiner
Hi,

Thanks for the bug report.

I see that on my Squeeze system , /var/spool/mqueue-client  is owned by:
user: smmsp
group: smmsp

Can you try adding the following lines
to /etc/munin/plugin-conf.d/munin-node:
[sendmail_mailqueue]
user smmsp

Restart munin-node (invoke-rc.d munin-node restart) to apply the
configuration.

If this works as expected, I'll add it to the next build.

Regards,
Tom Feiner


Bug#606465: munin-node: Module sendmail_mailqueue: can't read /var/spoll/mqueue

2010-12-09 Thread Julien Palard
It work for the mqueue-client directory, but can't for the mqueue
directory as smmsp don't have execute permission on it :
drwxr-s---  2 smmta smmsp 112K Dec  9 15:49 mqueue

Regards,
Julien Palard



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org