Re: Posible bug
Eduardo Kaftanski <[email protected]> Sun, 27 Aug 2017 19:34:51 -0300
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CAEPz6RZC+kukeEs2e=vfDgEH8D_Z50j-wf7z__Lcf1L4-apxzw@mail.gmail.com> |
--===============0589996645001897106== Content-Type: multipart/alternative; boundary="001a113d5f8a8777f70557c3ca30" --001a113d5f8a8777f70557c3ca30 Content-Type: text/plain; charset="UTF-8" Thanks. Will try to upgrade and re check. On Sun, Aug 27, 2017 at 7:17 PM, Craig Barratt via BackupPC-devel < [email protected]> wrote: > 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/ >> >> > > ------------------------------------------------------------ > ------------------ > 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] --001a113d5f8a8777f70557c3ca30 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div>Thanks. Will try to upgrade and re check.</div><d= iv><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div class= =3D"gmail_quote">On Sun, Aug 27, 2017 at 7:17 PM, Craig Barratt via BackupP= C-devel <span dir=3D"ltr"><<a href=3D"mailto:[email protected]= forge.net" target=3D"_blank">[email protected]</a>></= span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e= x;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Eduardo,<di= v><br></div><div>I tried this on 4.1.3 and it works (created a host, delibe= rately misconfigured to create a status error that appears on the main stat= us page, renamed the host and confirmed the status error disappears).</div>= <span class=3D"HOEnZb"><font color=3D"#888888"><div><br>Craig</div></font><= /span></div><div class=3D"HOEnZb"><div class=3D"h5"><div class=3D"gmail_ext= ra"><br><div class=3D"gmail_quote">On Sun, Aug 27, 2017 at 2:28 PM, Eduardo= Kaftanski <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" targe= t=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"m_-5512401575917691066HOEnZb"><div class=3D"m_-55124015759= 17691066h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Su= n, Aug 27, 2017 at 4:14 PM, Craig Barratt via BackupPC-devel <span dir=3D"l= tr"><<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]<wbr>rge.net</a>></span> wrote:<br><= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex"><div dir=3D"ltr">Eduardo,<br><div><br></div><= div>What did you do when you said "rename the host"?=C2=A0 Did yo= u manually edit the hosts file, and mv /TOPDIR/pc/HOST_OLD to=C2=A0=C2=A0/T= OPDIR/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 wh= en it receives a "server reload" command.=C2=A0 So it's possi= ble you noticed the stuck error before any of those events happened.<br><br= >Craig</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"= ><div><div class=3D"m_-5512401575917691066m_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>></spa= n> 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><div class=3D"= m_-5512401575917691066m_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><div>=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 ss= h privileges)</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><sp= an class=3D"m_-5512401575917691066m_8746044531756741167m_630338410138315882= 6HOEnZb"><font color=3D"#888888"><div><br></div><div><br clear=3D"all"><div= ><br></div>-- <br><div class=3D"m_-5512401575917691066m_8746044531756741167= m_6303384101383158826m_4972100246746409280gmail_signature" data-smartmail= =3D"gmail_signature">Eduardo Kaftanski<br><a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a><br><a href=3D"mailto:[email protected]= m" 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_-5512401575917691066m_8746044531756741167gmail_signature" data-smar= tmail=3D"gmail_signature">Eduardo Kaftanski<br><a href=3D"mailto:eduardo@kd= i.cl" target=3D"_blank">[email protected]</a><br><a href=3D"mailto:ekaftan@gma= il.com" target=3D"_blank">[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]" 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> </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><br clear=3D"all"><div><br></div>-- <br><div cla= ss=3D"gmail_signature" data-smartmail=3D"gmail_signature">Eduardo Kaftanski= <br><a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><= br><a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= </a><br></div> </div> --001a113d5f8a8777f70557c3ca30-- --===============0589996645001897106== 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 --===============0589996645001897106== 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/ --===============0589996645001897106==--