Re: [rancid] signing key?

2018-03-22 Thread Lee
On 3/22/18, Boheme  wrote:
> gpg --search-keys h...@shrubbery.net

Thanks, but that's not the positive ack I'm looking for.

Maybe he did use a key created in 1996 & maybe that really is his key,
but I'd rather get the fingerprint from him instead of just searching
for a key that works.

$ gpg --verify rancid-3.7.tar.gz.sig rancid-3.7.tar.gz
gpg: Signature made Wed, Mar  7, 2018  7:32:42 PM EST
gpg:using RSA key 0x4B2BDD527A774C09
gpg: Can't check signature: public key not found

$ gpg --search-keys h...@shrubbery.net
gpg: searching for "h...@shrubbery.net" from hkps server
hkps.pool.sks-keyservers.net
(1) John Heasley 
  2048 bit RSA key 0xFC860A57C2B34FCB, created: 2015-07-06
(2) John Heasley 
  2048 bit DSA key 0x4472A69EB6650559, created: 2015-04-23
(3) John Heasley 
  1024 bit RSA key 0x0A5CE6407A774C09, created: 2014-06-16 (revoked)
(4) John Heasley 
  1024 bit RSA key 0x4B2BDD527A774C09, created: 1996-12-20
Keys 1-4 of 4 for "h...@shrubbery.net".  Enter number(s), N)ext, or Q)uit > q



>> On Mar 22, 2018, at 11:07 AM, Lee  wrote:
>>
>>> On 3/22/18, heasley  wrote:
>>> Thu, Mar 22, 2018 at 01:46:09PM -0400, Lee:
> On 3/22/18, heasley  wrote:
> Thu, Mar 22, 2018 at 04:02:43PM +, Lauri Haveri:
>> Hello again and thanks for the answers!
>>
>> My device happens to be SRX100b and version of the Rancid is 3.3.
>>
>> I got from “apt-get install rancid cvs”
>
> Please install rancid 3/7.  It is available here:
> ftp://ftp.shrubbery.net/pub/ranciD

 Which has a detached sig -- thank you!!  But what key was used for
 signing?
>>>
>>> mine
>>
>> touché
>>
>> I don't have your key, so verifying the fingerprint would be nice; a
>> file I can gpg --import even better
>>
>> Thanks
>> Lee

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] signing key?

2018-03-22 Thread Boheme
gpg --search-keys h...@shrubbery.net

-Sent from my Pip-Boy 3000

> On Mar 22, 2018, at 11:07 AM, Lee  wrote:
> 
>> On 3/22/18, heasley  wrote:
>> Thu, Mar 22, 2018 at 01:46:09PM -0400, Lee:
 On 3/22/18, heasley  wrote:
 Thu, Mar 22, 2018 at 04:02:43PM +, Lauri Haveri:
> Hello again and thanks for the answers!
> 
> My device happens to be SRX100b and version of the Rancid is 3.3.
> 
> I got from “apt-get install rancid cvs”
 
 Please install rancid 3/7.  It is available here:
 ftp://ftp.shrubbery.net/pub/ranciD
>>> 
>>> Which has a detached sig -- thank you!!  But what key was used for
>>> signing?
>> 
>> mine
> 
> touché
> 
> I don't have your key, so verifying the fingerprint would be nice; a
> file I can gpg --import even better
> 
> Thanks
> Lee
> 
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] signing key?

2018-03-22 Thread Lee
On 3/22/18, heasley  wrote:
> Thu, Mar 22, 2018 at 01:46:09PM -0400, Lee:
>> On 3/22/18, heasley  wrote:
>> > Thu, Mar 22, 2018 at 04:02:43PM +, Lauri Haveri:
>> >> Hello again and thanks for the answers!
>> >>
>> >> My device happens to be SRX100b and version of the Rancid is 3.3.
>> >>
>> >> I got from “apt-get install rancid cvs”
>> >
>> > Please install rancid 3/7.  It is available here:
>> > ftp://ftp.shrubbery.net/pub/ranciD
>>
>> Which has a detached sig -- thank you!!  But what key was used for
>> signing?
>
> mine

touché

I don't have your key, so verifying the fingerprint would be nice; a
file I can gpg --import even better

Thanks
Lee

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-22 Thread Doug Hughes
It's highly unlikely that this is your problem, but this command has a
whole lot of extra shell startup redundancy in it:

“sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid”

You can skip using sudo to call su, sudo can do that, and you don't need
to call bash again either.

This should do it for you:

sudo -u rancid -Hl /var/lib/rancid/bin/rancid-run



On 3/22/2018 12:02 PM, Lauri Haveri wrote:
>
> Hello again and thanks for the answers!
>
>  
>
> My device happens to be SRX100b and version of the Rancid is 3.3.
>
> I got from “apt-get install rancid cvs”
>
>  
>
> Kind regards,
> Lauri
>
>  
>
>  
>
> *From:*Emille Blanc 
> *Sent:* torstai 22. maaliskuuta 2018 2.13
> *To:* Heasley ; Lauri Haveri
> 
> *Cc:* Rancid-discuss@shrubbery.net
> *Subject:* RE: [rancid] Error when trying to back up a JunOS device,
> SRX100
>
>  
>
> I've had no problems with our lonely SRX100b, in any versions of
> RANCID 3.x, up to and including 3.7.
>
> The SRX is running 12.1X46-D55.3
>
>  
>
> *From:*Rancid-discuss [mailto:rancid-discuss-boun...@shrubbery.net]
> *On Behalf Of *Heasley
> *Sent:* March-21-18 2:15 PM
> *To:* Lauri Haveri
> *Cc:* Rancid-discuss@shrubbery.net
> *Subject:* Re: [rancid] Error when trying to back up a JunOS device,
> SRX100
>
>  
>
>  
>
>
> Am 21.03.2018 um 20:43 schrieb Lauri Haveri
>  >:
>
> Hello all,
>
>  
>
> I am setting up a test enviroment on Ubuntu 16.04 before Rancid
> will go to a production enviroment.
>
> Everytime I run Rancid I get the following error:
>
> “Use of uninitialized value $_ in pattern match (m//) at
> /usr/share/perl5/rancid/junos.pm line 135
>
> Use of uninitialized value $_ in pattern match (m//) at
> /usr/share/perl5/rancid/junos.pm line 140
>
> 3-test-fw01: missed cmd(s): show configuration, show version
> invoke-on other-routing-engine, show system core-dumps, show
> version detail
>
> 3-test-fw01: End of run not foud
>
> # Error: TIMEOUT reached”
>
>  
>
> When I go the the part that the log
> (/usr/share/perl5/rancid/junos.pm) tells me, the part is following:
>
>  
>
> “$rval = {$commands{$cmd}}{$INPUT, $OUTPUT, $cmd};
>
> delete($commands{$cmd});
>
> if {$rval == -1} {    // this is the
> line 135
>
>    $clean_run = 0;
>
>    last TOP;
>
> }
>
> if (/>\s*quit/){  // this is line 140
>
> $clean_run=1;
>
> last;
>
> }”
>
>
> The command I am using to run Rancid is:
> “sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid”
>
> Could you please help me?
>
>  
>
> You havent told us what version of rancid nor from where you retrieved
> it. If its not 3.7, please start there. If it already is, but it is a
> ubuntu package, please try an install from source. 
>
>  
>
>  
>
> Kind regards,
> Lauri
>
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net 
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

-- 
Doug Hughes
Keystone NAP
Fairless Hills, PA
1.844.KEYBLOCK (539.2562)   

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-22 Thread Doug Hughes
It's highly unlikely that this is your problem, but this command has a
whole lot of extra shell startup redundancy in it:

“sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid”

You can skip using sudo to call su, sudo can do that, and you don't need
to call bash again either.

This should do it for you:

sudo -u rancid -Hl /var/lib/rancid/bin/rancid-run



On 3/22/2018 12:02 PM, Lauri Haveri wrote:
>
> Hello again and thanks for the answers!
>
>  
>
> My device happens to be SRX100b and version of the Rancid is 3.3.
>
> I got from “apt-get install rancid cvs”
>
>  
>
> Kind regards,
> Lauri
>
>  
>
>  
>
> *From:*Emille Blanc 
> *Sent:* torstai 22. maaliskuuta 2018 2.13
> *To:* Heasley ; Lauri Haveri
> 
> *Cc:* Rancid-discuss@shrubbery.net
> *Subject:* RE: [rancid] Error when trying to back up a JunOS device,
> SRX100
>
>  
>
> I've had no problems with our lonely SRX100b, in any versions of
> RANCID 3.x, up to and including 3.7.
>
> The SRX is running 12.1X46-D55.3
>
>  
>
> *From:*Rancid-discuss [mailto:rancid-discuss-boun...@shrubbery.net]
> *On Behalf Of *Heasley
> *Sent:* March-21-18 2:15 PM
> *To:* Lauri Haveri
> *Cc:* Rancid-discuss@shrubbery.net
> *Subject:* Re: [rancid] Error when trying to back up a JunOS device,
> SRX100
>
>  
>
>  
>
>
> Am 21.03.2018 um 20:43 schrieb Lauri Haveri
>  >:
>
> Hello all,
>
>  
>
> I am setting up a test enviroment on Ubuntu 16.04 before Rancid
> will go to a production enviroment.
>
> Everytime I run Rancid I get the following error:
>
> “Use of uninitialized value $_ in pattern match (m//) at
> /usr/share/perl5/rancid/junos.pm line 135
>
> Use of uninitialized value $_ in pattern match (m//) at
> /usr/share/perl5/rancid/junos.pm line 140
>
> 3-test-fw01: missed cmd(s): show configuration, show version
> invoke-on other-routing-engine, show system core-dumps, show
> version detail
>
> 3-test-fw01: End of run not foud
>
> # Error: TIMEOUT reached”
>
>  
>
> When I go the the part that the log
> (/usr/share/perl5/rancid/junos.pm) tells me, the part is following:
>
>  
>
> “$rval = {$commands{$cmd}}{$INPUT, $OUTPUT, $cmd};
>
> delete($commands{$cmd});
>
> if {$rval == -1} {    // this is the
> line 135
>
>    $clean_run = 0;
>
>    last TOP;
>
> }
>
> if (/>\s*quit/){  // this is line 140
>
> $clean_run=1;
>
> last;
>
> }”
>
>
> The command I am using to run Rancid is:
> “sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid”
>
> Could you please help me?
>
>  
>
> You havent told us what version of rancid nor from where you retrieved
> it. If its not 3.7, please start there. If it already is, but it is a
> ubuntu package, please try an install from source. 
>
>  
>
>  
>
> Kind regards,
> Lauri
>
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net 
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>
>
>
> ___
> Rancid-discuss mailing list
> Rancid-discuss@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

-- 
Doug Hughes
Keystone NAP
Fairless Hills, PA
1.844.KEYBLOCK (539.2562)   

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-22 Thread heasley
Thu, Mar 22, 2018 at 04:02:43PM +, Lauri Haveri:
> Hello again and thanks for the answers!
> 
> My device happens to be SRX100b and version of the Rancid is 3.3.
> 
> I got from “apt-get install rancid cvs”

Please install rancid 3/7.  It is available here:
ftp://ftp.shrubbery.net/pub/ranciD

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss

Re: [rancid] Error when trying to back up a JunOS device, SRX100

2018-03-22 Thread Lauri Haveri
Hello again and thanks for the answers!

My device happens to be SRX100b and version of the Rancid is 3.3.

I got from “apt-get install rancid cvs”

Kind regards,
Lauri


From: Emille Blanc 
Sent: torstai 22. maaliskuuta 2018 2.13
To: Heasley ; Lauri Haveri 

Cc: Rancid-discuss@shrubbery.net
Subject: RE: [rancid] Error when trying to back up a JunOS device, SRX100

I've had no problems with our lonely SRX100b, in any versions of RANCID 3.x, up 
to and including 3.7.
The SRX is running 12.1X46-D55.3

From: Rancid-discuss [mailto:rancid-discuss-boun...@shrubbery.net] On Behalf Of 
Heasley
Sent: March-21-18 2:15 PM
To: Lauri Haveri
Cc: Rancid-discuss@shrubbery.net
Subject: Re: [rancid] Error when trying to back up a JunOS device, SRX100



Am 21.03.2018 um 20:43 schrieb Lauri Haveri 
>:
Hello all,


I am setting up a test enviroment on Ubuntu 16.04 before Rancid will go to a 
production enviroment.

Everytime I run Rancid I get the following error:

“Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/rancid/junos.pm line 135

Use of uninitialized value $_ in pattern match (m//) at 
/usr/share/perl5/rancid/junos.pm line 140

3-test-fw01: missed cmd(s): show configuration, show version invoke-on 
other-routing-engine, show system core-dumps, show version detail

3-test-fw01: End of run not foud

# Error: TIMEOUT reached”



When I go the the part that the log (/usr/share/perl5/rancid/junos.pm) tells 
me, the part is following:



“$rval = {$commands{$cmd}}{$INPUT, $OUTPUT, $cmd};

delete($commands{$cmd});

if {$rval == -1} {// this is the line 135

   $clean_run = 0;

   last TOP;

}

if (/>\s*quit/){  // this is line 140

$clean_run=1;

last;

}”

The command I am using to run Rancid is:
“sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l rancid”

Could you please help me?

You havent told us what version of rancid nor from where you retrieved it. If 
its not 3.7, please start there. If it already is, but it is a ubuntu package, 
please try an install from source.


Kind regards,
Lauri
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss