Bug#1064349: amavisd-new: fails to install with sysvinit-core

2024-02-29 Thread Brian May
Michal Mauser  writes:

> we are trying to install new KVM virtual machines with Debian 12 and 
> here is what happens after reboot with sysvinit and apt install:
>
> Creating group 'amavis' with GID 996.
> Creating user 'amavis' (AMaViS system user) with UID 996 and GID 996.
> Starting amavisd: You are missing a dpkg-statoverride on 
> /var/run/amavis.  Fix it, otherwise you risk silent breakage on
>   upgrades.
> invoke-rc.d: initscript amavis, action "start" failed.
>
> The installation works on systemd. /var/run/amavis doesn't exist. I 
> haven't checked it on Debian 11 but we use amavis on Debian 10
> sysvinit.

If all goes to plan, I am about to upload version 1:2.13.0-4 which I
think should fix this problem.

It seems to work OK for me, but would appreciate it if you can test it
and confirm it works for you.

If it fails, please reopen the bug report.
-- 
Brian May @ Debian



Bug#1064349: amavisd-new: fails to install with sysvinit-core

2024-02-22 Thread Brian May
Michal Mauser  writes:

> we are trying to install new KVM virtual machines with Debian 12 and 
> here is what happens after reboot with sysvinit and apt install:
>
> Creating group 'amavis' with GID 996.
> Creating user 'amavis' (AMaViS system user) with UID 996 and GID 996.
> Starting amavisd: You are missing a dpkg-statoverride on 
> /var/run/amavis.  Fix it, otherwise you risk silent breakage on
>   upgrades.
> invoke-rc.d: initscript amavis, action "start" failed.
>
> The installation works on systemd. /var/run/amavis doesn't exist. I 
> haven't checked it on Debian 11 but we use amavis on Debian 10
> sysvinit.

The postinst script should be installing the dpkg-statoverride, but no
idea why this isn't working

Hmmm. Wonder if the problem is that the postinst script is trying to
start the daemon first before it sets the dpkg-statoverride stuff.

But if that is the case, I would have thought it would fail with systemd
also.

Just my random thoughts, I don't have time to look at this right now.
-- 
Brian May @ Debian



Bug#1064349: amavisd-new: fails to install with sysvinit-core

2024-02-20 Thread Michal Mauser

Package: amavisd-new
Version: 1:2.13.0-3
Severity: important

Dear Maintainer,

we are trying to install new KVM virtual machines with Debian 12 and 
here is what happens after reboot with sysvinit and apt install:


Creating group 'amavis' with GID 996.
Creating user 'amavis' (AMaViS system user) with UID 996 and GID 996.
Starting amavisd: You are missing a dpkg-statoverride on 
/var/run/amavis.  Fix it, otherwise you risk silent breakage on

 upgrades.
invoke-rc.d: initscript amavis, action "start" failed.

The installation works on systemd. /var/run/amavis doesn't exist. I 
haven't checked it on Debian 11 but we use amavis on Debian 10 sysvinit.


-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable')

Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE 
not set

Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages amavisd-new depends on:
ii  debconf [debconf-2.0]   1.5.82
ii  file1:5.44-3
ii  init-system-helpers 1.65.2
pn  libarchive-tar-perl 
ii  libarchive-zip-perl 1.68-1
ii  libberkeleydb-perl  0.64-2+b1
ii  libconvert-tnef-perl0.18-1.1
ii  libconvert-uulib-perl   1:1.8+dfsg-1
pn  libdigest-md5-perl  
ii  libio-stringy-perl  2.111-3
ii  libmail-dkim-perl   1.20230212-1
ii  libmailtools-perl   2.21-2
pn  libmime-base64-perl 
ii  libmime-tools-perl  5.510-1
ii  libnet-libidn-perl  0.12.ds-4+b1
ii  libnet-server-perl  2.013-2
ii  libnet-snmp-perl6.0.1-7
ii  libunix-syslog-perl 1.1-4+b1
ii  pax 1:20201030-1
ii  perl [libtime-hires-perl]   5.36.0-7+deb12u1
ii  systemd-standalone-sysusers [systemd-sysusers]  252.22-1~deb12u1

Versions of packages amavisd-new recommends:
ii  altermime 0.3.10-12
ii  libnet-patricia-perl  1.22-2+b1
pn  ripole

Versions of packages amavisd-new suggests:
ii  apt-listchanges 3.24
pn  arj 
pn  cabextract  
pn  clamav  
pn  clamav-daemon   
ii  cpio2.13+dfsg-7.1
pn  dspam   
pn  lhasa   
ii  libauthen-sasl-perl 2.1600-3
pn  libdbi-perl 
ii  libjson-perl4.1-1
pn  liblwp-protocol-https-perl  
pn  libnet-ldap-perl
ii  libnet-ssleay-perl  1.92-2+b1
pn  libsnmp-perl
pn  libwww-perl 
pn  lzop
pn  nomarch 
pn  p7zip   
pn  rpm 
pn  spamassassin
pn  unrar   

-- no debconf information