Debian Bug report logs -
#688351
jackd1: modifies conffiles (policy 10.7.3): /etc/security/limits.d/audio.conf
Reported by: Andreas Beckmann <debian@abeckmann.de>
Date: Thu, 20 Sep 2012 09:27:01 UTC
Severity: serious
Tags: patch, squeeze-ignore
Found in version jack-audio-connection-kit/1:0.121.3+20120418git75e3e20b-2
Fixed in version jack-audio-connection-kit/1:0.121.3+20120418git75e3e20b-2.1
Done: Sébastien Villemot <sebastien@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#688204; Package jackd2.
(Thu, 20 Sep 2012 09:27:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Andreas Beckmann <debian@abeckmann.de>:
New Bug report received and forwarded. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(Thu, 20 Sep 2012 09:27:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: jackd2
Version: 1.9.8~dfsg.4+20120529git007cdc37-4
Severity: serious
Tags: squeeze-ignore
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: found -1 1.9.6~dfsg.1-2
Hi,
during a test with piuparts I noticed your package modifies conffiles.
This is forbidden by the policy, see
http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
10.7.3: "[...] The easy way to achieve this behavior is to make the
configuration file a conffile. [...] This implies that the default
version will be part of the package distribution, and must not be
modified by the maintainer scripts during installation (or at any
other time)."
Note that once a package ships a modified version of that conffile,
dpkg will prompt the user for an action how to handle the upgrade of
this modified conffile (that was not modified by the user).
Further in 10.7.3: "[...] must not ask unnecessary questions
(particularly during upgrades) [...]"
If a configuration file is customized by a maintainer script after
having asked some debconf questions, it may not be marked as a
conffile. Instead a template could be installed in /usr/share and used
by the postinst script to fill in the custom values and create (or
update) the configuration file (preserving any user modifications!).
This file must be removed during postrm purge.
ucf(1) may help with these tasks.
See also http://wiki.debian.org/DpkgConffileHandling
In https://lists.debian.org/debian-devel/2012/09/msg00412.html and
followups it has been agreed that these bugs are to be filed with
severity serious.
debsums reports modification of the following files,
from the attached log (scroll to the bottom...):
debsums: missing file /etc/security/limits.d/audio.conf (from jackd2 package)
Looking at the maintainer scripts, they already DTRT: initially get the
file from /usr/share and delete it in postrm purge (trying both possible
names). So just stop shipping the conffile, too.
cheers,
Andreas
PS: Manually running db_purge in postrm is not needed, dh_installdebconf
installs exactly the same code snippet.
[jackd2_1.9.8~dfsg.4+20120529git007cdc37-4.log.gz (application/x-gzip, attachment)]
Marked as found in versions jackd2/1.9.6~dfsg.1-2.
Request was from Andreas Beckmann <debian@abeckmann.de>
to submit@bugs.debian.org.
(Thu, 20 Sep 2012 09:27:04 GMT) (full text, mbox, link).
Bug 688204 cloned as bug 688351
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Fri, 21 Sep 2012 21:45:07 GMT) (full text, mbox, link).
Bug reassigned from package 'jackd2' to 'jackd1'.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Fri, 21 Sep 2012 21:45:08 GMT) (full text, mbox, link).
No longer marked as found in versions jackd2/1.9.6~dfsg.1-2 and jackd2/1.9.8~dfsg.4+20120529git007cdc37-4.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Fri, 21 Sep 2012 21:45:08 GMT) (full text, mbox, link).
Marked as found in versions jack-audio-connection-kit/1:0.121.3+20120418git75e3e20b-2.
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Fri, 21 Sep 2012 21:45:09 GMT) (full text, mbox, link).
Changed Bug title to 'jackd1: modifies conffiles (policy 10.7.3): /etc/security/limits.d/audio.conf' from 'jackd2: modifies conffiles (policy 10.7.3): /etc/security/limits.d/audio.conf'
Request was from Andreas Beckmann <debian@abeckmann.de>
to control@bugs.debian.org.
(Fri, 21 Sep 2012 21:45:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>:
Bug#688351; Package jackd1.
(Sun, 30 Sep 2012 09:48:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Sébastien Villemot <sebastien@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>.
(Sun, 30 Sep 2012 09:48:05 GMT) (full text, mbox, link).
Message #22 received at 688351@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch pending
Dear Maintainers,
Andreas Beckmann <debian@abeckmann.de> writes:
> debsums reports modification of the following files,
> from the attached log (scroll to the bottom...):
>
> debsums: missing file /etc/security/limits.d/audio.conf (from jackd2 package)
>
>
> Looking at the maintainer scripts, they already DTRT: initially get the
> file from /usr/share and delete it in postrm purge (trying both possible
> names). So just stop shipping the conffile, too.
I have uploaded to DELAYED/5 an NMU fixing this bug, implementing the
suggestion by Andreas. The debdiff is attached. Feel free to tell me if
I should delay it longer.
Regards,
[jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
--
.''`. Sébastien Villemot
: :' : Debian Developer
`. `' http://www.dynare.org/sebastien
`- GPG Key: 4096R/381A7594
[Message part 4 (application/pgp-signature, inline)]
Added tag(s) pending and patch.
Request was from Sébastien Villemot <sebastien@debian.org>
to 688351-submit@bugs.debian.org.
(Sun, 30 Sep 2012 09:48:05 GMT) (full text, mbox, link).
Reply sent
to Sébastien Villemot <sebastien@debian.org>:
You have taken responsibility.
(Fri, 05 Oct 2012 10:06:10 GMT) (full text, mbox, link).
Notification sent
to Andreas Beckmann <debian@abeckmann.de>:
Bug acknowledged by developer.
(Fri, 05 Oct 2012 10:06:10 GMT) (full text, mbox, link).
Message #29 received at 688351-close@bugs.debian.org (full text, mbox, reply):
Source: jack-audio-connection-kit
Source-Version: 1:0.121.3+20120418git75e3e20b-2.1
We believe that the bug you reported is fixed in the latest version of
jack-audio-connection-kit, 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 688351@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated jack-audio-connection-kit 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 30 Sep 2012 11:03:37 +0200
Source: jack-audio-connection-kit
Binary: jackd1 libjack0 jackd1-firewire libjack-dev
Architecture: source amd64
Version: 1:0.121.3+20120418git75e3e20b-2.1
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description:
jackd1 - JACK Audio Connection Kit (server and example clients)
jackd1-firewire - JACK Audio Connection Kit (FFADO backend)
libjack-dev - JACK Audio Connection Kit (development files)
libjack0 - JACK Audio Connection Kit (libraries)
Closes: 688351
Changes:
jack-audio-connection-kit (1:0.121.3+20120418git75e3e20b-2.1) unstable; urgency=low
.
* Non-maintainer upload.
* No longer ship /etc/security/limits.d/audio.conf as a conffile
(Closes: #688351)
Checksums-Sha1:
18ba965bc78422bb3135751dc4d3acedfb7d2f5c 2803 jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.dsc
911df203516f98b20ebb0a5a28f4a83cc6077e5a 32958 jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.debian.tar.gz
698f25874dddfdf1c9fb75ad5c7214e018043653 321388 jackd1_0.121.3+20120418git75e3e20b-2.1_amd64.deb
aaf167a43b8e620df1f83a9a4df48690409bc2e4 56220 libjack0_0.121.3+20120418git75e3e20b-2.1_amd64.deb
1f2490d33cdeead0d4cbba8a94bc401818ef0c09 29396 jackd1-firewire_0.121.3+20120418git75e3e20b-2.1_amd64.deb
6083cf722ff7b025863efd7accac8547c8c3c6cf 364094 libjack-dev_0.121.3+20120418git75e3e20b-2.1_amd64.deb
Checksums-Sha256:
ed99be655a5da8422964610411b68d8f7ac6647e504f083cd732e438376d26e7 2803 jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.dsc
8776e87a782385b6139337863fe594e5d3ebd598c76037351aa8544fb2ad4ca2 32958 jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.debian.tar.gz
48e44c05660ef49b655a4b9a1c79ac1c22b0a829b2610581a0b9ba0c81ecb1e8 321388 jackd1_0.121.3+20120418git75e3e20b-2.1_amd64.deb
e8c75d5568701103d20aa9cd9569f0fa837801c7e5d7b2a017270dc85354dc1e 56220 libjack0_0.121.3+20120418git75e3e20b-2.1_amd64.deb
15d62a3dd3bc1f51b269311b3d1cc7485bcc4d21fb555a503268316e3ec12157 29396 jackd1-firewire_0.121.3+20120418git75e3e20b-2.1_amd64.deb
361a48d2795d334980c35abfd747eb29343477e8158c4c5c86f3930ddf462a61 364094 libjack-dev_0.121.3+20120418git75e3e20b-2.1_amd64.deb
Files:
0568b0e2370108df7749549b204d6cf5 2803 sound optional jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.dsc
988b519fea5e53b014785c9fdfe5e645 32958 sound optional jack-audio-connection-kit_0.121.3+20120418git75e3e20b-2.1.debian.tar.gz
43ffe1e00d516edb3c1da1ec2febf5ab 321388 sound optional jackd1_0.121.3+20120418git75e3e20b-2.1_amd64.deb
fd3bf18763c9c833cec41e7e613b30fb 56220 libs optional libjack0_0.121.3+20120418git75e3e20b-2.1_amd64.deb
b1863ba0e7e99a4af6f6bef3a9ec9d5b 29396 sound optional jackd1-firewire_0.121.3+20120418git75e3e20b-2.1_amd64.deb
de023fec94fbf052def144e930c85879 364094 libdevel optional libjack-dev_0.121.3+20120418git75e3e20b-2.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJQaBEqAAoJECzs6TUOzr5K9pUP/0iMijqiaQLiqKLysfx97qXC
i9/3lWqHVOvecyLC1yN7fcYy4acyhfESAyJE4oOTSaOmbB2VkmQK36I87lkEr1jQ
qs4ymG7Hz+6kIB/SZLcaMgb/qquLNty18pr1fRPfEIfsXUFOLZiVwAsJuEtl8aw1
HKlnBttfd/TIxew2seI1VTF94lTx4qnM+j3AwoROWgFmJuoX8beDDTbyKFMo+TEd
dpgqH75Z8uUIs1hcE72yg6LYXh6gUXfyn4Vtp29XS9n1Vsx5Rtp4tzNl1YKGYc64
5hV8XWr10nXUb/5FOU8auLL5XPq15TlMt2s/GYsdu2NllLM/Fhp7PacPueAEvbMR
5oRIrSEFSkXl+pff5LNw1hjHkxQivLkbwr6po6Rs+c/zdSOZDV30C8eDzE3/MOO7
/KwlHHUPDKPZVA+THcZZZnz8PbgTccyPQ7erlmkHC8pRLRHEtM3XCvRyUDQbmLQ6
HRiWrzmeAkjhZLvVSl53i/60mIdnRV0hVkFFOFwfY9buqz+KB8L8OfHdDY7MDdvc
IVacmahjRGK1paA2iEZXvI0mdeOLpu6Tte99sWYzvbL0XwVGLQkkOI/UHewct/6+
a1WLVjgGW0CiTatiGP1/ASnWZEFVV6kwRYmBdbKA7SajunhdPWLbT+nWyMfBM6vi
zMAhMg/kOfCQWkmrAjzm
=2T+A
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 13 Nov 2012 07:27:10 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 13:58:40 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.