00:31:25 i asked every day for the last three days but all I saw was an obsolete forum link on a slightly different question 01:15:07 So what, if anything happens if you install gptzfsboot boot blocks on a UFS system? 01:31:06 i can make a zfs pool with a disk drive on a usb adapter and i can then transfer it to a disk shelf when i get one and keep it in the same pool without losing data? 02:23:12 darwin: did you try tput already? 03:22:24 no one mentioned it 03:29:55 darwin, Try "vidcontrol black white" to reverse the colors and "vidcontrol white black" to return. 03:31:35 Using vidcontrol was found in the forum link that meena posted. Works for me. 03:54:55 thanks 03:57:21 how do I enable 12 ttys? I added more lines in /etc/ttys but it didn't work for 11 & 12 03:59:23 and where can I set global command-line aliases (for all standard shells)? 04:17:54 i don't think that's a thing? i think each shell has its own config file, but maybe most of them read .profile 04:19:54 is the syntax different for default root & user shells then? 04:28:19 It looks like MAXCONS is defined as 16. Perhaps you ned to remove others or alter that. But I am purely speculating. 04:29:21 https://man.freebsd.org/cgi/man.cgi?query=syscons&sektion=4&format=html 04:29:22 Title: syscons(4) 04:30:31 i didn't say 16; I said 12 04:30:35 darwin: on freebsd the root user gets a tsch by default, regular users get sh. you have to install bash or what not yourself 04:30:43 i don't need bash right now 04:30:48 The total is 16. 04:31:05 That likely includes all the other types of consoles in /etc/ttys 04:31:09 i see 04:31:15 But again, guessing here. 04:31:30 Check that oage. The kernconf can increase MAXCONS 04:31:37 check that page even 04:32:42 Perhaps removing some of the serial consoles is an option, but I have not tried. 04:33:19 i looked at man syscons. Does this mean I'd have to compile my own kernel to increase MAXCONS? 04:33:47 That was my understanding. 04:34:11 But perhaps you could comment out some of the other terminals, like ttyu3 or something 04:34:29 Then add more ttyv9, ... 04:34:35 Erhard: do you know much about why vt replaced syscons 04:34:44 No clue, sorry 04:34:50 i don't even see a serial console 04:35:02 but I don't need ttyu* 04:35:27 Oh, my /etc/ttys has the ttyu*s 04:35:34 Your does not? 04:35:49 of course it does. I said I didn't see one described as serial console 04:35:51 13.2-STABLE here 04:36:15 I see.. mine has a comment that says #Serial terminals 04:36:28 i see it now 04:36:46 that is solved, but what about global aliases? 04:37:26 Don't know there... You want alies for the different consoles? 04:37:29 if sh & (t)csh alis differently then surely I can just put in a global file something like if $SHELL=sh, or if $SHELL=csh, etc., then do different sections of aliases 04:37:41 if they alias differently 04:38:22 What are you trying to alias? 04:38:31 Make some command have an alias in all shells? 04:38:33 various commands 04:38:34 yes 04:38:48 I guess you would put the alias into the defaults for each shell 04:39:02 But perhaps there is a global .login or something 04:39:04 well it has to be global regardless of user 04:39:09 OWuld have to check the docs for all the shells. 04:39:22 i thought it might be in /etc/profile or something similar in /usr/local 04:39:33 I would think, yes 04:42:42 actually the console thing isn't solved; apparently it's not only configured in /etc/ttys 04:43:03 i commented out two serial consoles but still didn't get an 11th or 12th tty 04:43:08 even after rebooting 04:43:17 YOu added the extra ttys ? 04:43:52 ttyv9 "/usr/libexec/getty Pc" xterm onifexists secure 04:43:55 Something like that 04:44:13 yes 04:44:24 i just copied a previous line and changed the number 04:44:43 Not ttyv8, though, right? 04:44:49 That is for X 04:45:11 YOur new lines have getty 04:45:12 ? 04:45:19 now it's for 12. They do 04:45:25 Then I do not know 04:45:29 Anything in the logs? 04:45:48 maybe grep for tty or getty (which I guess includes tty) 04:46:07 oops, I forgot the first is ttyv0 not ttyv0. I redid this and maybe it'll work this time 04:46:12 'not "ttyv1"' 04:46:16 I wonder if you have to create the device files 04:46:23 oh... 04:46:40 Just thinking out loud 04:47:08 they should be added up to 20 since some newer keyboards have Fn for n=1 to n=20 04:47:14 Mine has through /dev/ttyvb 04:47:25 And I don't think I ever created them by hand 04:47:57 oh, they're in hexadecimal? 04:48:14 yes, it would seem 04:48:23 According to that page I linked. 04:48:28 And my /dev/directory 04:48:51 And to go over F12 you use Shift-Alt-F1, F2... 04:49:01 you don't need shift 04:49:04 If you define those 04:49:23 Supposedly Shift-Alt-F1 gets you /dev/ttyva 04:49:39 Which doesn't make a lot of sense 04:49:44 Since alt-F12 does too 04:49:47 According to that page 04:50:12 But Shift-Alt-F3 gets you ttyvc 04:50:15 *shrig* 04:50:25 shrug even, lol 04:50:51 And use the print screen key to cycle through all terminals 04:51:22 i was able to get ttyva but not ttyvb 04:51:43 Try Shift-Alt-F2 ? 04:51:47 Or the print screen trick 04:51:48 is that because it's defined for X? 04:51:55 Oh, yes, probably 04:52:18 If you are not running X or have it installed 04:52:26 i have it 04:52:51 something I liked on GNU/Linux is I could remove a password or (for blank) asterisk fro /etc/passwd then login would accept that username and immediately login without prompting for password... is there any similar thing I can do on *BSD? 04:52:58 from 04:53:16 yes, i believe so 04:53:48 i removed asterisk for blank one but it didn't have this effect 04:59:37 # pw usermod example_user -w none 05:00:10 I think you can leave the password blank in the password file 05:00:17 And then there is none 05:02:12 i forgot I had to use 'pw usermod'; thanks--that worked! :) 05:02:42 I think you could delete the password form vipw too 05:02:44 from 05:03:03 BUt it is more reliable to use pw usermod 05:03:22 Or at least harder to mess up 05:59:26 After "vipw", need to regenerate the database via "pwd_mkdb(8)" 06:00:19 Sorry, no, not according to vipw(8); it calls "pwd_mkdb" itself 10:45:11 That was pretty useful: https://ozgurkazancci.com/freebsd-protect-your-web-server-against-php-shells-and-malwares/ 10:45:12 Title: FreeBSD: Protect your web servers against PHP shells and malwares – Özgür Konstantin Kazanççı | Blog 13:29:28 hi! 13:29:35 i actually switched to freebsd yesterday 13:31:20 welcome, then :-) 13:31:33 I just came back after a ubuntu disaster 13:33:08 thanks a lot! 13:33:52 its been a bit frustrating from time to time since im not that used to building programs out from back othe linux days and such, but after fixing upa few things ive got xfce and librewolf working 13:34:03 however, i have a small problem concerning internet access on my pc 13:35:12 They aren't working straight from pkg? 13:36:19 they do work straight from pkg, thats what ive done to install all the drivers and big packages such as xfce and browser as well as neovim 13:36:27 my issue is that i cannot connect to the internet 13:36:35 pkg install is easy 13:36:43 it really is 13:37:06 i could connect to the internet yesterday 13:37:44 aha... 13:38:02 but now i cant, i first got an error about the ethernet connection having no carrier, i then moved the cable to the other port on my computer and it changed to active, but i still cant go online 13:38:49 Have you imported settings into the second nic? 13:40:57 not really 13:42:11 Just swapping cables over won't make it work, lol. What does ifconfig tell you? 13:42:47 im on linux right now so i cant just give out what ifconfig told me but it pretty much said that it was active and also that the ethernet was labeled ig0 13:43:09 before swapping the port the cable was in it was saying no carrier instead of active 13:43:38 for reference, my motherboard is an asus rog gaming x570-e, which iirc has both intel and realtek ethernet ports 13:44:40 No carrier indicates a problem with ethernet cable or modem. Yes, the ig0 is an Intel ...... 13:44:53 yea 13:45:06 and yesterday the same cable was workinng 13:45:12 Are you using DHCP or static ip addresses? 13:45:18 dhcp 13:45:30 its a bit hard for me to set up because all the forum posts i see are for static addresses] 13:45:43 but at the same time my address changes like every 2-3 months or so 13:45:49 not every time i restart the router 13:48:54 That's what DHCP is for ..... Dynamic Host Configuration Protocol. Without your pc running it's a bit difficult to assist. DHCP is pretty foolproof 13:49:35 i see 13:50:01 i guess ill then try to log into freebsd and log into here (irc) on some laptop then 13:50:14 how have you configured it in rc.conf ? 13:50:14 either that or kiwiirc, wait a bit 13:50:44 Both my nics are static, I'm not using DHCP 13:51:49 i see 14:01:36 Check rc.conf, it probably has the old nic selected, change that to your new one. It's midnight here, hope you get it sorted. 14:02:24 okay, just booted up freebsd 14:03:52 ok, so what's in your rc.conf? 14:05:02 RhodiumToad, good luck, I'm out. 14:10:23 I’d say if I should just reinstall freebsd all over again but I really don’t want to do so again 14:11:43 ok, so what's in your rc.conf? 14:11:50 you should not reinstall 14:11:51 I don’t remember exactly 14:11:53 And 14:11:55 https://i.postimg.cc/DyMRzZ9d/9-C5-C4-FE2-75-E2-4-A9-D-A495-2-F7-B79-A0-CE02.jpg 14:12:18 oh. 14:12:24 I partitioned my ssd while freebsd was running and got this error after rebooting to freebsd in order to get rc.conf 14:13:20 while it was running, or while it was not running? 14:13:25 while it was running 14:13:33 partitioned it how, with what? 14:14:05 Used gpart and took away like 128 gigs from the storage partition of the ssd 15:55:21 I fixed my mounting issue 15:55:26 I have a small question though 15:56:41 Do I need a webserver to use poudriere? The whole thing concerning http servers for getting the packages has made me a bit afraid of using poudriere (especially since my router is locked down) and I want to know if there’s an easy way to use poudriere with the packages stored locally 15:58:13 you don't need a webserver 15:58:27 storing the packages locally is easy 15:58:56 I see 15:59:05 How should I configure poudriere then? 15:59:09 though having a webserver makes it easier to keep an eye on progress 15:59:17 Seems about right 15:59:39 (though even without one, you can get goot progress info from control-T in the terminal) 15:59:44 Nice 15:59:47 I actually have a vps but I’d rather not use it for poudriere since I already use it to host websites and services 15:59:55 Plus it uses debian 16:00:50 configuring poudriere is just a matter of looking at poudriere.conf and fixing anything that's not right for you 16:01:48 Thanks! 16:01:58 the main thing to watch for with poudriere is how much tmpfs space you let it use 16:02:15 How much should be okay for an 1tb ssd and 16gb ram? 16:02:26 it can be extremely profligate with ram+swap use if you use tmpfs too much 16:02:32 (Hopefully expanding to 64gb… after I get my hdds) 16:02:41 And seems aborut right 16:02:48 I have 4gb of swap 16:03:38 USE_TMPFS=no will avoid using tmpfs at all. the default of "yes" will use it for wrkdirs, which for some ports can be quite large. 16:04:03 USE_TMPFS=no will avoid using tmpfs at all. the default of "yes" will use it for wrkdirs, which for some ports can be quite large. 16:04:18 So i should not use it for let’s say, firefox 16:04:45 Speaking of Firefox, it and a few other really big packages such as xfce break when I try to build them as ports 16:05:06 What kind of stuff would you NOT recommend me to build from source, aside from low level stuff like drivers 16:05:39 I build everything from source, but I don't mind it taking a long time. 16:06:41 building llvm, gcc, ghc, tex*, and rust is a very long process 16:07:50 Yeah I just installed gcc and llvm through pkg as we speak 16:08:33 Should I get portmaster alongside poudriere? I know it’s mostly deprecated but heard it could make some stuff faster as well 16:08:38 (I also build the whole OS from source) 16:08:51 nah. postmaster isn't really worth using these days. 16:09:08 *portmaster 16:09:40 Damn 16:09:47 And yeah that makes sense 16:10:01 I used to use it a lot, but when I switched to poudriere I abandoned it completely 16:10:16 I guess it’s just poudriere and rust then before I start to set up xorg and xfce 16:10:39 do you have a particular need to compile X? 16:10:41 Or arte there any other big packages I should fetch as well if I want to compile xfce succesfully 16:10:58 isn't there a package for xfce? 16:11:07 Yeah ik 16:11:15 But its a bit too bloated for me 16:11:23 ah ok 16:11:25 I absolutely don’t need ristretto or parole 16:11:35 Or svn on thunar but no git 16:12:13 And if I use okg autoremove the xfce extras I do want like the screenshot tool also go áay 16:12:50 if you want to mix packages with stuff you build in poudriere, I don't know the best wat 16:12:53 *way 16:12:58 Yeah ik 16:13:20 the thing is that poudriere doesn't use the installed system's packages because it builds everything in clean jails 16:13:20 Back on debian/guix I remmever mostly using packages for the very low level stuff 16:13:31 I see 16:13:37 So I’m better off going full one or the other 16:14:02 And uninstalling all compilers on my installed system 16:14:04 I think the -devel version has support for fetching packages 16:14:23 I see 16:14:24 but I haven't used it myself yet 16:14:38 Ooh 16:15:19 So this means that unlike portmaster having gcc12 installed in the base system won’t speed up building time 16:18:32 right. but portmaster has its own ways to waste time 16:25:13 Also any root tips? 16:25:47 I know root should be used as infrequently as possible, but what’s the best way to handle that? Creating one account for all root things and another user with no access to root whatsoever? 16:25:57 (Desktop wise at least) 16:26:54 just use sudo 16:27:36 Adding an otherwise non-root user to "operator" & "wheel" group goes a long way; e.g could reboot, shutdown the machine 16:27:48 what's the distinction between operator and wheel? 16:28:06 I’ve decided to use this switch to fully switch to doas but yea 16:28:18 In my planned case I have two users on wheel 16:28:55 wheel group membership lets you use 'su' to become root 16:29:02 One has all the superadmin powers, the other can only really shut down and reboot the machine as well as load xorg 16:29:12 Inb4 I find a way to do rootless xorg 16:29:22 (and is often used in sudo configuration to control who can become root with sudo) 16:29:59 you don't need root to run xorg 16:30:32 depending on what GPU, you may need the user to be in the "video" group 16:31:36 Nvidia user here, I’ve added my users to video 16:32:07 And should I use sudo/doas passwordless for poudriere when I su into my non root super user? 16:32:26 up to you 16:33:13 Ty 16:33:24 btw, do you use a light or a dark background for terminal windows? 16:33:35 Background image 16:33:52 Usually at like 60% opacity with a dark background though 16:34:15 it's just that poudriere uses bright yellow for some of its output, which is painfully unreadable on a white background 16:34:51 (I have to fix that using COLOR_SKIP=${COLOR_BROWN} and COLOR_WARN=${COLOR_BROWN} in the conf) 16:40:52 I see 16:41:06 Setting up doas rn but I get some error at line 11 message 16:41:21 Frankly all the colored text from wherever ought to have background color specified too for enough contrast if the source of the output would not find out the existing color & adjust accordingly 16:42:14 I see 16:55:08 Going to install xorg but I get this error 16:56:25 https://i.postimg.cc/SKYc5LFz/6462-BAE7-4-DDE-4255-B581-36-D22369-D591.jpg 16:57:07 dns lookup not working? 16:57:36 does drill pkg.freebsd.org return anything? 17:02:12 Nope 17:03:12 what about other dns lookups? 17:04:21 Lol I fixed it 17:04:30 Turns out I had not restarted netif yet 17:05:04 I also uncommented the dns servers I got on install despite using dhcp, should I comment them again? 17:10:02 usually you should use the ones from dhcp. 17:10:17 dhclient will normally replace /etc/resolv.conf accordingly 17:11:22 So it should be fine if I keep the name servers I got from dhcp uncommented in /etc/resolv.conf? 17:11:35 Or should I comment them again 17:19:34 I also noticed that nameserver 127.p 17:19:56 127.0.0.1 was noted in red while the dhcp ones were not 17:20:03 What should I do to fix that? 17:24:38 The ".cshrc" file in FreeBSD has a line like "# A righteous umask". What is a "righetous" umask? Is this a joke? It sounds comical somehow. 17:26:29 just don't use csh 17:27:41 (root's shell switches to sh by default in fbsd 14) 17:27:42 077 is /the/ righteous one 17:28:10 better to set umask in the login class anyway 17:31:25 parv, I beg to differ. On single-user computers, it doesn't matter, and on multiple-user, it comes down to who has physical access to the computer. 17:31:46 path, umask, and environment vars should be set in the login class so that they apply regardless of shell and also to cron jobs 17:35:52 Ok🤷🏽‍♂️ 17:37:03 On a multi-user host 077 makes even more sense 17:38:41 umask is only but one, possibly minor, hurdle 17:41:58 "minor" (and effectively nonexistent when others than you have physical access to the computer - or can set the boot device on a VPS) was exactly my point. 17:42:33 Right 17:51:33 About to locally configure poudriere 17:51:50 What should I make URL_BASE if I don’t have a webserver? 17:56:55 doesn't matter 17:58:37 Oh, so just localhost would work then 17:58:48 it literally does not matter 18:00:14 I see 18:00:27 So if it literally doesn’t matter I might as well just comment it out right 18:00:51 I don't have it in my config file at all 18:01:14 this is mine, if you're curious: 18:01:22 https://dpaste.org/UZGoA 18:01:24 Title: dpaste/UZGoA (Plain Code) 18:01:54 NO_ZFS because my builder vm doesn't use zfs, you wouldn't want that setting if you are using zfs 18:02:27 my FREEBSD_HOST is there to disable fetching of distfiles which I do manually; you'd want to remove that 18:02:50 I use zfs 18:03:13 And why do you think I would like to remove that, exactly? Simplifying the process? 18:03:23 I can probably remove PKG_REPO_META_FILE now too 18:03:29 Damn 18:04:30 for my builds, I fetch all the source files manually with make fetch-recursive in the ports tree. That's a pain in several ways, including the fact that there are bugs in the -recursive part 18:04:49 I see 18:04:51 (bugs which I've fixed locally but which are not yet fixed in the main ports tree) 18:05:09 I installed the ports tree alongside freebsd so i don’t think it should be much of a provlem 18:05:16 if you don't want to mess around with that kind of thing, better to let poudriere fetch the stuff itself 18:08:15 Yeah 18:18:33 RhodiumToad just set up my poudriere.conf 18:44:50 Where should my poudriere package lost be 18:45:19 like, if I set my basefs to /home/user/poudriere, should my packages to make list be there 18:46:54 Hi all, I'm trying to understand why does the free size on my SSD does not increase after I delete / move files. For example, I moved 19 GB to another computer, but the free size (df -m) did not reflect the move and remained the same. I use ZFS as the file system, FreeBSD 13.2. Anyone familiar with this issue? 19:09:38 I found an interesting regression somewhere between FreeBSD 12.1 and 12.4. Got a host that takes 5 hours to boot with a random USB drive plugged-in, but if I go back to 12.1, no such issue. 19:55:09 bolik: do you have any snapshots? 19:59:58 @rtprio: not that I'm aware of (at least not intentionally). How do I see that? 20:02:47 zfs list -t snapshot 20:05:02 yep, I see 5 lines in the output. 20:05:34 how can i get rid of them? 20:06:23 in a safe manner of course. Additionally I probably need to disable the creation of new snapshots (if that's advisable)? 20:09:53 bolik: zfs destroy pool/slice@snapshotname 20:10:23 rtprio: thank you. Will try that 20:17:14 rtprio: the amount of free space looks much more reasonable, thank you for your help 20:25:10 I was about to compile some packages in poudriere for the first time when I got a dependency loop error thrown in 20:25:38 Is there a way for me to quickly resolve these issues? I dont want to spend 40 minutes checking and unchecking what dependencies I want or not want to use 20:47:43 How do I reset options I set with poudriere 20:48:05 Nvm I found out 20:48:41 poudriere options -j ... -C category/port 21:10:47 @otis thanks a lot! Im very new to freebsd and poudriere so im still making a lot of mistakes, any best tips to avoid such errors from happening? 21:12:43 dependency loops in ports should not happen; any such is a bug in the port. I'm guessing you used some non-default port option? 21:13:52 Yep, multiple 21:14:10 I wanted to configure lightdm alongside its gtk greeter and xfce 21:14:37 Both desktop and goodies, and tried to at least disable zsh completions in some build dependencies as well as cups support 21:18:06 disabling zsh completions isn't really worth it unless you actually use zsh _and_ don't want completions 21:19:05 Oh I see, I generally use bash and fish, what should I disable then? 21:19:23 Nothing much unless I dont want bash completions? 21:19:55 generally no need to disable anything. shell completions files do _not_ pull in any dependency on the shell in question (or at least aren't supposed to) 21:20:16 I see 21:20:16 you only need to disable port options if they're bringing in some heavy dependency that you don't want 21:20:30 Ive just forced myself to install lightdm from pkg though 21:20:48 did the message indicate where the loop was? 21:21:16 Yeah lemme uninstall lightdm off pkg and try building with my current setting- 21:21:25 Oh wait I think I deleted the options file 21:21:57 Yeah I removed the directory where all the options were in 21:22:53 lightdm has options DOCS VAPI, both of which look mostly harmless 21:23:32 perhaps it was an option on something else? 21:24:23 Yeah im sure it was xfce related 21:24:33 Involved avif, one python package and I forgot what else 21:25:33 Decided to just build lightdm first 21:25:45 After that I’ll set up xfce and then librewofl 21:25:57 The biggest thing I want to avoid is pulseaudio really 21:26:03 graphics/libavif ? 21:26:13 so here's a trick you can use 21:26:19 I c 21:26:25 Tell me the secrets 21:26:31 you can put port options in make.conf rather than relying on the options dialogs 21:26:52 (note that poudriere has its own set of make.conf files in /usr/local/etc/poudriere.d) 21:26:55 Nice nice, 21:27:08 and where do I store the make.conf files 21:27:13 if you put OPTIONS_UNSET_FORCE=PULSEAUDIO in there, it applies to all ports you build 21:27:18 That same place you mentioned? 21:27:24 Cool 21:27:48 the normal place for make.conf is in /etc, there's where ordinary "make" of a port will look 21:27:53 And then I can just force all packages i can use sndioon there instead right 21:27:59 So just in /etc 21:28:40 poudriere ignores the one in /etc and only uses /usr/local/etc/poudriere.d/make.conf (and variations on that name based on jail name and porttree name) 21:28:51 man poudriere for the full details 21:29:18 you can configure options for individual ports with catname_portname_SET= and catname_portname_UNSET= 21:29:58 Cool! 21:30:10 read /usr/ports/Mk/bsd.options.mk for all the things you can define in make.conf 21:30:10 I guess I’ll start building my ports with poudriere then 21:31:11 I should start building the smaller packages i need in order to get used to it, right? Or can I just go config and build xfce immediately after pourdriere is done compiling lightdm? 21:31:56 up to you 21:34:53 If anyone's got some input on this, it's welcome over here: https://forums.freebsd.org/threads/hang-on-boot-12-4-not-12-1.89239/ 21:34:55 Title: Hang on boot, 12.4, not 12.1 | The FreeBSD Forums 21:35:02 I'm fully stumped. 21:35:27 RhodiumToad thanks a lot! Also, for reference, how long should some larger packages build on poudriere? 21:35:34 Such as Firefox and lobreoffice 21:36:41 depends on your cpu speed and whether you enable ALLOW_MAKE_JOBS 21:36:51 let me check my firefox build log, sec 21:37:35 my last firefox build took an hour 21:38:41 not sure how many cores that was on (I build in a VM and don't always allow it all cores), but probably 3 or 4 21:39:09 (of skylake i5-6500 @3.2GHz) 21:39:28 there may well have been other builds running at the same time though 21:40:01 I see… I have a ryzen 5800x and am running on bare metal 21:40:13 So it should be around 2-3 hours right? 21:40:15 also that's without using tmpfs and a little short on RAM, though usually these things are cpu-bound 21:40:26 I think it was around that, but on portmaster 21:41:05 that's just for the firefox port itself, obviously, not all the dependencies which can take a while themselves 21:42:08 <_xor> I need to fix this crap. I upgraded my router (gateway) from 13.1-STABLE (1301506) to 13.2-STABLE (1302505) and cleaned up configuration files in the process. It has the typical WAN+LAN combo (wan0, lan0). I have an internal DHCP server as well for my LAN. wan0 gets two addresses: one that is DHCP-assigned by my ISP, and another one that I 21:42:08 <_xor> statically assign. Problem is that at boot the router is works fine for a day, until it renews the DHCP lease on wan0, then it gets an internal address from my LAN DHCP server and stops being able to route properly. I can't remember how I fixed it before (I want to say it was either a rule in /etc/pf.conf or configuration block in 21:42:08 <_xor> /etc/dhclient.conf, or maybe both), so now I'm trying to figure out a "proper" solution for it. 21:42:48 spork_css: you're booting from ufs, what partition type (MBR or GPT) are the boot drives? 21:43:46 <_xor> Here are the approaches I can think of off the top of my head: A) Configure /etc/pf.conf to block broadcasting DHCPDISCOVER on lan0, B) Configure /etc/dhclient.conf to ignore lan0 when broadcasting DHCPDISCOVER, C) Configure my DHCP server to ignore DHCPDISCOVER from lan0 MAC address. 21:44:06 _xor: weird, the router ought to be trying to renew the lease from the same server before trying any other, I think 21:44:21 <_xor> Oh yeah, true. That didn't even occur to me. 21:44:26 Yeah back when I tried portmaster I directly installed llvm and gcc just to cut down the compile times 21:44:29 <_xor> Hmm, is that recorded in /var/db/dhclient.leases.whatever? 21:44:35 it shouldn't be sending DHCPDISCOVER after the initial boot 21:44:47 it ought to be, I think 21:44:53 let me check 21:45:39 puddinghead: rust is the other main time-consuming one, also it's not unusual to need several llvms 21:45:51 Yeah seems about right 21:46:25 But I guess since im already building lightdm I should just build xfce next isn’t it 21:47:09 All I want to do is to disable cups support, mousepad and a decent amount of the goodies 21:47:33 …although at that point im prob better off installing the goodies and extensions i want one by one 21:48:05 RhodiumToad: gpt 21:48:07 <_xor> RhodiumToad: So one thing I did during the upgrade is that I renamed my interfaces to be by convention, which in this case means em0 became eth0 and em1 became eth1 (I just called them wan0 and lan0 above to be clear). I just noticed there's /var/db/dhclient.leases.em0 and /var/db/leases.eth0. 21:48:21 RhodiumToad: this is the same server we discussed a month or so ago, btw. :) 21:48:50 spork_css: what I'd do at this point is boot 12.1 and replace the partcode on the boot drive's freebsd-boot partitions with gptboot rather than gptzfsboot 21:48:52 <_xor> RhodiumToad: I'm going to remove them and reboot anyway, but do you see that potentially tripping it up? Haven't looked at rc to see when netif manages the rename, but could it be somehow trying to load both? 21:49:08 spork_css: and see where that gets you 21:49:24 <_xor> (brb, going to get disconnected, rebooting router) 21:49:28 spork_css: (it might just defer the hang until loader is running, but...) 21:50:57 spork_css: oh, it might already be in loader at that point. hmm. maybe replacing it with a non-zfs loader build would help. 21:51:06 RhodiumToad: I just tested some additional ISOs and 12.1 boots fine, 12.2 boots fine, 12.3 ISO and 12.4 ISO both hang. 21:51:29 spork_css: how about 13.2 ? 21:51:37 That's ambitous! 21:52:40 RhodiumToad: going to boot 12.2 one more time because a message in the boot process looked interesting and I missed capturing a screenshot by a millisecond 21:53:32 I also noticed thwt thunar doesnt seem to have the volume manager plugin in xfce4-goodies 21:53:48 does this mean it domes with the default way thunar is packaged on freebsd? 21:55:30 RhodiumToad: https://i.imgur.com/FuyIW4X.jpg - this is interesting - the 12.2 loader is a bit more verbose. the zpool it's complaining about does not exist anymore. 21:56:04 puddinghead: I think thunar's volume manager is not supported on freebsd (depends on some linuxism) 21:56:09 I see 21:56:21 puddinghead: but that's from googling, I have never tried it myself 21:56:34 I’ve been struggling with moving my external hard drive’s contents to freebsd myself 21:56:46 how is it formatted? 21:56:50 Ext4 21:57:10 there's a fuse filesystem for ext* in ports (don't try and use the builtin one) 21:57:41 I suggest mounting it read-only in any case, for safety 21:57:46 Yeah I tried the builtin one 21:57:55 Said it needed journaling because of “huge files” 21:58:08 And yeah im gonna mount it read only 21:58:46 the builtin one supports ext2 fairly well I here, ext3 less so, and ext4 only barely (not well enough for usability) 21:58:59 so go with the fuse one 21:59:09 Seems about right 21:59:31 Surprised on why I didn’t back it up as ext2 back when I backed up my Linux stuff, and its just a 1tb drive 21:59:44 RhodiumToad: and in 12.2 a "zpool import" shows me this, and I'm lost on where it's getting that pool info from (specifically "hdpool" which does not exist, the drives that it was on are gone, new, blank hds are in their place) https://i.imgur.com/syhNYeP.jpg 22:00:08 spork_css: zfs's insistence on tasting everything means that it can discover labels for vdevs and zpools that are at different offsets from the real ones due to partitioning 22:00:33 e.g. da0 vs. da0p1 will have stuff offset by 40 sectors or whatever 22:02:42 are you sure that no disks from "hdpool" are on the system now? 22:05:54 RhodiumToad: Guys went to the colo and pulled them yesterday, popped in new ones. I had them double-check, old ones were HGST, new are WD. I can re-re-check that they're WDs... 22:06:49 RhodiumToad: also 13.2 booted fine. It had some messages during boot, trying to screen record now so I can actually read them 22:08:53 I'm pretty sure it'd be ok to steal 13.2's /boot/loader and use it 22:15:05 <_xor> Not sure if it applies here, but I know ZFS keeps multiple copies of disk/partition metadata, so maybe that data is still there in other drives in the pool. I've had that happened to me before with similar results where it sees an old pool that's not there anymore. I think it's mentioned in one of the zfs-* man pages (though I just checked 22:15:05 <_xor> zpool-labelclear and it doesn't have details) or maybe gpart. 22:16:09 zfs's assumption that it can discover everything by tasting is one feature that I'm not entirely comfortable with 22:16:09 Okay, finished building lightdm with poudriere 22:16:16 now how do I install the package 22:16:39 did poudriere say it was creating a repository? 22:16:42 <_xor> RhodiumToad: Referring to feature flags or something else? 22:16:58 _xor: I mean things like device paths, partitioning, etc 22:17:01 <_xor> oh 22:17:14 Yeah iirc 22:18:23 RhodiumToad: this bit about zfs is on-screen for like 2 frames, but looks like the same error as 12.2 https://i.imgur.com/jVU3B5H.png 22:18:24 Just moved to that repository, what should be done after that? 22:18:30 puddinghead: whatever dir you configured poudriere to put the repo in is now a repo. You can configure pkg to use it by creating a file in /usr/local/etc/pkg/repos/* 22:18:52 or, you can use the quick and dirty way, and do pkg add filename.pkg 22:19:07 Damn 22:19:12 Does it come with any risks 22:19:15 no 22:19:44 it doesn't do the dependency graph stuff that pkg install does, but it doesn't clobber anything 22:19:56 So I can just use pkg add lightdm and nothing will go wrong right 22:20:19 Inside the directory where the pkgs are located in 22:20:27 the All/ subdir, yes 22:20:31 RhodiumToad: I was also planning to use my unplanned downtime of this server to convert to zfs on root, it's one of 2 machines that I run that uses UFS. I think I'll try installing 12.2 w/zfs on root, then updating to 12.4 w/o replacing boot blocks and see what happens. 22:20:46 it will add any dependencies that are not already installed and which exist as packages in that dir 22:21:28 if anything fails, it won't do anything that can't be undone with pkg delete 22:21:36 RhodiumToad all/ subdirectory? 22:22:01 whatever, the directory with all the *.pkg files in 22:22:05 Yeah I found out 22:22:31 <_xor> spork_css: What's bootfs set to on the zpool? 22:26:27 @RhodiumToad what’s the config you use for poudriere package autoinstall conf? 22:26:46 I feel like id rather do pkg autoremove than check every dependency manually after pkg add 22:27:46 when you do pkg add foo.pkg, then foo has its autoremove flag off, but anything that pkg add added as a dependency has the autoremove flag on 22:28:06 I see 22:29:13 pkg query -e '%a==0' '%n-%v %o' will list packages that have autoremove off, change to ==1 to list ones with it on 22:29:51 I personally do not use autoremove at all because I install using metaports, so almost everything gets %a==1 22:34:22 I see 22:35:56 _xor: not sure because the pool doesn't actually exist. :) I have another pool of SSDs (I boot off UFS) and I'm booted into the 13.2 install DVD right now - is there a way without importing the ssdpool to query the bootfs property? 22:49:19 <_xor> Not sure actually. I don't think so with zpool, but possibly with zdb (though I don't know how). 22:56:36 I am now building xfce 22:57:31 But I want to clean up the packages I dont need in order to free up space after installing them, what would y’all recommend me to do for that 22:57:58 honestly its usually easier to keep them 22:58:21 Yeah seems about right 22:58:33 And then update them right? 22:58:34 saves time if you need to rebuild anything 22:58:41 I c 22:59:02 Should I keep the /usr/ports folder I got when I first installed freebsd or nah? 22:59:03 poudriere will rebuild as needed, e.g. if you change options or update the ports tree 22:59:37 if you want to keep up to date, then you'll need to fetch the ports tree regularly 23:00:04 I don't know what options currently exist to do that, I personally do it with git 23:05:01 I see… if its through git, what do you use? Git pull? 23:05:15 yes 23:06:05 So its just git pull then some command to tell poudreire to update everything in bulk 23:06:12 clone the ports tree (shallowly if you like), checkout the main branch or the latest quarterly branch, and pull as needed 23:06:43 if you then run poudriere with a list of your desired ports, it'll rebuild anything that changed (and only that) 23:08:13 (though it'll also rebuild dependents of anything that changed) 23:08:48 I see 23:09:07 How I could automate the list of desired ports though 23:09:17 Im too lazy to check manually 23:09:31 put a list of the ports you actually want to use in a file and use that :-) 23:10:37 I see 23:10:53 Thanks 23:11:42 Where can I find the oorts tree poudriere uses though? I think ive forgotten it 23:12:16 The same main directory the jails are located it 23:13:02 poudriere uses whatever you specified with poudriere ports 23:13:26 I see 23:13:34 So its a conf file thing 23:13:40 poudriere ports -l will list ports trees known to poudriere 23:14:24 or -lv to see more detail 23:15:08 poudriere ports actually has an option to get the tree from git 23:15:45 in which case I assume poudriere ports -u will do the pull for you (haven't checked) 23:51:07 yes, it does 23:52:18 * RhodiumToad grumbles at the apparent lack of a good API to find the highest fd currently open 23:53:22 <_xor> Heh, I had a one-liner somewhere that used lsof + miller (or frawk?) to spit that out. 23:53:46 caveat: poudriere does a shallow clone. if you force push to your ports repo, it'll unshallow it 23:54:03 <_xor> There's a switch to change that too. 23:54:32 why want you know the highest fd currently open? 23:57:01 I'm improving on posix_spawn. part of that is a higher-level wrapper that, amongst other things, defaults to closing all open fds > 2 except as specified by a list of fds to process otherwise 23:57:49 what I want is a way to put a size bound on that list, without limiting the ability to inherit an fd which is (a) currently open, and (b) above the current fd soft limit 23:58:12 (just closing the fds is not an issue, we have closefrom and close_range for that)