Your message dated Mon, 13 Jun 2022 11:34:11 +0000
with message-id <e1o0ikh-0000xt...@fasolo.debian.org>
and subject line Bug#1012693: fixed in net-snmp 5.9.1+dfsg-4
has caused the Debian Bug report #1012693,
regarding snmpd fails to install due to trying to chown an inexistent file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1012693: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012693
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: net-snmp
Version: 5.9.1+dfsg-3
Severity: critical

Hi there,

snmpd is currently failing to install due to a problem with its postint
file:

--8<---------------cut here---------------start------------->8---
Setting up snmpd (5.9.1+dfsg-3) ...
adduser: Warning: The home directory `/var/lib/snmp' does not belong to the 
user you are currently creating.
chown: cannot access '/var/lib/snmp/snmpd.conf': No such file or directory
dpkg: error processing package snmpd (--configure):
 installed snmpd package post-installation script subprocess returned error 
exit status 1
Setting up libsnmp-perl (5.9.1+dfsg-3) ...
dpkg: dependency problems prevent configuration of autopkgtest-satdep:
 autopkgtest-satdep depends on snmpd; however:
  Package snmpd is not configured yet.
--8<---------------cut here---------------end--------------->8---

This has been introduced by the following commit:

  
https://salsa.debian.org/debian/net-snmp/-/commit/7f3bc627f40f99b232193efa0fb600c4be734c2b

As can be seen, the postinst script is trying to perform a chown on
"$SNMP_DIR/snmpd.conf", which doesn't exist when the package has just
been installed.

The fix is simple and I will file a Merge Request on salsa soon.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: net-snmp
Source-Version: 5.9.1+dfsg-4
Done: Sergio Durigan Junior <sergi...@debian.org>

We believe that the bug you reported is fixed in the latest version of
net-snmp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergio Durigan Junior <sergi...@debian.org> (supplier of updated net-snmp 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 11 Jun 2022 17:35:00 -0400
Source: net-snmp
Architecture: source
Version: 5.9.1+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian SNMP Team <team+s...@tracker.debian.org>
Changed-By: Sergio Durigan Junior <sergi...@debian.org>
Closes: 1012693
Changes:
 net-snmp (5.9.1+dfsg-4) unstable; urgency=medium
 .
   * d/snmpd.postinst: Just chown $SNMP_DIR/snmpd.conf if the file exists.
     (Closes: #1012693)
Checksums-Sha1:
 7bdcb313d9b92d41d4ddfb99058254b14a663f15 2769 net-snmp_5.9.1+dfsg-4.dsc
 e6b74ad8609e573cfb4bde729b25cb58fb4ef1cf 69704 
net-snmp_5.9.1+dfsg-4.debian.tar.xz
 278d48a5be1de045ab6ab41977090685ce22b807 10425 
net-snmp_5.9.1+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 5335ea1cb01864c08c0870dc21c1e073fe8ea5994665b79d1173401591baff0c 2769 
net-snmp_5.9.1+dfsg-4.dsc
 5f4a4b43f76c8aaef7f66f05206491544ab9d0ffab84c49d37972b2f4de0e731 69704 
net-snmp_5.9.1+dfsg-4.debian.tar.xz
 db360173adc649bd24e2134304cfeb79f29f019abd19edd4646c6794dc02e1b5 10425 
net-snmp_5.9.1+dfsg-4_amd64.buildinfo
Files:
 b3da64d216e3c4ed96e5d3f1327af934 2769 net optional net-snmp_5.9.1+dfsg-4.dsc
 a807493a3d105a0ab3daa60b58309f9b 69704 net optional 
net-snmp_5.9.1+dfsg-4.debian.tar.xz
 5943b82e39cc30c60b8ac53a2a7d2bd7 10425 net optional 
net-snmp_5.9.1+dfsg-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmKnHFIACgkQAiFmwP88
hOP6SQ//VbHsXKN7Zy555KwTFaebG8TfiZG+TGWTpf1JPqBTy6Y7Lv040c1HHXQL
4MnFZq52D/muIYjqa++eP2oRGoPjdKgNdvptLn+8aPRrnwT1K7Rg1Iup+CjrJaEJ
E04eFBAL3mdDX+DoPi3R/6RH8idrkyfvFWwSUkw8FBwwboyWRhGfHWR/s5rpx7eL
4vmLZHMUjcYe5gVUxZTTY0Ix82MVqGeW8v9JsWNukyc7EAGBTbVPQg48hiq6Mipp
nSEBmj0984igRC3JvHMkLpro8OzIwSAZbAbqiDaCLORZRdOta+V1uDV+rVEOIyfj
0GcbQxS7u4t8PiTDh5mDLRjSut/3WeBjsN2SymV4cdLL4Ik959eVXNFt9yGlQSmK
Ru+PUUEJxtt96DwzlYI/hYoarcMid9DyLYI4HDKaSxn0EWziqexHmVSySGWzYcAp
D5zGOVkzZJoo61aBQatNycWjYDk/PM1Kez3HE9ILJs3Lu8X8lZmpqzSVgKz43xvA
at3xKUsWDC9qaAZKDbE+DA8LQ99xU7vers5Xipt3JjIWvd3pq2Bjzyv4mi9TL8cd
LDKbjBff60Z0Vq5y3X3DiNwI61O42S2Mp6Kunzzeo2c5ZoRgjN0u8q3iELs4S4D/
bMYznjHYiVqziFa1FaLotXv+NqBdpTmBmfHoEEX1nPHJOSFj/f0=
=1Ncn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to