[systemd-bugs] [Bug 90427] New: systemctl reload PATTERN reloads disabled units

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 12 12:16:51 PDT 2015


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

            Bug ID: 90427
           Summary: systemctl reload PATTERN reloads disabled units
           Product: systemd
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: lo.severach at spamgourmet.com
        QA Contact: systemd-bugs at lists.freedesktop.org

systemctl enable faxgetty at ttyUSB0.service
systemctl enable faxgetty at ttyUSB1.service

systemctl -l list-units "faxgetty@*.service"
#We see both services. ttyUSB1 was a mistake so we disable it.

systemctl disable faxgetty at ttyUSB1.service

systemctl -l list-units "faxgetty@*.service"
#We still see both services. I can't see any difference from being disabled.

cd /etc/systemd/system/multi-user.target.wants;ls faxgetty*
#faxgetty at ttyUSB0.service
# Clearly only one service is enabled

systemctl reload "faxgetty@*.service"
#Both services are loaded. Why does reload load a disabled service? If disable
isn't good enough, how do I get ttyUSB1 out of the list that reload
faxgetty*.service wants to reload?

-- 
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/20150512/75cd3f64/attachment.html>


More information about the systemd-bugs mailing list