Bug#839814: jessie-pu: package sympa/6.1.23~dfsg-2+deb8u1

2016-10-12 Thread Adam D. Barratt
Control: tags -1 + pending

On Sun, 2016-10-09 at 07:22 +0200, Salvatore Bonaccorso wrote:
> Hi Adam,
> 
> On Sat, Oct 08, 2016 at 09:18:50PM +0100, Adam D. Barratt wrote:
> > Control: tags -1 + confirmed
> > 
> > On Wed, 2016-10-05 at 12:56 +0200, Salvatore Bonaccorso wrote:
> > > Sympa is affected by a nasty bug when used under systemd, that after
> > > logrotation with the original logrotate setup in jessie, sympa is in a
> > > confused state. This is tracked as #804066 and was fixed in unstable
> > > already with 6.2.16~dfsg-1.
> > > 
> > > I would like to propose that this is fixed as well for stable,
> > > attached is the proposed debidff, where I needed to use
> > > reload-or-try-reload (try-reload-or-restart in unstable).
> > > 
> > > Does this look acceptable for the upcoming jessie point release?
> > 
> > Please go ahead.
> 
> Thanks a lot, just uploaded.

Flagged for acceptance.

Regards,

Adam



Bug#839814: jessie-pu: package sympa/6.1.23~dfsg-2+deb8u1

2016-10-08 Thread Salvatore Bonaccorso
Hi Adam,

On Sat, Oct 08, 2016 at 09:18:50PM +0100, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Wed, 2016-10-05 at 12:56 +0200, Salvatore Bonaccorso wrote:
> > Sympa is affected by a nasty bug when used under systemd, that after
> > logrotation with the original logrotate setup in jessie, sympa is in a
> > confused state. This is tracked as #804066 and was fixed in unstable
> > already with 6.2.16~dfsg-1.
> > 
> > I would like to propose that this is fixed as well for stable,
> > attached is the proposed debidff, where I needed to use
> > reload-or-try-reload (try-reload-or-restart in unstable).
> > 
> > Does this look acceptable for the upcoming jessie point release?
> 
> Please go ahead.

Thanks a lot, just uploaded.

> I realise it's not part of the modified section of the file, but this:
> 
> invoke-rc.d --quiet rsyslog rotate > /dev/null || true
> 
> does look a little odd.

Yes you are right. I checked, and this seems still the case as well
for the unstable version.

Regards,
Salvatore


signature.asc
Description: PGP signature


Bug#839814: jessie-pu: package sympa/6.1.23~dfsg-2+deb8u1

2016-10-08 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Wed, 2016-10-05 at 12:56 +0200, Salvatore Bonaccorso wrote:
> Sympa is affected by a nasty bug when used under systemd, that after
> logrotation with the original logrotate setup in jessie, sympa is in a
> confused state. This is tracked as #804066 and was fixed in unstable
> already with 6.2.16~dfsg-1.
> 
> I would like to propose that this is fixed as well for stable,
> attached is the proposed debidff, where I needed to use
> reload-or-try-reload (try-reload-or-restart in unstable).
> 
> Does this look acceptable for the upcoming jessie point release?

Please go ahead.

I realise it's not part of the modified section of the file, but this:

invoke-rc.d --quiet rsyslog rotate > /dev/null || true

does look a little odd.

Regards,

Adam



Bug#839814: jessie-pu: package sympa/6.1.23~dfsg-2+deb8u1

2016-10-05 Thread Salvatore Bonaccorso
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

Hi Stable release managers

Sympa is affected by a nasty bug when used under systemd, that after
logrotation with the original logrotate setup in jessie, sympa is in a
confused state. This is tracked as #804066 and was fixed in unstable
already with 6.2.16~dfsg-1.

I would like to propose that this is fixed as well for stable,
attached is the proposed debidff, where I needed to use
reload-or-try-reload (try-reload-or-restart in unstable).

Does this look acceptable for the upcoming jessie point release?

Regards,
Salvatore
diff -Nru sympa-6.1.23~dfsg/debian/changelog sympa-6.1.23~dfsg/debian/changelog
--- sympa-6.1.23~dfsg/debian/changelog	2015-01-16 02:48:24.0 +0100
+++ sympa-6.1.23~dfsg/debian/changelog	2016-10-05 12:22:20.0 +0200
@@ -1,3 +1,11 @@
+sympa (6.1.23~dfsg-2+deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix logrotate configuration so that sympa is not left in a confused state
+when systemd is used (Closes: #804066)
+
+ -- Salvatore Bonaccorso   Wed, 05 Oct 2016 12:22:20 +0200
+
 sympa (6.1.23~dfsg-2) unstable; urgency=medium
 
   * Fix a bug in /etc/sympa/facility conffile handling (Closes: #774877)
diff -Nru sympa-6.1.23~dfsg/debian/sympa.logrotate sympa-6.1.23~dfsg/debian/sympa.logrotate
--- sympa-6.1.23~dfsg/debian/sympa.logrotate	2014-03-22 09:18:36.0 +0100
+++ sympa-6.1.23~dfsg/debian/sympa.logrotate	2016-10-05 12:22:20.0 +0200
@@ -7,7 +7,11 @@
 	delaycompress
 	create 640 sympa adm
 	postrotate
-		invoke-rc.d --quiet sympa reload > /dev/null
+		if [ -e /proc/1/exe ] && readlink -f /proc/1/exe | grep -q 'systemd' ; then
+			systemctl reload-or-try-restart sympa
+		else
+			invoke-rc.d --quiet sympa reload > /dev/null
+		fi
 		invoke-rc.d --quiet rsyslog rotate > /dev/null || true
 	endscript
 }