[systemd-bugs] [Bug 65946] New: masked rsyslog.service is started

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 19 12:54:43 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=65946

          Priority: medium
            Bug ID: 65946
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: masked rsyslog.service is started
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mbiebl at gmail.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Version: 204

Even though I masked rsyslog.service, the service can still be started:


root at pluto:~# systemctl status rsyslog.service syslog.socket
rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; enabled)
   Active: active (running) since Mi 2013-06-19 21:53:10 CEST; 3s ago
 Main PID: 4416 (rsyslogd)
   CGroup: name=systemd:/system/rsyslog.service
           └─4416 /usr/sbin/rsyslogd -n

Jun 19 21:53:10 pluto systemd[1]: Starting System Logging Service...
Jun 19 21:53:10 pluto systemd[1]: Started System Logging Service.

syslog.socket - Syslog Socket
         Loaded: loaded (/lib/systemd/system/syslog.socket; static)
         Active: active (running) since Mi 2013-06-19 21:53:10 CEST; 3s ago
           Docs: man:systemd.special(7)
                 http://www.freedesktop.org/wiki/Software/systemd/syslog
                 man:systemd.special(7)
                 http://www.freedesktop.org/wiki/Software/systemd/syslog
         Listen: /run/systemd/journal/syslog (Datagram)

Jun 19 21:53:10 pluto systemd[1]: Stopping Syslog Socket.
Jun 19 21:53:10 pluto systemd[1]: Starting Syslog Socket.
Jun 19 21:53:10 pluto systemd[1]: Listening on Syslog Socket.
root at pluto:~# systemctl stop syslog.socket rsyslog.service
root at pluto:~# systemctl mask rsyslog.service 
ln -s '/dev/null' '/etc/systemd/system/rsyslog.service'
root at pluto:~# systemctl status rsyslog.service 
rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; masked)
   Active: inactive (dead) since Mi 2013-06-19 21:53:26 CEST; 11s ago
 Main PID: 4416 (code=exited, status=0/SUCCESS)
   CGroup: name=systemd:/system/rsyslog.service

Jun 19 21:53:10 pluto systemd[1]: Starting System Logging Service...
Jun 19 21:53:10 pluto systemd[1]: Started System Logging Service.
Jun 19 21:53:26 pluto systemd[1]: Stopping System Logging Service...
Jun 19 21:53:26 pluto systemd[1]: Stopped System Logging Service.
root at pluto:~# systemctl start rsyslog.service 
root at pluto:~# systemctl status rsyslog.service 
rsyslog.service - System Logging Service
   Loaded: loaded (/lib/systemd/system/rsyslog.service; masked)
   Active: active (running) since Mi 2013-06-19 21:53:47 CEST; 1s ago
 Main PID: 4464 (rsyslogd)
   CGroup: name=systemd:/system/rsyslog.service
           └─4464 /usr/sbin/rsyslogd -n

Jun 19 21:53:47 pluto systemd[1]: Starting System Logging Service...
Jun 19 21:53:47 pluto systemd[1]: Started System Logging Service.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130619/dcfea766/attachment.html>


More information about the systemd-bugs mailing list