Red Hat Bugzilla – Bug 839567
[virt-viewer]in virt-viewer help , spice-smartcard-db should not have "="
Last modified: 2012-07-26 12:58:49 EDT
Description of problem:
in virt-viewer help ,spice-smartcard-db should not have "="
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1: run command:
#virt-viewer --help-all or #virt-viewer --help-spice
#remote-viewer --help-all or #remote-viewer --help-spice
use this command will couse software smartcart can't worked.
I reread bug #815175 and I think things are more complicated than that. Are you using ~/.netscape, or ~/something as the path to the certificate database? Or are you using a path without '~' in it?
according to https://bugzilla.redhat.com/show_bug.cgi?id=815175#c2
using ~/.netscape/ or /root/.netscape/ all worked well
Yes, they worked well with ' ' instead of '=', but I think using --spice-smartcard-db=/root/.netscape/ would work too and that only --spice-smartcard-db=~/.netscape/ is broken, and that this behaviour is not specific to virt-viewer.
Yes, i re-test this part, only --spice-smartcard-db=~/.netscape/ is broken,
--spice-smartcard-db=/root/.netscape and --spice-smartcard-db ~/.netscape/ worked, so ,do you think we should coment this in virt-viewer help? or ignore this in virt-viewer. thanks in advance.
Other commands have exactly the same behaviour:
$ wget --output-file=~/tuseoh.log 'http://redhat.com'
wget: ~/tuseoh.log: No such file or directory
$ wget --output-file=/home/teuf/tuseoh.log 'http://redhat.com'
so this looks like a standard oddity with shell commands, not an issue specific to virt-viewer. Imo this is not really a bug and we should close this one.
Based on the above discussion, this is normal shell expansion behaviour for any app.