[Bug 1570813] Re: Executing "systemctl is-enabled tmp.mount ; echo $?" returns 0 on an error

Launchpad Bug Tracker 1570813 at bugs.launchpad.net
Sat Feb 25 09:29:52 UTC 2017


*** This bug is a duplicate of bug 1545707 ***
    https://bugs.launchpad.net/bugs/1545707

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1570813

Title:
  Executing "systemctl is-enabled tmp.mount ; echo $?" returns 0 on an
  error

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 16.04 dev with systemd 229-4ubuntu4 and figured out
  by this report (
  https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1545707 ) if
  executing "systemctl is-enabled tmp.mount ; echo $?" fails 0 is
  returned as shown in this example:

  root at ubuntu:~# systemctl is-enabled tmp.mount ; echo $?
  Failed to get unit file state for tmp.mount: No such file or directory
  0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1570813/+subscriptions



More information about the foundations-bugs mailing list