Your message dated Mon, 22 May 2017 22:36:18 +0000
with message-id <[email protected]>
and subject line Bug#863173: fixed in opendmarc 1.3.2-2
has caused the Debian Bug report #863173,
regarding opendkim: forcefully removes conffile on upgrade
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 [email protected]
immediately.)


-- 
863173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863173
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opendkim
Version: 2.11.0~alpha-9
Severity: serious
Justification: Policy 10.7.3

Hi,

opendkim.postinst contains this:
>         # Upgrade /etc/default to systemd override files
>         if [ -d /run/systemd/system ] && [ -f /etc/default/opendkim ]; then
>                 if /lib/opendkim/opendkim.service.generate; then
>                         rm -f /etc/default/opendkim
>                 fi

This will forcefully remove /etc/default/opendkim on upgrade and erase
any changes the user made without saving them anywhere, therefore
violating policy 10.7.3. Instead of removing the file, it should be
moved and then cleaned up on purge.

------

On a related note: I suspect the above code will break if the user ever
decides to switch to a different init system while opendkim is installed.

>                 if [ -f /etc/tmpfiles.d/opendkim.conf ]; then
>                         systemd-tmpfiles --create 
> /etc/tmpfiles.d/opendkim.conf
>                 fi

I haven't tested anything, but I am wondering if this is subtly broken
in the case where the generated $RUNDIR == /var/run/opendkim but $USER
is different. dh_installinit inserts a call to systemd-tmpfiles for the
file in /usr/lib/... which will override whatever is done here in that case.

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: opendmarc
Source-Version: 1.3.2-2

We believe that the bug you reported is fixed in the latest version of
opendmarc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <[email protected]> (supplier of updated opendmarc 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 22 May 2017 18:11:58 -0400
Source: opendmarc
Binary: opendmarc libopendmarc2 libopendmarc-dev rddmarc
Architecture: source amd64 all
Version: 1.3.2-2
Distribution: unstable
Urgency: medium
Maintainer: Scott Kitterman <[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Description:
 libopendmarc-dev - Headers and development libraries for the OpenDMARC library
 libopendmarc2 - Library for DMARC validation and reporting
 opendmarc  - Milter implementation of DMARC
 rddmarc    - Sample DMARC report processing scripts collection
Closes: 863173
Changes:
 opendmarc (1.3.2-2) unstable; urgency=medium
 .
   * Do not remove /etc/default/opendkim on upgrade since it is a conffile
     because policy 10.7.3 (Closes: #863173)
Checksums-Sha1:
 a221be7a3f69294124e1be765d9860f83a337dc8 1962 opendmarc_1.3.2-2.dsc
 ac0c21a50fcfdef0768696b83cde2c4edc35e9a0 21142 opendmarc_1.3.2-2.diff.gz
 2fedd1a2956af7b9fbb614e698798da0f8fe8412 60142 
libopendmarc-dev_1.3.2-2_amd64.deb
 f9eda35ad9286513c955ca4ad5b4705ebbd0b94a 47188 
libopendmarc2-dbgsym_1.3.2-2_amd64.deb
 48280d6dfcc9b8b1ba98a964399b0ea385d0068b 34148 libopendmarc2_1.3.2-2_amd64.deb
 74b61730f434925c0dcace074fa6add8136dfb17 80598 
opendmarc-dbgsym_1.3.2-2_amd64.deb
 e12366cd7f5372f192664469b84b99dc992ec5db 6904 opendmarc_1.3.2-2_amd64.buildinfo
 4396b46ee848c35b5ac08fe343c66795201c2608 86176 opendmarc_1.3.2-2_amd64.deb
 58c680aa4dee84d9f9a4cba43e97ad03ae0d15ea 21956 rddmarc_1.3.2-2_all.deb
Checksums-Sha256:
 e980672ffe355231d5619c74873023fec616689bffb68c5850909e0049b4090e 1962 
opendmarc_1.3.2-2.dsc
 47783e397f27389a367b22ae15f70f342ccad21fd92278e30b3549ef988fcab3 21142 
opendmarc_1.3.2-2.diff.gz
 2e079e06c4a8ae6720c7d1e95a7c69ebbd3b20158d89872cc892af81b8b019be 60142 
libopendmarc-dev_1.3.2-2_amd64.deb
 d4b5eb955a76a57d44b5a45ea04db4c073cff7b01e7eb4a65fa1d75a1ee259cc 47188 
libopendmarc2-dbgsym_1.3.2-2_amd64.deb
 659717a2262be66db041180ac2a2c67e726967d191a144991d574e10f9f6ec94 34148 
libopendmarc2_1.3.2-2_amd64.deb
 7969761be47a6edd80807a717b0a5cf47328c6e9288d9fc618a69a2c96d2a219 80598 
opendmarc-dbgsym_1.3.2-2_amd64.deb
 a87621f629960a6694bb8473e9694a9a42ae929dc8128f22bea4da90355e8523 6904 
opendmarc_1.3.2-2_amd64.buildinfo
 23eb1e1bf3a971ba6d15c5df4d01045c05ce8adb138042072a3c521f2ceead7d 86176 
opendmarc_1.3.2-2_amd64.deb
 940c26b5b886442a35fdd6fc8b35a225143b5492b12c66aa9a0743835d41a46b 21956 
rddmarc_1.3.2-2_all.deb
Files:
 e56f198b6ea1936c82743d10add38176 1962 mail extra opendmarc_1.3.2-2.dsc
 962ec709275371c543a9c98fff0cd765 21142 mail extra opendmarc_1.3.2-2.diff.gz
 61687982d7c84c8f0c1312354c1081f5 60142 libdevel extra 
libopendmarc-dev_1.3.2-2_amd64.deb
 1477f9c819c41e4030dcffebf37fbcc3 47188 debug extra 
libopendmarc2-dbgsym_1.3.2-2_amd64.deb
 cbe333e56a06e26ae0f50b3624975bb4 34148 libs extra 
libopendmarc2_1.3.2-2_amd64.deb
 6933db3c54ff950338fca48b026c6f69 80598 debug extra 
opendmarc-dbgsym_1.3.2-2_amd64.deb
 6e32ef35206506e917d8ca6a1aa64c7d 6904 mail extra 
opendmarc_1.3.2-2_amd64.buildinfo
 e2431cbbc089771a936334e21403f00a 86176 mail extra opendmarc_1.3.2-2_amd64.deb
 575b47c67fe605cacdb991b476bc5ef0 21956 mail extra rddmarc_1.3.2-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJZI2S6AAoJEHjX3vua1ZrxT+0QAMkZHazLyXva5SMm7fup2PMW
PrvWkiOhKYIThQVmQkOQ1Cjz6W2A+1IGL0K42VsB2fxZ9phs/l7235bwteS7TY43
oLy3Xj0oePmnfOUPlwGI+gSxOZU6j2c1XdfgVLIwmRPtD9GSiewgC5njcHcAr3lu
CLmc+1I9Y9Db3TBGfBhnnGjUpXKixzF0KmqSmMT80BrlY6Yn+wX/z8MaZEblBeVW
NVEvgjLY/WtSU+Bt2ueUJbMH20xoS6enFELIlz+Z8edcNM4gFFxMN6DgwkIOSoxe
ZJm+N06mlt5MV9/mZNqtmIFdjEytgxsiuIAqw7n9h2mmH/6J+I4rCwSm5ulEEOOx
7jD8MSOBhKBL7R8lvlFVJfPfEagmZ1QqVJNfumjtg0Zy5o/E78npXRpO3AcCZ2uM
gWaYAyeJxp36oFobmcu9W921nsbMSF0n4LOruBazEjSTJJBsIGhRWoXt8Zwz4By6
HsZo1NehEA/9Oiov1wdxK5cvcFDPkGVgqiTimNUI/rdz3nbb0XY55/SZD9pIbk17
/h/Rv9BhKeub0vE/XCTHkSBlAHDhlJj9zkYhprqJeexZ5Q7IXNc+MMqOw9KRvBfK
0H9I17tZTTwa5fy4b7YakYC8MrHYbveVzC/lrb7Cx/iT/fqfitpd4IpRwGanP0/z
i/PHTS9kUyWgewZ+Pquy
=9qjC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to