Public bug reported:

In 
Description:    Ubuntu 16.04.4 LTS
Release:        16.04

using systemd package Version: 229-4ubuntu21.10

The systemctl show -p or --property=  command shows some properties but
not others.

To reproduce create a unit some_unit.path

[Unit]
Description=%n


[Path]
PathExistsGlob=%h/foo*
Unit=remove.service


Using 

systemctl show --all some_unit.path

you'll see properties PathExistsGlob and LoadState shown

Now try

systemctl show -p LoadState some_unit.path

and you will see the property value

Then try

systemctl show -p PathExistsGlob some_unit.path

and you will get no value back.

** Affects: ubuntu
     Importance: Undecided
         Status: New

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

Title:
  systemctl show -p doesn't show all properties

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to