Your message dated Sun, 08 Mar 2015 15:49:44 +0000
with message-id <e1yudsa-0000oz...@franck.debian.org>
and subject line Bug#779865: fixed in ulogd2 2.0.4-2
has caused the Debian Bug report #779865,
regarding ulogd2: removal of old initscript does not work
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.)
--
779865: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=779865
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ulogd2
Version: 2.0.4-1
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts
Hi,
the removal of /etc/init.d/ulogd does not work as intended since
dpkg-maintscript-helper rm_conffile does not work upon initial
installation (upon upgrading from ulogd to ulogd2 the ulogd2 package
will be installed for the first time) unless tricked into believing
this is an upgrade instead of an initial install.
=> patch 0001
While we are at it, perform some more removal of obsolete conffiles in
the transitional ulogd package
=> patch 0002
While the second patch duplicates the actions of the first, the first
one is important for cases where the ulogd package was already removed
(but not purged) but it's "problematic" initscript is still sitting
around. The second just ensures an even smoother experience if the
transitional ulogd package is installed.
Severity serious since
* your maintscript comment said "as it can cause problems/confusion"
* I already had to dig into several failing upgrade paths involving
obsolete initscripts and changes in the things they provide ... with
nontrivial recovery paths.
(I didn't manage to run into failures with ulogd/ulogd2, yet, maybe I
didn't try hard enough. :-)
Andreas
>From 8688648c4cedc7f2cc4478279b071de42e518522 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Thu, 5 Mar 2015 18:32:43 +0100
Subject: [PATCH 1/2] fix removal of old ulogd initscript upon initial
installation of ulogd2
---
debian/changelog | 6 ++++++
debian/ulogd2.maintscript | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 716e6f5..c5cd521 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+ulogd2 (2.0.4-2) UNRELEASED; urgency=medium
+
+ * Fix removal of old ulogd initscript upon initial installation of ulogd2.
+
+ -- Andreas Beckmann <a...@debian.org> Wed, 04 Mar 2015 21:54:40 +0100
+
ulogd2 (2.0.4-1) unstable; urgency=medium
* New upstream release:
diff --git a/debian/ulogd2.maintscript b/debian/ulogd2.maintscript
index 02c899b..efcdeba 100644
--- a/debian/ulogd2.maintscript
+++ b/debian/ulogd2.maintscript
@@ -1,4 +1,6 @@
# Remove the old ulogd 1.x init script, as it can cause problems/confusion
-rm_conffile /etc/init.d/ulogd 2.0.2-4~ ulogd
+# Provide a fall-back old-version ("0") as a hack to ensure this is performed
+# by dpkg-maintscript-helper on the initial install of ulogd2, too.
+rm_conffile /etc/init.d/ulogd 2.0.4-2~ ulogd -- "$@" 0
--
2.1.4
>From c5ce5e12d260d6539e75785d6ab9e34fb1baa89b Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <a...@debian.org>
Date: Thu, 5 Mar 2015 19:01:45 +0100
Subject: [PATCH 2/2] remove obsolete /etc/logrotate.d/ulogd, too
---
debian/changelog | 1 +
debian/ulogd.maintscript | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 debian/ulogd.maintscript
diff --git a/debian/changelog b/debian/changelog
index c5cd521..c8defe1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
ulogd2 (2.0.4-2) UNRELEASED; urgency=medium
* Fix removal of old ulogd initscript upon initial installation of ulogd2.
+ * Remove more obsolete conffiles.
-- Andreas Beckmann <a...@debian.org> Wed, 04 Mar 2015 21:54:40 +0100
diff --git a/debian/ulogd.maintscript b/debian/ulogd.maintscript
new file mode 100644
index 0000000..cc65a1b
--- /dev/null
+++ b/debian/ulogd.maintscript
@@ -0,0 +1,2 @@
+rm_conffile /etc/init.d/ulogd 2.0.4-2~
+rm_conffile /etc/logrotate.d/ulogd 2.0.4-2~
--
2.1.4
--- End Message ---
--- Begin Message ---
Source: ulogd2
Source-Version: 2.0.4-2
We believe that the bug you reported is fixed in the latest version of
ulogd2, 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 779...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Boot <deb...@bootc.net> (supplier of updated ulogd2 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: Sun, 08 Mar 2015 15:22:44 +0000
Source: ulogd2
Binary: ulogd2 ulogd2-dbi ulogd2-json ulogd2-mysql ulogd2-pcap ulogd2-pgsql
ulogd2-sqlite3 ulogd2-dbg ulogd ulogd-mysql ulogd-pgsql ulogd-pcap ulogd-sqlite3
Architecture: source amd64
Version: 2.0.4-2
Distribution: unstable
Urgency: medium
Maintainer: Chris Boot <deb...@bootc.net>
Changed-By: Chris Boot <deb...@bootc.net>
Description:
ulogd - transitional dummy package for ulogd2
ulogd-mysql - transitional dummy package for ulogd2-mysql
ulogd-pcap - transitional dummy package for ulogd2-pcap
ulogd-pgsql - transitional dummy package for ulogd2-pgsql
ulogd-sqlite3 - transitional dummy package for ulogd2-sqlite3
ulogd2 - Netfilter Userspace Logging Daemon
ulogd2-dbg - Netfilter Userspace Logging Daemon (debug symbols)
ulogd2-dbi - DBI extension to ulogd
ulogd2-json - JSON extension to ulogd
ulogd2-mysql - MySQL extension to ulogd
ulogd2-pcap - pcap extension to ulogd
ulogd2-pgsql - PostgreSQL extension to ulogd
ulogd2-sqlite3 - SQLite 3 extension to ulogd
Closes: 779865
Changes:
ulogd2 (2.0.4-2) unstable; urgency=medium
.
[ Andreas Beckmann ]
* Fix removal of old ulogd initscript upon initial installation of ulogd2.
* Remove more obsolete conffiles.
.
[ Chris Boot ]
* Apply patches from Andreas Beckmann correct the transition from ulogd to
ulogd2. (Closes: #779865, LP: #1354720)
Checksums-Sha1:
07a7adae3cff4bc641f2de5ab9d7759a46405ca1 2944 ulogd2_2.0.4-2.dsc
ff32710ce22b710a017d4580b3556a75ca524d76 14168 ulogd2_2.0.4-2.debian.tar.xz
0164325d7634a0d9a301bd536a9fb44bd6dd6760 109434 ulogd2_2.0.4-2_amd64.deb
2a8a5eaf4272f6ca76510a483a4f4354e3956643 8276 ulogd2-dbi_2.0.4-2_amd64.deb
bd88441be27a8227029d8ec150e9e4ecbbb19fef 4480 ulogd2-json_2.0.4-2_amd64.deb
0203d95cb85a3c9b6afb2911768c243c633dae75 7918 ulogd2-mysql_2.0.4-2_amd64.deb
c99bde1b2a4f8472a3ad77d77689f4421302681c 3968 ulogd2-pcap_2.0.4-2_amd64.deb
f52a6feced071f15e2ea96785d0f012a336d61d9 8976 ulogd2-pgsql_2.0.4-2_amd64.deb
054f0655b71bdaf4dce18ef4092c10c9cab5b829 8610 ulogd2-sqlite3_2.0.4-2_amd64.deb
923a3d48e262e2c1d555b354fd090d5211587b48 284246 ulogd2-dbg_2.0.4-2_amd64.deb
84985653b84548cc2c4be2f02e6b24743e9327fa 4948 ulogd_2.0.4-2_amd64.deb
7291ee9d00fd50989558a228275158d1c53e915e 866 ulogd-mysql_2.0.4-2_amd64.deb
21033762ba2b5a9aa0e3893255bc18e058fd2df9 866 ulogd-pgsql_2.0.4-2_amd64.deb
090180f8489ccb04b32ae456eed302f0223803f3 864 ulogd-pcap_2.0.4-2_amd64.deb
a291080877a1fa789eae9c562c34496cb2b0ab4a 872 ulogd-sqlite3_2.0.4-2_amd64.deb
Checksums-Sha256:
473a2598fc0fe0f0c45513a2ed8c9ff5b74c0e3b1d9db0902e1185642e9a75a2 2944
ulogd2_2.0.4-2.dsc
c6eb9eb3707caccd5619e6365d4adebbaf82803b7f0b861c12b747c62763eb2a 14168
ulogd2_2.0.4-2.debian.tar.xz
6ab0a7673d44ace876312cdf87bc3cfab018e3b98109cd0061386ad2c88ab433 109434
ulogd2_2.0.4-2_amd64.deb
98b1f47ba6ac8ccb33be57d41dd4496e39846a8460572eb9a94b6a230c7f3268 8276
ulogd2-dbi_2.0.4-2_amd64.deb
c7d5da9fef264c99adcb289ebdb4a0eb35220b16a095a8070a0c97986c053c9b 4480
ulogd2-json_2.0.4-2_amd64.deb
80897d948c07812b464b64ff41e92f42ca7e3466c26fd54c4078025891f5e38a 7918
ulogd2-mysql_2.0.4-2_amd64.deb
5e27db33038e5db36f059665432ceefe7e9b93d7d8d96894a27f3b7ea5dc58f0 3968
ulogd2-pcap_2.0.4-2_amd64.deb
c78b5bf913c6aecc237b6c0fab67e29ade054c94a27745cc1a6d3bce7fd44b09 8976
ulogd2-pgsql_2.0.4-2_amd64.deb
64f41502711cbb1ee802d611df4e958b516dabea2441f21ae1f29bbfe8556092 8610
ulogd2-sqlite3_2.0.4-2_amd64.deb
160d8b1ea65cd4871001f69d49ba73e8f9ff3dcb90261a173cb7d2ab1ead5fd7 284246
ulogd2-dbg_2.0.4-2_amd64.deb
d3ec8cf87336df78953c2499cec5d0013fa77dcee8a9a6a0a9f95605366d9d74 4948
ulogd_2.0.4-2_amd64.deb
8f890c82c79860078caa9eca62c58e3302af29205e7da92e916ce8a77fa73da6 866
ulogd-mysql_2.0.4-2_amd64.deb
cb23d82b1096d66a41f7a89aa8670f5bd5652b849158ee380a4b47ce7639cff8 866
ulogd-pgsql_2.0.4-2_amd64.deb
c8608ab84bc331dd1828d81a6e1541b69bec843a2c8ac5c6dca5fb781ca8d52d 864
ulogd-pcap_2.0.4-2_amd64.deb
d563c091c485fd9c3946235f3e3d41f922154f615d288943cb71d5db4767b4dd 872
ulogd-sqlite3_2.0.4-2_amd64.deb
Files:
124179e091003a2341cc690c496ed066 2944 net optional ulogd2_2.0.4-2.dsc
15f6f9d0a0a385b9980e1841e02d7260 14168 net optional
ulogd2_2.0.4-2.debian.tar.xz
5a95586eb4193cd5cb00effa0cf0a9a5 109434 net optional ulogd2_2.0.4-2_amd64.deb
3004c666c67c78bb63995e4eb50fa14a 8276 net optional ulogd2-dbi_2.0.4-2_amd64.deb
980cf92447369a9967d7a10bce6107cd 4480 net optional
ulogd2-json_2.0.4-2_amd64.deb
34a934f4885692cdeb3bec80502426c9 7918 net optional
ulogd2-mysql_2.0.4-2_amd64.deb
9755244ad97660eebfd76f7cb2ece415 3968 net optional
ulogd2-pcap_2.0.4-2_amd64.deb
ccb8582437f428072beae43f44c91262 8976 net optional
ulogd2-pgsql_2.0.4-2_amd64.deb
4ac98f75fc3c7ecaab26daebaafcf686 8610 net optional
ulogd2-sqlite3_2.0.4-2_amd64.deb
53446f497e1980b9cfcd1e9e166a3c9f 284246 debug extra
ulogd2-dbg_2.0.4-2_amd64.deb
fa63abebf2c656aa2d75a3a57623b845 4948 oldlibs extra ulogd_2.0.4-2_amd64.deb
64f25bfe17949679c0a1fe3f914abef7 866 oldlibs extra
ulogd-mysql_2.0.4-2_amd64.deb
9b88ab029fa16a8de577e20016f52821 866 oldlibs extra
ulogd-pgsql_2.0.4-2_amd64.deb
dd62518d995fd1d2349f3845c3e3d10f 864 oldlibs extra ulogd-pcap_2.0.4-2_amd64.deb
95fc41fef0f54042867d7e5ce24c6610 872 oldlibs extra
ulogd-sqlite3_2.0.4-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQJ8BAEBCgBmBQJU/G14XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQThBOTBGNTdGRkIxRDY0N0U0MDM0REE0
MTFBNzMzRTY3RDY0RkZFAAoJEEEacz5n1k/+ooUQAM/WbhzDdEdDPql8CvemclaN
nBbuqcK2ogUpgr9ble1bTE0L6loKoKXyO8dwRGFvl+e/I/EWlnP/YJd6vjNFi40V
zwHqZk881BQubOKRBOkz4mg8vocMxkVkAp5yO6T3Mma/CXFPa8ZqJhv9Ht4ozqov
IuJg/yEMr3aGd3l5/TMFjsZJxmxC5SniKGqsuQyWuUcQ85OksTQrDXjrIqOUx9sm
p6Dz2WPDlNuTJLIbRVoegLxynNPvsEnVf/ZDSIFzA3RoMiKw7QtXt3Y/5GF9nTQk
DS46ZuO16yL1/bqcOScz8O2lvcbGoBJr0u5mSDjxQEQGl4BKMfaTsOQL3VpDEK6P
jQlrcDwjEoYp5uVW/oJtB0dFunGufdgcYOMbBCDJFIlMZOsj3donS79AQU7gB6N4
hLHjtpJynhAFbu12i6BeNOV3iWVXeeNnf0UGCciRjjAG9u5rtQmZeUTxcbbWApzq
jkntK7NopjRBL3s9k2gSciksrRV3eKoLgyZm3z1JAVd+Mq3XCBV6Tuv1hgg0kC4V
BPIOhalEQGzoVM4ljhoeWpoZOGg3PWCsKOOYy0b34di++wAs/jdqAb3SkHFlpGe5
4Qof61YSyuPsav/4Pgm4U/5PCo9Fel3issdc0iwxHeThlrZ4vxa5mJcNxc1GCKey
YrKPQ4UXsCp1Sueo0tlG
=AsVj
-----END PGP SIGNATURE-----
--- End Message ---