Public bug reported:

Binary package hint: stunnel4

The program /usr/bin/stunnel behaves differently when installed from
stunnel4 compared to stunnel. When executing

stunnel -c -f -A "${_send_serverCert}" -p "${_send_clientCert}" -r
"${_send_remoteAddress}" -l /bin/bash -- tester -c "touch \"aaa bbb\""

with "stunnel" package, this will create a file "aaa bbb" in the current
working directory

Same call with "stunnel4" package gives error message, because string
"touch \"aaa bbb\"" is splitted and so bash -c just takes touch without
argument, and "aaa" and "bbb" are first/second argument to bash process,
not touch.

touch: missing file operand
Try `touch --help' for more information.

This is rather annoying, because  that makes it impossible  to use the
same calls to /usr/bin/stunnel depending on platform and installed
packages.

** Affects: stunnel4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
stunnel v4 splits command  line arguments, v3 does not
https://bugs.launchpad.net/bugs/345945
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to