https://bugzilla.novell.com/show_bug.cgi?id=768581
https://bugzilla.novell.com/show_bug.cgi?id=768581#c4
Reinhard Nißl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
InfoProvider|rnissl@gmx.de |
--- Comment #4 from Reinhard Nißl 2012-06-29 20:24:57 UTC ---
The new packages solve the issue in case of using systemd. But when not using
systemd, it still doesn't work. See the following sequence:
corei7:~ # SYSTEMD_NO_WRAP=1 rcspamd start
Starting spamd done
corei7:~ # ps ax | grep spamd ; SYSTEMD_NO_WRAP=1 rcspamd stop ; ps ax | grep
spamd
10985 ? Ss 0:01 /usr/sbin/spamd -d -c -L -r /var/run/spamd.pid
10986 ? S 0:00 spamd child
10987 ? S 0:00 spamd child
10996 pts/8 S+ 0:00 grep --color=auto spamd
Shutting down spamd done
10985 ? Ss 0:01 /usr/sbin/spamd -d -c -L -r /var/run/spamd.pid
10986 ? S 0:00 spamd child
10987 ? S 0:00 spamd child
11005 pts/8 S+ 0:00 grep --color=auto spamd
corei7:~ #
This is what I hacked into /etc/init.d/spamd to have a temporary solution in
both cases:
stop)
echo -n "Shutting down spamd "
## Stop daemon with killproc(8) and if this fails
## set echo the echo return value.
killproc -p $PIDFILE -TERM $SPAMD_BIN
# Remember status and be verbose
rc_status -v
PIDS=`/bin/ps ax | /bin/grep $SPAMD_BIN | /usr/bin/awk ' { print $1;
}'`
test -z "$PIDS" || /bin/kill $PIDS 2>/dev/null
;;
And I've also verified that pidof /usr/sbin/spamd reported PIDs in 10.1, while
it doesn't in 12.1. So for me, this is the reason why the above killproc
doesn't terminate spamd.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.