00:02:00 heston76, If the system is running a database server or also anything that loads modules from files (emacs comes to mind) are good to stop before upgrading the files on disk. Booting to single user mode guarentees that nothing else beyond the minimum is running. So that's a good safe procedure. But on say a git-daemon server serving files on disk there is little problem with upgrading while the system it 00:02:06 running but the running system is little more than single user mode anyway. 00:04:19 On machines running database servers I always do a full database dump and shut down the database before upgrading. It's my paranoia! Can always load the backup if needed. (If you need more availability then using replicated databases keeps one online always as the other is upgraded.) 00:30:51 rwp: speaking of upgrading with pkgbase, what is the proper sequence for adding a Poudriere jail for the new release? With freebsd-update I could provision it after the second restart, i.e. after userland was updated. 00:45:42 Schamschula: You can just wait until you're fully upgraded 00:45:59 You don't need to worry about it during the upgrade 00:47:04 rwp: I guess I was noticing more the explicit indication _not_ to reboot until you have progressed all the way through from intallkernel through etcupdate. 00:49:42 heston76, Did I accidentally insert a reboot between upgrading the userland and the ports/pkgs? I may have because I usually do reboot there. But I thought I had said to simply upgrade userland then upgrade ports/pkgs then cleanup remove old libs. 00:50:38 The reason not to reboot at that step is that likely ports/pkgs will fail due to shared libraries missing with the new userland until the ports/pkgs are upgraded to the new version linked against the new libraries. 00:52:22 I once had changed my root shell to /usr/local/bin/bash and found myself with a broken root shell after that problem during upgrade. I had no way to log into the system! D'oh! I used a Boot Environment to save it, mounted the future default, fixed the root shell back to /bin/csh (it was csh then, it is sh now), and then booted back to the default Boot Environment to continue. That's the type of problem that can occur if you reboot 00:52:30 in the middle at that step. 00:53:16 So now I change the toor account to use /usr/local/bin/bash and don't touch the root shell. (The reverse would also be a good choice. Either way.) 00:55:17 With pkgbase (which is new and I have almost no experience with yet) I worry that the kernel and userland are being upgraded on disk together and it is missing that first kernel upgrade in isolation step. But it might be in there and I am just missing it. I'll need some time to learn the pkgbase procedures before I am comfortable with it. 00:58:10 Schamschula, With poudriere there is a little bit of a dependency issue bootstrapping a new release. I am going to back away from the microphone on this topic because I am not an expert on this particular detail. I think you are right that you would want to do it after the userland is updated, so that packages get built against the new userland. That will take some time to build up all of the new pkgs so that they can then be 00:58:13 I'm pretty sure that I will just stick to building stable on my repo and just nfs mount the clients to install. Worked well this last round. 00:58:19 installed. This feels like the case but please let me say that I am not an expert on local poudriere and pkgs. 00:59:07 heston76, I think you have a good process doing it that way and nothing significant changes with it for this release. 01:02:07 rwp: That's what I was thinking. I've always done it that way under freebsd-update. As long as pkgbase updates userland along with the kernel, Poudriere should be happy. And, yes, the first build always takes a long time, as there are multiple compilers to be built. 01:05:56 I am curious how long this takes for you in your environment to build the pkgs for you? 01:08:57 The first build for 15.0 was 17:35:13 for 640 packages. This is an old Dell T320 with 64 GB RAM 02:23:41 Schamschula, Thanks for that. So about 18 hours to bootstrap a new release of pkgs. And some hours I forget (3.5 hours?) to compile base on my Thinkpad T480 with 16 GB of RAM to fully bootstrap to a new release. But then it can be installed multiple times easily. 11:14:57 have xlibre running, was as easy as replaxing xorg pkg install with xlibre, nice! 11:22:46 hi 11:23:28 please help, is thise the license for the FreeBSD OS? --> https://www.freebsd.org/copyright/freebsd-license/ 11:23:32 thanks for help 15:03:11 np 15:31:25 The problem is np-complete. 15:39:06 My soul is np-complete. 16:58:21 is there a way to change the default signal handlers from outside of a programm? I would like to write a core dump on sigpipe for a programm which exits because of a sigpipe but the bug doesn't happend when a debugger is attached 17:02:46 MelanieUrsidino, are you writing some BSD poetry? 17:03:12 No 17:04:07 That line sounded good. 17:08:14 Seeing an odd bastille thing; upgraded a bunch of thin jails from 15.0-RELEASE-p10 to 15.1-RELEASE -- two jails report still being on 15.0-RELEASE-p10 via `bastille list` after restart but `uname` inside the jail shows 15.1-RELEASE, the rest of the jails report 15.1-RELEASE and are otherwise fine. Any idea what's going on there? 17:09:11 Upgraded them all the same way. 17:10:39 The mounts related to those jails still seem to be /usr/local/bastille/releases/15.0-RELEASE -- is this a bastille bug? 17:16:53 bastille's jail.conf says 15.1-RELEASE for both jails 17:44:12 boru: do you know if they're using pkgbase or freebsd-update? 17:44:24 This is with pkgbase 17:44:53 I fixed up the mount for one of them as an experiment, but now `pkg check` is failing for most of base. 17:45:13 Not really sure if I trust bastille anymore. This is the second time I've seen this happen. 17:49:40 From the sources it looks like bastille just calls freebsd-version inside the jail, checking to see how that does it 17:50:40 The problem seems to be that it leaves over mountpoints for old releases after updating. 17:50:51 At least, that is what I have been able to discern 17:51:43 This is after an upgrade from 15.0 to 15.1 -- on another box now, 2/3 jails have the same problem. One migrated without any issues at all. 17:52:18 jail.conf -> 15.1-RELEASE, fstab -> 15.0-RELEASE 17:54:49 I don't suppose you're the one who opened this issue for the same bug, lol: https://github.com/BastilleBSD/bastille/issues/1560 17:55:04 Never thought of looking at the tracker, in fact. Good call 17:56:08 So, it was a bug afterall. I guess I'll wait for a fix. 17:56:33 Their pkgbase support is relatively new so I'm not hugely surprised that the first release involving it surfaced some problems 17:57:33 Yeah 17:57:50 Though doesn't seem like a lot of thought went into pkgbase after using it for a whole. 17:58:06 Hopefully they'll figure out how to upgrade before 16.0 comes along... 17:58:43 Starting to regret it a bit. 17:59:14 At the very least, some kind of helper script would be nice. It seems like if you come up with the right set of env vars and commands, upgrading works well, but they're not well documented yet 17:59:47 Aye, but the 15.1 instructions were clear and worked for me. 18:00:05 I just somehow read over them in the relnotes initially. 18:01:03 Sigh. One jail still acting funny; switched the mount point manually, but now `pkg check` fails for all of base. The other jails were fine. Starting to feel like there are gremlins in this NAS. 18:02:19 Definitely mounted 15.1, seems to be failing pkg check for 15.0 packages 18:26:00 Transpired that I need to recreate the pkg database. NFI what happened there during the upgrade with bastille. 20:12:54 The bastille upgrade command sometimes doesn't update the fstab properly. Just check it and do it manually. And then pkg bootstrap and pkg upgrade 23:16:40 This isn't a big deal at all, but just curious - I have an old Dell server with a 4-port Dell-branded (Broadcom) gig ethernet card, and it works fine. 23:17:35 But the Dell labeling has the ports labelled as "1-4" from left to right. In FreeBSD, that turns into bge2, bge3, bge0, bge1 - that order seems to stick between boots. 23:18:07 Is this just a weird Dell thing or an OS-level thing that determines that mapping of ports? 23:54:01 spork_css: Yep. Just a weird Dell thing. 23:54:13 I have many Dell servers with the exact same thing going on. 23:56:24 You can use something like ethname to reorder the NICs if you'd like. I just either cable how they need to be to my liking or just deal with bge2 being primary or whatever. 23:56:27 Gotta choose your battles. 23:57:57 yeah, 100%, I'm not going to fight it, was just curious. and I have a new labelmaker so I'll just slap accurate labels on there.