Your message dated Mon, 19 May 2014 12:51:50 +0400
with message-id <[email protected]>
and subject line Re: Bug#747752: monit: inadequately honours .dpkg-dist files
in monitrc.d
has caused the Debian Bug report #747752,
regarding monit: inadequately honours .dpkg-dist files in monitrc.d
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
747752: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747752
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: monit
Version: 1:5.8-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
monit honours all files in /etc/monit/monitrc.d, including .dpkg-dist
left over by pressing N when asked if a config file should be
overwritten by an update, as happened with apache2 recently.
This makes the postinst script fail to restart monit and breaks monit
because it leaves monit with duplicate service definitions.
- -- Package-specific info:
Monit config file /etc/monit/monitrc is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.
Contents of /etc/monit/ directory:
/etc/monit:
total 32
lrwxrwxrwx 1 root root 9 Nov 12 01:35 conf.d -> monitrc.d
- -rw------- 1 root root 10745 Nov 12 01:38 monitrc
drwxr-xr-x 2 root root 4096 May 11 17:53 monitrc.d
- -rw------- 1 root root 10994 Apr 14 23:01 monitrc.dpkg-dist
drwxr-xr-x 2 root root 4096 May 11 17:34 templates
/etc/monit/monitrc.d:
total 40
- -rw-r--r-- 1 root root 353 Nov 12 01:41 apache2
- -rw-r--r-- 1 root root 304 Dec 19 21:24 asterisk
- -rw-r--r-- 1 root root 182 Nov 12 01:37 at
- -rw-r--r-- 1 root root 184 Nov 12 01:37 cron
- -rw-r--r-- 1 root root 194 Nov 12 01:37 mdadm
- -rw-r--r-- 1 root root 422 Nov 12 01:37 mysql
- -rw-r--r-- 1 root root 245 Nov 12 01:38 openssh-server
- -rw-r--r-- 1 root root 303 Nov 12 01:38 postfix
- -rw-r--r-- 1 root root 205 Nov 12 01:38 smartmontools
- -rw-r--r-- 1 root root 309 Dec 19 21:29 tinc
/etc/monit/templates:
total 12
- -rw-r--r-- 1 root root 164 Sep 5 2013 rootbin
- -rw-r--r-- 1 root root 160 Sep 5 2013 rootrc
- -rw-r--r-- 1 root root 164 Sep 5 2013 rootstrict
- -- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages monit depends on:
ii libc6 2.18-5
ii libpam0g 1.1.8-3
ii libssl1.0.0 1.0.1g-3
ii lsb-base 4.1+Debian12
monit recommends no packages.
Versions of packages monit suggests:
ii postfix [mail-transport-agent] 2.11.0-1
ii sysvinit-core 2.88dsf-53
- -- Configuration Files:
/etc/monit/monitrc [Errno 13] Keine Berechtigung: u'/etc/monit/monitrc'
/etc/monit/monitrc.d/acpid [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/acpid'
/etc/monit/monitrc.d/apache2 changed [not included]
/etc/monit/monitrc.d/at changed [not included]
/etc/monit/monitrc.d/cron changed [not included]
/etc/monit/monitrc.d/mdadm changed [not included]
/etc/monit/monitrc.d/memcached [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/memcached'
/etc/monit/monitrc.d/mysql changed [not included]
/etc/monit/monitrc.d/nginx [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/nginx'
/etc/monit/monitrc.d/openntpd [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/openntpd'
/etc/monit/monitrc.d/openssh-server changed [not included]
/etc/monit/monitrc.d/pdns-recursor [Errno 2] Datei oder Verzeichnis nicht
gefunden: u'/etc/monit/monitrc.d/pdns-recursor'
/etc/monit/monitrc.d/postfix changed [not included]
/etc/monit/monitrc.d/rsyslog [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/rsyslog'
/etc/monit/monitrc.d/smartmontools changed [not included]
/etc/monit/monitrc.d/snmpd [Errno 2] Datei oder Verzeichnis nicht gefunden:
u'/etc/monit/monitrc.d/snmpd'
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJOBAEBCAA4BQJTb56mMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQt5o8FqDE8pa+1xAAzy3eT6RfVpfo2pN3LbKT
qmUVLARW0vISslzfD9opFts5xMi9rjcBn5WwEConO7zUWT+pjlc92sBWLOiudaEW
sHD4olFC73Cz2yay7kEbZMAhJfYGaLNanARrt6Eq36FvD6cs4h756jErVdSkH6p4
rN2/ZTn7Ekg03IclceJt+gLjfmTUjsIJgDuAnRI7ZbNK3KjnhWhsJyb6cmVzfhjK
zTDYs0v5oEXzPRnc4L9o/5d9unMWNSEcdqwZev5Rzp0q7RcOdCOfD2ffuuiZOygj
5B03+9CWbyHCjOGAd2RTW9HDk5zNsDcZtxTHUYjs+SrSYNoKE1DBQTUGJhZ755yI
0WMhiH7CivlOGTEmdwgrD/oHaQ6ioNT+iSs2YOYYTpNFK1fmW0ABRz3y+TAnmNqt
EGiNPCggNHwXsQsPb03Z3uzqaDM9iI322YgkAV1GT3WdMW8dn34Prhf/tqfQ0YbX
ygiZLGP1hpxW3EIj2WFGtOfrxR9tEb7nfWgI5grQGK/20ELuIUtDKgkxEE7Pai/W
cR26JM9S6Vuomru+18df0s7T/YclmM7OQTxMHXfhmRvYbNUiYDBQWZz2XvYxHpH3
UCj78ovF7PrdudG8xD5Ausp/blRHe0ZKOqfp/acXEg29R9CDLK+IJ40U+ZQL1qnt
94y+3P62h4SMDT1vZjAxhp8=
=f7FU
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
tag 747752 +wontfix
thanks
> monit honours all files in /etc/monit/monitrc.d, including .dpkg-dist
> left over by pressing N when asked if a config file should be
> overwritten by an update, as happened with apache2 recently.
>
> This makes the postinst script fail to restart monit and breaks monit
> because it leaves monit with duplicate service definitions.
Thank you for reporting this, but I don't think it's a bug.
There is no line like: Include /etc/monit/monitrc.d/*
in the default monitrc. And it's a bad idea to add such one,
as clearly stated in README.Debian.
--- End Message ---