systemd service unit incorrectly reported as masked
This document (7022685) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 3 (SLES 12 SP3)
Running systemctl unmask <unit file> doesn't change the status.
Reload the systemd configuration file with systemctl daemon-reload after the unit file is replaced.
When a mask is set on a unit, a symbolic link with the name of that unit is created in the /etc/systemd/system directory which points to /dev/null.
Systemd unit files in /etc/systemd/system override vendor-supplied unit files in /usr/lib/systemd/system, so attempting to start a masked unit will do nothing.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022685
- Creation Date: 23-Feb-2018
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com