[Bug 325603] [NEW] nrancid misses one line per page when pager is enabled

Sam Cannell sam.cannell at police.govt.nz
Thu Feb 5 04:09:36 UTC 2009


Public bug reported:

Binary package hint: rancid-core

When rancid is connecting to a Juniper Netscreen device (tested against
Netscreen 204 and 208) on which the console pager is enabled, and the
user rancid is connecting as is does not have permission to disable the
pager, nrancid will fail to back up one line of the config per page.

The output parser throws away any line beginning with '--- more ---';
however when the Netscreen displays the first line of a subsequent page,
it simply backspaces out the '--- more ---' text and replaces it with
spaces - there's no line break between the pager prompt and the next
line of the config.

The attached patch for the nrancid script fixes the problem for the
firewalls I've tested it against, but I'm not sure what its effect will
be on other Netscreen devices.

** Affects: rancid (Ubuntu)
     Importance: Undecided
         Status: New

-- 
nrancid misses one line per page when pager is enabled
https://bugs.launchpad.net/bugs/325603
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list