Summary: | systemctl --user list-units includes system units | ||
---|---|---|---|
Product: | systemd | Reporter: | Tim Cuthbertson <tim> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | unexpected user units |
Description
Tim Cuthbertson
2015-05-23 05:36:13 UTC
Can you be more specific: what unit do you say that are unexpected? Created attachment 115998 [details]
unexpected user units
Sorry, I thought all system units were reported (and that it would be obvious). But on further inspection, it seems to be just .device, .mount and .swap system-level units which are reported.
Attached are the lines from my own user's `systemctl --user list-units` which I don't think should be present.
Those are expected. In the user instance, device and mount and swap units are created to mirror current state of the system. Thanks for the clarification. I've looked for documentation about this, but couldn't find any description of why this would be the case. I don't suppose you know where it's documented? I don't think it is or needs to be documented in any special way. Simply put, user services can depend on devices and other system-wide state the same as a system services. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.