systemctl exits with status 0 on a nonexisting service unit inside chroot

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.