Bug#804066: marked as done (Sympa logrotate leaves sympa service in a confused state)

2016-10-12 Thread Debian Bug Tracking System
Your message dated Wed, 12 Oct 2016 22:18:08 +
with message-id 
and subject line Bug#804066: fixed in sympa 6.1.23~dfsg-2+deb8u1
has caused the Debian Bug report #804066,
regarding Sympa logrotate leaves sympa service in a confused state
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.)


-- 
804066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804066
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: sympa
Version: 6.1.23~dfsg-2

After logrotate "reloads" sympa, systemd no longer considers the service 
as running.



/etc/logrotate.d/sympa contains:

postrotate
invoke-rc.d --quiet sympa reload > /dev/null
invoke-rc.d --quiet rsyslog rotate > /dev/null || true
endscript

When `invoke-rc.d sympa reload` is executed, it apperas that 
`invoke-rc.d` realizes that the systemd service configuration for Sympa 
(`/lib/systemd/system/sympa.service`) does not contain a reload action. 
It therefore ends up reloading Sympa through `/etc/init.d/sympa` 
instead. The result is that systemd becomes confused about the current 
status of Sympa:



$ sudo invoke-rc.d sympa status
● sympa.service - SYMPA mailing list manager
   Loaded: loaded (/lib/systemd/system/sympa.service; enabled)
   Active: active (running) since Wed 2015-11-04 14:39:51 CET; 4min 34s ago
  Process: 27012 ExecStart=/usr/lib/sympa/bin/sympa.pl (code=exited, 
status=0/SUCCESS)
  Process: 27008 ExecStartPre=/bin/chown -R sympa:sympa /run/sympa 
(code=exited, status=0/SUCCESS)
  Process: 27002 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, 
status=0/SUCCESS)

 Main PID: 27048 (sympa.pl)
   CGroup: /system.slice/sympa.service
   └─27048 /usr/bin/perl /usr/lib/sympa/bin/sympa.pl

$ sudo invoke-rc.d sympa reload
[ ok ] Stoping Sympa mailing list manager: archived bounced bulk 
task_manager sympa.
[ ok ] Starting Sympa mailing list manager: sympa task_manager bulk 
bounced archived.


$ sudo invoke-rc.d sympa status
● sympa.service - SYMPA mailing list manager
   Loaded: loaded (/lib/systemd/system/sympa.service; enabled)
   Active: inactive (dead) since Wed 2015-11-04 14:45:07 CET; 14s ago
  Process: 27012 ExecStart=/usr/lib/sympa/bin/sympa.pl (code=exited, 
status=0/SUCCESS)
  Process: 27008 ExecStartPre=/bin/chown -R sympa:sympa /run/sympa 
(code=exited, status=0/SUCCESS)
  Process: 27002 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, 
status=0/SUCCESS)

 Main PID: 27048 (code=exited, status=0/SUCCESS)
[...]
invoke-rc.d: initscript sympa, action "status" failed.


At this point Sympa is running, but it is not running under the control 
of systemd. If for example Puppet later checks the status of Sympa, it 
will be told that Sympa is not running, and attempt to start it.


Best regards,
Olav Morken
UNINETT
--- End Message ---
--- Begin Message ---
Source: sympa
Source-Version: 6.1.23~dfsg-2+deb8u1

We believe that the bug you reported is fixed in the latest version of
sympa, 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 804...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Salvatore Bonaccorso  (supplier of updated sympa 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: Wed, 05 Oct 2016 12:22:20 +0200
Source: sympa
Binary: sympa
Architecture: source
Version: 6.1.23~dfsg-2+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Debian Sympa team 
Changed-By: Salvatore Bonaccorso 
Closes: 804066
Description: 
 sympa  - Modern mailing list manager
Changes:
 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)
Checksums-Sha1: 
 b9feb2548640d71a980e5b7a0bec7ddf2f696715 2670 sympa_6.1.23~dfsg-2+deb8u1.dsc
 26a22e779f2c286ff809deded49f3e549a66c6ac 89824 
sympa_6.1.23~dfsg-2+deb8u1.debian.tar.xz
Checksums-Sha256: 
 85b610e46feab36bb79813be5435b5bac8caf449d9a4e5eae6db24c6e0b4b58c 2670 
sympa_6.1.23~dfsg-2+deb8u1.dsc
 

Bug#804066: marked as done (Sympa logrotate leaves sympa service in a confused state)

2016-10-01 Thread Debian Bug Tracking System
Your message dated Sat, 01 Oct 2016 19:28:59 +
with message-id 
and subject line Bug#804066: fixed in sympa 6.2.16~dfsg-1
has caused the Debian Bug report #804066,
regarding Sympa logrotate leaves sympa service in a confused state
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.)


-- 
804066: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804066
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: sympa
Version: 6.1.23~dfsg-2

After logrotate "reloads" sympa, systemd no longer considers the service 
as running.



/etc/logrotate.d/sympa contains:

postrotate
invoke-rc.d --quiet sympa reload > /dev/null
invoke-rc.d --quiet rsyslog rotate > /dev/null || true
endscript

When `invoke-rc.d sympa reload` is executed, it apperas that 
`invoke-rc.d` realizes that the systemd service configuration for Sympa 
(`/lib/systemd/system/sympa.service`) does not contain a reload action. 
It therefore ends up reloading Sympa through `/etc/init.d/sympa` 
instead. The result is that systemd becomes confused about the current 
status of Sympa:



$ sudo invoke-rc.d sympa status
● sympa.service - SYMPA mailing list manager
   Loaded: loaded (/lib/systemd/system/sympa.service; enabled)
   Active: active (running) since Wed 2015-11-04 14:39:51 CET; 4min 34s ago
  Process: 27012 ExecStart=/usr/lib/sympa/bin/sympa.pl (code=exited, 
status=0/SUCCESS)
  Process: 27008 ExecStartPre=/bin/chown -R sympa:sympa /run/sympa 
(code=exited, status=0/SUCCESS)
  Process: 27002 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, 
status=0/SUCCESS)

 Main PID: 27048 (sympa.pl)
   CGroup: /system.slice/sympa.service
   └─27048 /usr/bin/perl /usr/lib/sympa/bin/sympa.pl

$ sudo invoke-rc.d sympa reload
[ ok ] Stoping Sympa mailing list manager: archived bounced bulk 
task_manager sympa.
[ ok ] Starting Sympa mailing list manager: sympa task_manager bulk 
bounced archived.


$ sudo invoke-rc.d sympa status
● sympa.service - SYMPA mailing list manager
   Loaded: loaded (/lib/systemd/system/sympa.service; enabled)
   Active: inactive (dead) since Wed 2015-11-04 14:45:07 CET; 14s ago
  Process: 27012 ExecStart=/usr/lib/sympa/bin/sympa.pl (code=exited, 
status=0/SUCCESS)
  Process: 27008 ExecStartPre=/bin/chown -R sympa:sympa /run/sympa 
(code=exited, status=0/SUCCESS)
  Process: 27002 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, 
status=0/SUCCESS)

 Main PID: 27048 (code=exited, status=0/SUCCESS)
[...]
invoke-rc.d: initscript sympa, action "status" failed.


At this point Sympa is running, but it is not running under the control 
of systemd. If for example Puppet later checks the status of Sympa, it 
will be told that Sympa is not running, and attempt to start it.


Best regards,
Olav Morken
UNINETT
--- End Message ---
--- Begin Message ---
Source: sympa
Source-Version: 6.2.16~dfsg-1

We believe that the bug you reported is fixed in the latest version of
sympa, 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 804...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bouthenot  (supplier of updated sympa 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: Mon, 19 Sep 2016 21:47:54 +0200
Source: sympa
Binary: sympa
Architecture: source amd64
Version: 6.2.16~dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Sympa team 
Changed-By: Emmanuel Bouthenot 
Description:
 sympa  - Modern mailing list manager
Closes: 320681 631162 651942 746387 804066 814426 821819
Changes:
 sympa (6.2.16~dfsg-1) unstable; urgency=medium
 .
   * New major upstream release (Closes: #814426)
 - New web interface (Closes: #320681)
 - Database schemas are automatically updated (Closes: #651942)
 - Template missing fixed (Closes: #746387)
   * Packaging fixes and cleanup:
 - Fix various bugs in debconf usage (Closes: #821819)
 - Removing oldies and fix bugs in postinst:
   + Make possible to not use dbconfig-common (Closes: #631162)
 - Fix logrotate configuration so