Public bug reported:
$ LANG=C lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
$ LANG=C apt-cache policy rancid
rancid:
Installed: 3.3.0-1
Candidate: 3.3.0-1
Version table:
*** 3.3.0-1 500
500 http://es.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
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
prompt
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
works again.
Regards,
Christian
** Affects: rancid (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
** Patch added: "diff between the hlogin provided by the package and the hlogin
provided by rancid 3.5.1"
https://bugs.launchpad.net/bugs/1625512/+attachment/4744193/+files/hlogin.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1625512
Title:
fail to backup HP switches
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rancid/+bug/1625512/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs