Summary: | RFE: systemctl has no way to see only the failing and inactive units | ||
---|---|---|---|
Product: | systemd | Reporter: | Pacho Ramos <pachoramos1> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED WONTFIX | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Pacho Ramos
2015-05-23 18:44:55 UTC
Not sure I can parse this. Note that it's completely OK to have units listed in "systemctl list-units" that are missing. This is actually the most common case, since many services will carry After= or Before= dependencies on units that are not installed, simply because they want to define ordering in case they are installed on some systems, without unconditionally requiring them to be installed. "systemctl list-units" shows all failed and all active units. It does not show any units that are referenced but could not be loaded because the unit files are missing. Also, note that "--failed" is deprecated (and doesn't appear in the man page hence), use --state=failed instead. Anyway, I really don't understand what you are trying tho point out though. Can you elaborate, please? Sorry In summary, 1. I install a package months ago and enable some of their unit files. 2. Long time after that, I uninstall it (or the package got the unit files dropped or renamed or...) 3. I don't notice the unit files that I enabled months ago are now really failing with a "no such file or directory" error until I see that errors when manually reviewing journalctl output :/ Then, I would like to have a way to notice that errors more easily as they are not really hidden Closing all stale bugs with NEEDINFO. Please open a new bug at https://github.com/systemd/issues if the problem still occurs. |
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.