Comments (4)
Same thing happens with the generic/freebsd14
box:
tw@server:~/w/borg$ vagrant up freebsd64
Bringing machine 'freebsd64' up with 'virtualbox' provider...
==> freebsd64: Importing base box 'generic/freebsd14'...
==> freebsd64: Matching MAC address for NAT networking...
==> freebsd64: Checking if box 'generic/freebsd14' version '4.3.12' is up to date...
==> freebsd64: Setting the name of the VM: borg_freebsd64_1719939451630_2307
==> freebsd64: Fixed port collision for 22 => 2222. Now on port 2200.
==> freebsd64: Clearing any previously set network interfaces...
==> freebsd64: Preparing network interfaces based on configuration...
freebsd64: Adapter 1: nat
==> freebsd64: Forwarding ports...
freebsd64: 22 (guest) => 2200 (host) (adapter 1)
==> freebsd64: Running 'pre-boot' VM customizations...
==> freebsd64: Booting VM...
==> freebsd64: Waiting for machine to boot. This may take a few minutes...
freebsd64: SSH address: 127.0.0.1:2200
freebsd64: SSH username: vagrant
freebsd64: SSH auth method: private key
freebsd64: Warning: Connection reset. Retrying...
freebsd64:
freebsd64: Vagrant insecure key detected. Vagrant will automatically replace
freebsd64: this with a newly generated keypair for better security.
freebsd64:
freebsd64: Inserting generated public key within guest...
freebsd64: Removing insecure key from the guest if it's present...
freebsd64: Key inserted! Disconnecting and reconnecting using new SSH key...
==> freebsd64: Machine booted and ready!
==> freebsd64: Installing rsync to the VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
pkg install -y rsync
Stdout from the command:
Updating FreeBSD repository catalogue...
Fetching meta.conf: . done
Unable to update repository FreeBSD
Error updating repositories!
Stderr from the command:
pkg: No SRV record found for the repo 'FreeBSD'
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/data.txz -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest/packagesite.txz -- pkg+:// implies SRV mirror type
from borg.
Ehrm, it can be resolved by using a different nameserver in resolv.conf inside that box.
After that, pkg install -y rsync
works.
By default, it was some internal IP 10.0.2.x
set up by vagrant and looks like that nameserver answered in a different way.
This should work inside the box:
# host -t SRV _http._tcp.pkg.FreeBSD.org
_http._tcp.pkg.FreeBSD.org has SRV record 50 10 80 pkg0.sjb.freebsd.org.
_http._tcp.pkg.FreeBSD.org has SRV record 10 10 80 pkgmir.geo.freebsd.org.
_http._tcp.pkg.FreeBSD.org has SRV record 50 10 80 pkg0.fmt.freebsd.org.
_http._tcp.pkg.FreeBSD.org has SRV record 50 10 80 pkg0.fra.freebsd.org.
_http._tcp.pkg.FreeBSD.org has SRV record 50 10 80 pkg0.nyi.freebsd.org.
_http._tcp.pkg.FreeBSD.org has SRV record 50 10 80 pkg0.tuk.freebsd.org.
from borg.
[vagrant@freebsd13 ~]$ host -a _http._tcp.pkg.FreeBSD.org 10.0.2.3
Trying "_http._tcp.pkg.FreeBSD.org"
;; Truncated, retrying in TCP mode.
Using domain server:
Name: 10.0.2.3
Address: 10.0.2.3#53
Aliases:
Host _http._tcp.pkg.FreeBSD.org not found: 3(NXDOMAIN)
Received 44 bytes from 10.0.2.3#53 in 1 ms
[vagrant@freebsd13 ~]$ host -a _http._tcp.pkg.FreeBSD.org 8.8.8.8
Trying "_http._tcp.pkg.FreeBSD.org"
;; Truncated, retrying in TCP mode.
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6072
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_http._tcp.pkg.FreeBSD.org. IN ANY
;; ANSWER SECTION:
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 50 10 80 pkg0.sjb.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 50 10 80 pkg0.nyi.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 50 10 80 pkg0.fmt.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 50 10 80 pkg0.fra.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 10 10 80 pkgmir.geo.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN SRV 50 10 80 pkg0.tuk.freebsd.org.
_http._tcp.pkg.FreeBSD.org. 188 IN RRSIG SRV 8 5 300 20240707183338 20240623204204 33691 freebsd.org. mJIP/qaF2FOAxiejmIA2Q+eligyC34d0jcfwY02GbjV1IFIjFti1xhZmExjErZehN+fT7IpQ+75TCvE/EXIJCF+Hf7QI4qKe2rnJKlzLj0hrBe2L1Olyh25BMbS+rsxp55liuRXfEpUU0CJu6DFX+zAdZywmRW3ieAw3UEWWKFiq4nBxf1VjOOeOQ9DoUDW2xBosZJZpAXpLpugVUQgk/ZxS0DIWSvHpzBW1MIG8cxL7b/GkZa4z7kyIS0cOeJByf4l067alC/KqJbHOXEiuCViuWUcPgGjNzDRkAUbIu05rLnLNrG2cqPZVrCkn3hxVqeBgD1CmhWzln2bdRWbMnQ==
Received 585 bytes from 8.8.8.8#53 in 34 ms
from borg.
On the host machine, there was an issue: /etc/resolv.conf was a broken symlink, pointing to /run/... and that didn't exist.
After installing systemd-resolved
, it works now.
from borg.
Related Issues (20)
- Linux building in chroot does fail `test_socket_permissions` and `test_with_socket` HOT 1
- "file changed while we backed it up" if file permission is changed during backup, even if the permission is same as before HOT 4
- --dry-run would be useful for 'borg compact' HOT 1
- "Completely healed previously damaged file!" does not go away HOT 5
- Borg on windows (ssh) crashes with FD exception error HOT 5
- [2.0.0b9] archive stats always 0 HOT 2
- `borg mount` does not show return code HOT 5
- [ feature request ] Single binary. No depenencies. Migrate to Rust or Go. HOT 5
- document TIMESPAN HOT 2
- Restore after new OS installation HOT 2
- implement a requirements check somehow? HOT 1
- include stricter shell as recommended ssh configuration HOT 4
- Checkpoint archive name longer than cli argument validator allows HOT 3
- Pure python msgpack is used on ubuntu, while "fast" version seems available HOT 8
- 2.0.0b9 : `borg compact` not freeing space? HOT 4
- Borg taking 2 days to complete backup as it is Replaying segments HOT 11
- updating / upgrading beta versions HOT 7
- borgstore: a key/value store in python - maybe for borg2?
- Full backup space in Hetzner Storage Box HOT 3
- Cancelled `borg info` invalidates cache, causing expensive sync on next operation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from borg.