FS#65823 - [systemd] v245 systemctl zsh completion broken

Attached to Project: Arch Linux
Opened by Ronan Pigott (Brocellous) - Friday, 13 March 2020, 18:10 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 18 March 2020, 20:12 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



A bug in the systemctl output format from v245 breaks the zsh completions shipped with systemd. Several subcommands are affected as well as machinectl command.

I reported the issue upstream, and someone was kind enough to quickly provide a patch. I use the provided patch and it works well.

I have no doubt that the fix will make it's way into the next stable release of systemd, however I've seen that some other minor bugfixes have been backported and I was hoping this one could be as well. It's just a formatting bugfix, but imo the impact on usability is comparatively large. Thanks.

Additional info:
package: systemd 245-3
upstream report: https://github.com/systemd/systemd/issues/15077
patch: https://github.com/systemd/systemd/pull/15081

Steps to reproduce:
1. Use zsh
2. systemctl stop <TAB>

Expect: complete the names of stoppable services
Actual: nothing
This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 18 March 2020, 20:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 245.2-1
Comment by Eli Schwartz (eschwartz) - Wednesday, 18 March 2020, 05:42 GMT
This also breaks netctl:  FS#65822