Re: Posible bug
Craig Barratt via BackupPC-devel <[email protected]> Sun, 27 Aug 2017 15:17:51 -0700
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CADSzEFjuQmVOt23NmVW+8iecROG3SVsR6+BodoqcqJrKHOu4Zw@mail.gmail.com> |
--===============7020435103428183835== Content-Type: multipart/alternative; boundary="001a113f26cabc59a60557c38dbd" --001a113f26cabc59a60557c38dbd Content-Type: text/plain; charset="UTF-8" Eduardo, I tried this on 4.1.3 and it works (created a host, deliberately misconfigured to create a status error that appears on the main status page, renamed the host and confirmed the status error disappears). Craig On Sun, Aug 27, 2017 at 2:28 PM, Eduardo Kaftanski <[email protected]> wrote: > > I renamed the host using the cgi interface. > > Selected 'Edit Hosts'. Changed the name of the host and pressed 'Save' > > > On Sun, Aug 27, 2017 at 4:14 PM, Craig Barratt via BackupPC-devel < > [email protected]> wrote: > >> Eduardo, >> >> What did you do when you said "rename the host"? Did you manually edit >> the hosts file, and mv /TOPDIR/pc/HOST_OLD to /TOPDIR/pc/HOST_NEW? >> >> BackupPC should remove the old status when it next reads the hosts file. >> It does that on startup, on each wakeup if the mtime has changed, when it >> receives a HUP signal, or when it receives a "server reload" command. So >> it's possible you noticed the stuck error before any of those events >> happened. >> >> Craig >> >> On Sat, Aug 19, 2017 at 8:35 PM, Eduardo Kaftanski <[email protected]> >> wrote: >> >>> >>> Hi, >>> >>> I think I found a small bug... >>> >>> How to reproduce: >>> >>> -add a host >>> -try to make a backup and fail for soem reason (in my case was ssh >>> privileges) >>> -rename the host >>> >>> The error stays and wont go away until you create a host with the >>> original name and then delete the host. I received warning mails until I >>> did this. >>> >>> I am running 3.3, I don't know if it was fixed in 4.x as I had not >>> needed to upgrade yet. >>> >>> thanks. >>> >>> >>> >>> -- >>> Eduardo Kaftanski >>> [email protected] >>> [email protected] >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> BackupPC-devel mailing list >>> [email protected] >>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel >>> Wiki: http://backuppc.wiki.sourceforge.net >>> Project: http://backuppc.sourceforge.net/ >>> >>> >> >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> BackupPC-devel mailing list >> [email protected] >> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel >> Wiki: http://backuppc.wiki.sourceforge.net >> Project: http://backuppc.sourceforge.net/ >> >> > > > -- > Eduardo Kaftanski > [email protected] > [email protected] > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > BackupPC-devel mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > > --001a113f26cabc59a60557c38dbd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Eduardo,<div><br></div><div>I tried this on 4.1.3 and it w= orks (created a host, deliberately misconfigured to create a status error t= hat appears on the main status page, renamed the host and confirmed the sta= tus error disappears).</div><div><br>Craig</div></div><div class=3D"gmail_e= xtra"><br><div class=3D"gmail_quote">On Sun, Aug 27, 2017 at 2:28 PM, Eduar= do Kaftanski <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><div dir=3D"ltr"><br><div>I renamed the host using the cgi in= terface.=C2=A0</div><div><br></div><div>Selected 'Edit Hosts'. Chan= ged the name of the host and pressed 'Save'</div><div><br></div></d= iv><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_extra"><br><= div class=3D"gmail_quote">On Sun, Aug 27, 2017 at 4:14 PM, Craig Barratt vi= a BackupPC-devel <span dir=3D"ltr"><<a href=3D"mailto:backuppc-devel@lis= ts.sourceforge.net" target=3D"_blank">backuppc-devel@lists.<wbr>sourceforge= .net</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma= rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt= r">Eduardo,<br><div><br></div><div>What did you do when you said "rena= me the host"?=C2=A0 Did you manually edit the hosts file, and mv /TOPD= IR/pc/HOST_OLD to=C2=A0=C2=A0/TOPDIR/pc/HOST_NEW?</div><div><br></div><div>= BackupPC should remove the old status when it next reads the hosts file.=C2= =A0 It does that on startup, on each wakeup if the mtime has changed, when = it receives a HUP signal, or when it receives a "server reload" c= ommand.=C2=A0 So it's possible you noticed the stuck error before any o= f those events happened.<br><br>Craig</div></div><div class=3D"gmail_extra"= ><br><div class=3D"gmail_quote"><div><div class=3D"m_8746044531756741167h5"= >On Sat, Aug 19, 2017 at 8:35 PM, Eduardo Kaftanski <span dir=3D"ltr"><<= a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>= ></span> wrote:<br></div></div><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><di= v class=3D"m_8746044531756741167h5"><div dir=3D"ltr"><div><br></div>Hi,<div= ><br></div><div>=C2=A0I think I found a small bug...</div><div><br></div><d= iv>=C2=A0How to reproduce:</div><div><br></div><div>-add a host</div><div>-= try to make a backup and fail for soem reason (in my case was ssh privilege= s)</div><div>-rename the host</div><div><br></div><div>The error stays and = wont go away until you create a host with the original name and then delete= the host. I received warning mails until I did this.</div><div><br></div><= div>I am running 3.3, I don't know if it was fixed in 4.x as I had not = needed to upgrade yet.</div><div><br></div><div>thanks.</div><span class=3D= "m_8746044531756741167m_6303384101383158826HOEnZb"><font color=3D"#888888">= <div><br></div><div><br clear=3D"all"><div><br></div>-- <br><div class=3D"m= _8746044531756741167m_6303384101383158826m_4972100246746409280gmail_signatu= re" data-smartmail=3D"gmail_signature">Eduardo Kaftanski<br><a href=3D"mail= to:[email protected]" target=3D"_blank">[email protected]</a><br><a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a><br></div> </div></font></span></div> <br></div></div>------------------------------<wbr>------------------------= ------<wbr>------------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________= _____________________<wbr>_________________<br> BackupPC-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">B= [email protected]<wbr>ge.net</a><br> List:=C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinfo/= backuppc-devel" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcefo= rge.net/<wbr>lists/listinfo/backuppc-devel</a><br> Wiki:=C2=A0 =C2=A0 <a href=3D"http://backuppc.wiki.sourceforge.net" rel=3D"= noreferrer" target=3D"_blank">http://backuppc.wiki.sourcefor<wbr>ge.net</a>= <br> Project: <a href=3D"http://backuppc.sourceforge.net/" rel=3D"noreferrer" ta= rget=3D"_blank">http://backuppc.sourceforge.ne<wbr>t/</a><br> <br></blockquote></div><br></div> <br>------------------------------<wbr>------------------------------<wbr>-= -----------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________= _____________________<wbr>_________________<br> BackupPC-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">B= [email protected]<wbr>ge.net</a><br> List:=C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinfo/= backuppc-devel" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcefo= rge.net/<wbr>lists/listinfo/backuppc-devel</a><br> Wiki:=C2=A0 =C2=A0 <a href=3D"http://backuppc.wiki.sourceforge.net" rel=3D"= noreferrer" target=3D"_blank">http://backuppc.wiki.sourcefor<wbr>ge.net</a>= <br> Project: <a href=3D"http://backuppc.sourceforge.net/" rel=3D"noreferrer" ta= rget=3D"_blank">http://backuppc.sourceforge.ne<wbr>t/</a><br> <br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div cla= ss=3D"m_8746044531756741167gmail_signature" data-smartmail=3D"gmail_signatu= re">Eduardo Kaftanski<br><a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a><br><a href=3D"mailto:[email protected]" target=3D"_bla= nk">[email protected]</a><br></div> </div> </div></div><br>------------------------------<wbr>------------------------= ------<wbr>------------------<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><br>_________= _____________________<wbr>_________________<br> BackupPC-devel mailing list<br> <a href=3D"mailto:[email protected]">BackupPC-devel@list= s.<wbr>sourceforge.net</a><br> List:=C2=A0 =C2=A0 <a href=3D"https://lists.sourceforge.net/lists/listinfo/= backuppc-devel" rel=3D"noreferrer" target=3D"_blank">https://lists.sourcefo= rge.net/<wbr>lists/listinfo/backuppc-devel</a><br> Wiki:=C2=A0 =C2=A0 <a href=3D"http://backuppc.wiki.sourceforge.net" rel=3D"= noreferrer" target=3D"_blank">http://backuppc.wiki.<wbr>sourceforge.net</a>= <br> Project: <a href=3D"http://backuppc.sourceforge.net/" rel=3D"noreferrer" ta= rget=3D"_blank">http://backuppc.sourceforge.<wbr>net/</a><br> <br></blockquote></div><br></div> --001a113f26cabc59a60557c38dbd-- --===============7020435103428183835== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============7020435103428183835== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ --===============7020435103428183835==--