[Bug 1186715] New: [Tumbleweed][openssl][libressl] older "/usr/bin/openssl" command gave wrong return code
http://bugzilla.opensuse.org/show_bug.cgi?id=1186715 Bug ID: 1186715 Summary: [Tumbleweed][openssl][libressl] older "/usr/bin/openssl" command gave wrong return code Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: richard.fan@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The issue might be a corner one. And it might have something to do with bug https://bugzilla.opensuse.org/show_bug.cgi?id=1186649 However, It is very strange that, when the command reports an error msg, it still returns 0. Here comes the reproduce steps: 1. install the older openssl cli with command "zypper in 'openssl(cli)', and the only libressl is installed. susetest:~ # rpm -qf /usr/bin/openssl libressl-3.3.3-1.2.x86_64 2. I tried to run "rehash" command, it reports error susetest:~ # /usr/bin/openssl rehash /etc/openldap openssl:Error: 'rehash' is an invalid command. Standard commands asn1parse ca certhash ciphers cms crl crl2pkcs7 dgst dh dhparam dsa dsaparam ec ecparam enc errstr gendh gendsa genpkey genrsa nseq ocsp passwd pkcs12 pkcs7 pkcs8 pkey pkeyparam pkeyutl prime rand req rsa rsautl s_client s_server s_time sess_id smime speed spkac ts verify version x509 Message Digest commands (see the `dgst' command for more details) gost-mac md4 md5 md_gost94 ripemd160 sha1 sha224 sha256 sha384 sha512 sm3 sm3WithRSAEncryption streebog256 streebog512 whirlpool Cipher commands (see the `enc' command for more details) aes-128-cbc aes-128-ecb aes-192-cbc aes-192-ecb aes-256-cbc aes-256-ecb base64 bf bf-cbc bf-cfb bf-ecb bf-ofb camellia-128-cbc camellia-128-ecb camellia-192-cbc camellia-192-ecb camellia-256-cbc camellia-256-ecb cast cast-cbc cast5-cbc cast5-cfb cast5-ecb cast5-ofb chacha des des-cbc des-cfb des-ecb des-ede des-ede-cbc des-ede-cfb des-ede-ofb des-ede3 des-ede3-cbc des-ede3-cfb des-ede3-ofb des-ofb des3 desx idea idea-cbc idea-cfb idea-ecb idea-ofb rc2 rc2-40-cbc rc2-64-cbc rc2-cbc rc2-cfb rc2-ecb rc2-ofb rc4 rc4-40 sm4 sm4-cbc sm4-cfb sm4-ecb sm4-ofb However, the return code is 0 (IMO, it should return non-zero code) susetest:~ # echo $? 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1186715
Richard Fan
participants (1)
-
bugzilla_noreply@suse.com