Package: monit
Version: 1:5.34.3-1
Severity: important
Dear Maintainer,
* What led up to the situation? Updating from bookworm to trixie
* What exactly did you do (or not do) that was effective (or
ineffective)? manually launching works, but systemctl does not
* What was the outcome of this action? monit runs.
* What outcome did you expect instead? monit should run when launched via
systemctl.
-- 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 1 root root 398 Aug 10 01:18 conf-available
drwxr-xr-x 1 root root 82 Aug 10 01:18 conf-enabled
drwxr-xr-x 1 root root 0 Feb 13 2023 conf.d
-rw------- 1 root root 700 Aug 10 01:29 monitrc
-rw------- 1 root root 13503 Feb 13 2023 monitrc.2951.2024-04-06@16:18:54~
-rw------- 1 root root 13708 Dec 24 2024 monitrc.dpkg-dist
drwxr-xr-x 1 root root 46 Aug 9 23:59 templates
/etc/monit/conf-available:
total 92
-rw-r--r-- 1 root root 473 Dec 24 2024 acpid
-rw-r--r-- 1 root root 632 Dec 24 2024 apache2
-rw-r--r-- 1 root root 445 Dec 24 2024 at
-rw-r--r-- 1 root root 683 Dec 24 2024 cron
-rw-r--r-- 1 root root 398 Jun 2 23:56 dnsmasq
-rw-r--r-- 1 root root 129 Apr 6 2024 internet
-rw-r--r-- 1 root root 594 Dec 24 2024 mdadm
-rw-r--r-- 1 root root 661 Dec 24 2024 memcached
-rw-r--r-- 1 root root 695 Dec 24 2024 mysql
-rw-r--r-- 1 root root 536 Aug 10 01:18 nginx
-rw-r--r-- 1 root root 521 Feb 13 2023 nginx.5092.2024-04-06@16:20:01~
-rw-r--r-- 1 root root 227 Apr 6 2024 nginx.dpkg-old
-rw-r--r-- 1 root root 463 Dec 24 2024 openntpd
-rw-r--r-- 1 root root 1040 Dec 24 2024 openssh-server
-rw-r--r-- 1 root root 981 Jun 3 19:12 openvpn
-rw-r--r-- 1 root root 676 Dec 24 2024 pdns-recursor
-rw-r--r-- 1 root root 1418 Dec 24 2024 postfix
-rw-r--r-- 1 root root 714 Dec 24 2024 rsyslog
-rw-r--r-- 1 root root 493 Dec 24 2024 smartmontools
-rw-r--r-- 1 root root 298 Dec 24 2024 snmpd
-rw-rw-r-- 1 root root 576 Aug 10 01:05 speedtest
-rw-r--r-- 1 root root 299 Apr 6 2024 squid
-rw-r--r-- 1 root root 201 Apr 6 2024 wireguard
/etc/monit/conf-enabled:
total 24
lrwxrwxrwx 1 root root 25 Apr 6 2024 dnsmasq -> ../conf-available/dnsmasq
lrwxrwxrwx 1 root root 26 Apr 6 2024 internet ->
../conf-available/internet
lrwxrwxrwx 1 root root 23 Apr 6 2024 nginx -> ../conf-available/nginx
lrwxrwxrwx 1 root root 25 Apr 20 2024 openvpn -> ../conf-available/openvpn
lrwxrwxrwx 1 root root 27 Apr 6 2024 speedtest ->
../conf-available/speedtest
lrwxrwxrwx 1 root root 23 Apr 6 2024 squid -> ../conf-available/squid
/etc/monit/conf.d:
total 0
/etc/monit/templates:
total 12
-rw-r--r-- 1 root root 164 Feb 13 2023 rootbin
-rw-r--r-- 1 root root 160 Feb 13 2023 rootrc
-rw-r--r-- 1 root root 164 Feb 13 2023 rootstrict
-- System Information:
Debian Release: 13.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages monit depends on:
ii init-system-helpers 1.68
ii libc6 2.41-12
ii libcrypt1 1:4.4.38-1
ii libpam0g 1.7.0-5
ii libssl3t64 3.5.1-1
ii zlib1g 1:1.3.dfsg+really1.3.1-1+b1
monit recommends no packages.
Versions of packages monit suggests:
pn default-mta | postfix | mail-transport-agent <none>
pn sysvinit-core <none>
-- Configuration Files:
/etc/monit/conf-available/nginx changed:
check process nginx with pidfile /var/run/nginx.pid
group www
group nginx
start program = "/usr/bin/systemctl start nginx"
stop program = "/usr/bin/systemctl stop nginx"
if 5 restarts with 5 cycles then timeout
depend nginx_bin
depend nginx_rc
check file nginx_bin with path /usr/sbin/nginx
group nginx
include /etc/monit/templates/rootbin
check file nginx_rc with path /etc/init.d/nginx
group nginx
include /etc/monit/templates/rootbin
/etc/monit/monitrc [Errno 13] Permission denied: '/etc/monit/monitrc'
-- no debconf information
--
Jiann-Ming Su