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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content