systemd does not shut down rsyslog

Bug #1555171 reported by msp3k
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
rsyslog (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This bug is 100% reproducible.

Example output:

Script started on Wed 09 Mar 2016 10:04:42 AM EST
root@flea:/etc/init.d# ps -ef | grep rsyslog
syslog 5219 1 0 10:04 ? 00:00:00 /usr/sbin/rsyslogd -n
root 5240 5227 0 10:04 pts/0 00:00:00 grep --color=auto
root@flea:/etc/init.d# systemctl stop rsyslog
Warning: Stopping rsyslog.service, but it can still be activated by:
  syslog.socket
root@flea:/etc/init.d# systemctl stop syslog
Warning: Stopping syslog.service, but it can still be activated by:
  syslog.socket
root@flea:/etc/init.d# systemctl stop rsyslogd
Failed to stop rsyslogd.service: Unit rsyslogd.service not loaded.
root@flea:/etc/init.d# ps -ef | grep rsyslog
syslog 5254 1 0 10:05 ? 00:00:00 /usr/sbin/rsyslogd -n
root 5263 5227 0 10:05 pts/0 00:00:00 grep --color=auto
root@flea:/etc/init.d# exit

Script done on Wed 09 Mar 2016 10:05:12 AM EST

Revision history for this message
msp3k (peek-nimbios) wrote :

This is on Ubuntu Server 16.04 beta

Revision history for this message
msp3k (peek-nimbios) wrote :

Nevermind. Apparently "systemctl stop <service>" doesn't do what I thought it should do. Rsyslogd can be stopped with:

systemctl disable rsyslog
systemctl stop rsyslog

After issuing the disable command, the stop command worked as I expected.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rsyslog (Ubuntu):
status: New → Confirmed
Revision history for this message
Mrten (bugzilla-ii) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.