-
bendodroid
At least uname and freebsd-version say so
-
bendodroid
Huh, weird. After another reboot the EOL warning is gone :O
-
flatdog
bendodroid:generic kernel?
-
bendodroid
flatdog: yes
-
flatdog
Hmmm, weird
-
bendodroid
I'll see if the other machine that is still installing updates shows the same behavior
-
bendodroid
Maybe it was just some weird cache thing? Are there mirrors involved in the EOL check that might have been out of date?
-
flatdog
Upgraded from 13.2 or something else?
-
flatdog
RC, whatnot
-
bendodroid
From 13.2-RELEASE
-
flatdog
I think this was already happened on the forums, let me check and I will point you to the thread, if you wish (SirDice rocks)
-
bendodroid
If you have the link, yes please :)
-
meena
bendodroid: I've seen this before, i think it is hopefully fixed by an upgrade to freebsd-update
-
meena
-
VimDiesel
Title: FreeBSD / src - FreshBSD
-
bendodroid
Ok, so the second machine finished upgrading and it gets better: 2 consecutive 'freebsd-update fetch' invocations lead to the first having the EOL warning and the second one not having it
-
bendodroid
This sounds like a fun bug :D
-
darwin
can I get FreeBSD 14 torrent yet?
-
flatdog
3 times, bendodroid. 3 times
-
bendodroid
Well, on the second machine I did the final reboot according to the handbook and then 2 fetches and it went away without a reboot inbetween
-
polyex
14
-
bendodroid
So I didn't miss a reboot after all *relieved sigh*
-
mariuss
Why in the world did the update delete sudo pkg? I had to look up the root passwd!
-
darwin
yeah? I'll reinstall that
-
darwin
i'm not going to use doas or whatever
-
flatdog
:)
-
mariuss
pkg reinstalled 549 packages, but whatever I try to use seems to be missing: sudo, bash, startx fails.
-
flatdog
mariuss: even when the full path is provided?
-
mariuss
Update: startx is working after manually reinstalling sudo and bash.
-
mariuss
Yup. The packages were gone.
-
mariuss
Also, a number of packages (19) downgraded. Most, just revisions, but others to a previous version.
-
flatdog
-
VimDiesel
Title: Solved - 14.0After pkg upgrade sudo dont works | The FreeBSD Forums
-
flatdog
post #16
-
mariuss
Yes, I went and edited the conflicts. Both /etc/group and /etc/password are correct.
-
mariuss
After reinstalling both packages (pkg did not complain that they were already installed) everything worked w/o editing config files.
-
babz
-
babz
is 1706659200 ie. in less than 3 months
-
babz
so freebsd-update is warning
-
mns
Whenever I do 'freebsd-update fetch install' it complains that /etc/ssh/sshd_config is affected by the updated but no changes will be downloaded because the file has been locally modified. How do I get around this ?
-
jb1277976
yea lol i remember updarting to 14.0 im loke why do /etc/groups and /etc/passwd have hashtags
-
jb1277976
s/loke/like/
-
mariuss
I just set up the poudriere jail for 14.0-RELEASE: I also see the EOL warning. lol
-
babz
mns: but it didn't say anything about /var/db/etcupdate/current/etc/ssh/sshd_config ?
-
babz
if so, you should be able to merge the file with etcupdate(8)
-
wildeboskat
Could it be that you are on the RC which is now deprecated?
-
mns
babz: no it did't say anything about /var/db/etcupdate/current/etc/ssh/sshd_config. Just to be clear, seeing that 14.0 is out now, I'm on 13.2-RELEASE-p5
-
mns
let me look at etcupdate, I've not used it before.
-
mns
Looking over at the release notes for 14.0-RELEASE, I see that sendmail is replaced by dma. dma seems simple enough, but no ability to receive email ?
-
babz
with direct memory access, I hope the mails go fast!
-
DanDare
Woot! Excited to discover how 14.0 it's doing with RPI. Going to try it really soon
-
babz
I haven't had a good look at dma yet, except to see that for local mail it works on its own
-
scoobybejesus
mns i was also wondering about the best way to get those changes. i have not used etcupdate before. perhaps it's actually easy peasy
-
wildeboskat
Hmm so I tired updating to 14.0 but I keep getting errors about the i915 module not working so it won't start the desktop
-
wildeboskat
s/tired/tried
-
wildeboskat
I reverted the snapshot and boot env so I'm back on 13.2-p5
-
wildeboskat
I did keep running the freebsd-update install as suggested after the install but no luck, and the drivers were not installed from ports :(
-
wildeboskat
I also got many libcrypto errors so it looks like it didn't update many packages properly
-
wildeboskat
Did I miss a step perhaps? I thought freebsd-update install should have updated everything on the second run after the reboot
-
wildeboskat
I love ZFS snapshots tho <3
-
wildeboskat
Oh well I'll read up a bit more and try again, but if any of you have any idea it'd be nice
-
skered
bash and sudo arn't in pkg 14 repos?
-
skered
er... no. They're there.. wonder why it wants to uninstall them
-
» skered shrugs... was able to reinstall them
-
skered
silly pkg doing silly pkg things.
-
rwp
mns, The merge notification about sshd_config was something that happened in 13 and several of us have commented upon it but so far no one has gotten to the root cause yet. It did not do that in 12 so this is new but new in 13 and 14 just appears the same as 13 for this.
-
mns
scoobybejesus: yeah I don't think I need etcupdate. I made somce changes to /etc/ssh/sshd_config around April timeframe
-
mns
rwp: ok so that's good to know that I'm not the only one :-)
-
scoobybejesus
I did the same. I mean, I think the default config has permitrootlogin no, and I have it as yes on my vps. so every freebsd-update tells me that, so I don't get the upstream changes. but I guess upgrading to 14 gives the option to edit the file
-
iio7
I just upgraded a couple of boxes to 14.0-RELEASE and discovered that any user who types "su", automatically gets root now!
-
iio7
No password required or anything.
-
mns
rwp: did you make changes for hardening sshd ?
-
rwp
mns, You are not the only one. Recently saw this thread on the mailing list about it too.
lists.freebsd.org/archives/freebsd-stable/2023-October/001527.html
-
VimDiesel
Title: Re: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update [REVISED]
-
mns
scoobybejesus: I keep that setting always set to no. no one should need to ssh in as root
-
rwp
That thread has many replies but no real root cause. But it did have a few interesting ideas in it.
-
voy4g3r2
crazy how lang/python pkg will install 2.7 - 3.11 in freebsd 14
-
mns
I'll have to look at that thread
-
voy4g3r2
rwp: the hard drives are in the enclosures.. the fun is starting :)
-
voy4g3r2
the machine with the 3 drives has 14.0 also.. figure might as well try it out with a software raid restore :)
-
voy4g3r2
what could possibly go wrong.... sarcasm
-
rwp
mns, scoobybejesus, I also must change PermitRootLogin to yes now too because that's how backup works here. And no it is not a security weakness as no one is going to crack an ssh key by brute force.
-
rwp
voy4g3r2, Good luck with the recovery! And yes I am familiar with the SCT ERC issue. The page you want for Western Digital is this one.
blog.westerndigital.com/wd-red-nas-drives
-
VimDiesel
Title: On WD Red NAS Drives - Western Digital Corporate Blog
-
rwp
That WD page identifies which drives their marketing department slipped in SMR drives into the normal CMR drive space. If you have an SMR drive I guess you can only remove it and replace it with a new CMR drive.
-
kenrap
voy4g3r2: after doing some research on the rpi red led thingy, if it were to lit off, it means it had a "brownout" because of not having enough power but clearly our rpis are still functioning when running 14.0-RELEASE. Another thing I found out is that in Linux, one can turn off both red an green leds if they want to. My hunch is that something in the boot process (like an rc script) might be turning off the red led by defaut.
-
voy4g3r2
kenrap: yeah that is what i am seeing too the gpio are "on" by default through their raspi-config
-
voy4g3r2
so some magic is happening
-
voy4g3r2
-
VimDiesel
Title: dpaste/cxfx (Plain Text)
-
voy4g3r2
fun times..
-
voy4g3r2
time to fsck some drives, it looks like
-
mns
rwp: interesting email thread. I didn't realise Include was a supported option
-
iio7
Anyone who has upgraded to 14.0-RELEASE?
-
voy4g3r2
iio7: a few :) arm64 here
-
iio7
On my amd64 boxes, all users who type "su" at the terminal gets root access without being prompted for a password now.
-
iio7
After the upgrade from 13.2 to 14.0.
-
voy4g3r2
are those users part of the wheel group?
-
voy4g3r2
for my install i am prompt for users to su , denies if not part of wheel group
-
iio7
No.
-
iio7
But even if they where, they are supposed to be prompted for the root password.
-
iio7
Noone else seeing this?
-
rwp
mns, The interesting idea for me out of that thread was to add specific options to the command line argument list. That does not work for Include. But it does work for the majority of my needs.
-
rwp
It also does not work for the Match configuration either which is another custom environment I live in too. But that's pretty unusual.
-
mns
For me it was just using the '-f' option. It is a work around though, since /etc/ssh/sshd_config should be modifiable and freebsd-update should be able to work with that
-
rwp
Agreed. sshd_config should be locally modifiable and the update should handle it. It's a regression that it does not.
-
rwp
voy4g3r2, I am just a little concerned about your disk gpart paste showing all of the corrupt flags. Didn't you say your synology was running mdadm software raid on Linux? Wouldn't that be the place to do the recovery then?
-
markmcb2
iio7: not seeing that. su works as expected for me.
-
voy4g3r2
rwp - it is SHR/multiple disk.. i would but the synology motherboard died
-
rwp
voy4g3r2, I know your motherboard died but if the synology ran linux then though this might be heresy to say here I would recover it on a linux system not a freebsd system. (shrug)
-
voy4g3r2
yeah...
-
rwp
After you recover you would want to move all of your data over to ZFS on FreeBSD of course. But until then I would boot your favorite linux flavor and then do the recovery there. Because I don't know why it would be showing corrupt from gpart. That would make me nervous.
-
voy4g3r2
-
VimDiesel
Title: How can I use a PC to recover data when my Synology NAS malfunctions? - Synology Knowledge Center
-
voy4g3r2
i found an article and trying to see how i can replicate..
-
voy4g3r2
to your point, following them may make more sense
-
rwp
Earlier this year I found myself in a problem on my 6 disk NAS. I was really paranoid because I didn't want to lose the data. I also did not have a backup, my bad, and so I really sweated through it. But it was ZFS on FreeBSD for me and eventually I was able to recover 100%. I now have a second NAS for backup now. Whew! Survived through it.
-
voy4g3r2
well at this point... i am looking at tarsnap.com
-
voy4g3r2
because i have hit that threshold myself and i can have a debian box up running real quick anyway
-
voy4g3r2
just need to flash real quick
-
voy4g3r2
these are time i wish my home lab was NEXT to me and not in another area of the house
-
rwp
I just skimmed that Synology article and it looks pretty good to me. That flow looks reasonable to me from here without warranty.
-
voy4g3r2
yeah i have played with lvm2 before synology
-
voy4g3r2
figure it could not be that hard to get it working on freebsd
-
voy4g3r2
fusefs-ext2 and geom
-
voy4g3r2
but yeah.. i get to the point of.. it is showing drives in stripe but complaining with said paste from before
-
rwp
It doesn't really say how to drive mdadm because I think it is likely that it might snag up there. But mdadm is very reasonable and I think you can get the raid online at that point. And then the rest should flow.
-
rwp
I don't doubt that you could get the array mounted up on FreeBSD. The problem is trying to get something which *might already be corrupt* up and running.
-
voy4g3r2
makes sense to me.. flashing the card now with debian and see where it takes me
-
rwp
If it were me I would try to make the best luck for myself as I could and match the Synology environment as exactly as possible. Which is Debian/Ubuntu as per Synology. And then I would migrate the data to ZFS on FreeBSD where it can be safe for all time.
-
voy4g3r2
yeah.. freebsd found the 3 drives.. only 2 usb3
-
voy4g3r2
but that is a whole other thing.. we have discussed laready
-
voy4g3r2
usb no bueno
-
voy4g3r2
i am getting too comfy with flashing these cards last few days
-
voy4g3r2
rwp: well that found it and yea... personality complex anyone?
bsd.to/vtJR
-
VimDiesel
Title: dpaste/vtJR (Plain Text)
-
voy4g3r2
but it found it :) progress
-
rwp
voy4g3r2, Good deal! Looks like it assembled the raid5 with no problem at all. I am not used to seeing "[4/3] [UUU_]" there and don't understand it with regards to a 3-disk raid. I go, huh?
-
voy4g3r2
hehe, yeah well that is how i roll
-
voy4g3r2
logic made sense at the time
-
voy4g3r2
EXT4-fs (dm-0): Number of reserved GDT blocks insanely large: 7491
-
voy4g3r2
this is a funny one, seems since the synology had such an old kernel.. the newer ones fixed a bug
-
rwp
You can always use mdadm to probe for more information about the array. "mdadm --detail /dev/md2" and "mdadm --examine /dev/sda" and so forth. But it looks good at this time.
-
voy4g3r2
which makes it not mount
-
rwp
Onward through LVM and then mounting. Good luck!
-
voy4g3r2
haha.. they fixed a bug in kernel afer 2018 that wil stop me from working
-
voy4g3r2
i got sloppy, i need version 18.04 of ubuntu from 2018....
-
voy4g3r2
gotta love it
-
voy4g3r2
well til tomorrow.. i have done too many flashes .. the adventure continues
-
jb1277976
That's why i like freebsd. nothing is what it seems. you gotta keep working at it. not old and stale like linux that just works. lol Freebsd prevents me from distro hopping
-
voy4g3r2
jb1277976: there is tons of history of this situation outside of it.. synology uses a kernel that had a flaw.. that was resolved in newere linux kernels
-
voy4g3r2
so the only way to get around it, is to use a kernel BEFORE the fix was done
-
jb1277976
Aw
-
voy4g3r2
use the tools you have.. on any given day i am jumping between 3 os because i have to
-
voy4g3r2
i just get use to it and do not have the luxury of just using one.. sometimes it is 4 if i have to play with an oracle database
-
voy4g3r2
keeps me on my toes
-
jb1277976
Nice
-
tehpeh
Now that the default shell is sh, is there a summary somewhere of the differences between sh/csh/tcsh?
-
mason
tehpeh: They're different languages.
-
tehpeh
Any difference in featuers for interactive use?
-
mason
Yes, you can't use the same loops, etc.
-
mason
I think there were some usability features coming for sh in 14, but I'd have to look to see if they exist.
-
tehpeh
I've noticed sh needs two tabs to get an auto-complete suggestion list, and csh/tcsh only one tab
-
tehpeh
for example
-
tehpeh
I haven't been able to find a summary of features yet
-
mason
tehpeh: Try them both and see what feels right.
-
tehpeh
will do
-
iio7
When I search for the binary package "radarr" on freshports, I get version 5.1.3.8246. When I search using "pkg search" on FBSD 14 with pkg set to latest repo, I get 5.0.3.8127_1. Anyone else seeing a newer version in pkg search?
-
mns
have you done a pkg update ?
-
iio7
Yup.
-
markmcb
iio7: look at the table on freshports
-
markmcb
5.0.3 is expected for 14
-
iio7
markmcb, weird, so 14 gets an older version.
-
mason
-
VimDiesel
Title: src - FreeBSD source tree
-
tehpeh
mason: thanks :)
-
mason
tehpeh: I used to be an avid pdksh fan, but FreeBSD's Almquist might do the trick for me now. I'll spend some time with it.
-
tehpeh
normally I'm fish, but on my server want to keep it to what's in base
-
Beladona
Cannot find a GUI for bluetooth manager in pkg. Is there any?
-
CueXXIII
how do i report a bug on the official wiki?
-
CueXXIII
-
VimDiesel
Title: Ports/QuarterlyBranch - FreeBSD Wiki
-
parv
CueXXIII,
bugzilla.freebsd.org - I would think
-
VimDiesel
Title: FreeBSD Bugzilla Main Page
-
Beladona
So there is NO bluetooth gui in freebsd/
-
Beladona
So there is NO bluetooth gui in freebsd? *
-
elirco
Beladona: Bluetooth in FreeBSD is something I generally try to avoid in FreeBSD since it's bluetooth support is mediocre...
-
Beladona
I see
-
Beladona
elirco: so bad sound quality?
-
elirco
no, it just is a hassle to set it up and even does not work with a lot of devices. (that is my experience)
-
Beladona
elirco: ok by the way, is there even a gui based bluetooth manager?
-
elirco
Beladona: i don't think so, you have to use command line.
-
meena
Beladona: GUIs for managing Bluetooth are generally integrated into desktop environments
-
Beladona
meena: I have freebsd desktop env
-
meena
which one?
-
elirco
meena: is there one "desktop environment bluetooth GUI" that actually works und FreeBSD? Never seen one.
-
Beladona
meena: xfce
-
Beladona
elirco: :) I am with you with sympathy
-
Beladona
But freebsd is not a desktop OS at its core
-
Beladona
(I think)
-
kenrap
That's right, rather it's a "desktop-able" OS. Just DIY.
-
meena
So like Linux, a few years ago (and i guess windows and macos users might say: still)
-
babz
I mean, when It boots, your hardware, maybe...
-
meena
wasn't there a great quote from Linus about QA in Linux: when it compiles it's good, when it boots it's perfect
-
babz
-
VimDiesel
Title: Linux-Kernel Archive: Re: LINUS ISN'T SHARING!! :)
-
debdrup
meena: one could make the argument that modern versions of Windows and macOS are also desktop-able OS'..
-
debdrup
With power users, it's never just pick-up-and-go - in my experience, with Windows you have to spend a few hours removing all the ads and installing a proper package manager, and with macOS you need homebrew and a whole bunch of other things.
-
debdrup
Mind you, I treat Windows like an appliance OS - because I do all my daily work on FreeBSD; so I'm probably not the one everything should be measured against ;3
-
meena
I have no idea what windows is these days, and after 7 months of using the previous version of MacOS i never want to do that again
-
termin
o/
-
tercaL
Do we manually need to execute command for ZFS update/upgrade, after FreeBSD upgrade from 13.2 to 14?
-
tercaL
as the release 14 has new ZFS version
-
debdrup
zpool upgrade is an administrative command, it should always be issued manually.
-
mage
and don't forget to upgrade the bootstrap code
-
mage
(before running zpool upgrade)
-
tercaL
Thanks debdrup. Mage: so it seems the command is: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0 for that, "ada0" so it seems that's an example disk name, how can I check mine?
-
tercaL
"zpool status" lists two things, 1: zroot, and 2: ada0p3 under "NAME" row.
-
tercaL
So I assume it should be "ada0"?
-
mage
tercaL: do you use UEFI or classical BIOS ?
-
mage
with UEFI you can do something like for p in $(gpart show -p|tr -s ' '|grep 'efi'|cut -d ' ' -f 4) ; do mount -s msdofs /dev/$p /mnt ; cp /boot/loader.efi /mnt/efi/boot/bootx64.efi ; umount /mnt ; done
-
tercaL
mage: It's actually a remote Hetzner bare-metal server, I don't really have an idea. How can I check for that?
-
tercaL
on a box of mine, I get: sysctl machdep.bootmethod: UEFI
-
tercaL
and the other one: sysctl machdep.bootmethod: BIOS
-
babz
for UEFI, I just do
-
babz
cp /boot/loader.efi /boot/efi/efi/boot/bootx64.efi
-
babz
(and also /boot/efi/efi/freebsd/loader.efi)
-
tercaL
babz: You do these before or after zpool upgrade command?
-
tercaL
different answers on the forums; some do it before, and some do it after.
-
debdrup
So far as I remember, the order of operations should be: System upgrade, then bootcode upgrade (which'll depend on the partition and disk layout), followed by zpool-upgrade(8).
-
meena
wow, love phk's scathing review of blocklistd. he ends it with: "Other than that, once you get it set up right, it seems to get the job done…"
-
babz
tercaL: I usually do it after because the command reminds me to do it
-
babz
but i guess it's slightly safer to do I before
-
tercaL
babz: Got it, thanks. You gave an example for UEFI systems, and what about classical BIOS cases? What would change in those commands?
-
babz
bios ? what is that ?
-
isley
from the before times
-
isley
the long long ago
-
tercaL
babz: non-UEFI systems
-
tercaL
With MBR
-
remiliascarlet
Upgraded FreeBSD to 14.0-RELEASE according to instructions on the website. Now running "pkg update" gives me `ld-elf.so.1: Shared object "libssl.so.111" not found, required by "pkg"`.
-
tercaL
I mean; this is my case, the output of geom -t:
pastebin.mozilla.org/WNocFxYt
-
VimDiesel
Title: Mozilla Community Pastebin/WNocFxYt (Bash)
-
CueXXIII
there should be pkg-static, no?
-
tercaL
babz: In such system ^^
-
remiliascarlet
babz: "bios ? what is that ?" Basic Input/Output System. The firmware of your motherboard on pretty much all computers (except for Apple) sold in 2010 or earlier.
-
babz
lol
-
remiliascarlet
You can thank Microsoft and their stupid TPM bullshit they started pushing with Windows 8 and beyond.
-
babz
i think the BIOS concept is older than microsoft, as a compagny
-
babz
but i dont see the link with tmp 2.0
-
debdrup
remiliascarlet: you'll want to use /usr/sbin/pkg (aka pkg(7)) to bootstrap pkg again
-
debdrup
Do check that you have backups in /var/backups/ though
-
remiliascarlet
CueXXIII: Thanks. While it didn't resolve the problem per se, it did show me to run "pkg bootstrap -f", which did solve the problem.
-
babz
pkg-static bootstrap -f
-
babz
pkg upgrade -f
-
debdrup
pkg-static is pkg(8) compiled statically, not the same as pkg(7).
-
debdrup
pkg(7) only exists to install pkg(8) when you run pkg first time on a system, or to fix issues with pkg(8) like the above.
-
remiliascarlet
Quite a busy month in the UNIX space.
-
» remiliascarlet upgraded all her computers to FreeBSD 14.0-RELEASE, OpenBSD 7.4, and Linux 6.6.2, just because she can.
-
mage
babz: it is important to do the cp for each efi partition, not only the first one
-
babz
Well I only have one
-
mage
BTW it was an outstanding bug in the FreeBSD 13.x installer (not sure avec 14.0)
-
mage
babz: ok that's ok then
-
mage
.. but if you have a raidz2 with 4 disks the bootcode should be copied to each ESP partition, otherwise of disk1 died for example the system becomes unbootable
-
tercaL
mage: In case of two disks with ZFS stripe?
-
mage
tercaL: yes, it must be done on both ESP
-
mage
I'm wondering if it has been fixed in 14.x
-
babz
fixed what ?
-
mage
the FreeBSD installer in 13.x correctly create an ESP partition on each disk, but the bootcode is only installed in the first one
-
remiliascarlet
What I hope for is better laptop support, maybe one day...
-
mage
so if the disk dies system is unbootable
-
debdrup
mage: is this reported anywhere?
-
mage
yes
-
debdrup
ID?
-
mage
258987
-
mage
also 262770
-
tercaL
thank you all
-
mage
there is a review to fix this
reviews.freebsd.org/D42150
-
VimDiesel
Title: ⚙ D42150 bsdinstall: when installing UEFI, place the bootloader on all disks
-
mage
also
cgit.freebsd.org/src/commit/?id=0b7…2b3d8d2f1e90fade5236b44fd98d8e396c2 I really don't understand the advantage of mounting the esp partition just to "just change /boot/efi"
-
VimDiesel
Title: src - FreeBSD source tree
-
tercaL
Loading kernel modules ktls and ocf does work anymore under FreeBSD 14 it seems. Are they removed?
-
mage
tercaL: they've been included in GENERIC I think
-
Demosthenex
i saw that update earlier
-
Demosthenex
i'm curious if it works out of the box now
-
tercaL
mage: Well, much likely. I had: kld_list="ktls_ocf" in my rc.conf file, after upgrade, dmesg reports; kldload: can't load ktls_ocf: No such file or directory Unable to load kernel module ktls_ocf
-
tercaL
Checked with: "sysctl -a | fgrep kern.ipc.tls.stats" and it seems it works out of the box.
-
tercaL
The digits are increasing.
-
tercaL
But under 14.0, the default for: "kern.ipc.tls.enable" is still: "0". So I'm going to keep; "kern.ipc.tls.enable=1" in sysctl.conf (it doesn't work without it)
-
CrtxReavr
You say that like it's a horrible hack.
-
BenBE2
A quick technical question on container/jail stuff and visibility on the outer levels. On Linux you can nest container stuff (like Docker inside NSpawn) and there are easy clues visible for a task manager to pick this constellation up and show that a certain process is running inside such a nested container. A) Is such nesting possible with FreeBSD (e.g. Jails) too? and B) Can this be picked up easily?
-
babz
you can nest jails
-
babz
can this picked up easily? I don't know which pattern you're referring to
-
babz
but at least you have sysctl security.bsd.see_jail_proc
-
mns
we can do jails inside jails ?
-
mage
yes
-
mage
what is the status of pkgbase?
-
mage
freebsd-update takes forever for 13.2->14.0
-
mns
I'm sure there are a ton of changes to make, and you want freebsd-update to be careful with what it does as well. I seem to recall it taking a while to do things when going from 12.x to 13.0 as well, if my memory serves me well
-
mage
yeah..
-
mns
point release -> release is usually longer than point release -> point release
-
CueXXIII
plus, freebsd-update is a shell script, i won't expect it to be fast
-
meena
mage: it works quite well, tho bootstrapping is still a pain. and we even have our first errata!
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275051#c4
-
VimDiesel
Title: 275051 – [pkgbase] Package versions for 14.0-RELEASE should be "14.0", not "14"
-
Demosthenex
i may delay until first patch to upgrade to 14 =]
-
flatdog
Demosthenex: proper decision
-
flatdog
won't take long, and I have plenty of cigarettes
-
meena
mage: also, freebsd-update mostly just takes forever when you have src installed (but yeah, even without…)
-
armin
CueXXIII: the fact that it is a shellscript has nothing to do with how slow that is.
-
babz
i think implementing a relational database with cut, join and pipes is tho
-
mage
Demosthenex: if you use ZFS it could be a proper decision
-
mage
it looks like there are several issues with 2.2
-
mage
ATM I'm just upgrading our Poudriere server, just to check if everything is OK
-
mage
launching a poudriere build is often a good exercise for stability issues :p
-
Demosthenex
mage: nothing specific, just my general caution =]
-
mage
to be honnest I'm mostly on 12.4
-
Demosthenex
my next task is to go update my jails
-
mage
we do that with Saltstack
-
mage
we have almost 100 jails in total here
-
armin
saltstack is actually pretty okayish I feel.
-
mage
more or less, it has bugs too ..
-
mage
but for orchestration it works pretty well
-
armin
I was happy having to use that in my previous project, it wasn't as bad as people say it is.
-
mage
people say Saltstack is bad? first time I'm reading this
-
armin
I guess most people would point towards Ansible or Terraform nowadays?
-
armin
Don't know, I was pretty happy using that, it worked fine.
-
mage
Terraform is useless on bare metal
-
mage
and I thing Saltstack > Ansible (but that's just a personal opinion)
-
armin
hehe :)
-
mage
the problem with Saltstack, etc (and the good thing with Terraform!) is idempotency
-
armin
That's a problem with all low-end solutions I think, I need to be careful of that when writing shellscripts, too.
-
armin
But yup.,
-
Demosthenex
mage: i have puppet setup, i experimented with salt and gave up
-
Demosthenex
salt > ansible
-
Demosthenex
shell scripts > ansible
-
meena
I migrated my puppet setup to four shell scripts
-
remiliascarlet
remiliascarlet: "What I hope for is better laptop support, maybe one day..." I just checked, and unfortunately, it's still impossible to wake up a FreeBSD laptop from sleep. Missed oppotunity...
-
armin
17:00 [ Demosthenex] shell scripts > ansible
-
armin
Demosthenex: <3
-
armin
Shell is still my #1 go-to tool in my box.
-
babz
well I can wake up my laptop from s3
-
armin
babz: That's not too bad.
-
isley
i like ansible and terraform
-
remiliascarlet
I like POSIX compliant shell scripts.
-
mns
we don't always get what we want :-)
-
mns
meena: what sort of work do your 4 shell-scripts do that you were using puppet for before
-
BenBE2
babz: I was asking in the context of
htop-dev/htop #1334 ; which would (on Linux) display a nested container as e.g. /snc:foo/lxc:bar … For FreeBSD there's already a function in the platform code FreeBSDProcessTable_readJailName that uses jail_get (jid.<pid>.name); though I guess that will only return the outer most jail?
-
VimDiesel
Title: Guess container name from cgroup by BenBE · Pull Request #1334 · htop-dev/htop · GitHub
-
scoobybejesus
anyone have syncoid problems on 14.0-RELEASE?
-
scoobybejesus
moving to latest repo so see if the newer version will work, which is what i'm using on other comps
-
scoobybejesus
and now we're rocking at 113MiB/s. cool
-
mns
yay
-
mns
I'm going to stick to 13.2 for now, I still need to get my bug report for gcc13 not building m2
-
acidcore__
Hi, tried to update my Hetzner Server today to 14.0. That server needs realtek-re-kmod. I switched the sources to 14.0-Release with git checkout, followed by make buildworld && make kernel and rebooted. But now the realtek drivers can not be loaded due to version mismatch. Are the drivers incompatible?
-
angry_vincent
rebuild the driver too
-
acidcore__
kk. prior to reboot I guess
-
Demosthenex
armin: yaml... best to nuke it from orbit to be sure
-
clemens3
i just downloaded the checksum file that is signed for 512 shasum
-
clemens3
it tells me the key has expired
-
clemens3
CHECKSUM.SHA512-FreeBSD-14.0-RELEASE-amd64.asc
-
clemens3
8D12403C2E6CAB086CF64DA3031458A5478FE293
-
armin
Demosthenex: That was my impression when I forst got in contact with it when I had to do Ansible. I was like "wait a second, I thought this is just YAML, how complex can this possibly get anymore...." at some point.
-
clemens3
which pgp public server does have the update to the key?
-
Demosthenex
armin: encoding actions in yaml is hell, yaml is easy, it's the relationships and complexity buried in yaml that is hell
-
armin
clemens3: yup the one I find expired on 21.09.
-
armin
Demosthenex: +1
-
clemens3
armin: jokers, not?
-
armin
clemens3: I wish I could say something more meaningful now. <3
-
clemens3
psst
-
Demosthenex
armin: i tried Salt because i could write the config directly in python and skip all the yaml nonsense, and it was declarative (puppet) instead of imperative (ie: ansible).
-
armin
Demosthenex: okay but don't get me started on puppet, that was such a horror.
-
armin
Demosthenex: I know how to use imperative so that the result is idempotent, I'm fine with Ansible. :)
-
armin
Demosthenex: I prefer to write 200 lines of BASH over 20 lines of YAML any day.
-
armin
Demosthenex: I know exactly what I do there, why would I even remotely try to get into so much abstraction that I can't follow my own thoughts anymore?
-
armin
Demosthenex: The other side of the spectrum would be something like NixOS, I believe? I've even been running that as my primary workstation OS, it's hm, yea okay I guess?
-
armin
Demosthenex: Meh I dunno, I want to tinker around with my workstation, I can understand the declarative approach in IaC, but that's about it.
-
armin
Demosthenex: I mean come on, the way that you usually apply in your daily living is pretty much imperative, it's like "I want THIS VERY DETAIL here, to change, right now, let me experience what happens when I do that..."
-
armin
Demosthenex: for servers, and infrastructure, yea, I agree, that there one could ask for the declarative approach, but still...
-
armin
Demosthenex: There's a HUGE hype about immutability in general going on, what's your thoughts on this? next big thing or not?
-
armin
(ah, on THAT topic, sorry, I found salt-ssh to be quite useful.)
-
Demosthenex
armin: so, i think of installing packages much like the package manager does, it resolves dependencies. that's better than imperative in my mind
-
Demosthenex
i also want the minimum changes to match the state
-
Demosthenex
and i like that puppet has a discrete agent instead of being messed up by the local python install
-
armin
Demosthenex: Well in a perfect world, imperative "install these packages plz" command would just run for a couple of miliseconds, saying "all wanted packages installed already, goodbye" or something like that.
-
iio7
Upgraded a couple of boxes to 14.0 yesterday. On one box I upgraded the zpool, which now cannot boot. Getting "ZFS: unsupported feature: com.delphix:head_errlog"
-
Demosthenex
armin: package managers do that
-
Demosthenex
armin: i just think configuration management should be the same way
-
Demosthenex
that's why i prefer declarative over imperative
-
armin
Demosthenex: It depends on the package manager, pkg_add on OpenBSD has this functionality since...3 weeks.
-
armin
Demosthenex: before that it would just iterate over all possible matches (which obviously is not a great thing to do, but hey).
-
vortexx
iio7: you probably didn't upgrade the boot loader before upgrading the zpool. The release notes say this is necessary
-
iio7
vortexx, yeah. I didn't find information on how to do that.
-
iio7
The system is borked. Going to install Linux on the box. Don't want to bother with FreeBSD crap like this any longer.
-
isley
lol
-
isley
crazy story but you have to do that on linux too
-
yuripv
i'm missing the context, but pretty sure win11 would solve all problems here
-
vortexx
all that person had to do was mount the efi partition and copy /boot/loader.efi to /boot/efi/efi/freebsd/
-
vortexx
it's not exactly hard but it'd be nice if freebsd-update handled that or warned to do it
-
acidcore__
angry_vincent, thx, recompiling the realtek-re-kmod port with portmaster prior to rebooting to the 14.0 kernel did the trick :)
-
isley
vortexx: zpool upgrade literally tells you to do it
-
Demosthenex
wait, so he updated the version of the zpool?
-
Demosthenex
instead of just doing a freebsd update?
-
Demosthenex
separate items :P
-
rwp
It's always frustrating when people seem to work against the system rather than with the system.
-
rwp
Unfortunately I see people doing that for each and every one of the operating systems they run. Sigh.
-
Demosthenex
isn't the best practice to keep the boot zfs pool at the lowest feature level
-
Demosthenex
in case you need alternate media
-
rwp
When moving from 12 to 13 I think I waited most of a year before I decided I would zpool upgrade just in case I needed to boot the previous 12 again for some reason.
-
rwp
A question I always ask myself, do I need or want any of the new features offered? If not then there is no hurry.
-
rwp
And I realize everyone is excited about 14 but honestly I won't be upgrading my production boxes to 14 until I have upgraded my development and test machines to 14 and verified that EVERYTHING is happy. My production systems will be the last ones I upgrade.
-
thorre
+1
-
Demosthenex
or i may do the os upgrade, but not touch the storage format
-
Demosthenex
i mean, he basically upgraded from ext4 to ext5, and forgot the kernel module for ext needed updating
-
rwp
That's my desktop plan. Because then I can always Boot Environment back if needed and then still boot. And also that would only affect me. And I could laptop while I was working my desktop problem.
-
rwp
The real root cause of the problem was a failure to read the release notes. Always read the release notes and do anything it says you need to do. That is true on every system.
-
babz
I mean, it's not a big deal
-
babz
you can reboot on the latest install medium and upgrade the bootloader
-
babz
I understand the advice, but I've never broken a system by not reading the release notes. I've broken them because of bugs that weren't documented at the time.
-
rwp
I want to say that bugs are the best reason for most people to wait until the .1 release but I want *you* to run the .0 early so you can find and fix those problems before the rest of us. :-)
-
Demosthenex
babz: *always* read the release ntoes
-
Demosthenex
i get paid good money to read release notes to prevent problems ;]
-
babz
on current we call them "commits"
-
babz
but sure
-
meena
right. i haven't read commits in several hours. thanks for the reminder, babz
-
KungFuJesus
is it safe to upgrade to 14 yet?
-
KungFuJesus
issues like this make me nevous:
openzfs/zfs #15506
-
VimDiesel
Title: panic: corrupted memory in l2arc · Issue #15506 · openzfs/zfs · GitHub
-
VimDiesel
-
KungFuJesus
my zpool has zvols and l2arc, so if it's an issue on the 2.2 tree that shipped on 14, I'm likely to hit it
-
meena
KungFuJesus: we have a different zfs version in 14 and 15
-
KungFuJesus
meena: which version?
-
KungFuJesus
the filer found the issue with invariant assertions enabled on 15. And while that may have plenty of different code from 14, it's not that fat diverged from 14's release code, I suspect
-
KungFuJesus
far*
-
meena
KungFuJesus: 14.0: zfs-2.2.0-FreeBSD_g95785196f
-
meena
zfs-kmod-2.2.0-FreeBSD_g95785196f
-
meena
KungFuJesus: 15.0: zfs-2.2.99-211-FreeBSD_g03e9caaec
-
meena
zfs-kmod-2.2.99-211-FreeBSD_g03e9caaec
-
meena
I don't have a 13.2 right now, but i can probably stand one up quickly… or, i could do something silly like look at the code
-
KungFuJesus
2.2 vs 2.2.99 is not significant as far as what could be causing that issue
-
KungFuJesus
There's still not a conclusive bisect for the issue nor is it clear whether or not BRT is the culprit for this. It's happening in the DMU in l2arc reads, with a smashed stack. Needless to say, I have concerns
-
dvl
-
VimDiesel
Title: While restoring my PostgreSQL database to a new FreeBSD server, I discovered the wrong database server in a configuration file – Dan Langille's Other Diary
-
scoobybejesus
i like the end the best
-
dvl
scoobybejesus: It made me feel better.
-
pstef
I've said it elsewhere and using different words, but I wouldn't feel comfortable with that setup (I can see nothing wrong about using Bacula to backup hosts, but Postgres DBs is a different category)
-
pstef
I'm glad it's ok in the end
-
scoobybejesus
dvl, since you're here, any chance you did something to divert rctl logs to some place other than /var/log/messages? to me, it'd be nice for it to get its own log file, but i don't know how to approach that (here
dan.langille.org/2023/01/16/how-to-limit-a-jail)
-
VimDiesel
Title: How to limit a jail – Dan Langille's Other Diary
-
dvl
scoobybejesus: Usually that's via !rtctl or something similar.
-
dvl
Like adding a local5.none;local6.none to the /var/log/messages line in /etc/syslog.conf
-
scoobybejesus
many thanks, i will dig a little deeper there
-
dvl
scoobybejesus: But they are kernel messages, so perhaps it can be done. Not sure.
-
dch
has anybody tried a yubikey *security* key (not the yubikey 5 series) with openssh?
-
dch
they're 1/3 of the price of the fancier ones and I need to get some for the team
-
dch
-
VimDiesel
Title: Securing SSH with FIDO2
-
polyex
got 14 running now, all smooth. great release team!!
-
meena
dch: i got 3 yubikeys here, and don't know which of them qualify for use with that…
-
dch
meena: what sort of keys? I have 5 nfc, work great with ssh, but these security keys are 1/2 the $$
-
dch
and require openssh >= 8.2 which these days is fine for me
-
meena
dch: i got 2 5C Nanos, and one YubiKey NEO
-
meena
anyway, bed time, too tired for work-work.