#3724 ipautil.run() args log message is confusing
Closed: Fixed None Opened 10 years ago by pviktori.

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.


master:

  • ec282c7 ipautil.run args log message is confusing

Metadata Update from @pviktori:
- Issue assigned to rga
- Issue set to the milestone: FreeIPA 4.0 Backlog

7 years ago

Login to comment on this ticket.

Metadata