Your message dated Sat, 01 Oct 2016 19:28:59 +0000
with message-id <e1bqpxz-0001vx...@franck.debian.org>
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 <kol...@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: 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 <pkg-sympa-de...@lists.alioth.debian.org>
Changed-By: Emmanuel Bouthenot <kol...@debian.org>
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 that sympa is not left in a confused
       state when systemd is used (Closes: #804066)
     - Update copyright holders
   * Add a patch to remove a reference to a template which no longer exists
   * Add a patch to fix various typos in documentation and manpages
   * Add a patch to fix log severity in some command line tools used
     in postinst
   * Update lintian overrides
Checksums-Sha1:
 48b4e72803b33f6b3a4709c44dd93ffa8bd9eac2 2445 sympa_6.2.16~dfsg-1.dsc
 356132e8b2ae8cca3b715b4f59abe90b95ebd935 8908449 sympa_6.2.16~dfsg.orig.tar.gz
 41a7056178ab3cac695e21da374e54c2bb3858c0 172124 
sympa_6.2.16~dfsg-1.debian.tar.xz
 810a4e5b101e9f828110cb203fa4903f9d860586 18360 
sympa-dbgsym_6.2.16~dfsg-1_amd64.deb
 c4b911af975851aee22a30853b207a6d4f5afbcf 3610818 sympa_6.2.16~dfsg-1_amd64.deb
Checksums-Sha256:
 c273969c60ff53c0233db57e19d94729c4780cddcf9856ca89865347e76f71b2 2445 
sympa_6.2.16~dfsg-1.dsc
 5ea891c64b448ea94354e3d0edb21a6c3aae4a3881cae75963ebf98e50106839 8908449 
sympa_6.2.16~dfsg.orig.tar.gz
 5580c6c814caf51760388fc9c61845599a2081a00573d61d02c555fb517e35e1 172124 
sympa_6.2.16~dfsg-1.debian.tar.xz
 66fc54d39ab596a6b139ea64284bab1fe7d6151a08aeacfc99c61ca73f169b5d 18360 
sympa-dbgsym_6.2.16~dfsg-1_amd64.deb
 38228dfce21f16f193a0b7ac5e8616e4b759c1724656b7efb0d1cb515a4361ab 3610818 
sympa_6.2.16~dfsg-1_amd64.deb
Files:
 4167cb25e8f74f05263f3e90b25c2e36 2445 mail optional sympa_6.2.16~dfsg-1.dsc
 96ddbf2919894d5ada244be92e00c7cd 8908449 mail optional 
sympa_6.2.16~dfsg.orig.tar.gz
 61ccfaa474dada849428ec1ee63a2482 172124 mail optional 
sympa_6.2.16~dfsg-1.debian.tar.xz
 3a3bfa6ac0de2989ad47001d69b27556 18360 debug extra 
sympa-dbgsym_6.2.16~dfsg-1_amd64.deb
 2825a35b24b6e2fe871d8b8751b10fbe 3610818 mail optional 
sympa_6.2.16~dfsg-1_amd64.deb

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

iQIcBAEBCgAGBQJX7/+GAAoJEEsHdyOSnULDQowQAJT1/xowD9nQmDRJDChCzLx6
4PGQJ4GDnk4H3C1RkjJ/NppJIIEW7s5AQt0/Zvf8dALrASzwI88lGYfTyhdyGSef
YvLqC7DyPamAWLKfvYCSypQNX0q1A/i82RYlA9doDhuR3MsYsXsVLGLtP9bzCGbi
KOeDmiPq0DeoD+qG+5c84GBSUF+sy28z72sTWV40mJ1z1CoDnXOZHQzTtUDqhigw
YoG6ftftTiayI7qoqC4ifh08pF6J9487FMuw0w2lU1HZ6Z6M1uGvgw54hypjsD9L
vMxs40K5UcVZszKmrfRJQ1g3yv50xf9MrXYG0qokY5S0PR44Xw+6YtspXMikVj31
DYJBd3vte/8fkqvjKvidy4Ur1B+kr/Cl73OrNmN8Q0ADVhjTIwrRM9x8PMAcdNRi
EfGmNsIKIV2/gDEFpeep6YtVS096nTgThQDclOY+Kz3uoJ9Rd9tb0syvqyTNaaVj
sWmJ3NJJ6usFE9feF2jLJPF7tWtbFlsZEheNresoywzzPUyZKGuaoO3f1+Ubvzy5
OLJ8QicyfiN0Ymip8EorTwwx54kpRNSifAI41dvuEdbGAnHoPwDa46e4LZTSz5kJ
oUehKNdikTKEh5aT4TsQEznuZPLQ8YKwMNOoZiDoHY5+N8aat0HwGFuiqMGk1q/0
yN68K1+Lm5OpAVRiVf/l
=wgrn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to