Your message dated Thu, 05 Feb 2015 07:10:02 +0100
with message-id <[email protected]>
and subject line Re: Bug#777094: rsyslog can't be stopped during 
removal/replacement with systemd
has caused the Debian Bug report #777094,
regarding rsyslog can't be stopped during removal/replacement with systemd
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 [email protected]
immediately.)


-- 
777094: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777094
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsyslog
Version: 5.8.11-3+deb7u2

When attempting to remove or replace rsyslog during an upgrade with
systemd installed, the job to stop rsyslog is cancelled immediately and
rsyslog does not shutdown. This is on a system with the default journald
forward to syslog behavior enabled.

Investigating reveals that the rsyslog process cannot be stopped via
systemctl stop rsyslog at all, presumably because the journald process
keeps restarting it.

--- End Message ---
--- Begin Message ---
Version: 7.4.1-2

Am 05.02.2015 um 03:04 schrieb William Rouesnel:
> 
> Package: rsyslog
> Version: 5.8.11-3+deb7u2
> 
> When attempting to remove or replace rsyslog during an upgrade with
> systemd installed, the job to stop rsyslog is cancelled immediately and
> rsyslog does not shutdown. This is on a system with the default journald
> forward to syslog behavior enabled.
> 
> Investigating reveals that the rsyslog process cannot be stopped via
> systemctl stop rsyslog at all, presumably because the journald process
> keeps restarting it.
> 

This was fixed in 7.4.1-2 by adding the following code to prerm:

#!/bin/sh

set -e

# Stop the socket on remove so rsyslog is not restarted via socket
activation
if [ -d /run/systemd/system ] && [ "$1" = remove ] ; then
       systemctl stop syslog.socket || true
fi


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to