systemctl exits with status 0 on a nonexisting service unit inside chroot
Issue
The systemctl is-enabled command exits with status 0 on a nonexisting service unit in chrooted environment.
Environment
RHEL 7
systemd-219-30.el7_3.6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
