[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987315: fwlogwatch: systemd unit with wrong PID file to monitor



Package: fwlogwatch
Version: 1.4-2+b1
Severity: important

Dear Maintainer,

when installed with default choices, service is disabled in
/etc/default/fwlogwatch. Systemd tries to start it but the unit returns
explicitely 1, systemd understands that it had to start it but failed
immediately

when installed with the service enabled, systemd tries to start
fwlogwatch, the process creates the /run/fwlogwatch.pid file (as
explained in the config file), but the systemd unit monitors another
file (bad copy/paste) : htpdate.pid

Changing the unit file to monitor the right PID filename makes
everything fine when the service is enabled. 

I did not find a way to have everything fine (systemd not complaining)
when the service is disabled (in /etc/default/fwlogwatch and/or in
debconf/dpkg-reconfigure).

Thanks a lot for your work.


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

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fwlogwatch depends on:
ii  debconf [debconf-2.0]             1.5.75
ii  init-system-helpers               1.60
ii  libc6                             2.31-11
ii  libcrypt1                         1:4.4.18-2
ii  lsb-base                          11.1.0
ii  msmtp-mta [mail-transport-agent]  1.8.11-2
ii  rsyslog [system-log-daemon]       8.2102.0-2
ii  zlib1g                            1:1.2.11.dfsg-2

fwlogwatch recommends no packages.

fwlogwatch suggests no packages.

-- debconf information:
  fwlogwatch/respond: no
* fwlogwatch/cron_parameters: -N -m 20 -z
  fwlogwatch/notify: no
  fwlogwatch/email: root@localhost
  fwlogwatch/buildconfig: true
* fwlogwatch/realtime: true
* fwlogwatch/cron_email: root

-- 
François - 21 rue d'Eaubonne - 95580 Margency
Free : +33 6 03 01 55 12
http://www.cerbelle.net


Reply to: