backport a trivial fix for a crash:
$ nmcli --complete-args connection add type vpn vpn-type ''
Segmentation fault (core dumped)
The impact is moderate, but the fix is trivial and riskless.
For the crash to happen, you need to install at least one VPN plugin that has no "aliases".
Currently, the only VPN plugin with aliases is nm-libreswan. So, install any plugin (except nm-libreswan).
Note, the crash can also happen during interactive edit mode in nmcli, not only during --complete-args. That is just an easy example
merged to dist-git and will be part of NetworkManager-1.4.0-8.el7. Build still missing.
Can list all arguments w/o segfault with various plugins installed.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.