00:10:51 Hm, alepzi needs to stick around longer. 00:17:14 my jail's /usr/local/etc/rc.d/quickwit is https://termbin.com/1dvy and /etc/rc.conf has quickwit_enable="YES". on jail startup it fails: "root: /etc/rc warning failed to start quickwit". in the logs it says "cant assign requested address os error 49". but after jail startup, sudo service quickwit start works. so is there a bug in jail or vnet that when it's starting up it fails to let networking work? 00:17:32 alepzi: stick around after asking 00:18:11 alepzi: So, if you can start it manually once the jail is up, but you can't start it automatically, that indicates a race condition, and the service almost certainly needs to start later. 00:18:20 This could indicate a bug in the specified dependencies. 00:18:46 Hm, but it does want networking there. 00:18:52 digging for a sec 00:21:01 ty. and sorry bout network flaps, i finally figured that out 00:21:50 Well. That looks like it should work. So that is strange. 00:22:41 alepzi: Certainly worth a bug report. 00:23:07 alepzi: How are you setting up networking in that jail? 00:23:26 the standard hooks from the handbook page sec 00:24:44 https://docs.freebsd.org/en/books/handbook/jails/#creating-vnet-jail the sample config in that section 00:24:45 Title: Chapter 17. Jails and Containers | FreeBSD Documentation Portal 00:28:08 alepzi: Can you use a pastebin for the example? Or specifically what I want to see, is your exec.start including /bin/sh /etc/rc after the network config? 00:29:34 My theory is that if you're calling "/bin/sh /etc/rc" first then you've got a race. 00:30:35 bbiab, got to start cooking, but I'll check in in a bit. But it's a race if you can start it manually after the jail boots, and I'd be inclined to look at your exec.start ordering. 00:44:16 mason: https://termbin.com/ai4x 00:45:39 alepzi: Yep. 00:45:47 alepzi: Put 'exec.start = "/bin/sh /etc/rc"; 00:45:49 ' 00:45:54 as the very last thing you do in exec.start 00:46:33 alepzi: I gave an example here, using either static config or DHCP: https://wiki.freebsd.org/MasonLoringBliss/JailsEpair Note that "/bin/sh /etc/rc" is the very last thing you want to add to exec.start. 00:46:35 Title: MasonLoringBliss/JailsEpair - FreeBSD Wiki 00:48:33 Now going to eat the stuff I cooked, but this should get you going. 00:57:40 omg that works ty!! 00:57:52 any other obvious probs with my jail.conf? 01:11:55 alepzi: Nothing jumps out. 01:12:06 bbiab 01:14:42 mason: if this is such a footgun that you knew it before i pasted the link, maybe the jail service could do a config check when starting a jail and emit a warn on that? 01:35:14 found some more fun with this 01:35:26 igb0 comes up as 100BASE-TX 01:36:59 no clue why, have other hosts on same switch at 1000. trying to force to 1000BASE-TX hangs the NIC 01:39:46 controller is I210 01:54:34 mewt: did you mean 1000baseT instead? 01:55:16 though, i don't know why it would come up with the wrong media type 01:55:36 tried a different cable? 02:09:40 yeah, sorry 02:09:50 but no, it's not a cable issue 02:10:14 I've swapped to new cable. sorry for the spurious x 02:10:35 is there a nice way to run a script upon quitting xorg started with xinit? 02:11:23 currently checking if it forces to 1000baseT, if it doesn't, I guess that was not my mistake 02:11:30 what im hoping to do with it is switch my tmux colors when going back to vt 02:11:35 concussious: i think you could replace your last 'exec twm' with 'twm' followed by another command? as the window manager won't return until you quit 02:12:44 lw: thanks once again! i'll play with that a little. 02:15:02 yep, this looks like a hang... 03:49:45 this is never good.. https://dpaste.org/9hXRH 03:49:46 Title: dpaste/9hXRH (Bash) 03:50:06 for some reason, my zpool is totally hosed.. but when i try to get a "new" one zpool create storage raidz da0 da1 da2 03:50:45 i can not "destroy" it because i can not import it but when i try to create it, it tells me the drives are to a storage.. in a loop.. 03:52:44 i did do a zdb -l on the drives and this is what i get.. https://dpaste.org/eLSv2 03:52:45 Title: dpaste/eLSv2 (Bash) 03:55:30 well zpool import -nF storage seems to get me further 03:55:39 now it just says recreate the dang thing :( 03:59:14 yeah man, with two faulted disks, that's the end 04:00:21 zpool destroy -f storage it is 04:00:40 or it is dead dead? 04:07:20 dang nab it, looks like 1 of the 3 drives is good.. the other ones will NOT allow me to create a pool 04:07:23 cannot zero first 4096 bytes of '/dev/da0': Device not configured 04:07:34 but yet they show up in dmesg.. 04:10:22 restore from backups, 04:10:44 might pick a more robust pool configuration 04:14:33 but don't i need to get the zpool operational first? 04:14:53 i can have data repopulated, right now it is complainining i can not even make the pool 04:15:41 if anyone else has any clue what I can try with that igb0 that won't negotiate above 100BASE-TX, please let me know and I'll try tomorrow morn 04:16:11 i probably could send all the data as server is only using 1.27TB and i have 2.47TB with the one drive.. 04:16:14 not ideal 04:16:23 you'll have to destroy the pool and clear out the disks 04:16:32 but run smartmon on them to see how bad they are 04:16:53 if you get 4096 bytes of '/dev/da0': Device not configured... looks like you'll be shopping for some new disks 04:17:18 dang nab it 04:17:54 And alepzi has gone away again, but FWIW "I can do something manually once the system is up but not during boot" is always a race condition, regardless of what system it is. Nothing unique to jails. 04:18:47 And in this case, "the service can't grab a socket" means "the network isn't up yet" and so we winnow down the prospects based on that, and there we are. 04:19:10 rtprio: thanks for confirming 04:19:24 i can at least use this one drive fro a little while and hopefully my sanoid/syncoid thing will populate 04:20:15 if you rebuild it as a single drive zpool, you can add a mirror later 04:20:37 i would suggest using the same make and model of drive if you do that 04:21:01 i first have to remember how i setup this backup system 04:21:04 it has been months 04:21:49 well when you figure it out, document it so you don't have to rough it next time 04:22:25 yeah, i have enough notes to be a pain in the butt for me now 04:23:27 i lost a zpool when the external chassis i used lost power 04:23:50 that is what happened with me 04:23:57 don't use external chassises 04:23:58 1 drive made it ther 2 did not 04:24:00 hehe 04:24:12 yes, we had these talking points in the past 04:24:28 thankfully this is the remote backup server and not the main server (which does have internal drives) 04:24:36 i upgraded my VMs on oracle cloud with freebsd-update and now they're not responding and the commands to get to the console don't work 04:24:43 🤷‍♀️ 04:24:47 a high quality external chassis is fine (unless there's a serious bug in zfs or cam) but cheap enclosures using sata/usb i would be suspicious of 04:25:31 mine was sata. it might be handy in the future to do a backup and store it in a safety deposit box but yeah 04:27:22 well at least the syncoid script is TRYING to work 04:27:26 need some datasets 04:29:30 well look at that.. bhyve images are going ..woohoo 04:30:18 oh hey, mpd has a web interface, that's handy 04:33:03 hrm.. i do not have compression on for this 04:33:05 probably should fix that 04:47:55 well lets see zfs set compression=zstd storage/backups does 04:48:19 if you're using syncoid, probably nothing, as it'll just copy the already-compressed blocks 04:48:58 i do not recall setting syncoid to do that.. is that a default behavior? 04:49:41 actually maybe that's not the default 04:50:40 syncoid --recursive --no-privilege-elevation --mbuffer-size=128M --sshkey=/home/backups/.ssh/id_rsa storage/music "${REMOTE_HOST}:storage/backups/music" 04:50:52 that is the command i am running.. to backup music 04:51:07 makes me wonder if i can make this script "better" with just doing that 04:52:55 it definitely is not GREAT 1.32x 04:52:57 blah 04:53:20 we shall see in about 7 minutes when it does the other backups 07:11:27 hi, I am using /bin/sh normally. Is there any way with /bin/sh to go to the first character of the line or move from onw word to another (i.e. the equivalent to 0-$ and b-w in vi) 07:11:30 ? 07:11:52 onw=one* 07:12:30 As a side question, does that depend on the terminal program you are using? 07:40:00 sh 07:40:29 sh -V 09:21:48 https://pastebin.mozilla.org/AXSyYRmk. why is that ? 09:24:26 why does sh not have precmd ? 09:28:53 I am using mc for like 20 years, never had a problem with it ... now I have to run it with -u, even mcedit with -u 09:30:19 so don't run sh. it appears to be an easy fix 09:30:53 I don't trust other shell ... 09:31:25 it literally tells you what else to do to fix it, i'm not sure what you're expecting 09:31:30 for workstation, ok, for servers, no 09:32:09 I want it like it was before ... when it worked with sh ... (if possible) 09:33:03 maybe run mc with --nosubshell like it says? 09:33:31 yeah, for now I will do that ... 09:34:04 or use a different shell 11:10:21 rtprio I did not know there was a VI compatible mode 11:12:58 is there any drawback for using that? -given that you use VI normally- 11:13:41 can I add -V to my user in /etc/password ? 11:42:15 Hello, since a few days I get the following error when running pkg upgrade, could anyone help me out? 11:42:16 Checking for upgrades (1 candidates): 100% 11:42:16 Processing candidates (1 candidates): 100% 11:42:17 Cannot solve problem using SAT solver, trying another plan 11:42:36 I'm using pkgbase by the way 11:51:41 CamilleScholtz: and it's not telling you what problem the SAT solver ran into? 11:52:47 Nope, I also ran it with the debug flag and it's not giving any additional info. I'm now running upgrade -f, seeing if that might do something 11:56:07 Hmm reinstalling everything seemed to have fixed it, strange 12:11:48 Hi folks. I was wondering, what FS would you use on a freebsd vm guest? On linux it's the consensus not to use ZFS there, but what's the way to go on Freebsd? 12:18:59 Devil_Kin: Even when running on VMware as a VM (where we have VM-level snapshots), I still use ZFS on FreeBSD - because we can. 12:33:05 dvl: reason for the question was that it's said often that zfs works best when dealing with the hw directly, not through a virtualisation layer 12:34:30 Devil_Kin: Yes, in general that is true, and I think they are referring to raid. In VMware, we give ZFS a single drive, and let it go. 12:38:05 dvl: ok, thx! 12:39:25 Devil_Kin: It is more convenient to have ZFS on the VM - quotas, snapshots on file systems, etc. Why should we go without just because it's a virtualized host? etc. 12:40:41 yeah, makes sense 13:38:57 well looks like bhyve images, can compress quite well.. mp3/mp4 not so much :) makes sense 14:13:22 ZFS on host is much better than on every vm 14:24:45 yeah, zfs inside a zfs is like the pandora's box of chaos 14:28:06 How so? I've been doing just that. 14:30:57 subjective, personal experience, when i tried to "restore" a zfs inside a zfs. it would NOT work 14:31:16 not sure what exact root cause is.. but when i made the zfs and ufs inside.. the same problem never occurred 14:31:32 so purely a subjective (probalby something i did wrong) reason for not preferring to do that 14:31:44 so i just avoid having pandora's box 14:33:27 Fair enough. 14:43:27 /25 14:50:11 well, i don't have much say over the host in this case 14:50:16 so i don't know what's running there 16:08:55 i made a rc.d script for quickwit which doesn't ship with 1 but it hangs the server because when the server's starting up it outputs to stdout but never goes into the bg. any way to fix that in the rc.d? https://termbin.com/1dvy 16:17:06 or maybe redirect the output to a log file? 16:19:02 quickwit does not have a way to run in the background itself? If so that's where things will be hanging. Waiting for it to background itself. 16:19:15 You could use the "man 8 daemon" program to do it for quickwit. 16:26:17 ya guess i'll have to tyvm 16:26:52 going to come back once more to ask: I've got an igb0 on a supermicro X11SCH-F that refuses to go above 100BASE-TX while other machines do from same switch/router. How can I diagnose this? Already tried swapping cable 16:28:27 I210 is the controller, specifically 16:29:05 can't find any relevant error output with basic stuff like dmesg. When I try to force 1000BASE-T the interface just dies. I can try locally to see if I can figure out what is happening after that point I guess 16:30:09 Is this at home or in a datacenter? Is this plugging into a managed switch port or a small consumer switch? 16:30:13 home 16:30:34 tried TL-SG108E and my router (wrt1900ac v2) directly 16:30:35 Managed switches can be configured to be anything and I have had managed ports misconfigured before. 16:31:00 let me take same cable and shove it in something else with gbe really quick 16:31:06 If it is a consumer switch then I would power cycle the switch and I would swap ports with another cable. 16:31:44 Yes. Swap cables. Swap ports. Swap devices. Something frustrating is happening. 16:32:45 right now I think I've eliminated the switch already, because I'm connecting directly to a router port 16:33:42 Does that motherboard have 2+1 network ports on the back? Two for the system and one for the IPMI port? Make sure you are plugged into the port on the outside closest to the PCI-e slots. 16:34:07 Yeah, on my T430, the same cable pulled from the X11SCH-F comes up as 1000Mbps full duplex 16:34:13 The port closer to the ram side will be either the dedicated IPMI or the shared IPMI port. 16:34:22 I have IPMI access 16:34:46 That is not a guaranteed test that it will work with other ports though. I have seen that before. 16:34:51 The IPMI gets separate DHCP reservation and I SSH into the machine. I haven't confused it with the IPMI 16:34:54 hm 16:35:06 So igb1/igb0 cannot be guaranteed to be the same even reported that way? 16:35:10 Get a light and inspect the port itself looking for bent pins in it, looking for gunk that may have collected in it. 16:35:29 I *can* try and see how igb1 comes up I suppose, sec 16:36:16 Wait... You said the IPMI gets separate DHCP reservation so is that on a separate second cable? Or is that on this same cable? 16:36:33 there are 3 ports 16:36:41 1 is IPMI, oterh 2 are igb0/1 16:36:55 each has own cable. igb1 comes up as gbe as far as I can see, let's confirm 16:37:14 guess it can be an issue with the jack then. awful 16:37:14 Good. Thanks for the clarification. That's what I was hoping. But it was not clear. That's all good. 16:38:24 I don't like using only the shared IPMI port because there is the danger of misconfiguration such that the IPMI could possibly be accessible to the hostile Internet. And of course that is always to be avoided. 16:38:50 This is on your LAN so it is all fine. But in a datacenter that can put the IPMI on the public net and that would not be good. 16:39:42 Anyway... As to your port not coming up with GigE speed... I don't know. It's almost purely hardware link at that point. Swap everything. Inspect everything. It should work. If it does not then I don't know what to suggest. 16:39:42 Yes, I have blocked the IPMI from WAN outgoing actually 16:40:01 I'll try one more cable swap, then it's almost definitely the jack x_x 16:41:56 I don't recall there being any BIOS configuration that would affect this but there might be. I would boot to the firmware configuration screen and walk through every configuration dialog available and review it. Maybe there is something in there. Reseting to factory firmware config and starting again might be something to try if you suspect it. 16:44:08 As another A-B comparison thing I would download https://get.refracta.org/files/daedalus/refracta_12.0_nox_amd64-20230829_1853.iso and boot it from USB and see if that live boot does anything different. I would use "ethtool" there to dump the configuration of the ethernet. 16:44:37 I think ethtool is preinstalled in that image. If not then just install it "apt-get install ethtool". 16:45:31 ...apt-get? 16:45:46 well, i got igb0 to come up as 1000BASE-T playing with cables 16:45:56 so this looks to be a combo of hw and case. Gross 16:46:23 At least you know that it can work if everything is jiggled correctly. 16:48:02 ethernet link is almost entirely encompassed into the chips on both ends of the cable. Almost all of them are MIDI-X these days meaning no crossover needed and can connect direct between two ports. That's another good test if you run into this again. You can avoid a switch and see if the link comes up directly connected to another port. 16:49:45 I take it the case is wedging against the connector? Honestly that sounds like either the wrong backplate or the motherboard was mounted slightly off. I obviously can't see it. 16:50:58 no, just pressing down the clip puts your finger between case + connector 16:51:00 If it is a backplate for a different motherboard then I would remove the backplate. It's mostly there only for EMI reasons. It's not really needed. If it is getting in the way and bending the cable causing trouble. 16:51:08 It came with the thing 16:51:22 Okay. I am just brainstorming ideas with you. 16:51:23 (the motherboard) 16:52:04 thanks for the pointer on direct connect, I have had to do that before and should've here 16:52:13 There is almost no clearance between the case and the clip. I always use a flat screwdriver or my pocketknife or a pci cover plate to unclip there. 16:53:29 I can't quite envision exactly what the problem is that you are having but I am glad that you have an understanding of it now and have seen it work. I am sure you will get it sorted out into a reliable connection now that you are at this point. Good luck! :-) 16:54:52 yeah, I think I'm good now. Thanks. also is clearly my NAS throughput problem, pushing 200M which is not amazing but good enough for me over sshfs now 19:14:49 Please watch the movie "Room (2015)" 19:14:57 it's a really powerful film 19:15:22 I am going to show it every single parent female I know of 19:15:32 it is just -that- powerful 19:19:50 "Held captive for years in an enclosed space, a woman (Brie Larson) and her young son (Jacob Tremblay) finally gain their freedom, allowing the boy to experience FreeBSD for the first time." 19:23:50 ah, that one 19:24:15 entikan: We have #freebsd-social for at 19:24:36 ok 19:27:40 Hello everyone. I am trying to pkg remove plasma5-discover and it seems it wants to:Installed packages to be REMOVED: 19:27:40 kde5: 5.27.11.23.08.5_2 19:27:40 plasma5-discover: 5.27.11_1 19:27:40 plasma5-plasma: 5.27.11 19:27:57 it will break the system, correct? 19:59:22 It will remove your kde, if this is what you mean by breaking the system. 20:07:27 yeah i wouldn't do that if you're using kde as your DE 20:59:02 spmzt, yes. dstolfa, indeed! Thanks. Any tips on how to remove it without breaking the system? 21:11:07 Carbon666: i'm not sure. i think kde assumes quite a deep level of integration, so it might not be possible without breaking the DE 21:11:54 yeah, thanks, mate! 21:19:16 Ok, can FreeBSD use linux swap partitions? 21:22:04 i'm thinking about going back to Linux on my laptop. I can't handle the constant slew of bugs and things taking almost a year before their handled in the bugtracker 21:22:10 not being able to suspend my laptop 21:22:21 it constantly freezing and crashing every two days 21:22:26 wifi glitches 21:22:51 isn't it your hardware? 21:23:30 wacom drawing tablet just doesn't work no matter what 21:24:00 Carbon666: no. Linux had none of these problems. It's also pretty standard hardware 21:24:05 a Thinkpad T430 21:24:31 Isn't that supposed to be the most compatible laptop out there? 21:24:33 gotcha 21:25:07 I am not sure, mine is pretty damn uncommon and runs well. I am trying to add swap to it right now 21:25:16 only reason I don't is because most linux distros are systemd now, or have a gnome team that sabotages things 21:25:31 Carbon666: does suspend work? 21:25:32 hahaha 21:25:57 so i'm stuck between a rock and a hard place 21:26:09 or.. system-breaking bugs, and sabotage 21:26:16 Hum, maybe it complain about acpi or something, sfox. I have this installed for 3 days and had time to use it for just between sleeps 21:26:34 he bios is coreboot-edk2 21:26:39 any upside to having daemons log to their own file or is it always better to log right to syslogd? 21:26:43 literally reference implementation stuff 21:27:06 I am enjoying the system 21:27:18 i enjoy freebsd too 21:27:26 i no longer have any problems with it on the server 21:27:26 I am still finding ways to make it runs smoother 21:27:28 i'm a freebsd enjoyer 21:27:37 oh another problem nobody seems to know how to fix 21:27:47 sometimes the system is laggy 21:27:53 to the point even audio glitches out 21:28:06 especially when downloading faster then 500kbms 21:28:08 thats RAM 21:28:10 600kbp/s 21:28:16 check if you have swap on 21:28:29 or if I compile software using all of the cores 21:28:39 I don't. I am trying to asdd one, ca I use a linux swap partition for that? 21:28:44 i do have a swap but it's only 2gb 21:28:52 no you have to create a bsd swap 21:29:07 you and overwrite linux swap partition with a bsd one 21:29:27 alright, I have seen some tutorials on that, but for lower versions, so I decided to ask in here 21:30:26 it is like windows 21:31:52 you can open and close them? 21:33:41 haha 21:34:05 I've quitted Windows since 8 21:34:21 never used a WIndows 11 21:34:26 have you checked the man page? 21:34:28 Windows* 21:35:14 I am looking up the handbook 21:36:04 but as of now, it only mentioned the auto partition way and didn't mention any manual swap configurations 21:36:45 I need a partition manager to split my linux swap into 2 partitions 21:36:55 one for freebsd-swap 21:37:46 if I open firefox, bye bye all RAM and the system starts to act very hard to try to not "hang" things. 21:38:34 try falkon 21:38:44 it uses less resources 21:40:27 yeah, just transitioning backups through it. and I like firefox :( 21:41:36 ok, so. I am not sure, maybe I will go to my Void Linux to edit my partitions, because I am really unsure about doing it in here 21:46:42 everything looks "the same", but I think linux, and GNU, ofc... it is nice to be around something else... 21:47:00 I am trying to read about the GEOM 21:49:40 aight, gotta go! Keep on rockink! 21:49:48 Rocking*7 23:10:29 there's more showing up in a jail's /var/log/messages than the jail host's /var/log/jail_testjail.log console log. why's that? 23:17:57 . 23:18:09 o/ 23:22:13 \o 23:31:44 alepzi: Hey, meant to say last night, what you described is a general race condition - nothing strictly related to jails. 23:32:24 ya i gotta figure out rc stricter 23:33:15 As for the logs, look at the in-jail syslog.conf vs the host config. 23:50:02 if a dir is 755 any way to force files made in it be 644 instead of 600? 23:53:23 i think that's what umask is about 23:57:40 Do you mean files already in it, or also new files? 23:59:56 If the former, use "find /path/to/dir -type f -print0 | xargs -0 chmod go+r" (untested)