[Bug 1809162] [NEW] systemctl show -p doesn't show all properties

Launchpad Bug Tracker 1809162 at bugs.launchpad.net
Wed Dec 19 20:18:10 UTC 2018


You have been subscribed to a public bug:

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: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
systemctl show -p doesn't show all properties
https://bugs.launchpad.net/bugs/1809162
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list