Bug#976725: apt-dater: Apt-dater reports fail2ban restart as error

2022-09-23 Thread Michael Prokop
Hi,

* Patrik Schindler [Mon Dec 07, 2020 at 01:48:50PM +0100]:

> when apt-dater is used in conjunction with needrestart, and needrestart 
> restarts
> fail2ban or other programs containing similar catchwords in their name, an 
> error
> will be reported with the usual choice of ignore/less/connect.
> 
> Perhaps it could make sense to make the list of error conditions configurable
> with regular expressions to counterfeit this behavior?

I'd also appreciate, if apt-dater could ignore pending fail2ban
service restarts :)

To clarify, in the needrestart output something like this is
visible:

Services to be restarted:
 systemctl restart fail2ban.service

Would be great, if apt-dater wouldn't consider this as problem :)

regards
-mika-


signature.asc
Description: PGP signature


Bug#976725: apt-dater: Apt-dater reports fail2ban restart as error

2020-12-07 Thread Patrik Schindler
Package: apt-dater
Version: 1.0.4-2
Severity: normal

Hello,

when apt-dater is used in conjunction with needrestart, and needrestart restarts
fail2ban or other programs containing similar catchwords in their name, an error
will be reported with the usual choice of ignore/less/connect.

Perhaps it could make sense to make the list of error conditions configurable
with regular expressions to counterfeit this behavior?

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages apt-dater depends on:
ii  libc6   2.28-10
ii  libglib-perl3:1.329-1
ii  libglib2.0-02.58.3-2+deb10u2
ii  libncursesw66.1+20181013-2+deb10u2
ii  libpopt01.16-12
ii  libtcl8.6   8.6.9+dfsg-2
ii  libtinfo6   6.1+20181013-2+deb10u2
ii  libxml-writer-perl  0.625-1
ii  libxml2 2.9.4+dfsg1-7+deb10u1
ii  lockfile-progs  0.1.18
ii  openssh-client  1:7.9p1-10+deb10u2
ii  perl5.28.1-6+deb10u1
ii  procmail3.22-26
ii  tmux2.8-3

apt-dater recommends no packages.

Versions of packages apt-dater suggests:
ii  apt-dater-host  1.0.1-1
pn  xsltproc

-- Configuration Files:
/etc/apt-dater/hosts.xml changed [not included]

-- no debconf information