Re: Call for testing: OpenSSH 7.8

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Darren Tucker wrote:
On 17 August 2018 at 08:21, Jeff Wieland <wieland@xxxxxxxxxx> wrote:
On SPARC Solaris 10, using Solaris' native OpenSSL and Solaris
Studio 12.2, I got the following errors:


run test agent-getpeereid.sh ...
ssh-add did not fail for nobody: 1 < 2
I'm not sure why this might be.  It passes for me on Solaris 10 x86
with gcc.  I suggest adding a "set -x" at the start of
agent-getpeereid.sh and running the test ("make tests
LTESTS=agent-getpeereid.sh SKIP_UNIT=1") and see what it's doing under
the covers.

--
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Sorry that I didn't get back to you until now.   The output from adding
the "set -x" is:

++tid='disallow agent attach from other uid'
++UNPRIV=nobody
++ASOCK=/scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent
++SSH_AUTH_SOCK=/nonexistent
++config_defined HAVE_GETPEEREID HAVE_GETPEERUCRED HAVE_SO_PEERCRED
++str=HAVE_GETPEEREID
++test xHAVE_GETPEERUCRED '!=' x
++str='HAVE_GETPEEREID|HAVE_GETPEERUCRED'
++shift
++test xHAVE_SO_PEERCRED '!=' x
++str='HAVE_GETPEEREID|HAVE_GETPEERUCRED|HAVE_SO_PEERCRED'
++shift
++test x '!=' x
++egrep '^#define.*(HAVE_GETPEEREID|HAVE_GETPEERUCRED|HAVE_SO_PEERCRED)' /scratch/wieland/src/openssh/openssh-SNAP-20180823/config.h
++:
++case "x$SUDO" in
++sudo=1
++trace 'start agent'
++start_debug_log start agent
++echo 'trace: start' agent
++echo 'trace: start' agent
++echo 'trace: start' agent
++'[' X = Xyes ']'
+++/scratch/wieland/src/openssh/openssh-SNAP-20180823/ssh-agent -s -a /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent ++eval 'SSH_AUTH_SOCK=/scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent;' export 'SSH_AUTH_SOCK;' 'SSH_AGENT_PID=21638;' export 'SSH_AGENT_PID;' echo Agent pid '21638;'
+++SSH_AUTH_SOCK=/scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent
+++export SSH_AUTH_SOCK
+++SSH_AGENT_PID=21638
+++export SSH_AGENT_PID
+++echo Agent pid 21638
++r=0
++'[' 0 -ne 0 ']'
++chmod 644 /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent
++/scratch/wieland/src/openssh/openssh-SNAP-20180823/ssh-add -l
++r=1
++'[' 1 -ne 1 ']'
++test -z 1
++sudo -S -u nobody /scratch/wieland/src/openssh/openssh-SNAP-20180823/ssh-add -l
++r=1
++'[' 1 -lt 2 ']'
++fail 'ssh-add did not fail for nobody: 1 < 2'
++save_debug_log 'FAIL: ssh-add did not fail for nobody: 1 < 2'
++echo FAIL: ssh-add did not fail for nobody: 1 '<' 2
++echo FAIL: ssh-add did not fail for nobody: 1 '<' 2
++echo FAIL: ssh-add did not fail for nobody: 1 '<' 2
++cat /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/regress.log
++echo
++cat /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/ssh.log
++echo
++cat /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/sshd.log
++echo
++RESULT=1
++echo 'ssh-add did not fail for nobody: 1 < 2'
ssh-add did not fail for nobody: 1 < 2
++test x '!=' x
++trace 'kill agent'
++start_debug_log kill agent
++echo 'trace: kill' agent
++echo 'trace: kill' agent
++echo 'trace: kill' agent
++'[' X = Xyes ']'
++/scratch/wieland/src/openssh/openssh-SNAP-20180823/ssh-agent -k
++rm -f /scratch/wieland/src/openssh/openssh-SNAP-20180823/regress/agent


--
Jeff Wieland, UNIX/Network Systems Administrator
Purdue University IT Infrastructure Services UNIX Platforms

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux