A user is having trouble collecting a netscreen box from a centos7 host. We've discovered that the following change fixes the problem, but the cause is unclear. So, I'm reluctant to commit this with knowing that it does not break collection for some sample of users.
Could other netscreen owners try this patchi, please? Index: bin/nlogin.in =================================================================== --- bin/nlogin.in (revision 3966) +++ bin/nlogin.in (working copy) @@ -543,6 +543,15 @@ source_password_file $password_file set in_proc 0 set exitval 0 +# if we have dont have a tty, we need some additional terminal settings +if [catch {open /dev/tty w} ttyid] { + # no tty, ie: cron + set spawnopts "-nottycopy" + set stty_init "raw -echo cols 132" +} else { + set stty_init "raw -echo" + catch {close ttyid} reason +} foreach router [lrange $argv $i end] { set router [string tolower $router] send_user -- "$router\n" _______________________________________________ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss