[bug-notifications] [openssh 0005006]: Compressed connections do not Work

Mantis Bug Tracker noreply at opencsw.org
Sun Sep 30 22:34:29 CEST 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5006 
====================================================================== 
Reported By:                ihsan
Assigned To:                yann
====================================================================== 
Project:                    openssh
Issue ID:                   5006
Category:                   regular use
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             2012-09-30 20:54 CEST
Last Modified:              2012-09-30 22:34 CEST
====================================================================== 
Summary:                    Compressed connections do not Work
Description: 
Client: OpenSSH 5.4p1, stock FreeBSD 8.3

"Compression" set to "yes" in sshd_config

sshd debug output: 
debug1: trying public key file /home/xxx/.ssh/authorized_keys
debug1: fd 7 clearing O_NONBLOCK
debug1: matching key found: file /home/xxx/.ssh/authorized_keys, line 1
Found matching DSA key: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
debug1: restore_uid: 0/0
debug1: ssh_dss_verify: signature correct
debug1: do_pam_account: called
Accepted publickey for xxxxx from xxx.xxx.xxx.xxx port 38033 ssh2
ld.so.1: sshd: fatal: libz.so.1: open failed: No such file or directory
ld.so.1: sshd: fatal: relocation error: file /opt/csw/sbin/sshd: symbol
inflateInit_: referenced symbol not found
debug1: monitor_read_log: child log fd closed
debug1: monitor_child_preauth: xxxxx has been authenticated by privileged
process
debug1: do_cleanup
debug1: PAM: cleanup

Workaround:
Disable Compression in sshd_config

====================================================================== 

---------------------------------------------------------------------- 
 (0010148) yann (manager) - 2012-09-30 22:34
 https://www.opencsw.org/mantis/view.php?id=5006#c10148 
---------------------------------------------------------------------- 
Hmm, I think it's a side effect of direct binding. Direct binding also
enable lazy binding, which means libz is only loaded where the first symbol
is used.

As it happens when the process is chrooted, it can't find the library.
I think I know how to fix it.



More information about the bug-notifications mailing list