Public bug reported:

$ LANG=C lsb_release -rd
Description:    Ubuntu 16.04.1 LTS
Release:        16.04

$ LANG=C apt-cache policy rancid
  Installed: 3.3.0-1
  Candidate: 3.3.0-1
  Version table:
 *** 3.3.0-1 500
        500 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
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.



** 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"

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

Reply via email to