Date: Wed, 23 Jul 2014 14:14:52 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192063] New: security/openssh-portable minor startup script bug comparing ListenAddress values Message-ID: <bug-192063-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192063 Bug ID: 192063 Summary: security/openssh-portable minor startup script bug comparing ListenAddress values Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: daved@tamu.edu When running openssh-portable as a second sshd process on a different IP address, you get an errant error with the use of the startup script. [: ListenAddress 172.18.42.76: bad number Performing sanity check on openssh configuration. Starting openssh. The error is from the use of an integer test on a string value. --- files/openssh.in.orig 2014-07-23 09:11:27.157943448 -0500 +++ files/openssh.in 2014-07-23 09:11:36.462895405 -0500 @@ -144,7 +144,7 @@ base_sshd_port=22 fi - if [ "${self_port}" -ne "${base_sshd_port}" ]; then + if [ "${self_port}" = "${base_sshd_port}" ]; then return 1 fi } -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192063-13>