Package: monit
Version: 1:5.20.0-6
Severity: minor

/etc/init.d/monit has:

# Should-Start:      $all
# Should-Stop:       $all

but systemd does not support $all in its LSB compatibility support,
and there's no easy way to fix cleanly (see bug 850703).

BTW, according to <https://wiki.debian.org/LSBInitScripts>:
"This only work for start ordering, not stop ordering."

Since systemd has its own monitoring system of daemons, I don't think
that the equivalent of $all would really be needed. The only problem
I can notice is that monit starts before the MTA, so that it can't
immediately send mail. Perhaps

# Should-Start:      $all mail-transport-agent

would be better.

-- 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 36
drwxr-xr-x 2 root root  4096 2017-01-12 01:42:24 conf-available
drwxr-xr-x 2 root root  4096 2015-12-05 21:19:30 conf-enabled
drwxr-xr-x 2 root root  4096 2015-07-07 14:43:58 conf.d
-rw------- 1 root root 12449 2016-10-23 02:13:50 monitrc
drwxr-xr-x 2 root root  4096 2016-12-11 18:22:40 monitrc.d
drwxr-xr-x 2 root root  4096 2017-01-12 01:42:24 templates

/etc/monit/conf-available:
total 60
-rw-r--r-- 1 root root  481 2015-12-05 21:13:49 acpid
-rw-r--r-- 1 root root  640 2015-12-05 21:13:49 apache2
-rw-r--r-- 1 root root  455 2015-12-05 21:13:49 at
-rw-r--r-- 1 root root  691 2015-12-05 21:13:49 cron
-rw-r--r-- 1 root root  602 2015-12-05 21:13:49 mdadm
-rw-r--r-- 1 root root  669 2015-12-05 21:13:49 memcached
-rw-r--r-- 1 root root  703 2015-12-05 21:13:49 mysql
-rw-r--r-- 1 root root  521 2015-12-05 21:13:49 nginx
-rw-r--r-- 1 root root  471 2015-12-05 21:13:49 openntpd
-rw-r--r-- 1 root root  950 2015-12-05 21:13:49 openssh-server
-rw-r--r-- 1 root root  683 2015-12-05 21:13:49 pdns-recursor
-rw-r--r-- 1 root root 1421 2015-12-05 21:13:49 postfix
-rw-r--r-- 1 root root  869 2016-03-22 16:43:44 rsyslog
-rw-r--r-- 1 root root  501 2015-12-05 21:13:49 smartmontools
-rw-r--r-- 1 root root  306 2016-02-04 15:03:50 snmpd

/etc/monit/conf-enabled:
total 0

/etc/monit/conf.d:
total 4
-rw-r--r-- 1 root root 357 2015-07-07 14:43:58 eth0

/etc/monit/monitrc.d:
total 64
-rw-r--r-- 1 root root  481 2015-06-09 15:52:48 acpid
-rw-r--r-- 1 root root  640 2015-06-09 15:52:48 apache2
-rw-r--r-- 1 root root  455 2015-06-09 15:52:48 at
-rw-r--r-- 1 root root  691 2015-06-09 15:52:48 cron
-rw-r--r-- 1 root root  403 2016-12-09 15:37:54 fail2ban
-rw-r--r-- 1 root root  602 2015-06-09 15:52:48 mdadm
-rw-r--r-- 1 root root  669 2015-06-09 15:52:48 memcached
-rw-r--r-- 1 root root  703 2015-06-09 15:52:48 mysql
-rw-r--r-- 1 root root  521 2015-06-09 15:52:48 nginx
-rw-r--r-- 1 root root  471 2015-06-09 15:52:48 openntpd
-rw-r--r-- 1 root root  950 2015-06-09 15:52:48 openssh-server
-rw-r--r-- 1 root root  683 2015-06-09 15:52:48 pdns-recursor
-rw-r--r-- 1 root root 1421 2015-06-09 15:52:48 postfix
-rw-r--r-- 1 root root  867 2015-06-09 15:52:48 rsyslog
-rw-r--r-- 1 root root  501 2015-06-09 15:52:48 smartmontools
-rw-r--r-- 1 root root  310 2015-06-09 15:52:48 snmpd

/etc/monit/templates:
total 12
-rw-r--r-- 1 root root 164 2015-06-09 15:52:48 rootbin
-rw-r--r-- 1 root root 160 2015-06-09 15:52:48 rootrc
-rw-r--r-- 1 root root 164 2015-06-09 15:52:48 rootstrict


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monit depends on:
ii  libc6      2.24-8
ii  libpam0g   1.1.8-3.5
ii  libssl1.1  1.1.0c-2
ii  lsb-base   9.20161125
ii  zlib1g     1:1.2.8.dfsg-4

monit recommends no packages.

Versions of packages monit suggests:
ii  postfix [mail-transport-agent]  3.1.4-3
pn  sysvinit-core                   <none>

-- Configuration Files:
/etc/monit/monitrc [Errno 13] Permission denied: '/etc/monit/monitrc'

-- no debconf information

Reply via email to