Package: monit
Version: 1:5.33.0-2
Severity: normal

After dpkg run, monit complines about a nonexisting /usr/bin/systemctl.

   Starting daemon monitor: monit/etc/monit/conf-enabled/rsyslog:4: Program 
does not exist: '/usr/bin/systemctl'
   /etc/monit/conf-enabled/rsyslog:5: Program does not exist: 
'/usr/bin/systemctl'

Please use the common used and always available command `service`,
/etc/init.d/rsyslog or some other logic but not the systemd specific
systemctl command.

-- 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 4
drwxr-xr-x 1 root root 294 Aug 24 18:32 conf-available
drwxr-xr-x 1 root root 118 Feb 15  2023 conf-enabled
drwxr-xr-x 1 root root   0 Dec 23  2016 conf.d
-rw------- 1 root root 447 Sep  6  2021 monitrc
drwxr-xr-x 1 root root  46 Aug 21 21:32 templates

/etc/monit/conf-available:
total 68
-rw-r--r-- 1 root root  481 Dec  5  2015 acpid
-rw-r--r-- 1 root root  640 Dec  5  2015 apache2
-rw-r--r-- 1 root root  455 Dec  5  2015 at
-rw-r--r-- 1 root root  691 Dec  5  2015 cron
-rw-r--r-- 1 root root  602 Dec  5  2015 mdadm
-rw-r--r-- 1 root root  669 Dec  5  2015 memcached
-rw-r--r-- 1 root root  279 Feb 15  2023 minetestserver
-rw-r--r-- 1 root root  703 Dec  5  2015 mysql
-rw-r--r-- 1 root root  521 Dec  5  2015 nginx
-rw-r--r-- 1 root root  471 Dec  5  2015 openntpd
-rw-r--r-- 1 root root  932 Aug 10  2020 openssh-server
-rw-r--r-- 1 root root 1062 Aug 20 21:26 openssh-server.dpkg-dist
-rw-r--r-- 1 root root  683 Dec  5  2015 pdns-recursor
-rw-r--r-- 1 root root 1426 Dec 21  2018 postfix
-rw-r--r-- 1 root root  736 Aug 20 21:26 rsyslog
-rw-r--r-- 1 root root  501 Dec  5  2015 smartmontools
-rw-r--r-- 1 root root  306 Feb  4  2016 snmpd

/etc/monit/conf-enabled:
total 28
lrwxrwxrwx 1 root root 20 Jun 12  2016 at -> ../conf-available/at
lrwxrwxrwx 1 root root 22 Jun 12  2016 cron -> ../conf-available/cron
lrwxrwxrwx 1 root root 23 Jun 12  2016 mdadm -> ../conf-available/mdadm
lrwxrwxrwx 1 root root 32 Feb 15  2023 minetestserver -> 
../conf-available/minetestserver
lrwxrwxrwx 1 root root 32 Jun 12  2016 openssh-server -> 
../conf-available/openssh-server
lrwxrwxrwx 1 root root 25 Jun 12  2016 rsyslog -> ../conf-available/rsyslog
lrwxrwxrwx 1 root root 31 Jun 12  2016 smartmontools -> 
../conf-available/smartmontools

/etc/monit/conf.d:
total 0

/etc/monit/templates:
total 12
-rw-r--r-- 1 root root 164 May 19  2014 rootbin
-rw-r--r-- 1 root root 160 May 19  2014 rootrc
-rw-r--r-- 1 root root 164 May 19  2014 rootstrict


-- System Information:
Debian Release: trixie/sid
  APT prefers experimental
  APT policy: (1, 'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.38 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, 
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages monit depends on:
ii  init-system-helpers  1.65.2devuan1
ii  libc6                2.37-7
ii  libcrypt1            1:4.4.36-2
ii  libpam0g             1.5.2-7
ii  libssl3              3.0.10-1
ii  zlib1g               1:1.2.13.dfsg-3

monit recommends no packages.

Versions of packages monit suggests:
ii  exim4-daemon-light [mail-transport-agent]  4.96-19
ii  sysvinit-core                              3.07-1devuan1

-- Configuration Files:
/etc/monit/conf-available/openssh-server changed:
 check process sshd with pidfile /var/run/sshd.pid
   group system
   group sshd
   start program = "/etc/init.d/ssh start"
   stop  program = "/etc/init.d/ssh stop"
   if failed host localhost port 22 with proto ssh then restart
   if 5 restarts with 5 cycles then timeout
   depend on sshd_bin
   depend on sftp_bin
   depend on sshd_rc
   depend on sshd_rsa_key
 check file sshd_bin with path /usr/sbin/sshd
   group sshd
   include /etc/monit/templates/rootbin
 check file sftp_bin with path /usr/lib/openssh/sftp-server
   group sshd
   include /etc/monit/templates/rootbin
 check file sshd_rsa_key with path /etc/ssh/ssh_host_rsa_key
   group sshd
   include /etc/monit/templates/rootstrict
 check file sshd_ed25519_key with path /etc/ssh/ssh_host_ed25519_key
   group sshd
   include /etc/monit/templates/rootstrict
 check file sshd_rc with path /etc/ssh/sshd_config
   group sshd
   include /etc/monit/templates/rootrc

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

-- no debconf information

-- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <kl...@ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C

Attachment: signature.asc
Description: PGP signature

Reply via email to