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

Dan Streetman 1809162 at bugs.launchpad.net
Wed Jun 30 22:16:53 UTC 2021


please reopen if this is still an issue

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

-- 
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/1809162

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

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  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.

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



More information about the foundations-bugs mailing list