-
debdrup
yuripv: It still notifies you when someone messages you, which is what I was reacting to.
-
rtprio
ghoti: only one network in your bhyve config?
-
skered
Other than the kernel is there anything that something lsop could miss?
-
vstemen
Hi. I have 6 labeled partitions on 2 drives. ada0 and ada1. All the labels appear as devices under /dev/gpt/ for ada1. Only one label appears for ada0. Could this be a bug?
-
rtprio
ada0 might not have any more labels
-
vstemen
rtprio, No, all 6 partitions are labeled as verified with "gpart show -l".
-
vstemen
Also I relabeled all the partitions on ada1 to be unique from ada0 in case it was a label name conflict problem. That did not correct the problem.
-
yetoo
What enforces acl permissions? Lets say a file system is mounted with acl option and posix regular permission as well as acl is set on a file, what stops an application from just reading the regular permissions or ignoring the acls?
-
vstemen
yetoo, It was my understanding that acls are enforced at the file system level, just like normal unix permissions. It seems like they would be useless otherwise.
-
vstemen
In other words I would think that ACLs would override regular permissions. I have not tested though.
-
parv
Is anyone aware which will be next default python? Currently it is 3.9, would like next one to be 3.11
-
hernan
hi! question regarding linux freebsd zfs compatibility, is it possible to create a zfs in linux and then mount it in freebsd ?
-
hernan
create zfs in linux, copy some files, then use that same zfs in freebsd
-
angry_vincent
Yes. If you use openzfs-2 and above
-
angry_vincent
(it is basically same ZFS since version 2, both on ZoL and FreeBSD)
-
hernan
ok nice tks
-
hernan
will try
-
parv
How would one go about changing the default properties included in "zfs list" output, outside of a local patch? I would love to see "mounted" included
-
parv
... and "canmount" too if I could be greedy.
-
tercaL
Hi everyone, how to set a folder so that each upcoming files created or copied (by any local system user) into it, will get chmod value of 777, by the default.
-
parv
Could you not have the thing that puts a file in the directory also change the persmissions?
-
meena
parv: what was the previous default version?
-
parv
meena, python is 3.9
-
meena
tercaL: you can't do that on Unix. we don't have hereditary permissions on file level like Windows. our permissions are only hereditary on process level via umask
-
meena
parv: I meant before that
-
tercaL
meena: I thought something like "sticky bit" would solve that? (Having each new file get 777 automatically)
-
meena
although, I wonder, if POSIX ACLs are hereditary
-
parv
meena, Ah. Sorry, I do not remember what was before 3.9 as I started paying attention to Python only recently
-
parv
meena, Oh, I think that was 3.8
-
meena
you can check by looking at the history of the python3 package.
-
meena
it always depends on the default python
-
parv
"git log lang/python3/Makefile" did not shed any light that I could see
-
parv
Per 20210425 & 20220626 entries in UPDATING previous version was 3.8
-
yuripv
parv: you could do a bit better than local patch, make it read environment variable for the fields list and take it upstream :) should be pretty easy to do
-
parv
yuripv, Environment variables idea is only slightly better or same as using a shell script as a wrapper around "zfs-list(8)"
-
yuripv
i tend to disagree, wrapper is ugly hack, env var is not
-
parv
Disagreement will remain
-
parv
Then again when the simple patch to add units to descriptions of "vfs.zfs.arc[._]{min,max}" MIBs got no response ...
-
parv
Oh look at that! In 13-stable: vfs.zfs.arc.max: Max arc size in bytes ; vfs.zfs.arc_max: max arc size (LEGACY)
-
parv
1/2 progress. That is something
-
daemon
hey all how can I add a static route even if its not reachable via rc.conf (it becomes available later)
-
daemon
but I just want it present no matter the case
-
parv
The PR (
bugs.freebsd.org/bugzilla/show_bug.cgi?id=255611), just tooked at now, did get a valuable response after I closed it & I had not submitted any patch to add units for "vfs.zfs.arc_{min,max}" -- mis-remembered. 1/1 progress!
-
VimDiesel
Title: Invalid Bug ID
-
parv
WTH! No, wait that might still be my own local patch. In any case, do not care no more. 0/1
-
yuripv
cool
-
debdrup
Surely that's going to help.
-
V_PauAmma_V
daemon, does it become available when a certain interface is created or goes up?
-
daemon
V_PauAmma_V, when an openvpn client connects
-
V_PauAmma_V
IN that case, I would try devd.conf, system "IFNET", subsystem the interface name.
-
daemon
well lots of clients connect to the same interface is the issue
-
daemon
its one inparticular that must connect
-
daemon
there is not one interface per client
-
daemon
the normal way to do this is via openvpn's ccd/ with an iroute but for whatever reason it just won't do it for this particular network/client
-
daemon
does it for many others just fine though -_-
-
V_PauAmma_V
Can you automate the "this is the client I want" test?
-
daemon
I can do it by hand with route
-
daemon
to automate it ... guess I could get perl to tail openvpn's log file looking for when that client connects
-
daemon
and just execute 'route 192.168.2.0/24 172.31.1.2'
-
V_PauAmma_V
*nod*
-
daemon
:) ok dokey
-
nimaje
yuripv: why use env vars for that, zfs list already has -o, env vars seem like a broken ugly hack for that
-
yuripv
nimaje: not reading the conversation properly is even uglier "hack"
-
nimaje
changing default seem ok, making defaults depend on some env var seems broken and should probably not be upstream, some wrapper that sets -o should be local only and ok, that it can be broken in some situations as you should approximatly know what uses zfs list on your system and know what to change if it breaks something
-
yuripv
changing does not seem ok, making defaults depend on specific env var seems ok, fixed that for you
-
daemon
# daemon -T "route hack" perl -e 'while(sleep(1)) { `route 192.168.2.0/24 172.31.1.2`'
-
daemon
}
-
» daemon closes eyes
-
daemon
-rt even
-
nimaje
why would making it dependent on some dynamic state be ok, but not to statically change the default?
-
tercaL
anyone tried to update htop to 3.2.2 and still has the 16.0Z memory output issue?
-
tercaL
(only under ZFS)
-
meena
tercaL: that's a lot of memory
-
tercaL
meena: I got 8 GB of ram installed. But that's what I meant;
ibb.co/t21cVYd
-
VimDiesel
Title: htop-output-wrong hosted at ImgBB — ImgBB
-
tercaL
miscalculation of the RAM amount by htop
-
yuripv
nimaje: everyone has their defaults that they want, current defaults are sane and changing them based on random user whim is not, imo; having a way to control defaults would help, be it env var (easy) or a conf file (more involved, still easy)
-
meena
-
VimDiesel
Title: Mem: 16.0Z on FreeBSD · Issue #1039 · htop-dev/htop · GitHub
-
VimDiesel
-
tercaL
-
VimDiesel
Title: 269494 – sysutils/htop: memory shows 16.0Z of memory
-
tercaL
It's stated as fixed, but it seems not yet.
-
meena
-
VimDiesel
Title: Comparing 3.2.2...main · htop-dev/htop · GitHub
-
meena
3.2.2 doesn't fix it, tho
-
» meena updated the bug
-
tercaL
meena: "Status: Closed FIXED" ?
-
meena
tercaL: I dunno if i can reopen it, so i didn't try
-
tercaL
got it
-
crb
I don't know much about virtualization on FreeBSD if I have a vmware setup can I load those vmdk disk into a virtualization tool on FreeBSD?
-
yuripv
what "virtualization tool"?
-
crb
yuripv: I don't know, A) what tools are there? and B) which if any will ingest existing vmware setups/vmdk disks?
-
yuripv
there are converters for vmdk images, you just need to know the target format
-
crb
yuripv: what target format are supported?
-
crb
what considerations are there for choosing a target format?
-
crb
what virtualization exists on FreeBSD? I think there is Xen and virtual box but I don't know much about them and their pros and cons
-
yuripv
-
VimDiesel
Title: bhyve - FreeBSD Wiki
-
crb
yuripv: awesome, that's a good place to start, thank you
-
martinrame
Hi, this is a zfs question. I want to create a raidz1 which will have 3x8tb drives. The problem is right now I only have 2 of those disks, can I create the vdev with only 2 of 3 disks?
-
yuripv
"The minimum number of devices in a raidz group is one more than the number of parity disks."
-
yuripv
not sure if you can add the 3rd disk afterwards though :)
-
martinrame
yes I think I cannot do this, what I was thinking of is something like: zpool create takn ada0 ada1 ada2 (but ada2 isn't there)
-
yuripv
file-backed md device of required size and "offline" it after creation? when you have the 3rd disk, do replace/enable?
-
martinrame
yuripv: zpool create tank ada0 ada1 /tmp/file1
-
martinrame
yuripv: something like that?
-
martinrame
mmm, I was able to create the zpool, but now I cannot offline the "disk" /mnt/file1
-
meena
tercaL: reopened
-
martinrame
great, my error was creating the zpool without the "raidz" param: zpool create tank raidz ada0 ada1 /mnt/file1
-
martinrame
now I was able to offline the "disk" /mnt/file1
-
daemon
is there a list of common problematic ip ranegs anywhere
-
meena
daemon: depends on the purpose
-
daemon
meena, general ban for my vpn/gateway covering my mta, vpn ingress point, nameservers etc
-
daemon
for use in pf.conf basically
-
meena
you can probably start with every cheap / unethical VPS provider
-
daemon
I was hoping there would be a feed or a list somewhere
-
meena
daemon: I reckon you can look at DNSBLs
-
meena
as a base feed for blocklistd
-
daemon
ah good idea
-
meena
-
VimDiesel
Title: Comparison of DNS blacklists - Wikipedia
-
debdrup
Instead of maintaining that (which is always going to be a lot more work than you estimate), setup an ACL where you only permit access to IP blocks that you know connections will be coming from.
-
debdrup
Ie. find out what service providers are going to be used, look up their ASNs, and build a list of VLSMs.
-
moonshine
any of that generally creates more problems than it solves. if you're trying to avoid dos, it's probably better to solve that other ways
-
dvl
I can't get 'zfs allow' to allow a non-root user to run 'zfs snapshot' -
mastodon.social/@dvl⊙bn/109886779035438338
-
VimDiesel
Title: Dan Langille: "If I do this: [r720-01 dan ~] % sudo zfs allow -…" - BSD Network
-
hubertm
can platformIO be used on FreeBSD?
-
hubertm
(platform for embedded development)
-
yuripv
dvl: as usual, worked for me with just shapshot,mount permissions
-
dvl
yuripv: so... WTF
-
dvl
zpool status is all up to date (meaning, no missing features on FreeBSD 13.1)
-
dvl
this pool is from 2017
-
yuripv
mine is from 2023 :)
-
dvl
I think my oldest pool is from 2013
-
wwt
does the qxl driver now work or is it broken because of rust?
-
dvl
yuripv: I just tested it on another host, worked.
-
dvl
Works on another zpool in the original host
-
LucMove
Hi. I cannot install debootstrap. The package is not available. Any suggestions?
-
meena
-
LucMove
Ports is not working either. It is hitting all debian mirrors after a specific version of the package that is not there.
-
VimDiesel
Title: FreshPorts -- sysutils/debootstrap: Install Debian or Ubuntu base system into a directory
-
meena
-
VimDiesel
Title: Fallout list - FreeBSD pkg-fallout
-
nimaje
-
VimDiesel
Title: 269584 – sysutils/debootstrap: can't chmod debootstrap
-
LucMove
So I can't have it?
-
dvl
yuripv: The filesystem is jailed.
-
LucMove
Is that a question?
-
LucMove
I didn't start a jail. Just ran package install, didn't work, now I'm going for the ports option.
-
meena
there's build failures on the ports builders, but there it's in stage, not fetch
-
LucMove
Oh it seems to have found something. Now it offers me options, some are pre-selected.
-
LucMove
I don't know what to select.
-
nimaje
the message from dvl is another conversation, LucMove
-
LucMove
nimaje: thank you
-
wwt
what does afllout mean?
-
wwt
fallout
-
wwt
build errors?
-
meena
wwt: yes
-
meena
-
VimDiesel
Title: fallout - Wiktionary
-
nimaje
LucMove: currently the port just doesn't build, you could apply the patch from the linked PR, find and build a previous version of the port or find some already build pkg and install that (no idea about your fetching troubles)
-
meena
wwt: we use it on terms of meaning 3, because often when one port fails, it's dependents fail too
-
LucMove
nimaje: it seems to be building. Let's see how far it goes.
-
LucMove
What is PR?
-
meena
Problem report
-
nimaje
problem report
-
meena
(on GitHub, and others, it's pull request)
-
LucMove
debootstrap seems to have built.
-
LucMove
I'm trying to run a Linux app but it's not working at all. I have no experience with this.
-
LucMove
Do I really need a complete Linux jail for this?
-
AlexC
if you want to run a linux app, use linux. probably.
-
nimaje
a chroot works too
-
LucMove
AlexC: have you told that to the developers responsible for the Linux layer compatibility?
-
AlexC
nop.
-
AlexC
and they not responsible to anything
-
AlexC
it's mostly their free time, to contribute to the free software community
-
LucMove
To the vast majority of English speakers, it's clearly understood that "responsible for" also means "author".
-
AlexC
mo no english
-
AlexC
me*
-
AlexC
and tbh I don't care, if I can't get it working under 5 minutes, i will use linux to get it working
-
AlexC
:>
-
LucMove
I only have one computer.
-
AlexC
what "linux app" you trying to use?
-
nimaje
(ah, wait, that linuxjails page even suggests to just use chroot)
-
LucMove
-
VimDiesel
Title: LinuxJails - FreeBSD Wiki
-
xtile
honestly same, AlexC, I only use GNU/Linux for proprietary software and GNU software. FreeBSD just works (for open-source software) so I don't need to use GNU/Linux much at all
-
xtile
and I don't feel like trying to use WINE or Linux compatibility layers
-
AlexC
yep, agree.
-
xtile
on that topic, it's weird that the nvidia driver packages enable linux compatibility stuff by default
-
xtile
it should be opt-in
-
xtile
rather than opt-out
-
xtile
the real solution is me building a new computer this year, though
-
nimaje
ah, there was another conversation in -social about running linux some linux program (jellyfin) and I just didn't notice that that where two diffrent conversations
-
nimaje
LucMove: yep, I meant that page
-
LucMove
Installing software is quite a pain, isn't it? The package downloads time out over and over.
-
xtile
i've only noticed that today
-
xtile
normally it's not like that!
-
LucMove
I've been at it since yesterday.
-
xtile
ah... dang
-
rtprio
LucMove: you might try a different mirror
-
LucMove
I believe it is installed already. It seems to have fond a proper package.
-
LucMove
*found
-
LucMove
I was doing some reading and haven't gone through the entire Linux setup procedure yet.
-
LucMove
Then I'll see if I can run an AppImage.
-
LucMove
What is people's usual behavior here in relation to bugs?
-
LucMove
It's not a port, it's a package.
-
rtprio
determine if it's with the port/package or the upstream software
-
LucMove
the software never gave me a problem on Linux for 6 years
-
rtprio
report it appropriately, with a fix if possible
-
rtprio
ok, well, freebsd isn't linux
-
LucMove
so...
-
rtprio
it could also be, you know, user error
-
LucMove
that would be really interesting
-
LucMove
Run app, open 46MB .wav, playback freezes after a few seconds. Totally my fault. :-)
-
meena
what's wrong with 46MB wav?
-
meena
that's like, what, 2.8MB mp3?
-
yuripv
the package downloads seem to be fine for me, "13.3MB/s"
-
LucMove
it's not mp3, it's wav
-
LucMove
I suspect it chokes on large files, but it's just a wild guess
-
meena
LucMove: i know, but if you converted it to an MP3, it'd be like 1/12th the size
-
LucMove
you can't be serious
-
mason
If not MP3, FLAC or ALAC. What's the app? Sometimes they have bugs.
-
LucMove
mhwaveedit
-
rtprio
there are easier ways to play a wav file than installing linux
-
mason
Example, current VLC chokes on FLAC because they have a bug in their crc code. There isn't a release with a fix yet. Current workaround, jump formats temporarily.
-
rtprio
or is it the freebsd mhwaveedit freezing?
-
LucMove
yes
-
LucMove
as stated previously, it has worked fine for me on Linux for about 6 years
-
LucMove
audacious can play the file
-
LucMove
but audacious is not an editor. it just plays.
-
rtprio
then file a defect with mhwaveedit
-
LucMove
will do
-
LucMove
When people say, debootstrap bionic /compat/ubuntu, does it have to be Ubuntu? What about pure Debian?
-
mason
LucMove: debootstrapping Debian (bullseye) seems to break at present. I've not dug into it yet.
-
mason
LucMove: If you have a Debian system that can debootstrap it elsewhere and ship in the root would probably. Probably worth a try anyway.
-
mason
It dies trying to access a named pipe for reasons I haven't yet explored.
-
LucMove
ok. interesting
-
LucMove
I do have Debian installed.
-
mason
LucMove: FWIW, I run a mix of Debian and FreeBSD here, and the Debian here looks like this, in case there's anything useful for you in there:
github.com/ChibaPet/install-debian-zfs-sysvinit
-
VimDiesel
Title: GitHub - ChibaPet/install-debian-zfs-sysvinit: Install Debian on ZFS, with sysvinit, optionally encrypted.
-
LucMove
"Buggy. Do not use unless you're feeling adventurous and like supporting your own systems."
-
LucMove
LOL
-
mason
It's important to scare folks off when you can.
-
LucMove
yeah, no, not very appealing to me
-
LucMove
bit of a frankenstein thing
-
mason
All stuff Debian ships, but yeah.
-
ngortheone
is theere a way to generate user/group programmatically?
-
ngortheone
(not via shell scripting and pw, but with C library)
-
rtprio
i think everything calls adduser/pw etc. but you could just slap in a passwd line and run pwd_mkdb
-
rtprio
but seatbelts are off in that case
-
ghoti
rtprio: sorry for the delayed response. (8PM ET last night.) Yes, only 1 network in use by bhyve. DHCP is currently handled by my router and provided an IP for the guest, which I see in the guest and can ping, But outbound traffic initiated by the guest causes traffic apparently from the host's first IP.
-
rtprio
np; what's `vm switch list` look like?
-
ghoti
Both IPs are within the same subnet, of course, though the host's IP is not within the range of assignable IPs.
-
ghoti
Just the one; public standard vm-public - no - - em1
-
ghoti
And the interface shows both em1 and tap3 as members, tap3 being assigned to the guest.
-
rtprio
does outbound traffic make it back to the guest?
-
rtprio
do you have something weird on the physical switch em1 is plugged into
-
ghoti
Nope. With real IPs for clarity, guest is 192.168.1.177, host is 192.168.1.4; ping from guest to 8.8.8.8 shows ICMP from 192.168.1.4, with return, in tcpdump. So it never gets to the guest.
-
ghoti
As for the switch .. I doubt it. What's "weird"? A couple of raspberry pis, an Alix board, a 1st gen Philips Hue gateway.. But nothing that would get between the vhyve VM and the tcpip stack on the host.
-
ghoti
I can't imagine something getting in there and *changing* the IP. Seems much more likely that something in my bhyve configuration doesn't know its IP, and so is grabbing the first one itsees.
-
rtprio
ghoti: and ifconfig vm-public has both the tap and em1?
-
rtprio
tcpdump vm-public and see what's going out?
-
rtprio
"weird" would be some port enforcement or some such