Your message dated Fri, 03 Jan 2020 20:48:06 +0000
with message-id <e1intra-000gvu...@fasolo.debian.org>
and subject line Bug#947911: fixed in sqlgrey 1:1.8.0-2
has caused the Debian Bug report #947911,
regarding sqlgrey daemon does not stop when requested
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.)


-- 
947911: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947911
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: sqlgrey
Version: 1:1.8.0-1
Severity: serious
Tags: patch
Justification: Policy 9.3.2

Hello,

/etc/init.d/sqlgrey does not stop the sqlgrey daemon.  (Policy
seems to say that being able to stop is required, so I've marked
the bug serious.)

The problem is that start-stop-daemon --pidfile is no longer
sufficient to stop a daemon when the pidfile is written as
a non-priviliged user.  So the daemon is not stopped.
(As of start-stop-daemon version 1.19.3.)

The attached patch adds "--user sqlgrey" to the start-stop-daemon
command, which is enough that the command stops the daemon.

Regards,
Karl

-- System Information:
Debian Release: 10.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sqlgrey depends on:
ii  adduser                                                   3.118
pn  libdate-calc-perl                                         <none>
pn  libdbd-pg-perl | libdbd-mysql-perl | libdbd-sqlite3-perl  <none>
pn  libnet-server-perl                                        <none>
ii  perl                                                      5.28.1-6

Versions of packages sqlgrey recommends:
pn  libdbd-pg-perl  <none>
ii  postfix         3.4.7-0+deb10u1

sqlgrey suggests no packages.
--- sqlgrey     2020-01-01 17:23:16.952002224 -0600
+++ sqlgrey.new 2020-01-01 17:35:18.719746141 -0600
@@ -48,7 +48,8 @@
        ;;
   stop)
        echo -n "Stopping $DESC: $NAME"
-       start-stop-daemon --stop --quiet --pidfile $PIDFILE --oknodo
+       start-stop-daemon --stop --quiet \
+                         --user sqlgrey --pidfile $PIDFILE --oknodo
         rm -f $PIDFILE
        echo "."
        ;;

--- End Message ---
--- Begin Message ---
Source: sqlgrey
Source-Version: 1:1.8.0-2

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

Debian distribution maintenance software
pp.
Antonin Kral <a.k...@sh.cvut.cz> (supplier of updated sqlgrey 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: SHA256

Format: 1.8
Date: Fri, 03 Jan 2020 20:08:33 +0100
Source: sqlgrey
Binary: sqlgrey
Architecture: source all
Version: 1:1.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Antonin Kral <a.k...@sh.cvut.cz>
Changed-By: Antonin Kral <a.k...@sh.cvut.cz>
Description:
 sqlgrey    - Postfix Greylisting Policy Server
Closes: 947911
Changes:
 sqlgrey (1:1.8.0-2) unstable; urgency=medium
 .
   * [7c08b04] Pass correct user to start-stop-daemon (Closes: #947911)
   * Updating package infrastructure
Checksums-Sha1:
 df60a96e0becb144585f6c08a118ce8f70cbe7b8 1856 sqlgrey_1.8.0-2.dsc
 50e517faaf41fb8604732a32e32508a207c34830 5856 sqlgrey_1.8.0-2.debian.tar.xz
 add181605d52a8704e52f8ff50b82818b09764a4 52600 sqlgrey_1.8.0-2_all.deb
 0b823f83cf276640a4e8d76df17231bda7ad82fc 5348 sqlgrey_1.8.0-2_amd64.buildinfo
Checksums-Sha256:
 3320d022a02b32cf6d23b5055b77009ba8abfddfdaa36a20640e8fbeea392615 1856 
sqlgrey_1.8.0-2.dsc
 fe708c1ca3a768a7f3b365b03e7b91b0c1c88bdb18699dbd4918b175348f5f1a 5856 
sqlgrey_1.8.0-2.debian.tar.xz
 c8a19eb894a2b369e0cf92882f6686a73011f0829a31cfabbc1347307817e1d9 52600 
sqlgrey_1.8.0-2_all.deb
 2e76a44dd569564e75eae956bce1bcd6a481e4969969fc6afbd591ea24018cb1 5348 
sqlgrey_1.8.0-2_amd64.buildinfo
Files:
 eed7f8c0428ae4a980ffb37d65f2e26a 1856 mail optional sqlgrey_1.8.0-2.dsc
 3de07a78cf518a53214fdc5ce3baf0ed 5856 mail optional 
sqlgrey_1.8.0-2.debian.tar.xz
 5e14d99497a90611ff98200e95c1a2df 52600 mail optional sqlgrey_1.8.0-2_all.deb
 998e488d270f85d9be0b7c8b0157c7c8 5348 mail optional 
sqlgrey_1.8.0-2_amd64.buildinfo

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

iQJGBAEBCAAwFiEEze0Vgqi+ArSD1bC59T6Trz3tQusFAl4Pmh0SHGEua3JhbEBz
aC5jdnV0LmN6AAoJEPU+k6897ULrAvQQAIqUUdVBtvsORdfTfO/J4kcqkkfwdhzl
oV8Dzp1Rc825e50UhFZvGQQJkqdREEc7/uT4SHxQNbNZ8aVzDSN5a2qdgU2eSiyd
QW6yBU+4bJajA95tApcLyv4OILTmjOJSeilrWGoEleCrf2gRz/Vex9cldqXUtoeY
7PCb69bK39qvbWtFBhcg0KuVGNTirtGuwpNpEqPOKrbLJcZZ1Um7XXZTHeIaz66W
ByFo6pwgZlvli+6hM26+gUmOv8kuQdZwdK/KywP5hm00S2128L7wZf2Fl7hjCLlm
VgH4zzkk03rb2FgNbIPPIi2SNzCyypB0m2Knt2j0plohECICtX/jsBCE9FBko10c
JcrJwM3od+FMW1jxbBOuqZ7dI1mDjXwQ+rEEKfX/1/0+E2DbXSILAiDEh9PA1+8h
q8nIofaU/9t/q7L4akExaDCmXMXtyR6uFmYtv5DnZbOVUGeT+NOo2nrVzVfEge0U
hj3/Y091EUub1pKfgg2PB+Hn9ukoxYOOun+Inry0jj5p5ZrpRYAkoeZZPv5BrypT
zAV6jg/3pcfHnBVOEBVu5PbuWNDW+TSg8wZrcHXdohUIZcvHPM6oy4plsTTk9KPh
4G0yZO0S48xZ3rWmrhNn+OdqmEajgoZzzFM6Zyk8qpeun0AUxa8qckoudWnjpQv1
ZhYqwBwQPVm5
=XzZw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to