When using jlogin with the '-s' option , No further output ?-{
john heasley
heas at shrubbery.net
Wed Apr 2 17:19:20 UTC 2003
Wed, Apr 02, 2003 at 12:01:34PM -0500, Mr. James W. Laferriere:
> Hello John , The '-s' option in jlogin sets log_user to 1 by
no, it sets it to 0 when a script is specified.
174 if { $do_script } {
175 log_user 0
176 } else {
177 log_user 1
178 }
> default . And I have in my -s scripts set it to 1 as well .
> Still no output from the router .
>
> I have tried 'log_file -a -noappend junk.txt' & it is empty as
> well . I do not even get the 'send_user' output I have setup to
> give me (sort of) debug output . I just tried send_error & is
> swallows that output too !-{
>
> Where else can I look ? Tia , JimL
then i suspect either an error in how you are running jlogin from your
shell, a typo in the script, or your expect binary is buggered. really
can not say without seeing the code.
also, see the examples in util/*.exp.
> On Wed, 2 Apr 2003, john heasley wrote:
> > Wed, Apr 02, 2003 at 10:29:49AM -0500, Mr. James W. Laferriere:
> > > Hello All , Every time I use the '-s' option to jlogin the output
> > > is lost . Or at least I am unable to find to which fiel
> > > descriptor it is (re-)directed . All help appreciated . JimL
> > there is no redirection, unless you do so explicitly. output will
> > appear on stdout (1) and stderr (2), if you tell expect to do so:
> > log_user 1
> --
> +------------------------------------------------------------------+
> | James W. Laferriere | System Techniques | Give me VMS |
> | Network Engineer | P.O. Box 854 | Give me Linux |
> | babydr at baby-dragons.com | Coudersport PA 16915 | only on AXP |
> +------------------------------------------------------------------+
More information about the Rancid-discuss
mailing list