Public bug reported:
$ LANG=C lsb_release -rd
Description: Ubuntu 16.04.1 LTS
$ LANG=C apt-cache policy rancid
*** 3.3.0-1 500
500 http://es.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
The backup of switches HP are based on the hlogin and hrancid scripts.
The hlogin expect plugin fails to launch commands in the HP switch. It
only sends the "no page" command (line 552 of hlogin script), it waits
in the expect sentence until the timeout is reached.
This has been already solved in the upstream 3.5.1 version. According to
the Changelog of the project several bug/improvements have been applied
to hlogin script since the 3.3.0 version:
3.5.0: hlogin: when refactoring prompt, eat full lines before looking for the
3.5.1: hlogin: missed an ssh -c option among the clean-up - Mark Felder
I can confirm that by replacing the hlogin script provided by the
package with the hlogin of version 3.5.1, the backup of HP switches
** Affects: rancid (Ubuntu)
** Tags: patch
** Patch added: "diff between the hlogin provided by the package and the hlogin
provided by rancid 3.5.1"
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
fail to backup HP switches
To manage notifications about this bug go to:
ubuntu-bugs mailing list