Package: rancid Version: 3.4.1-3 Severity: grave Hi,
Since upgrading to 3.4.x (from an upstream 2.3.9), HP ProCurve logins have been completely broken for me. It turns out 08_hlogin_paging.patch breaks this; it makes hlogin send “no page\r” and then wait for first a partial prompt (the switch's name alone) and then a full prompt (the switch's name followed by [#>]) without sending any commands in-between. Example session: rancid@pannekake:~$ /usr/lib/rancid/bin/hlogin -t 90 -c "show version;show flash" james.wlan.samfundet.no < /dev/null james.wlan.samfundet.no spawn hpuifilter -- ssh -c 3des-cbc -x -l admin james.wlan.samfundet.no ad...@james.wlan.samfundet.no's password: ProCurve J9087A Switch 2610-24-PWR Software revision R.11.112 Copyright (C) 1991-2015 Hewlett-Packard Co. All Rights Reserved. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subdivision (b) (3) (ii) of the Rights in Technical Data and Computer Software clause at 52.227-7013. HEWLETT-PACKARD COMPANY, 3000 Hanover St., Palo Alto, CA 94303 Press any key to continuejames# james# no page james# Error: TIMEOUT reached Looking at the code, I doubt it works in any ProCurve device; I've tested it on 2650, 2824, 2840 and 2610, and it works on neither. (Thus the RC severity; if it breaks all of HP, it's pretty bad.) My guess is that the patch got borked in a merge at some point, because the patch in 2.3.8-6 seems good in comparison (it has a send "terminal length 0\r" that is now lost). -- System Information: Debian Release: 8.4 APT prefers stable APT policy: (750, 'stable'), (500, 'proposed-updates') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0 (SMP w/40 CPU cores) Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages rancid depends on: ii adduser 3.113+nmu3 ii cvs 2:1.12.13+real-15 ii debconf [debconf-2.0] 1.5.56 ii expect 5.45-6 ii git 1:2.8.0~rc3+next.20160316-1 ii iputils-ping [ping] 3:20121221-5+b2 ii libc6 2.19-18+deb8u4 ii libperl4-corelibs-perl 0.003-1 ii openssh-client 1:6.7p1-5+deb8u2 ii passwd 1:4.2-3+deb8u1 ii perl 5.20.2-3+deb8u4 ii ssh 1:6.7p1-5+deb8u2 rancid recommends no packages. Versions of packages rancid suggests: ii diffstat 1.58-1 -- Configuration Files: /etc/rancid/rancid.conf changed [not included] -- debconf information: * rancid/warning: * rancid/go_on: true