Re: Posible bug

Eduardo Kaftanski <[email protected]> Sun, 27 Aug 2017 18:28:59 -0300
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <CAEPz6RZH0oQ5OjegVHhh-_sCiYvNsoDYO8ahCG+Kj9h4JBsUtg@mail.gmail.com>
--===============1455394156100176670==
Content-Type: multipart/alternative; boundary="001a113d423cfc9cca0557c2deb9"

--001a113d423cfc9cca0557c2deb9
Content-Type: text/plain; charset="UTF-8"

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]

--001a113d423cfc9cca0557c2deb9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div>I renamed the host using the cgi interface.=C2=A0=
</div><div><br></div><div>Selected &#39;Edit Hosts&#39;. Changed the name o=
f the host and pressed &#39;Save&#39;</div><div><br></div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sun, Aug 27, 2017 at 4:1=
4 PM, Craig Barratt via BackupPC-devel <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:[email protected]" target=3D"_blank">backuppc-devel@=
lists.sourceforge.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div dir=3D"ltr">Eduardo,<br><div><br></div><div>What did you do when yo=
u said &quot;rename the host&quot;?=C2=A0 Did you manually edit the hosts f=
ile, and mv /TOPDIR/pc/HOST_OLD to=C2=A0=C2=A0/TOPDIR/pc/HOST_NEW?</div><di=
v><br></div><div>BackupPC should remove the old status when it next reads t=
he hosts file.=C2=A0 It does that on startup, on each wakeup if the mtime h=
as changed, when it receives a HUP signal, or when it receives a &quot;serv=
er reload&quot; command.=C2=A0 So it&#39;s possible you noticed the stuck e=
rror before any of those events happened.<br><br>Craig</div></div><div clas=
s=3D"gmail_extra"><br><div class=3D"gmail_quote"><div><div class=3D"h5">On =
Sat, Aug 19, 2017 at 8:35 PM, Eduardo Kaftanski <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;=
</span> wrote:<br></div></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div clas=
s=3D"h5"><div dir=3D"ltr"><div><br></div>Hi,<div><br></div><div>=C2=A0I thi=
nk 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 fa=
il for soem reason (in my case was ssh privileges)</div><div>-rename the ho=
st</div><div><br></div><div>The error stays and wont go away until you crea=
te a host with the original name and then delete the host. I received warni=
ng mails until I did this.</div><div><br></div><div>I am running 3.3, I don=
&#39;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_6303384101383158826HOEnZ=
b"><font color=3D"#888888"><div><br></div><div><br clear=3D"all"><div><br><=
/div>-- <br><div class=3D"m_6303384101383158826m_4972100246746409280gmail_s=
ignature" 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></font></span></div>
<br></div></div>------------------------------<wbr>------------------------=
------<wbr>------------------<br>
Check out the vibrant tech community on one of the world&#39;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&#39;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>

--001a113d423cfc9cca0557c2deb9--


--===============1455394156100176670==
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
--===============1455394156100176670==
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/

--===============1455394156100176670==--