LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 06-09-2020, 06:59 PM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Bedrock Linux: a Void fetch problem


Installed a Buildroot Linux system on a volume (real hardware, not emulated) and hijacked that. No problems. Got net. Tried to fetch a Void stratum:
Code:
# brl fetch void
[ 1/16 (  6%)] Determining name
* Using void
[ 2/16 ( 12%)] Determining CPU architecture
* Using x86_64
[ 3/16 ( 18%)] Determining release
* Using rolling
[ 4/16 ( 25%)] Determining mirror
* Checking bedrock.conf [brl-fetch-mirror] items
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Finding fastest mirror from 4
[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\] 100%
* Using https://alpha.us.repo.voidlinux.org/
[ 5/16 ( 31%)] Making bootstrap directory structure
[ 6/16 ( 37%)] Downloading package information database
Connecting to alpha.us.repo.voidlinux.org (198.204.250.219:443)
saving to '/bedrock/strata/void/brl-bootstrap/repodata.tar.zstd'
repodata.tar.zstd    100% |****************************************************| 1641k  0:00:00 ETA
'/bedrock/strata/void/brl-bootstrap/repodata.tar.zstd' saved
[ 7/16 ( 43%)] Downloading bootstrap software
* Using cached /bedrock/var/cache/brl-fetch-void-rolling-x86_64/xbps.tar.zstd
[ 8/16 ( 50%)] Preparing bootstrap software
[ 9/16 ( 56%)] Running bootstrap software[*] Updating repository `https://alpha.us.repo.voidlinux.org//current//x86_64-repodata' ...
Certificate verification failed for /C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://alpha.us.repo.voidlinux.org//current//x86_64-repodata': Operation not permitted
ERROR: Unexpected error occurred.
If you let brl-fetch automatically choose a mirror, it may have chosen a bad one.  Try manually providing a mirror with --mirror
#
Tried several times over the next few days. I even specified a mirror manually: no difference.

Installed debian in qemu. hijacked it. Tried to fetch void. It fetched fine, first try.

My guess is that some handling of DNS or certificates is being handled oddly by buildroot. If this is so, then it is not a bedrock problem. I just thought i would mention it here in case my guess is incorrect.

Thank you.

p.s. in the mean time, the void strata was copied out from the qemu system to the bedrock on real hardware and has seen been run as an init stratum without incident.
 
Old 06-09-2020, 07:57 PM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Other people have reported this as well. If it happened consistently, I'd think it was an issue on Void's end, as other people do report this independent of Bedrock:

However, in this case, some Bedrock users are running into this and some aren't, making me think it's not purely an upstream Void issue. I've yet to reproduce the issue myself or figure out what differentiates between those who run into this and those who don't.

Check is that time/timezone information is correct. It could be your system thinks the cert expired due to timezone shenanigans. Given other people have run into this, this guess is a long shot.

The step that's erroring runs in a chroot that's _almost_ independent of the host system. It shares things like `/proc` (that's almost certainly unrelated) and `/etc/ssl` (which totally could have been related, but in quick and dirty tests doesn't appear to be the case).

When I get the time, I'm probably going to ask someone who does reproduce this to strace it and look at the logs, but I don't have the bandwidth for that at the moment.
 
1 members found this post helpful.
Old 06-12-2020, 12:51 PM   #3
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
OK, your reply gave me the clue: time zones. Thank you!

My computer uses GMT (aka UTC) so Buildroot has been displaying the correct time, but as UTC, not as my time zone. At Noon, my time, the "date" command was saying 4 PM, UTC. Correct, but it means I have to subtract four hours (five when not on DST) in my head.

Anyway, I booted my Bedrock install, into the Buildroot init, and then I typed this:
Code:
export TZ="America/New_York"
After that, "time" indicated that it was in my time zone (it said "EDT" rather than "UTC" and it displayed the correct time, as viewed in my actual time zone.

I then told brl to fetch a second Void stratum, using -n to prevent a name conflict with the first Void, and it fetched fine!

Last edited by jr_bob_dobbs; 06-12-2020 at 12:53 PM.
 
1 members found this post helpful.
Old 06-15-2020, 12:00 PM   #4
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Very happy to hear we got it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bedrock: bedrock poki remains on UTC no matter what jr_bob_dobbs Bedrock Linux 5 09-03-2019 05:10 AM
pthread giving error: invalid conversion from ‘void* (*)(int*)’ to ‘void* (*)(void*)’ knobby67 Programming 4 05-05-2017 10:54 AM
nvidia triple on funtoo and void bedrock - beat procrastination Siljrath Bedrock Linux 0 03-27-2016 03:20 PM
[SOLVED] bedrock not using brsh.conf, dropped to bedrock's /bin/sh Siljrath Linux - Distributions 2 08-25-2014 05:47 AM
void foo(void) and void foo() lackluster Programming 9 02-15-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration