[systemd-devel] [PATCH] systemctl: print unit package in status

Alexandre Detiste alexandre.detiste at gmail.com
Thu Dec 18 01:24:02 PST 2014


Hi,

You could maybe think of adding some "Package=" ou "SourcePackage="
attribute in units to let users
known where this unit came from.

This would work like "SourcePath=" does for generated units.

Alexandre Detiste

2014-12-18 10:08 GMT+01:00 "J├│hann B. Gu├░mundsson" <johannbg at gmail.com>:
>
> On 12/18/2014 04:00 AM, Spencer Baugh wrote:
>>
>> When printing the status of a unit, open a connection to the session bus
>> and query PackageKit for the package that the unit file belongs
>> to. Print it if PackageKit knows.
>
>
> There are gazillion package manager in the wild and this will significantly
> delay the output of the status command which makes this something you should
> be carrying downstream.
>
> JBG


More information about the systemd-devel mailing list