ipautil.run() logs arguments like this:
ipa : DEBUG args=/usr/bin/perl /usr/bin/pkisilent ConfigureCA -cs_hostname jokajak.example.com ...
This looks confusingly like a shell command, and in most cases it can be used as such. But if any argument contains a space or a special shell character, it can't be used as such. We should either print this as a Python list, or rather shell-quote each argument.
attachment freeipa-rga-0021-ipautil.run-args-log-message-is-confusing.patch
master:
Metadata Update from @pviktori: - Issue assigned to rga - Issue set to the milestone: FreeIPA 4.0 Backlog
Login to comment on this ticket.