-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Add ListUnitFiles API #889
Labels
backlog
This is next up in priority
enhancement
New feature or request
help wanted
Extra attention is needed
Milestone
Comments
engelmi
added
enhancement
New feature or request
help wanted
Extra attention is needed
backlog
This is next up in priority
labels
Apr 22, 2024
Assign to me |
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 23, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 23, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 23, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 23, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 24, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 24, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 25, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 25, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 25, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 30, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Jul 31, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
trev-allison03
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 6, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
mwperina
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 7, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
mwperina
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 7, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
mwperina
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 7, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
mwperina
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 7, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
mwperina
pushed a commit
to trev-allison03/bluechi
that referenced
this issue
Aug 7, 2024
Fixes: eclipse-bluechi#889 Signed-off-by: tallison <[email protected]>
engelmi
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes: #889 Signed-off-by: tallison <[email protected]>
engelmi
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes: #889 Signed-off-by: tallison <[email protected]>
engelmi
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes: #889 Signed-off-by: tallison <[email protected]>
engelmi
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes: #889 Signed-off-by: tallison <[email protected]>
engelmi
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes: #889 Signed-off-by: tallison <[email protected]>
engelmi
added a commit
to engelmi/bluechi
that referenced
this issue
Aug 9, 2024
Relates to: eclipse-bluechi#889 The structs and functions used for ListUnits and ListUnitFiles are identical for the most part. In order to reduce code duplication, the implementation for both have been combined into a single struct with unified functions. This should also allow for additional, similar features in the future. Signed-off-by: Michael Engel <[email protected]>
engelmi
added a commit
to engelmi/bluechi
that referenced
this issue
Aug 9, 2024
Relates to: eclipse-bluechi#889 The structs and functions used for ListUnits and ListUnitFiles are identical for the most part. In order to reduce code duplication, the implementation for both have been combined into a single struct with unified functions. This should also allow for additional, similar features in the future. Signed-off-by: Michael Engel <[email protected]>
engelmi
added a commit
to engelmi/bluechi
that referenced
this issue
Aug 9, 2024
Relates to: eclipse-bluechi#889 The structs and functions used for ListUnits and ListUnitFiles are identical for the most part. In order to reduce code duplication, the implementation for both have been combined into a single struct with unified functions. This should also allow for additional, similar features in the future. Signed-off-by: Michael Engel <[email protected]>
engelmi
added a commit
that referenced
this issue
Aug 12, 2024
Relates to: #889 The structs and functions used for ListUnits and ListUnitFiles are identical for the most part. In order to reduce code duplication, the implementation for both have been combined into a single struct with unified functions. This should also allow for additional, similar features in the future. Signed-off-by: Michael Engel <[email protected]>
engelmi
added a commit
to engelmi/bluechi
that referenced
this issue
Sep 11, 2024
Relates to: eclipse-bluechi#889 Added ListUnitFiles to the API description for the readthedocs and in the API specification for the internal Agent interface. Signed-off-by: Michael Engel <[email protected]>
engelmi
added a commit
to engelmi/bluechi
that referenced
this issue
Sep 11, 2024
Relates to: eclipse-bluechi#889 Added ListUnitFiles to the API description for the readthedocs and in the API specification for the internal Agent interface. Signed-off-by: Michael Engel <[email protected]>
mwperina
pushed a commit
to engelmi/bluechi
that referenced
this issue
Sep 13, 2024
Relates to: eclipse-bluechi#889 Added ListUnitFiles to the API description for the readthedocs and in the API specification for the internal Agent interface. Signed-off-by: Michael Engel <[email protected]>
mwperina
pushed a commit
that referenced
this issue
Sep 13, 2024
Relates to: #889 Added ListUnitFiles to the API description for the readthedocs and in the API specification for the internal Agent interface. Signed-off-by: Michael Engel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backlog
This is next up in priority
enhancement
New feature or request
help wanted
Extra attention is needed
Please describe what you would like to see
This RFE resulted from #887.
Based on how systemctl list-units works, it is not possible to query services that aren't reference in any way (e.g. via
RequiredBy = multi-user.target
) or are active/failed.systemd's ListUnitFiles API can be used to address this issue and return a list of files. So in order to enable a more complete view of available services, a new API for listing unit files should be added to BlueChi.
Please describe the solution you'd like
bluechi-controller
: Add new API method on public DBus and delegate tobluechi-agent
bluechi-agent
: Add new API on internal DBus and delegate to systemd busbluechictl
: Add new commandlist-unit-files [file-name-pattern]
where pattern can be used to filter by file name glob (similar to bluechictls list-units)ListUnitsRequest
andListUnitFilesRequest
by unifying these structs and the respective functions (see this comment) (Refactored ListUnitsRequest and ListUnitFilesRequest #923)Please describe your use case
For example, systemd services generated from quadlet files are not visible via
ListUnits
method (based on how systemctl list-units works). Using list-unit-files such service files can be queried as well.The text was updated successfully, but these errors were encountered: