-
luke_jobless_sb
can I set my git-daemon keeps lurking and if something happens to my sshd it takes over the port?
-
ivy
this libmd sovers bump is *really* way more annoying that it should be with pkgbase
-
kevans
hah
-
kevans
i dealt with that transition years ago :-D
-
ivy
kevans: what? it was only committed like a month ago
-
ivy
was there a make.conf option for it?
-
kevans
no, i did all of that work two years ago and only just now got to land it
-
kevans
=)
-
ivy
so the first problem is the poudriere bug where it claims to upgrade jails but actually doesn't, which i really should report
-
ivy
then even after you get packages rebuilt, you have to 'pkg upgrade -f' everywhere to actually install the fixed ports
-
ivy
and for bonus, 'pkg' will be broken while you do this, so you have to know about pkg-static, which i do, but many users do not
-
kevans
that latter point is true of any soversion bump in base with or iwthout pkgbase
-
ivy
i agree, it's true, but it should not be
-
kevans
it's simply not feasible to identify all of the packages and bump PORTREVISION like you would with an soversion bump in ports
-
ivy
we need a way for ports to declare dependencies on pkgbase packages/libraries
-
kevans
although, I thought bapt was saying somewhere that the hash should've changed and it would pick up that it needed to be reinstalled
-
kevans
maybe that was ideal-world and it was broken
-
ivy
especially now that 15.0 is no stable there is never any need for normal users to run stable/release builds, we need to fix pain points like this in current
-
ivy
s/no stable/so stable/
-
ivy
kevans: while you're here, ever seen a build error like this?
0x0.st/XlCr.txt - i am much confused
-
kevans
funky, but I think I saw a transcript much like this just the other day, actually
-
ivy
i was going to mail current@ but i accidentally deleted ${WORLDTMP} while debugging it which fixed the problem
-
kevans
the sample the other day was building a poudriere jail, sjg noted that you can run -DWITH_META_ERROR_TARGET and bmake will drop the aborted target's .meta file in ${ERROR_LOGDIR}
-
kevans
run it with
-
kevans
'make will exit 6 when it sees an abort token'
-
ivy
oh is this going to be a meta mode problem, maybe i should ask sjg directly
-
ivy
it happened on the second build after i moved the build to a new host though which makes me think i did something wrong
-
kevans
maybe, though from the sound of it he wouldn't be able ot tell you much more without understanding which target precisely failed
-
kevans
sounds like a good opportunity to improve diagnostics
-
ivy
sed -ie 's/@//' Makefile*'
-
jauntyd
ivy: if you could pick one resource that helped you the most to learn FreeBSD, what would it be?
-
ivy
jauntyd: "Understanding UNIX", second edition, Stan Kelly-Bootle, Sybex, 1994
-
jauntyd
ty
-
ivy
i would not necessarily recommend this book to modern readers though considering it is 30 years old
-
jauntyd
i almost bought it just now lol
-
ivy
despite its age i do think it does a good job of introducing the basic Unix userland, which hasn't really changed much in that time
-
ivy
but it won't teach you how to install FreeBSD on your laptop or how to be a sysadmin
-
» jauntyd pats the handbook
-
jauntyd
i mean, its $10. would you pay $10 for it in modern times knowing what you know about it?
-
ivy
if someone gave me a FreeBSD shell account somewhere and i wanted to learn how to use it, yes. if i wanted to install FreeBSD on my laptop, no
-
jauntyd
gotcha
-
ivy
i can't really offer any more up to date recommendations since i learn Unix in the 90s when that book was current and i don't get paid to review books about Unix :-)
-
jauntyd
lol i understand. I have 4 or 5 specifically on FreeBSD, but they just gloss over things
-
jauntyd
anyways, thanks for sharing your brain :)
-
mns
any Unix book would be good, I would think. Unix Power Tools from O'Reilly would be a good one.
-
jauntyd
great! i will add it to my cart as well
-
mns
I basically learnt by reading the man pages, and then had Unix System Administration Handbook (1st ed), and Unix Power Tools.
-
mns
Yes I'm dating myself with all that, late 80s and early 90s.
-
mns
jauntyd: have you used any other Unix type system?
-
jauntyd
Well, I used FreeBSD before the split....since then off and on. I had a Mac for a few years, but mostly just BSD
-
jauntyd
I find the books I have lack the details I crave
-
ivy
i remember "Unix Power Tools" being good but it's more of a second good
-
ivy
it's like, okay, i know how to use 'ls' and 'cat', now what?
-
jauntyd
^
-
ivy
s/second good/second book/
-
mns
what details are you craving jauntyd ?
-
ivy
the best reason to obtain a copy of "Unix Power Tools" will be the CD-ROM that came with it
-
ivy
that must have a bunch of really interesting ancient software on it
-
jauntyd
mns: Anything that can help me level up. I am a solid user, but I would like to know how FreeBSD works internally.
-
jauntyd
ivy: remember user group disks? :D
-
mns
the first one had roughly 100 pieces of software on it, for 7 different versions of Unix (HPUX, AIX, SunOS, Ultrix, etc.)
-
mns
jauntyd: if you're looking for internals than the book would be The Design and Implementation of the 4.4 BSD Operating System. There is a version for 4.3 BSD and for FreeBSD
-
ivy
jauntyd: that was out of my baileywick at the time, but i remember Fred Fish and PD libraries
-
mns
I have lua54 installed. I want to have a /usr/local/bin/lua but doesn't seem like any of the lua packages provide a symlink. I know other packages provide it, like python.
-
ivy
ok build worked this time, let's reboot then we are going to have such fun with sr-iov
-
ivy
ONE HUNDREEEEEEEEEEEEEEEEEEEEEEEED AND TWENTY EIGHT VIRTUAL FUNCTIONS
-
mns
sr-iov?
-
ivy
mns: sr-iov lets you expose "copies" of a PCI card to virtual machines. so you can connect all your VMs directly to your NIC and their traffic doesn't have to go via the host = better performance
-
mns
virtual machines as in jails?
-
ivy
no, as in bhyve
-
mns
ahh ok
-
ivy
(or kvm, if you speak linux)
-
ivy
hah it worked
-
ivy
pci10: <unknown> at device 0.11 (no driver attached)
-
ivy
pci10: <unknown> at device 0.15 (no driver attached)
-
ivy
pci10: <unknown> at device 0.19 (no driver attached)
-
ivy
this never worked with my Intel card, Chelsio is fine though
-
ivy
let's see if it works in the VM though... need to configure the switch first i guess
-
ivy
Oct 23 04:46:43: fatal; pci passthrough not supported on this system (no VT-d or amdvi)
-
ivy
hmm
-
ivy
how do i do PCI passthrough on vm-bhyve, i feel like i'm missing something here
-
plasma
that would be an interesting question for me too, since im just setting up my new server and want to pass through my soundcard
-
ivy
i looked at vm-bhyve.log and it says this
-
ivy
Oct 23 04:50:10: booting
-
ivy
Oct 23 04:50:10: [bhyve options: -c 2 -m 1g -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -S -U 4d47f56a-6519-4039-9368-d63c0fabeeef -u -S]
-
ivy
Oct 23 04:50:10: [bhyve devices: -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/data/vm/lily/disk0.img,sectorsize=4096 -s 5:0,passthru,10/0/11]
-
ivy
Oct 23 04:50:10: [bhyve console: -l com1,/dev/nmdm-lily.1A]
-
ivy
but this just produces a usage error if i actually try to run it
-
ivy
# bhyve -c 2 -m 1g -Hwl bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd -S -U 4d47f56a-6519-4039-9368-d63c0fabeeef -u -S -s 0,hostbridge -s 31,lpc -s 4:0,nvme,/data/vm/lily/disk0.img,sectorsize=4096 -s 5:0,passthru,10/0/11 -l com1,/dev/nmdm-lily.1A
-
ivy
Usage: bhyve [-aCDeHhPSuWwxY]
-
ivy
and i really can't work out what i'm doing wrong
-
ivy
even if i disable passthru0 in the config file, the options it prints don't work
-
ivy
maybe this just doesn't work on AMD?
-
ivy
apparently AMD does support this but i need to find ivhd0 device somehow
-
» ivy tries booting with GENERIC kernel
-
ivy
okay progress: bhyve: Found 1 AMD-Vi/IOMMU device(s), use hw.vmm.amdvi.enable=1 to enable pass-through.
-
ivy
this is a loader tunable though, so another reboot...
-
ivy
holw fuck it works
-
xxy
what file does regdomain attribute locate in freebsd14
-
ivy
root@lily:~ # ifconfig cxlv0
-
ivy
cxlv0: flags=1008802<BROADCAST,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
-
ivy
options=6ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,HWRXTSTMP,MEXTPG>
-
ivy
ether 06:44:3f:e7:60:30
-
ivy
media: Ethernet 10Gbase-Twinax <full-duplex> (10Gbase-Twinax <full-duplex,rxpause,txpause>)
-
ivy
ok, it doesn't actually work: cxlv0: a looped back NS message is detected during DAD for fe80:3::444:3fff:fee7:6030. Another DAD probes are being sent.
-
ivy
kevans: hello frand
-
ivy
Waiting for PIDS: 29703 97832 1242 4323
-
ivy
90 second watchdOct 23 06:46:10 hemlock init[1]: /etc/rc.shutdown terminated abnormally, going to single user mode
-
ivy
Oct 23 06:46:10 hemlock syslogd: exiting on signal 15
-
ivy
vmnet8: link state changed to DOWN
-
ivy
vmnet7: link state changed to DOWN
-
ivy
Waiting (max 60 seconds) for system process `vnlru' to stop... done
-
ivy
Waiting (max 60 seconds) for system process `syncer' to stop...
-
ivy
Syncing disks, vnodes remaining... 0 0 0 0 0 0 0 0 0 0 done
-
ivy
All buffers synced.
-
ivy
Uptime: 19m16s
-
ivy
panic: VERIFY(avl_is_empty(&sk->sk_dsl_keys)) failed
-
ivy
i have to say, i've never seen a panic after the 'Uptime:' report, this is now
-
ivy
new
-
ivy
bug @
bugs.freebsd.org/bugzilla/show_bug.cgi?id=282281, hope kevin can produce a fix for this soon
-
ivy
do i get some sort of bonus for finding a cxgbe bug and a zfs bug in the same day? i wasn't even trying
-
ivy
help me kevin evans you are my only hope
-
xxy
installing chromium from pkg in freebsd, i can't use proxy of chromium, i tried "proxychains chrome" firstly , it didn't work, then i tried [chrome --proxy-server="socks://127.0.0.1:10608"
-
xxy
], it still not work
-
xxy
k
-
Alver
Define "does not work"
-
Alver
It errors out? Does not use the proxy at all? Tries but fails?
-
xxy
Alver: yes , and chromium page proxy setting don't work yet ,not setting option, when i click it , then it forward to PC setting panel
-
luke_jobless_sb
exit
-
xxy
Alver: it works , i forget shutdown chromium window opened in the past
-
xxy
ast
-
Alver
I'm trying to manage (create, mount, unmount, destroy) ZFS "legacy" datasets inside a jail. I can create them, but mounting gets "Operation not permitted". Anyone have a hint?
-
Alver
I tried with devfs_ruleset=4, devfs_ruleset=0 - no difference.
-
johnjaye
ivy: i've always wondered what that last message means when I shutdown my system.
-
johnjaye
in particular the 10 zeros
-
johnjaye
Alver: i do not know but there is a book on the topic of ZFS. a whole textbook!
-
voy4g3r2
Alver: i have not played with it iun a long time but have taken two approaches: 1.) Mount the zfs on teh host and then nullfs the dataset 2.) You can also "jailed" the data set upon creation and then have a mount point setup
-
voy4g3r2
-
voy4g3r2
bah
-
radhitya
>brave
-
ivy
well i mailed support⊙cc about my cxgbe issue, basically to say hi, i have your card and it doesn't work, will you help me?
-
ivy
i hope they take pity on me
-
Alver
voy4g3r2: that is already done; I can mount the datasets using zfs nicely. But, for some reason, *legacy* mounts - which is what podman uses - does not work
-
voy4g3r2
Alver: ah, my area of expertise on that is non-existent.. hopefully someone with more knowledge can help
-
Alver
It's silly because podman uses legacy mounts - no idea why, honestly - and yet those are not working inside a jail, whereas zfs mounts do work nicely.
-
Alver
I read somewhere that vfs.usermount=1 on the host might be needed to allow legacy mounts inside a jail, but no dice.
-
Alver
Alright, reverted the jail to devfs_ruleset=4, securelevel=2 and vfs.usermount=0.
-
Alver
Does anyone have a hint on how I could get "legacy" mount working on a specific ZFS (jailed) dataset inside a jail? I can already create/destroy what I need, but mounting fails when using mount instead of zfs.
-
sopparus
hello
-
luna__
hey
-
sopparus
i have a ssd with zfs that is not mounted, the pool is called zroot, just as my real zroot on another drive
-
sopparus
i need to mount or view this ssd
-
sopparus
-
sopparus
how can i mount it?
-
sopparus
or export it whatever
-
sopparus
i just need the data
-
ridcully
sopparus: have you tried `zpool import -d tmproot zroot/the-id-of-the-thing` ?
-
sopparus
what is the id?
-
sopparus
how do i find it
-
ridcully
sopparus: `zpool import` should show it
-
uskerine
hi, can you display all cores with top? I am reading in linux it is done with -l
-
ivy
uskerine: top -P
-
ivy
uskerine: or configure installing 'htop' and use thst instead, which imo is a better interface
-
ivy
s/configure/consider
-
uskerine
thanks
-
dch
Alver: do you have those allow mount controls set for the jail?
-
dch
allow.mount and allow.mount.zfs for example
-
dch
if I get my $WORK stuff finished today or tomorrow, I have a whole day of podman funsies planned... its hard juggling all the things
-
phryk
If I want to create a custom freebsd image bootable from optical or usb drive, what tooling should I look at?
-
phryk
Essentially, I just want it to be able to run a custom shellscriptafter it booted.
-
» dch waves
-
dch
mfsbsd
-
dch
-
phryk
henlo, thanks :3
-
dch
it might be overkill, but it basically boots DHCP and then can do anything you want if you stuff it with rc.local
-
dch
-
dch
AMA
-
phryk
What are the images at
mfsbsd.vx.sk and are those required?
-
Alver
dch: yes, they are set. I can mount zfs using the zfs command, but 'mount' fails.
-
dch
phryk: those are pre-generated ones from a fbsd committer, you can grab that and try it.
-
Alver
Which is even more strange because the jail is also mounting a lot of other things using 'mount' - but zfs does not work
-
dch
phryk: mfsbsd just boots an in-memory freebsd that supports DHCP and sshd directly. You can do the same thing with memstick image ofc too.
-
dch
its just you wont have remote access. eradman's one is nice as it runs in a tmux too. I remember doing this for a closed-source customer prior to covid...
-
dch
Alver: IMO its very confusing to follow your stuff. It's snippets of info but never enough to reproduce your exact steps. Can you post a pithy summary of your setup so I can try it?
-
phryk
dch: mind if i query you?
-
dch
mounting normal mount via fstab in a jail should only require the jail.conf settings above
-
dch
phryk: ofc
-
Alver
dch: long story short, I have a zfs dataset which is created with -o jailed=on. The jail.conf settings are set and are working for everything - except when the jail creates something with mountpoint=legacy, and tries to mount it 'anywhere'. Let me see if I can cobble up something which is not an ongoing stream of discoveries :)
-
dch
;-)
-
dch
so its the zfs canmount=legacy option that seems to screw things up? that should just allow using fstab, iirc
-
dch
so long as /dev/zfs is available i would expect that to work
-
Alver
dch: I think the relevant bits are all in
pastebin.cz/en/p/BTHEPJf
-
Alver
dch: I cannot use 'mount' to mount anything zfs on a chosen location. Using 'zfs mount' works fine
-
Alver
I'm not sure this is something 'by design' or I'm just doing something stupid. It's pretty deep water for someone who hadn't touched FreeBSD until 3-4 months ago. :°)
-
Tenkawa
Alver: do you get an error or is it just not available?
-
Alver
Tenkawa: see the pastebin link - 'Operation not permitted'
-
Alver
It's available, I can mount it the 'standard' way all I want - but not the 'legacy' way using 'mount'
-
Alver
And unfortunately, podman's zfs storage backend only supports the legacy way
-
Tenkawa
Yeah thats odd
-
Tenkawa
Alver: oh. I just found searching it might be trying to protect part of the zfs container
-
Tenkawa
thats why the zfs cmd allows the way around it
-
Alver
Aha - got a link?
-
Tenkawa
Just a sec
-
Tenkawa
-
Tenkawa
look at #10
-
Alver
I'm not sure I'm getting it
-
Tenkawa
That area of the drive is locked unless the sysctl is set to allow
-
Alver
Hrm
-
Alver
The error message is the same, but I'm attempting to do things with a disk which is not even related to the "OS" part of the jail
-
Tenkawa
That's why I said it was a stretch but it was the only thing coming up..
-
Alver
But something is thinking it's a bad idea my jail does that, that much is certain
-
Tenkawa
Alver: I think this will happen for anything provosioned with zfs because it contains metadata
-
Tenkawa
s/provosioned/provisioned
-
Tenkawa
I need to hook up a few more zfs drives on my box here
-
Tenkawa
(Once I fix my kerel bug lol)
-
Alver
Tenkawa: tested for shits & giggles with the kern.geom.debugflags but no change
-
Tenkawa
bummer.. well it was worth a try
-
Alver
I can't wrap my head around it - I always kind of assumed that 'mount', when called for a zfs FS, would just call on zfs itself
-
Tenkawa
Yeah its going to be something hidden, wrapped in an enigma like most things are in today's world.... lol
-
uskerine
trying to find parallel package in freshports
-
Tenkawa
-
mns
˜/35
-
markmcb
is it normal on STABLE to get "BOOT LOADER IS TOO OLD. PLEASE UPGRADE." at boot time? I've copied over loader.efi per LOADER.EFI(8)