-
debdrup
Demosthenex: i bought mine from freebsdmall, but i wanted the old-school ones
-
crb
I've been LOVING running a linux VM under bhyve but one thing I like about VMWare is the ability to cut and paste between host and guest vm, is there a way to do this in bhyve?
-
rtyler
Do any of you folks happen to know if you can convince Python to run Linux wheels using the Linux compat layer?
-
edenist
probably could. sounds painful though, lol. would probably spend more time getting it running than you'd save by just using a source distribution no?
-
edenist
is there something which doesn't build well on freebsd?
-
rtyler
well, the upstream does not provide wheels at all for FreeBSD, but they have some manywheels
-
rtyler
and their modules don't pip install
-
vishwin
rtyler: what's wrong with just installing the source?
-
vishwin
also what's the package in question lol
-
rtyler
vishwin: give stt a try ;)
-
vishwin
-
VimDiesel
Title: stt · PyPI
-
rtyler
aye
-
vishwin
yeah you're either better off creating a port for it or setting up a full linux python distribution
-
vishwin
there is no FreeBSD bdist wheel dealer, we (ports) are :-)
-
Demosthenex
debdrup: i guess they do have one sheet of stickers
-
sixpiece
is it possible to get laravel to work on freebsd?
-
CrtxReavr
Anything is possible.
-
Demosthenex
llua: Hezestraat 110
-
Demosthenex
3290 Diest
-
Demosthenex
pfft
-
Demosthenex
-
VimDiesel
Title: dpaste/zBtYR (Python)
-
Demosthenex
there :P
-
angry_vincent
anyone running system with custom set of modules, for example with MODULES_OVERRIDE?
-
CrtxReavr
What does 'CLOSED' mean in 'netstat -a' output?
-
Midjak
Hi, I have a conflist in port with at-spi2-core needed by adwaita-icon-theme needed by gtk3 and gtk4. Both are installed on my system. What is the proper way to deal with this conflict ?
-
debdrup
CrtxReavr: it means that an existing connection was closed and an TCP RST was sent to the remote host, if memory serves.
-
debdrup
You probably want to have a look at sockstat(1)
-
Midjak
my conflict is related to this port
bugs.freebsd.org/bugzilla/show_bug.cgi?id=269704 but I don't understand what al I supposed to do with that ?
-
VimDiesel
Title: 269704 – (at-spi2-core-2.46.0) [exp-run] accessibility/at-spi2-core: update to 2.46.0
-
Midjak
is there a way to remove it ?
-
CrtxReavr
debdrup, so like a FIN was sent, but not FINACK was received?
-
Midjak
I tried pkg delete . it doesn't work
-
CrtxReavr
pkg works with package names, not directory names.
-
Midjak
Do you answer le CrtxReavr ?
-
Midjak
me*
-
Midjak
I tried with package name, it didn't find it
-
CrtxReavr
For deleting it works with package version names.
-
Midjak
I tried to remove /usr/local/include/at-spi2-atk (it was the emplacement of the conflict) but I still get the message despite of it doesn't exist
-
Midjak
ok with the full name with the version thanks
-
debdrup
The conflict is from the ports Makefile.
-
CrtxReavr
Midjak, don't manually mess with files in your ports/package managed prefix. . . which is /usr/local/ by default.
-
Schamschula
Midjak: I ran into that yesterday. it tells you which package is in conflict. Do pkg delete for that package. Actually there are two packages that you'll have to delete.
-
CrtxReavr
Learn to make use of the tools to manage them.
-
Midjak
CrtxReavr, I am learning...
-
CrtxReavr
I get it. . . we've all been there.
-
CrtxReavr
No one knows everything - we're all still learning.
-
Midjak
Schamschula, thanks Schamschula I have removed accessibility/atk and accessibility/at-spi2-atk
-
Midjak
but as the pkg delete on the package name didn't work I have tried manually. I didn't know I have to specifiy the version. Now I know.
-
» debdrup mostly remembers where to find things.
-
debdrup
Midjak: normally you don't have to specify the version, just the exact package name
-
debdrup
You can use -x to have regex matching on most pkg subcommands, including pkg-remove.
-
Midjak
ah I get it
-
debdrup
The format is explained in re_format(7)
-
Midjak
I tried onaccessibility/at-spi2-core and not on accessibility/at-spi2-atk
-
» debdrup nods
-
debdrup
Yeah that'll do it.
-
debdrup
Eventually you'll learn to spot those things from the output of pkg, but it takes a little while to get used to it
-
Midjak
now it works...
-
debdrup
If you want to make things easier on yourself in case it happens again, make a note about it in a file. :)
-
Midjak
in this case the names were very similar, and I tend to read too fast...
-
Midjak
yes I hesitate to do it. But you still have to identify a problem that you have already had
-
Midjak
(in order to find the note)
-
Midjak
I am working on something I could use to maintains documentation I have taken . I have a bunch spread out several machine and applications. I tried a lot of thing. Zim is the best but I think develpping something which fits better with my expectations
-
Midjak
a weird thing: firefox stopped working after the conflict, but its update had not yet taken place.
-
Midjak
opening a new tab. reading what at-spi2 is, it. make sense
-
Midjak
it makes sense
-
angry_vincent
dumbbell: what is driving me mad is sporadic hangs with i915. i thas not been resolved/identified. on CURRENT it is little bit better, but they happen till out of nowhere. what i have been told i sthat my chip is old, so deal with it. this is massively pissing off. in reality, it is quite hard to debug, due to fact, no logs, dumps are saved. i believe such issue reported many times
-
antranigv
Say I have a range of IPs `127.0.0.1, 127.0.0.2, ....., 127.0.0.100`. How would you find an available IP address in that range?
-
otis
ping in a loop? nmap -sP ?
-
nimaje
what means 'available' here? what do you "know" beside that range and what can you do? are you writing a dhcp server?
-
debdrup
antranigv: you're not supposed to use localhost that way
-
antranigv
debdrup I mean... unless nonVNET jails :))
-
debdrup
dedicating an entire /8 to localhost was the worst mistake in all address allocations
-
antranigv
otis oh no, this is just a string
-
debdrup
ipv6 fixed it by doing only a single loopback address
-
debdrup
antranigv: make them vnet jails
-
antranigv
debdrup should I default to VNET jails?
-
debdrup
yes
-
debdrup
there's no reason to use non-vnet jails
-
antranigv
hmm, sounds promising. okaaaay
-
antranigv
debdrup well, the ONLY reason I found is stupid cloud providers who have network limitations
-
debdrup
antranigv: put ipfw or pf on the jail host and have it do NAT
-
debdrup
with the right OIDs in sysctl(8) you can even make it so the NAT doesn't decrement TTLs
-
nimaje
wait, those 127.* ips weren't just weirdly choosen examples?
-
antranigv
nimaje nope, not at all :D
-
debdrup
nimaje: there's a long-standing (and bad!) practice of using loopback addresses for interface aliased jail addressed.
-
antranigv
debdrup well, I will default to VNET :)
-
debdrup
Blah, I can't remember the OID to prevent TTL decremation :
-
debdrup
:/
-
debdrup
antranigv: I don't accept PMs from random people, so I can't see what you wrote.
-
antranigv
debdrup no worries <3 I was gonna ask you to test my jail orchestrator, specifically to check the defaults. I used to default to VNET, I changed to none, but I think VNET would be better indeed
-
debdrup
I can't promise I have the energy for it :/
-
antranigv
debdrup also, I default to ZFS and we don't support UFS at all. I was gonna ask you if you see any reason to support UFS.
-
antranigv
debdrup understandable <3
-
debdrup
antranigv: supporting UFS would be desirable since UFS is still being actively developed on FreeBSD, but if you're making use of ZFS-exclusive features, it's harder.
-
debdrup
Newest thing in UFS is reworking it so that soft-updates and journaled filesystems can use UFS snapshots.
-
debdrup
That's.. a few months old?
-
antranigv
debdrup yeah, we use snapshots a lot, for clones and send/recv
-
antranigv
I would love to support UFS too, but that changes Jailer's whole... I wanna say architecture?
-
debdrup
You'd need to abstract the snapshotting part so that it can work with either UFS or ZFS, and you'd need the newest change to UFS (that I mentioned above) for it to work.
-
debdrup
And UFS snapshots aren't atomic or quick.
-
debdrup
So I'd say that's a reasonable argument for not supporting UFS.
-
debdrup
I can see it being added in a later version, if your tool gets a lot of use from people who want it on UFS too.
-
otis
antranigv: ah, that's what you meant. so yes, then switch to VNET jails.
-
mason
antranigv: Reason to support ZFS: It's probably fairly common to see FreeBSD jail hosts as VMs, in which case UFS makes a lot of sense there. They'll have the ZFS on the outside, not inside, in that case.
-
antranigv
mason my philosophy is: DIE VMs DIE
-
mason
antranigv: I'm wholly behind that stance.
-
debdrup
And if I have to have a VM, it goes in a jail. :P
-
ngortheone
what if VM is not guilty? :)
-
mason
-
VimDiesel
Title: TNG Kill all the Lawyers - Invidious
-
ngortheone
lol :)
-
ngortheone
guilty until proven otherwise is true about most software
-
antranigv
Okay, but I still need a script to get an empty IP in a list :D maybe I should just write an AWK
-
debdrup
an awk seems like an excellent solution to that problem, as long as it doesn't involve parrot-bothering
-
antranigv
fingers crossed
-
nimaje
so you have a set of valid identifiers and a set of used identifiers and have to choose one element from the diffrence?
-
antranigv
seq 1 255 | grep -Ev '42' | awk '{getline nx} {if ($0+1 != nx) {print $0+1; exit}}'
-
rtyler
I'm hoping for some pf advice on how to NAT into some jails on a network (bridge0-based vnet jails) and structure the host pf such that those hoses can route to the default route and the public internet, but nothing else on the host's LAN
-
antranigv
rtyler I got lost :( where you wanna do what?
-
rtyler
HostA does NAT into JailZ, I want to prevent JailZ from accessing anything on the LAN that HostA sits on
-
antranigv
rtyler JailZ is on HostA?
-
rtyler
correct
-
antranigv
rtyler only the LAN of HostA, or the rest as well?
-
rtyler
I'm hoping to restrict just access to tthe LAN HostA is on, but still allow routing out to the public internet
-
antranigv
rtyler nat on $ext_if inet from $jailZ_addr to ! $ext_if:network -> ($ext_if)
-
antranigv
that SHOULD do it
-
antranigv
lemme test
-
» rtyler tries it out too
-
rtyler
that does look like it works, let me do some more testing
-
antranigv
rtyler yup, all works fine
-
antranigv
rtyler trying pinging hostA's gateway
-
rtyler
antranigv: thanks for the help! that works quite well
-
rtyler
from within JailZ I can ping the bridge network, which is what I Would expect
-
antranigv
rtyler anytime :) and how do you manage jails? plain jail.conf or any specific tool?
-
antranigv
rtyler yes, that has nothing to do with NAT, if you want to restrict that too, that's also very easy
-
rtyler
vanilla vnet jails in jail.conf inspired by meena's doc: nat on $ext_if inet from $jailZ_addr to ! $ext_if:network -> ($ext_if)
-
rtyler
antranigv: how would you restrict JailZ from hitting other specific hosts? I'm asking mostly so I can include that in the blog post I should write now that I'm making progress here :P
-
antranigv
rtyler hey meena 's doc is a copy if mine! yey!
-
rtyler
hah
-
antranigv
rtyler it would be easer to do the opposite. block everything by default, except hostB..C
-
antranigv
rtyler do you want JailZ to reach JailX that is also attached to bridge0?
-
antranigv
rtyler would you be open in testing my Jail orchestrator? it's basically a jail.conf.d wrapper.
-
rtyler
only in a few cases where I have an application that needs to reach the postgresql jail (for example), otherwise I am intending to have each vnet jail effectively isolated
-
antranigv
rtyler oh I have code for that. one sec
-
rtyler
antranigv: something that's not ezjail, pot, or other? :D
-
antranigv
rtyler none of the above. yes.
-
rtyler
heh, hit me with a link, I've got a secondary machine here where I might be able to test it, this NAS/primary machine I don't want to fiddle with too much
-
meena
rtyler: my secret is that i let other people do the work, and just make small strings between many big dots
-
meena
for example: someone wrote a patch for me:
reviews.freebsd.org/D38898
-
VimDiesel
Title: ⚙ D38898 virtio_random: pipeline fetching the data... This hides latencies that reach 500us, where otherwise we are busy looping...
-
antranigv
rtyler yeah indeed, my software is still beta.
-
meena
for a debugging job that took only 2 - 5 days :P
-
antranigv
lemme get this firewall first
-
» rtyler departs for the afternoon o/.
-
f451
if a port needs kern.elf64.allow_wx=1 to function, would it be considered a "bug" with the port?
-
antranigv
hey rtyler , you need these lines
-
meena
f451: yes
-
meena
-
VimDiesel
Title: 268363 – www/node16+: needs wxneeded
-
f451
meena: ty
-
f451
i had half a day going mad getting it to work lol
-
antranigv
rtyler I'll do line by line (except the nat thing). 1: block in all ; this will block everything; 2: pass in on bridge0 from any to bridge0:0 keep state ; this will allows the jails to reach bridge0 itself; 3: pass in on bridge0 from any to ! bridge0:network ; this will allow the jails to reach everything EXCEPT the bridge0 network ; 4: pass out on bridge0 from $j0 to $j1 keep state ; this will allow j0 to reaching j1
-
antranigv
rtyler btw, j1 can't reach j0 by itself. j0 has to initiate the connection :) so your j1 is the DB in this story.
-
f451
meena: this would also cause devel/electron22 build to fail, i guess
-
meena
f451: same reason: blame electron
-
meena
v8
-
meena
i mean, v8
-
f451
ok ty
-
dch
nfs giving me grief
-
dch
-
VimDiesel
Title: exports.md · GitHub
-
dch
can I do nfsv4 exports with different roots? i.e. both /usr/* and /var/www/freeside there?
-
debdrup
dch: I think youu need to do "V4: /" on the first line
-
antranigv
how does -sec=sys work btw?
-
debdrup
but if they're zfs datasets, you can use the sharenfs property mentioned in zfsprops(7)
-
dch
debdrup: its is zfs but I struggled with that in the past, so this was keeping things simple
-
debdrup
fair
-
dch
does having `V4: /` expose the other filesystems somehow?
-
debdrup
i didn't have problems with it for what little that's worth
-
debdrup
dch: no, it just tells nfsd which paths should be exposed as v4
-
debdrup
err, not exposed
-
debdrup
should be mountable as v4
-
debdrup
try (d)truss'ing a manual mount of a share that works as opposed to one that doesn't
-
debdrup
see where it fails
-
debdrup
also, is it intentional that in the manual mount(8) command you're using the wintermule hostname, but in your fstab you're using straylight?
-
dch
i should fix the gist
-
dch
too much copy pasta
-
debdrup
meena: i'm not sure something needing to do write AND execute as opposed to the default write XOR execute counts as a code
-
debdrup
s/code$/bug/
-
dch
I have both straylight and wintermute doing exports
-
meena
debdrup: yeah, but it's called bugzilla, so,
-
dch
but wintermute has the phat www dir
-
dch
and straylight has the arm64 src & obj
-
debdrup
dch: like i said, (d)truss
-
dch
debdrup: oh there are 2 issues
-
dch
1. the exports, I think your suggestion to change the V4 / will fix that
-
dch
and 2
-
dch
2. the manual mount works, but the same syntax in /etc/fstab fails