<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Try this..<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Edit f10rancid<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Go to sub ShowFlash<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you want to just remove the ‘..’ directory that is triggering:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Right after one of the two ‘next if’ lines, add another:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">next if (/\.\.$/);<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Or if you want to remove all drwx directories (they don’t add much value. We mostly care about the files)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">next if (/drwx/);<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
rancid-discuss-bounces@shrubbery.net [mailto:rancid-discuss-bounces@shrubbery.net]
<b><span style="font-weight:bold">On Behalf Of </span></b>Thomas Vachon<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, August 01, 2013 9:52 AM<br>
<b><span style="font-weight:bold">To:</span></b> heasley<br>
<b><span style="font-weight:bold">Cc:</span></b> rancid-discuss@shrubbery.net<br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [rancid] Force10 FTOS 9 keeps triggering alerts due to flash mod time changing<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">No better. Still happens on ever rancid-run. I tried moving it to a non-terminating regex and adding a \n with no luck. IT seems to trip up
on the date. Here is the exact output of dir flash:<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Directory of flash:<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 1 drwx 4096 Jan 01 1980 00:00:00 +00:00 .<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 2 drwx 2048 Aug 02 2013 05:36:24 +00:00 ..<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 3 drwx 4096 Mar 30 2012 18:16:28 +00:00 TRACE_LOG_DIR<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 4 drwx 4096 Mar 30 2012 18:16:28 +00:00 CORE_DUMP_DIR<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 5 d--- 4096 Mar 30 2012 18:16:28 +00:00 ADMIN_DIR<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 6 drwx 4096 Jul 31 2013 11:55:02 +00:00 CONFIG_TEMPLATE<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 7 -rwx 16712 Jul 31 2013 11:53:56 +00:00 startup-config<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 8 drwx 4096 Jul 31 2012 09:38:16 +00:00 RUNTIME_PATCH_DIR<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> 9 -rwx 16351 Jun 19 2013 10:26:30 +00:00 startup-config.bak<o:p></o:p></span></font></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Looking at dir flash:/.. it is actually the / mount of the FTOS OS, which is getting modified by a log entry for the login as far as I can tell.<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br clear="all">
<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
--<br>
Thomas Vachon<br>
Principal Operations Architect<br>
<b><span style="font-weight:bold">session M</span></b></span></font><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">+1-617-963-8993 x7104<br>
<a href="mailto:vachon@sessionm.com" target="_blank">vachon@sessionm.com</a></span></font><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Thu, Aug 1, 2013 at 9:28 AM, heasley <<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>> wrote:<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Thu, Aug 01, 2013 at 08:39:10AM -0400, Thomas Vachon:<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">> It seems in Force10 FTOS9 the mod time on ".." on the flash changes every<br>
> time a login happens. So everytime RANCID logs in, it triggers an alert.<br>
> Has anyone else seen this and stopped it from triggering? Just to note, I<br>
> am not seeing this on the FTOS 8 switches (S55) only the FTOS 9 right after<br>
> upgrade (S4810P stacked). Below is a few examples.<br>
><br>
> ===================================================================<br>
> retrieving revision 1.41<br>
> diff -u -4 -r1.41 192.168.124.199<br>
> !Boot Variables: BOOT INTERFACE GATEWAY IP ADDRESS = 0.0.0.0<br>
> !Boot Variables: Reload Mode = normal-reload<br>
> !<br>
> !Flash: flash: 1 drwx 4096 Jan 01 1980 00:00:00 +00:00 .<br>
> - !Flash: flash: 2 drwx 2048 Aug 02 2013 01:53:36 +00:00 ..<br>
> + !Flash: flash: 2 drwx 2048 Aug 02 2013 02:53:36 +00:00 ..<br>
><o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<font size="3" face="Times New Roman"><span style="font-size:12.0pt">> !Flash: flash: 3 drwx 4096 Mar 30 2012 18:16:28 +00:00<br>
> TRACE_LOG_DIR<br>
> !Flash: flash: 4 drwx 4096 Mar 30 2012 18:16:28 +00:00<br>
> CORE_DUMP_DIR<br>
> !Flash: flash: 5 d--- 4096 Mar 30 2012 18:16:28 +00:00<br>
> ADMIN_DIR<br>
> !Flash: flash: 6 drwx 4096 Jul 31 2013 11:55:02 +00:00<br>
> CONFIG_TEMPLATE<br>
><br>
> --------------------<br>
><br>
> ===================================================================<br>
> retrieving revision 1.42<br>
> diff -u -4 -r1.42 192.168.124.199<br>
> @@ -27,9 +27,9 @@<br>
> !Boot Variables: BOOT INTERFACE GATEWAY IP ADDRESS = 0.0.0.0<br>
> !Boot Variables: Reload Mode = normal-reload<br>
> !<br>
> !Flash: flash: 1 drwx 4096 Jan 01 1980 00:00:00 +00:00 .<br>
> - !Flash: flash: 2 drwx 2048 Aug 02 2013 02:53:36 +00:00 ..<br>
> + !Flash: flash: 2 drwx 2048 Aug 02 2013 03:53:36 +00:00 ..<br>
><br>
> !Flash: flash: 3 drwx 4096 Mar 30 2012 18:16:28 +00:00<br>
> TRACE_LOG_DIR<br>
> !Flash: flash: 4 drwx 4096 Mar 30 2012 18:16:28 +00:00<br>
> CORE_DUMP_DIR<br>
> !Flash: flash: 5 d--- 4096 Mar 30 2012 18:16:28 +00:00<br>
> ADMIN_DIR<br>
> !Flash: flash: 6 drwx 4096 Jul 31 2013 11:55:02 +00:00<br>
> CONFIG_TEMPLATE<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<font size="3" face="Times New Roman"><span style="font-size:12.0pt">Try<br>
<br>
Index: bin/<a href="http://f10rancid.in" target="_blank">f10rancid.in</a><br>
===================================================================<br>
--- bin/<a href="http://f10rancid.in" target="_blank">f10rancid.in</a> (revision 2719)<br>
+++ bin/<a href="http://f10rancid.in" target="_blank">f10rancid.in</a> (working copy)<br>
@@ -336,6 +336,8 @@<br>
return(1) if /(Open device \S+ failed|Error opening \S+:)/;<br>
<br>
/Directory of/ && next;<br>
+ # . & ..<br>
+ / \.{1,2}$/ && next;<br>
<br>
# clean up totals line<br>
if (/.* (\d+) bytes total/) {<br>
Index: CHANGES<br>
===================================================================<br>
--- CHANGES (revision 2719)<br>
+++ CHANGES (working copy)<br>
@@ -1,4 +1,6 @@<br>
3.0a3<br>
+ f10rancid: skip . & ..<br>
+<br>
*login: change -c handling of ;'s for escaping like \;<br>
<br>
rancid.conf: add MAILSPLIT to split large diff mail by kilobytes<o:p></o:p></span></font></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>