-
SpaceBass
Stuck in postmaster update hell...
-
SpaceBass
How do I change my ruby gem env settings?
-
SpaceBass
I'm getting this: Could not find 'prawn-icon' (~> 3.0.0) - did find: [prawn-icon-3.1.0]
-
» Erhard ywans
-
» Erhard yawns too
-
luna
EuroBSDCon 2022 starts in 46 minutes
-
luna
only courses on the spot today and tommorow tough, but Social online tommorow evening and talk stream on Saturday and Sunday
-
meka
luna: is URL for the stream known?
-
luna
meka: not yet i think will be announced during tommorow
-
adilix
hi all
-
luna
hey
-
yourfate
is there some web interface / overview of the `pkg` binary repositories, like the linuxen have?
-
luna
freshports?
-
sjottelsplak
freshports indeed
-
yourfate
freshports has the versions of the non-binary packages tho
-
yourfate
as in, the ports in the ports repo, not the actual version of the binaries
-
yourfate
like it says restic 0.14 on freshports, pkg still has 0.13 tho
-
yourfate
-
VimDiesel
Title: FreshPorts -- sysutils/restic: Fast, secure, efficient backup program
-
yourfate
whereas `pkg` still installs 0.13.1_1
-
yourfate
or am I doing something wrong?
-
yourfate
i'm on 13.1-RELEASE-p2, amd64
-
tao
maybe looking through this?
pkg-status.freebsd.org , finding the jail and ports tree you are installing packages from, and looking at what was last built. although you need IPv6 to view the individual poudriere pages as they don't use IPv4
-
tao
also making sure you are using latest and not quarterly
-
tao
if I do pkg search restic then it shows me 0.14.0_1 though so I expect you're using quarterly and not latest
-
tao
do pkg -vv and look at the url
-
yourfate
ooh, is it possible my pkg installs the quarterly, not the latest?
-
yourfate
ah, just read your commen :P
-
yourfate
where would I change that
-
yourfate
ah yes ` url : "pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly",`
-
yourfate
is it advisable to change to latest even?
-
yourfate
it seems I have to create a `/usr/local/etc/pkg/repos/FreeBSD.conf`, is that still current information? its from some old forum post
-
tao
yeah that. copy the one from /etc/pkg/FreeBSD.conf into that directory and change quarterly to latest
-
tao
though that will then upgrade everything to the latest version, so be sure that's what you want
-
tao
quarterly takes a snapshot of latest every 3 months, so you would probably have to wait until 1st October maybe for restic 14 to appear
-
yourfate
I think, as this machine is mainly supposed to be stable and low maintenance, I'll stick with quarterly and just compile the port for now
-
yourfate
I want the 0.14 mainly to play around with its new compression feature
-
tao
the other option is to run "restic self-update" and pkg check -r restic
-
yourfate
what doesn the pkg check do?
-
yourfate
I assume it detects the mismatching binary?
-
tao
restic is just a single binary with no dependencies which means you can download the binary from the github releases page, which is what self-update does, and then the pkg check -r makes pkg rehash it so that it doesn't complain in the daily security logs that the hash is different to what's expected
-
yourfate
oh, the system checks all binaries daily?
-
yourfate
that's neat
-
tao
yep. think it's in /usr/local/etc/periodic/security/460.pkg-checksum
-
tao
it complains in the daily email/log output that the hash is a mismatch, but if you run that check it changes the expected hash
-
yourfate
ah yes, the mail stuff is also kinda arcane to me
-
tao
the next time the port/pkg is upgraded it will just overwrite the restic binary with the new one
-
yourfate
it tells me I have mail, but the `mail` program is kinda annoying to use :P
-
tao
just saying, that is one option. otherwise you could compile from port
-
yourfate
I think the truly prudent thing is to not mess with the backup system on that machine at all for now :P
-
SpaceBass
Any idea why this won't work? portmaster -a -x freebsd-doc-en .... Postmaster insists on trying to rebuild freebsd-doc-en which fails every time
-
ek
SpaceBass: For -x options, use double-quotes around them and specify the version. Ex: portmaster -a -x "freebsd-doc-en-1.0.40_1"
-
SpaceBass
I'll try - the doc says it uses globstrip and will match anything that starts with the pattern. ek, am I using the updated port or current version in the quotes?
-
ek
SpaceBass: It will glob if you use "-\*" to match.
-
ek
You're specifying the currently installed version to exclude.
-
SpaceBass
I tried * but it keeps saying no match
-
ek
SpaceBass: -x "freebsd-doc-en-\*"
-
ek
Might not need the escape the char inside the double-quotes but I think you do.
-
SpaceBass
Thanks, I'll give it a try
-
ek
Err... "freebsd-doc-en\*"
-
SpaceBass
Testing
-
SpaceBass
Drat, still tries to compile it, still fails
-
ek
SpaceBass: What does "pkg info | grep -i freebsd-doc" say?
-
SpaceBass
-
VimDiesel
Title: debian Pastezone
-
SpaceBass
ek that returns the old version en-freebsd-doc-20220527,1
-
ek
SpaceBass: portmaster -a -x "en-freebsd-doc-20220527,1"
-
SpaceBass
I'll try - thanks. Worth noting that there are a ton of FreeBSD forum posts that just use the name of the port... eg: -x bash ... its confusing
-
ek
SpaceBass: I've never tried just using the name of an already installed package. I do believe I have used the port location in relation to /usr/ports, though. Like portmaster -a -x misc/freebsd-doc-en
-
ek
Also, the glob might work for just the name but you'd need the package name and not the port name.
-
ek
portmaster -a -x en-freebsd-doc
-
ek
As opposed to freebsd-doc-en
-
ek
That's kind of a screwed up naming convention.
-
SpaceBass
It looks like its working now ... fingers crossed
-
SpaceBass
Honestly, its a good lesson in sticking with pkg vs ports whenever I can ... in this particular case, I have to use a port of Samba to get a specific compile-time option so I'm stuck
-
ek
SpaceBass: It happens. You can always use pkg to install everything and then just (re)build Samba with your needed options afterwards.
-
SpaceBass
That
-
SpaceBass
That's the play
-
meena
bah, why don't OpenBSD and NetBSD have sysrc?
-
Monegro
Hello, I have a quick question about interfaces and promiscuous mode.
-
Monegro
I have a VM where igb0, the physical nic, shares a bridgeo with vtnet0, all in promiscuous mode with no inet alias assigned to anything
-
Monegro
Essentially it's just taking in traffic and passing straight through the VM, to my tap0 interface on host
-
Monegro
My question: Is there any way to access the VM from the outside via those interfaces?
-
Monegro
I'm assuming no, but I figure it's worth asking
-
meena
Monegro: I'm somewhat confused about the actual connections
-
Monegro
I create the virtual machine with PCI passthrough, so that it contains igb0 which is the physical NIC.
-
Monegro
I use a tap to connect it to host, so the VM also has vtnet0 inside the VM, and host has tap0
-
Monegro
Inside the VM, I put igb0 and vtnet0 on the same bridge, in promiscuous mode
-
Monegro
Nonething gets an assigned IP address
-
Monegro
Well, nothing inside the VM. On host, tap0 gets an IP address to connect to my external router.
-
Monegro
So I'm wondering if this is at all insecure for the VM itself. I don't think it's possible to make a connection into the VM from the outside, because none of the interfaces have IP addresses to receive packets.
-
SpaceBass
Monegro, what are you trying to do?
-
Monegro
It's something that I'm already doing.
-
Monegro
It's really a theoretical question -- Is it possible to access a machine through an interface in promiscuous mode, but with no assigned IP address
-
Monegro
?
-
meena
Monegro: you might be able to read some traffic, but i can't imagine how you'd access it
-
V_PauAmma_V
Define "access"? It would have an Ethernet MAC address (or several), so it may work as a bridge to jails, VMs, or other baremetal hosts.
-
Monegro
Thanks, that's what I thought. Just wanted to check.
-
Monegro
By "access", I mean get a terminal on the VM or send commands that get run inside the VM.
-
deepy
is the debootstrap package broken? It keeps on failing to get release files no matter what address or options I give it
-
deepy
I just want to try out linux jails :-(
-
deepy
Ah, I found debootstrap.log
-
deepy
ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/bin/wget not found
-
V_PauAmma_V
What does "freebsd-version -kru" output? (fold to a single line or use a pastebin)
-
V_PauAmma_V
Also: output of "file /usr/local/bin/wget"
-
shbrngdo
I have to wonder how wget was installed, via package or ports... (and if the package cache is up to date etc.)
-
deepy
I was still on 13.0 but with an upgrade to 13.1 all is fine :-)
-
deepy
hmm, what's the systemd equivalents to go into exec.start/stop in jail.conf?
-
V_PauAmma_V
Not sure what you have in mind (I know next to nothing about systemd), but you can run init(8) in a jail.
-
deepy
My goal really is just to run a linux jail
-
deepy
And for packaging reasons I'm looking at ubuntu bionic
-
V_PauAmma_V
Wait. Do you mean Ubuntu userland with the Linuxulator, or do you actually want a Linux kernel running?
-
deepy
Ubuntu userland with Linuxulator, I don't want a Linux kernel :-)
-
V_PauAmma_V
OK. I was asking because jails can't do the latter.
-
V_PauAmma_V
If you want a full userland for a distro using systemd, my guess is "put in whatever makes your distro go multiuser and start systemd, in whatever order it does that".
-
luna
AÄ
-
deepy
I should figure that out tomorrow, but at least I got networking working now!
-
deepy
well that was shortlived
-
deepy
chmod() of /var/spool/rsyslog via /proc/self/fd/4 failed: No such file or directory
-
deepy
Oh wait, I don't need rsyslog
-
martinrame
hi, in a 13.1 jail I installed vim, but when I try to execute it I get: ld-elf.so.1: /lib/libc.so.7: version FBSD_1.7 required by /usr/local/lib/libpython3.9.so.1.0 not found
-
luna
listening to BSD Now, before heading to bed here in Sweden, hope people are having it nice at EuroBSDCon in Vienna
-
koobs
morning