public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* New backup scripts don't work
@ 2018-11-08 15:36 Matthias Fischer
  2018-11-08 16:09 ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fischer @ 2018-11-08 15:36 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

Hi,

I got something weird here:

I just tried to test the new 'backupiso' and 'backup.pl'-scripts from next.

'backupiso' tells me that "arch is i586", but tries to download
"...2.21.*i686*..."!?

Hardware: Duo Box

Output of 'uname -m':
root(a)ipfire: /usr/local/bin # uname -m
i686

***SNIP***
root(a)ipfire: /usr/local/bin # ./backupiso /tmp/test_backup
Your arch is i586
Fetching
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
Fetching
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso.md5
Checking md5 of ipfire-2.21.i686-full-core124.iso
md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
checksum lines found
md5 mismatch
Fetching again
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
Checking again md5 of ipfire-2.21.i686-full-core124.iso
md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
checksum lines found
md5 mismatch
aborting backup because md5 mismatch
***SNAP***

Can anyone confirm - or tell me whats going on here?

Best,
Matthias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New backup scripts don't work
  2018-11-08 15:36 New backup scripts don't work Matthias Fischer
@ 2018-11-08 16:09 ` Michael Tremer
  2018-11-08 16:40   ` Matthias Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Tremer @ 2018-11-08 16:09 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]

Hey,

thanks for reporting. This is a bug introduced in the last commits.

Variables were initialized before the architecture was corrected. Fixed here:

  https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=8a0bc0345002d8a635f7c9baa08c8e4ee85696ae

Best,
-Michael

On Thu, 2018-11-08 at 16:36 +0100, Matthias Fischer wrote:
> Hi,
> 
> I got something weird here:
> 
> I just tried to test the new 'backupiso' and 'backup.pl'-scripts from next.
> 
> 'backupiso' tells me that "arch is i586", but tries to download
> "...2.21.*i686*..."!?
> 
> Hardware: Duo Box
> 
> Output of 'uname -m':
> root(a)ipfire: /usr/local/bin # uname -m
> i686
> 
> ***SNIP***
> root(a)ipfire: /usr/local/bin # ./backupiso /tmp/test_backup
> Your arch is i586
> Fetching
> 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
> Fetching
> 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso.md5
> Checking md5 of ipfire-2.21.i686-full-core124.iso
> md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
> checksum lines found
> md5 mismatch
> Fetching again
> 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
> Checking again md5 of ipfire-2.21.i686-full-core124.iso
> md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
> checksum lines found
> md5 mismatch
> aborting backup because md5 mismatch
> ***SNAP***
> 
> Can anyone confirm - or tell me whats going on here?
> 
> Best,
> Matthias


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New backup scripts don't work
  2018-11-08 16:09 ` Michael Tremer
@ 2018-11-08 16:40   ` Matthias Fischer
  2018-11-08 16:48     ` Michael Tremer
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fischer @ 2018-11-08 16:40 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]

On 08.11.2018 17:09, Michael Tremer wrote:
> Hey,
> 
> thanks for reporting. This is a bug introduced in the last commits.
> 
> Variables were initialized before the architecture was corrected. Fixed here:
> 
>   https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=8a0bc0345002d8a635f7c9baa08c8e4ee85696ae

Thanks!

Tested - seems to work here on a Duo Box (but I think it would be good
if someone else could test this, too)...

Best,
Matthias

> Best,
> -Michael
> 
> On Thu, 2018-11-08 at 16:36 +0100, Matthias Fischer wrote:
>> Hi,
>> 
>> I got something weird here:
>> 
>> I just tried to test the new 'backupiso' and 'backup.pl'-scripts from next.
>> 
>> 'backupiso' tells me that "arch is i586", but tries to download
>> "...2.21.*i686*..."!?
>> 
>> Hardware: Duo Box
>> 
>> Output of 'uname -m':
>> root(a)ipfire: /usr/local/bin # uname -m
>> i686
>> 
>> ***SNIP***
>> root(a)ipfire: /usr/local/bin # ./backupiso /tmp/test_backup
>> Your arch is i586
>> Fetching
>> 
> https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
>> Fetching
>> 
> https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso.md5
>> Checking md5 of ipfire-2.21.i686-full-core124.iso
>> md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
>> checksum lines found
>> md5 mismatch
>> Fetching again
>> 
> https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
>> Checking again md5 of ipfire-2.21.i686-full-core124.iso
>> md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
>> checksum lines found
>> md5 mismatch
>> aborting backup because md5 mismatch
>> ***SNAP***
>> 
>> Can anyone confirm - or tell me whats going on here?
>> 
>> Best,
>> Matthias
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: New backup scripts don't work
  2018-11-08 16:40   ` Matthias Fischer
@ 2018-11-08 16:48     ` Michael Tremer
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Tremer @ 2018-11-08 16:48 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 2317 bytes --]

I guess this is fine on all architectures where the architecture does not have
to be rewritten. i586 was the odd one out.

Thanks for testing!

Best,
-Michael

On Thu, 2018-11-08 at 17:40 +0100, Matthias Fischer wrote:
> On 08.11.2018 17:09, Michael Tremer wrote:
> > Hey,
> > 
> > thanks for reporting. This is a bug introduced in the last commits.
> > 
> > Variables were initialized before the architecture was corrected. Fixed
> > here:
> > 
> >   
> > https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=8a0bc0345002d8a635f7c9baa08c8e4ee85696ae
> 
> Thanks!
> 
> Tested - seems to work here on a Duo Box (but I think it would be good
> if someone else could test this, too)...
> 
> Best,
> Matthias
> 
> > Best,
> > -Michael
> > 
> > On Thu, 2018-11-08 at 16:36 +0100, Matthias Fischer wrote:
> > > Hi,
> > > 
> > > I got something weird here:
> > > 
> > > I just tried to test the new 'backupiso' and 'backup.pl'-scripts from
> > > next.
> > > 
> > > 'backupiso' tells me that "arch is i586", but tries to download
> > > "...2.21.*i686*..."!?
> > > 
> > > Hardware: Duo Box
> > > 
> > > Output of 'uname -m':
> > > root(a)ipfire: /usr/local/bin # uname -m
> > > i686
> > > 
> > > ***SNIP***
> > > root(a)ipfire: /usr/local/bin # ./backupiso /tmp/test_backup
> > > Your arch is i586
> > > Fetching
> > > 
> > 
> > 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
> > > Fetching
> > > 
> > 
> > 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso.md5
> > > Checking md5 of ipfire-2.21.i686-full-core124.iso
> > > md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
> > > checksum lines found
> > > md5 mismatch
> > > Fetching again
> > > 
> > 
> > 
https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core124/ipfire-2.21.i686-full-core124.iso
> > > Checking again md5 of ipfire-2.21.i686-full-core124.iso
> > > md5sum: ipfire-2.21.i686-full-core124.iso.md5: no properly formatted MD5
> > > checksum lines found
> > > md5 mismatch
> > > aborting backup because md5 mismatch
> > > ***SNAP***
> > > 
> > > Can anyone confirm - or tell me whats going on here?
> > > 
> > > Best,
> > > Matthias
> > 
> > 
> 
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-08 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-08 15:36 New backup scripts don't work Matthias Fischer
2018-11-08 16:09 ` Michael Tremer
2018-11-08 16:40   ` Matthias Fischer
2018-11-08 16:48     ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox