Your message dated Wed, 12 Oct 2016 22:18:08 +0000
with message-id <e1burqi-000247...@franck.debian.org>
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 <car...@debian.org> (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 <pkg-sympa-de...@lists.alioth.debian.org>
Changed-By: Salvatore Bonaccorso <car...@debian.org>
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
 5675f06078d950e58a1a2cd55c899b8dbbbca869721ca9f6a91ea391d5a016bc 89824 
sympa_6.1.23~dfsg-2+deb8u1.debian.tar.xz
Files: 
 1798a9754b99a506aae09b1c4bb85ead 2670 mail optional 
sympa_6.1.23~dfsg-2+deb8u1.dsc
 08084ff0765091a4be63956f9a03590a 89824 mail optional 
sympa_6.1.23~dfsg-2+deb8u1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKPBAEBCgB5BQJX9NrcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0NjQ0NDA5ODA4QzE3MUUwNTUzMURERUUw
NTRDQjhGMzEzNDNDRjQ0EhxjYXJuaWxAZGViaWFuLm9yZwAKCRAFTLjzE0PPREhS
D/sF4hxgQVZtH7a26lJQfuaBJmvL4RL1glKNXaQPI8Qq8n4en+bWeLUJ375k/r8A
9zHBhpnU/05o8/I+rzFupy7A4bL2Vu8qVFMvU1toLZSw+COUW1hpGabOPpzaDTg8
quohYc8S0BHP4EcHTR+bVr6e1kGz1O8EC3CzkMnzTLyPhAybP5szyge2kDHQHobh
buRZtmUxQaIw+iHq3TvK6Vk5wsEacDS4LY/k6FlznVxYtrdHPsSR257K5PLQfIKh
6W5lFCAawsN5nV8B9yzDgo8Nyv2xLmk5MYVbkrysm4SpPzeHQ0fzo6ckHjeYIEow
b/PWfsZ9tY91IcYHwqvvowtTNSPCZoWx+YHa3YdNHvLnRfzOM18IimPfSMcop3+T
HasNrGsqMi5VQgoK8CHp1QY22A4CpBsgLExEMtbbOuVojZ51oErNuvhHK9jDoob4
gO6zO8tTYqM/cvsGLfVNpEM4HSJqVUtorRCecqWMaCIfVnyRVSRdaqhGCLbGJIcC
mY48qb6M4QjI22tm7W+ElDHZyzMhnrWXcaJVxu3LPhxWeYITwqO3oRMUA24god4W
+vMDjCr2WfFgdELU/lZPpKveTGqFZlcYq6KOChC/HMFU9/8vEjrfQZ5QAS+6gLFB
zUQj+kvbufx3mE7vA4H/jUYMWqn7M3/rLTwA4SUHH32G5g==
=RsVs
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to