Re: Posible bug
Marc Gilliatt <[email protected]> Sun, 27 Aug 2017 19:26:49 +0000
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <HE1P194MB01393821F8F072FA65325976BB990@HE1P194MB0139.EURP194.PROD.OUTLOOK.COM> |
--===============6988326372053863863== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_HE1P194MB01393821F8F072FA65325976BB990HE1P194MB0139EURP_" --_000_HE1P194MB01393821F8F072FA65325976BB990HE1P194MB0139EURP_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Thanks for getting back to me. I changed the hosts name by changing the /etc/backuppc/hosts file. And then changing it in the backuppc folder via mv old_host new_host. Looking forward to your response. Regards, Marc Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Craig Barratt via BackupPC-devel <[email protected]= t> Sent: Sunday, August 27, 2017 8:14:32 PM To: Developers discussion Cc: Craig Barratt Subject: Re: [BackupPC-devel] Posible bug 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. I= t does that on startup, on each wakeup if the mtime has changed, when it re= ceives 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]<mailt= o:[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 privileg= es) -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 t= o upgrade yet. thanks. -- Eduardo Kaftanski [email protected]<mailto:[email protected]> [email protected]<mailto:[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]<mailto:[email protected]= e.net> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ --_000_HE1P194MB01393821F8F072FA65325976BB990HE1P194MB0139EURP_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"= > <meta content=3D"text/html; charset=3Dutf-8"> </head> <body> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Hi,<br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Thanks for getting back to me.<br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> I changed the hosts name by changing the /etc/backuppc/hosts file.<br= > <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> And then changing it in the backuppc folder via mv old_host new_host.<br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Looking forward to your response.<br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Regards,<br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Marc <br> <br> </div> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> <div dir=3D"auto" style=3D"direction:ltr; margin:0; padding:0; font-family:= sans-serif; font-size:11pt; color:black; background-color:white"> Get <a href=3D"https://aka.ms/ghei36">Outlook for Android</a></div> <br> </div> <hr tabindex=3D"-1" style=3D"display:inline-block; width:98%"> <div id=3D"divRplyFwdMsg" dir=3D"ltr"><font face=3D"Calibri, sans-serif" co= lor=3D"#000000" style=3D"font-size:11pt"><b>From:</b> Craig Barratt via Bac= kupPC-devel <[email protected]><br> <b>Sent:</b> Sunday, August 27, 2017 8:14:32 PM<br> <b>To:</b> Developers discussion<br> <b>Cc:</b> Craig Barratt<br> <b>Subject:</b> Re: [BackupPC-devel] Posible bug</font> <div> </div> </div> <div> <div dir=3D"ltr">Eduardo,<br> <div><br> </div> <div>What did you do when you said "rename the host"? Did y= ou manually edit the hosts file, and mv /TOPDIR/pc/HOST_OLD to /= TOPDIR/pc/HOST_NEW?</div> <div><br> </div> <div>BackupPC should remove the old status when it next reads the hosts fil= e. 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&qu= ot; command. So it's possible 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">On Sat, Aug 19, 2017 at 8:35 PM, Eduardo Kaftans= ki <span dir=3D"ltr"> <<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= m</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex; border-left:1= px #ccc solid; padding-left:1ex"> <div dir=3D"ltr"> <div><br> </div> Hi, <div><br> </div> <div> I think I found a small bug...</div> <div><br> </div> <div> How 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 pri= vileges)</div> <div>-rename the host</div> <div><br> </div> <div>The error stays and wont go away until you create a host with the orig= inal name and then delete the host. I received warning mails until I did th= is.</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 nee= ded to upgrade yet.</div> <div><br> </div> <div>thanks.</div> <span class=3D"HOEnZb"><font color=3D"#888888"> <div><br> </div> <div><br clear=3D"all"> <div><br> </div> -- <br> <div class=3D"m_4972100246746409280gmail_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> </font></span></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: <a href=3D"https://lists.sourceforge.net/lists/listinfo/= backuppc-devel" rel=3D"noreferrer" target=3D"_blank"> https://lists.sourceforge.net/<wbr>lists/listinfo/backuppc-devel</a><br> Wiki: <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> </div> </body> </html> --_000_HE1P194MB01393821F8F072FA65325976BB990HE1P194MB0139EURP_-- --===============6988326372053863863== 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 --===============6988326372053863863== 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/ --===============6988326372053863863==--