--- Log opened Tue May 20 00:00:21 2025 --- Day changed Tue May 20 2025 00:00 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has joined #openbsd 00:00 -!- opv_ [~opv@pred.opviel.de] has quit [Read error: Connection reset by peer] 00:00 -!- opv [~opv@pred.opviel.de] has joined #openbsd 00:04 -!- spacemonkey [~zack@user/nodelay] has quit [Ping timeout: 272 seconds] 00:08 -!- Michelle [~michelle@gate.mhix.org] has quit [Ping timeout: 272 seconds] 00:12 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Remote host closed the connection] 00:12 -!- Michelle [~michelle@gate.mhix.org] has joined #openbsd 00:12 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has joined #openbsd 00:17 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 245 seconds] 00:17 -!- SirJitsu1 [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 00:20 -!- edthix [~Thunderbi@2404:160:181:9239:90ab:fd18:4182:3a95] has joined #openbsd 00:22 -!- mk_ [~mk@user/mk-:55564] has quit [Remote host closed the connection] 00:23 -!- waks [~waks@user/waks] has joined #openbsd 00:23 -!- cobra [~cobra@user/Cobra] has joined #openbsd 00:23 -!- ryan_ [~ryan@177.107.245.23] has joined #openbsd 00:24 -!- dogg0 [~dogg0@user/dogg0] has joined #openbsd 00:25 < waks> Hi. I want to create a publicly accessible ssh console where unauthenticated users can login and information is displayed using a program I've written. I've chrooted the user and changed their shell to my program so I feel well about the security concerns. However, I have a problem with my current method, every new ssh session spawns a new instance of the program, which is taking up a lot of CPU. There's no 00:25 < waks> problem with each of these ssh sessions connecting to the same visual output of the program. 00:25 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 00:26 < waks> I'm looking for advice as to how I should go about connecting each user to a singular virtual console which runs my program. I was thinking I could maybe use GNU screen but I'm wondering if there's a nice built-in OpenBSD method I could take. 00:28 < byteskeptical> tmux 00:29 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 260 seconds] 00:29 -!- ryan_ [~ryan@177.107.245.23] has quit [Quit: Leaving] 00:30 < byteskeptical> you can do something like `tmux new-session -A -s urprogram -t urprogram` on user login to create or join the existing tmux session hosting one instance of your program 00:30 -!- Intrix [~Intrix@user/Intrix] has joined #openbsd 00:31 < byteskeptical> you would have to figure out the group permissions for the tmux socket so that new users are automatically members of the correct group for access 00:31 < Intrix> Hello byteskeptical 00:31 < Intrix> byteskeptical, Are you okay? 00:31 < byteskeptical> sup int 00:32 < Intrix> byteskeptical, Have you ever used the LXQt desktop on your operating system? 00:33 < byteskeptical> Intrix: what kind of garbage chat model are you running? 00:33 < mischief> how did i know it was a bot xD 00:34 < Intrix> byteskeptical, I didn't understand your question 00:34 < Intrix> I'm not a bot, dude :/ 00:35 -!- dogg0 [~dogg0@user/dogg0] has quit [Quit: Leaving] 00:35 < Intrix> mischief, Who told you I'm a bot? 00:35 < byteskeptical> Intrix: yeah the back and forth may work on others 00:36 < byteskeptical> but your either impersonating really well or the obivous 00:36 < oldlaptop> Intrix: Marching into a channel and saying vaguely semi-relevant but seemingly random things to the first nickname that speaks smells a little bot-like. 00:36 < byteskeptical> neither of which is a difference the humans on here 00:36 < Intrix> byteskeptical, What are you talking about? 00:36 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 252 seconds] 00:37 < oldlaptop> If you're not a bot, you might want to avoid that kind of thing. Given all the bot nonsense that floats around these days, people can get kind of paranoid. 00:39 < Intrix> What's with this guy thinking bots are invading IRC? Why would I be a bot? Who knows what kind of stuff goes through his mind every day, seriously, that's wild! 00:41 < Intrix> Alright, since I'm a robot now, Beep boop buup! 00:41 -!- cobra [~cobra@user/Cobra] has joined #openbsd 00:42 < byteskeptical> we will see 00:42 < Intrix> oldlaptop, Dude, have you ever used LXQt? 00:42 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 00:43 < oldlaptop> Sure. If you have some specific question about running lxqt on OpenBSD, you should just ask it. 00:44 < Intrix> byteskeptical, You seem to be hating me for something that no one really takes seriously in the first place 00:45 < Intrix> oldlaptop, Not all drivers work on OpenBSD or FreeBSD, am I correct? 00:45 < oldlaptop> All of OpenBSD's drivers (should) work on OpenBSD. OpenBSD does not have drivers for all concievable hardware, however. 00:45 -!- dogg0 [~dogg0@user/dogg0] has joined #openbsd 00:46 < oldlaptop> Or even all conceivable hardware. 00:47 < mischief> inconceivable! 00:47 < Intrix> oldlaptop, When something is incompatible, there's really no way to run the operating system on the machine, is there? 00:47 < oldlaptop> That depends on what the "something" is. 00:48 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 244 seconds] 00:48 < oldlaptop> (Again, if you have a specific question, you should just ask it.) 00:48 < Intrix> oldlaptop, I mean the hardware part, drivers for hardware 00:48 < lolok> https://dontasktoask.com/ 00:49 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 00:49 < oldlaptop> So do I. 00:49 -!- seninha [~seninha@user/seninha] has joined #openbsd 00:49 < byteskeptical> oldlaptop: I don't know what was going on prior to my response to waks but if more than one well known member of this room has the same vibes (pun intended) about this it may be cause for slightly raised concerns. Not telling you what to do or not do but whatever is going on here specifically I and I'm sure you can forsee this kind of thing getting worse. 00:50 < oldlaptop> A missing driver for (looking over at the other table) the built-in fingerprint reader is probably not a very big deal. A missing driver for the GPU is a much bigger deal (but still doesn't stop you "[running] the operating system on the machine"). 00:50 < oldlaptop> byteskeptical: Sure. 00:50 -!- Guest75 [~textual@2600:6c5d:5800:6d:2c9b:5c49:3206:9e65] has joined #openbsd 00:50 < Intrix> oldlaptop, He's uncomfortable with my presence, I think I'd better leave 00:51 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 00:51 < oldlaptop> If you have some specific question, just ask it (and prove him wrong!) 00:51 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 00:52 < Intrix> oldlaptop, It happened that my FreeBSD ran the video driver for my processor’s integrated graphics, but it used a similar driver, not the one specifically made for my processor 00:53 < byteskeptical> nailed it great question 00:53 < oldlaptop> We don't know anything about FreeBSD here. (Or rather anyone who does will be in #freebsd or something too, which is where you should ask questions about it.) 00:55 < Intrix> oldlaptop, I miserably thought that it didn't matter what came before BSD, I thought they were all the same 00:55 < oldlaptop> They're not. 00:56 < oldlaptop> FreeBSD is "the same as" OpenBSD the way a fox is "the same as" an Irish wolfhound. 00:56 < Intrix> oldlaptop, Ok, thanks for clearing that up 00:58 < Intrix> oldlaptop, I gave up on Windows, even though it's used by the majority of the world's population 00:59 -!- cobra [~cobra@user/Cobra] has joined #openbsd 01:00 < Intrix> I believe you were a Windows user too, in fact I think we’ve all been Windows users at some point 01:05 -!- byteskeptical [~amnesia@user/byteskeptical] has left #openbsd [] 01:20 -!- Guest75 [~textual@2600:6c5d:5800:6d:2c9b:5c49:3206:9e65] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 01:27 -!- edthix [~Thunderbi@2404:160:181:9239:90ab:fd18:4182:3a95] has quit [Quit: edthix] 01:38 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 252 seconds] 01:43 -!- Xenguy_ is now known as Xenguy 01:47 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 01:48 -!- Intrix [~Intrix@user/Intrix] has quit [Quit: Leaving] 01:49 -!- Intrix [~Intrix@177.107.245.23] has joined #openbsd 01:49 -!- Intrix [~Intrix@177.107.245.23] has quit [Remote host closed the connection] 01:49 -!- Foxy_ [~fox@user/Foxy/x-8224177] has quit [Ping timeout: 272 seconds] 01:50 -!- popopoooo [~root@152.156.110.243] has quit [Ping timeout: 260 seconds] 01:51 -!- Foxy_ [~fox@user/Foxy/x-8224177] has joined #openbsd 01:51 -!- rewtkid [~rewtkid@user/rewtkid] has quit [Remote host closed the connection] 01:53 -!- cobra [~cobra@user/Cobra] has quit [Quit: ZNC 1.8.2 - https://znc.in] 01:55 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 01:57 -!- cobra [~cobra@user/Cobra] has joined #openbsd 01:59 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 252 seconds] 02:00 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 02:13 -!- Guest75 [~textual@2600:6c5d:5800:6d:2c9b:5c49:3206:9e65] has joined #openbsd 02:14 -!- MentalExcuse [~MentalExc@inetz.connected.by.freedominter.net] has quit [Ping timeout: 260 seconds] 02:14 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Remote host closed the connection] 02:14 -!- rewtkid [~rewtkid@user/rewtkid] has joined #openbsd 02:17 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has joined #openbsd 02:18 -!- waks [~waks@user/waks] has quit [Quit: Lost terminal] 02:20 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has quit [Remote host closed the connection] 02:20 -!- jfsimon [~jfsimon19@atoulouse-257-1-58-108.w90-5.abo.wanadoo.fr] has joined #openbsd 02:25 -!- sdds [~sdds@user/sdds] has joined #openbsd 02:26 -!- MentalExcuse [~MentalExc@inetz.connected.by.freedominter.net] has joined #openbsd 02:30 -!- Guest75 [~textual@2600:6c5d:5800:6d:2c9b:5c49:3206:9e65] has quit [Quit: Textual IRC Client: www.textualapp.com] 02:34 -!- xet7 [~xet7@user/xet7] has quit [Remote host closed the connection] 02:34 -!- edthix [~Thunderbi@2404:160:181:9239:90ab:fd18:4182:3a95] has joined #openbsd 02:51 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 252 seconds] 02:53 -!- cantelope [uid598105@id-598105.hampstead.irccloud.com] has quit [Quit: Connection closed for inactivity] 02:54 -!- _zip100 [~zip100@193.32.248.179] has quit [Ping timeout: 276 seconds] 02:55 -!- _zip100 [~zip100@193.32.248.204] has joined #openbsd 02:57 -!- anelli [~noodle@user/macarona] has quit [Remote host closed the connection] 02:57 -!- anelli [~noodle@user/macarona] has joined #openbsd 03:06 -!- edthix [~Thunderbi@2404:160:181:9239:90ab:fd18:4182:3a95] has quit [Quit: edthix] 03:09 -!- bket [~bket@user/bket] has quit [Ping timeout: 245 seconds] 03:12 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 03:12 -!- tvtoon [~The_cUnix@user/tvtoon] has quit [Quit: "Hope in the Everest"] 03:13 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 264 seconds] 03:13 -!- PapaChub [~PapaChub@vzw-54.parabon.com] has quit [Remote host closed the connection] 03:17 -!- sdds [~sdds@user/sdds] has joined #openbsd 03:21 -!- bket [~bket@user/bket] has joined #openbsd 03:26 * ssm_ wonders what single digit number of post-2000's users started on *bsd instead of linux 03:27 -!- AtleoS [~AtleoS@user/AtleoS] has quit [Quit: AtleoS] 03:29 < oldlaptop> OSX/Darwin is arguably a "BSD". 03:29 < oldlaptop> (Really weird one if so) 03:30 < ssm_> devel/adb seems to be borked, or I need extra configuration on my lineageOS device to open a shell on it 03:30 < ssm_> works on macos without any additional configuration 03:31 < oldlaptop> not having touched adb or related things for years, I assume you've made sure the device node permissions are appropriate? 03:31 < ssm_> I'm running adb as root, is that a mistake? 03:31 < oldlaptop> (it should, IIRC, be the same as for any other libusb user) 03:32 < oldlaptop> That sounds like a bad idea to me, but I suppose it would rule out permissions issues. 03:32 < ssm_> device attaches as ugen(4), usbdevs says `addr 04: 18d1:4ee7 Huawei, Nexus 6P \n high speed, power 500 mA, config 1, rev 3.10, iSerial 8XV7N16831000469 \n driver: ugen1` 03:33 -!- Aedil [~adrian@ipbcc10313.dynamic.kabel-deutschland.de] has joined #openbsd 03:41 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 03:41 -!- sdds [~sdds@user/sdds] has joined #openbsd 03:43 < ssm_> I was able to get connection over tcpip, but not usb. it's something I guess 03:44 < oldlaptop> That suggests permissions again. 03:46 < ssm_> /dev/usb* is all 640, root:wheel. I'm in wheel, so it should be readable. do I need write too? 03:46 < ssm_> if there's docs for this that would be better 03:54 -!- Uurguu [~gil@amontsouris-654-1-54-10.w90-2.abo.wanadoo.fr] has quit [Ping timeout: 276 seconds] 03:55 -!- Uurguu [~gil@amontsouris-654-1-54-10.w90-2.abo.wanadoo.fr] has joined #openbsd 03:56 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 03:56 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Read error: Connection reset by peer] 04:01 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 245 seconds] 04:02 * oldlaptop would reason that you probably need to send stuff to the cellphone thingy, which would probably involve writing to the device node. 04:15 -!- BasketCase [~BasketCas@syn-097-102-170-019.res.spectrum.com] has quit [Ping timeout: 244 seconds] 04:18 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 04:19 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has joined #openbsd 04:24 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 04:25 -!- yclept [~yclept@user/yclept] has quit [Remote host closed the connection] 04:30 -!- jonf_ [~jonf@c-73-199-154-254.hsd1.nj.comcast.net] has quit [Remote host closed the connection] 04:30 -!- jonf [~jonf@c-73-199-154-254.hsd1.nj.comcast.net] has joined #openbsd 04:34 -!- szilard_ [~szilard@1F2EFB1F.nat.pool.telekom.hu] has joined #openbsd 04:35 -!- rudi_s [~simon@user/rudi-s/x-7673890] has quit [Ping timeout: 248 seconds] 04:35 -!- RobbieAB [~robert@user/RobbieAB] has quit [Ping timeout: 252 seconds] 04:35 -!- szilard [~szilard@1F2EFCF5.nat.pool.telekom.hu] has quit [Ping timeout: 260 seconds] 04:37 -!- naoki [~Thunderbi@240f:10b:7440:1:986e:da6:5a6b:c7b6] has joined #openbsd 04:38 -!- rudi_s [~simon@user/rudi-s/x-7673890] has joined #openbsd 04:41 < ssm_> If that was the case, adb as root should have worked... I set /dev/usb1 to 660 but I still get the same `error: device not found`, and no request for pairing on the device 04:44 < ssm_> invoking `adb usb` is identical 04:50 -!- BasketCase [~BasketCas@syn-097-102-170-019.res.spectrum.com] has joined #openbsd 04:51 -!- RobbieAB [~robert@user/RobbieAB] has joined #openbsd 04:56 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 252 seconds] 04:59 -!- rudi_s [~simon@user/rudi-s/x-7673890] has quit [Ping timeout: 252 seconds] 05:01 -!- rudi_s [~simon@user/rudi-s/x-7673890] has joined #openbsd 05:01 -!- pabs3 [~pabs3@user/pabs3] has quit [Ping timeout: 252 seconds] 05:13 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 245 seconds] 05:20 -!- horrad [~Thunderbi@2003:a:61f:c901:9907:f2af:6ea5:44bb] has joined #openbsd 05:26 -!- SiFuh_ [~SiFuh@user/sifuh] has quit [Remote host closed the connection] 05:26 -!- SiFuh_ [~SiFuh@user/sifuh] has joined #openbsd 05:26 -!- Siva [~Siva@staff.lecturify.net] has quit [Quit: HakunaMatata] 05:28 -!- DragonMaus [~dragonmau@user/dragonmaus] has quit [Ping timeout: 260 seconds] 05:28 -!- DrachenMaus [~dragonmau@user/dragonmaus] has joined #openbsd 05:30 -!- pabs3 [~pabs3@user/pabs3] has joined #openbsd 05:34 -!- Yonle- [~Yonle@user/yonle] has quit [Quit: See you] 05:36 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 05:39 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 05:39 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 248 seconds] 05:39 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 05:42 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 05:44 -!- Siva [~Siva@staff.lecturify.net] has joined #openbsd 05:44 -!- bleb [~cm@user/bleb] has quit [Ping timeout: 252 seconds] 05:48 -!- bleb [~cm@user/bleb] has joined #openbsd 05:50 -!- echelon [~steerpike@gateway/tor-sasl/steerpike] has quit [Remote host closed the connection] 05:51 -!- dogg0 [~dogg0@user/dogg0] has quit [Ping timeout: 244 seconds] 05:52 -!- echelon [~steerpike@gateway/tor-sasl/steerpike] has joined #openbsd 05:54 -!- Yonle- [~Yonle@user/yonle] has joined #openbsd 06:15 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 06:18 -!- nodelay [~zack@user/nodelay] has joined #openbsd 06:20 < prahou> hi, can i teach httpd to treat unknown filetypes as plain text? 06:21 < ssm_> prahou: hi openbsd and plan9 release artist, is the `include` entry in httpd.conf(5) of use? 06:22 < ssm_> also see `type` and `default type` 06:22 < ssm_> those are actually more relevant than the former 06:23 < prahou> ah! default type should be it 06:23 < prahou> let me try 06:23 < IcePic> default type text/plain 06:24 < prahou> Wonderful! tysm 06:24 -!- ixc [~x@user/ixc] has quit [Read error: Connection reset by peer] 06:26 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 260 seconds] 06:29 -!- ixc [~x@user/ixc] has joined #openbsd 06:30 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 06:30 -!- shiranaihito_ [~shiranaih@ppp-124-122-194-137.revip2.asianet.co.th] has joined #openbsd 06:33 -!- raspbeguy [~raspbeguy@wireguard/tunneler/raspbeguy] has joined #openbsd 06:40 -!- adip [~adip@c145-14.icpnet.pl] has joined #openbsd 06:41 -!- itchy [~mr@user/itchy] has quit [Ping timeout: 245 seconds] 06:43 -!- itchy [~mr@user/itchy] has joined #openbsd 06:45 < mornfall> oh, talking of mime types and httpd… how do i set the default charset to utf-8? 06:48 -!- bluejaypop [~jose@user/josefig] has quit [Ping timeout: 268 seconds] 06:49 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 06:49 < prahou> mornfall: i have an answer for that! 06:50 < prahou> in types { 06:50 < prahou> "text"/"plain; charset=utf-8" txt 06:51 < mornfall> oh that works? lemme try 06:53 < mornfall> indeed, thanks! (it does look kinda hacky tho) 06:53 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 245 seconds] 06:54 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 06:54 < mornfall> it also somehow parsed even when i missed the initial " (and sent a bogus header) 06:56 < prahou> it is hacky, i guess 06:56 < prahou> i think otherwise you can set it up in relayd 06:56 -!- echelon [~steerpike@gateway/tor-sasl/steerpike] has quit [Remote host closed the connection] 06:57 -!- echelon [~steerpike@gateway/tor-sasl/steerpike] has joined #openbsd 06:58 -!- EtherNet [~ethernet@user/ethernet] has quit [Ping timeout: 268 seconds] 06:59 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 07:01 -!- memset_ [~memset@gateway/tor-sasl/memset] has joined #openbsd 07:01 < mornfall> i had that idea too, but it sounds a bit too roundabout 07:01 < mornfall> i'm sure the types hack is gonna bite me as soon as i forget about it ;-) 07:01 < mornfall> such is life 07:03 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Remote host closed the connection] 07:04 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 07:04 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 264 seconds] 07:08 -!- xx [~xx@user/xx] has joined #openbsd 07:09 -!- Exagone313 [exa@irc.moe] has joined #openbsd 07:10 -!- Exa [exa@irc.moe] has quit [Read error: Connection reset by peer] 07:11 -!- Exagone313 is now known as Exa 07:12 -!- bket [~bket@user/bket] has quit [Ping timeout: 252 seconds] 07:13 -!- bket [~bket@user/bket] has joined #openbsd 07:13 -!- shiranaihito_ [~shiranaih@ppp-124-122-194-137.revip2.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 07:15 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 264 seconds] 07:18 -!- sdds [~sdds@user/sdds] has joined #openbsd 07:22 -!- Nahual [~Nahual@centos/community/Nahual] has quit [Ping timeout: 276 seconds] 07:23 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Read error: Connection reset by peer] 07:23 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 07:26 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 272 seconds] 07:28 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 07:31 -!- jsto [~jsto@user/meow/jsto] has quit [Excess Flood] 07:34 -!- Nahual [~Nahual@centos/community/Nahual] has joined #openbsd 07:34 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 07:36 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 07:40 -!- shiranaihito_ [~shiranaih@ppp-171-96-204-185.revip8.asianet.co.th] has joined #openbsd 07:40 -!- EtherNet [~ethernet@user/ethernet] has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in] 07:46 -!- EtherNet [~ethernet@user/ethernet] has joined #openbsd 07:47 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 248 seconds] 07:47 -!- monolith [~rm@p54872c19.dip0.t-ipconnect.de] has joined #openbsd 07:49 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 248 seconds] 07:51 -!- b50d [~b50d@62.96.54.30] has joined #openbsd 07:52 -!- ewig [~ewig@user/ewig] has joined #openbsd 07:55 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 07:56 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 07:59 -!- sdds [~sdds@user/sdds] has joined #openbsd 08:03 -!- CrimeWave [~Montreal@user/CrimeWave] has quit [Quit: Textual IRC 7.2.5 2025 OSX] 08:05 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 244 seconds] 08:08 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 08:09 -!- yclept [~yclept@user/yclept] has joined #openbsd 08:13 < rIMpossible> Hello. I have autogroups in .cwmrc . All applications are on the corresponding group screens. Libreoffice is always omnipresent. any idea? 08:15 < rIMpossible> I checked output of xprop for the libreoffice-writer and WM_CLASS(STRING) = "libreoffice", "libreoffice-writer" and that's what I have in autogoup 4. 08:15 < rIMpossible> s/autogoup/autogroup 08:16 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 08:20 < anelli> rIMpossible: can you try a cwm reload? there should be a config key for it. sometimes it fixes windows that are bugging for me 08:22 < rIMpossible> anelli: thank you, but did apparently not help, even relogin did not work 08:23 -!- BillyZane [~BillyZane@user/BillyZane] has quit [Read error: Connection reset by peer] 08:23 < rIMpossible> Have there been major changes in 7.6 and 7.7 in cwm, so that there is additional care necessary? 08:23 < anelli> rIMpossible: hm weird. do you have `sticky yes'? 08:23 < anelli> in your .cwmrc 08:23 < rIMpossible> anelli: no 08:24 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 252 seconds] 08:24 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 08:24 < anelli> rIMpossible i think it's needed to get "multiple desktops" 08:24 < anelli> like virtual desktops or tags 08:25 < anelli> but as for 7.6->7.7 nah all the same here 08:25 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 08:26 < rIMpossible> anelli: my last change in the .cwmrc config was with 7.4, so I have this config untouched since 3-4 versions 08:27 -!- daugaard [~daugaard@user/daugaard] has joined #openbsd 08:27 < anelli> rIMpossible: 08:27 < anelli> it's still good to check everything. can you upload it? 08:27 < rIMpossible> yes, wait 08:28 -!- BillyZane [~BillyZane@user/BillyZane] has joined #openbsd 08:28 < anelli> paste.debian.net is gud 08:30 < Posterdati> hi 08:30 < Posterdati> please is there anyone experienced xfce4 desktop freezes on amd apu? 08:31 -!- naoki [~Thunderbi@240f:10b:7440:1:986e:da6:5a6b:c7b6] has quit [Quit: naoki] 08:35 < Posterdati> :( 08:35 -!- sinvet [~sinvet@user/sinvet] has joined #openbsd 08:35 < rIMpossible> anelli: there is my .cwmrc https://pastebin.com/P5QAqkft 08:36 < rIMpossible> where is the pastebin on bsd.ac gone? 08:38 -!- bluejaypop [~jose@user/josefig] has joined #openbsd 08:39 < rIMpossible> ok, seems to be back in service :) 08:40 -!- jsolano [~juan@li2042-246.members.linode.com] has quit [Quit: leaving] 08:42 -!- jsolano [~juan@li2042-246.members.linode.com] has joined #openbsd 08:47 < Posterdati> no errors in logs 08:49 -!- gid [~gid@user/gid] has quit [Quit: Leaving] 08:50 -!- gid [~gid@user/gid] has joined #openbsd 08:53 < anelli> rIMpossible: not sure tbh 08:54 < anelli> i say backup this .cwmrc and start a new with a simple one to rule out config errors 08:55 -!- monolith [~rm@p54872c19.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 08:56 < anelli> i'm gathering that you want dwm-like behavior so here's a good config to start with https://nein.triapul.cz/openbsd/cwm/ 08:56 < anelli> then gradually add autogroups and test it out 08:58 -!- monolith [~rm@p54872c19.dip0.t-ipconnect.de] has joined #openbsd 08:59 -!- ChubaDuba [~ChubaDuba@176.212.34.63] has joined #openbsd 09:00 -!- memset_ [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 264 seconds] 09:00 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 09:01 -!- sdds [~sdds@user/sdds] has joined #openbsd 09:02 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 09:03 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 272 seconds] 09:04 -!- RobbieAB [~robert@user/RobbieAB] has quit [Read error: Connection reset by peer] 09:04 -!- RobbieAB [~robert@user/RobbieAB] has joined #openbsd 09:07 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 264 seconds] 09:07 -!- comradeCrow [~comradeCr@99-110-128-132.lightspeed.irvnca.sbcglobal.net] has quit [Ping timeout: 276 seconds] 09:23 -!- sdds [~sdds@user/sdds] has joined #openbsd 09:29 -!- szilard_ [~szilard@1F2EFB1F.nat.pool.telekom.hu] has quit [Remote host closed the connection] 09:29 -!- szilard [~szilard@1F2EFB1F.nat.pool.telekom.hu] has joined #openbsd 09:30 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 09:32 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 09:33 -!- chiselfu1e [~chiselfus@user/chiselfuse] has joined #openbsd 09:35 -!- chiselfuse [~chiselfus@user/chiselfuse] has quit [Ping timeout: 264 seconds] 09:50 < rIMpossible> anelli: thank you a lot. I will coldstart with your config to analyze 09:53 -!- beca [sid516755@id-516755.tinside.irccloud.com] has joined #openbsd 09:54 -!- \subline [~join_subl@69-165-245-79.cable.teksavvy.com] has joined #openbsd 09:58 -!- \subline [~join_subl@69-165-245-79.cable.teksavvy.com] has quit [Ping timeout: 252 seconds] 09:59 -!- \subline [~join_subl@69-165-245-79.cable.teksavvy.com] has joined #openbsd 10:00 -!- frogprog [~frogprog@user/frogprog] has quit [Read error: Connection reset by peer] 10:02 -!- frogprog [~frogprog@user/frogprog] has joined #openbsd 10:03 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 10:06 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 10:17 -!- CrashOverride [~strcat@p54855153.dip0.t-ipconnect.de] has joined #openbsd 10:17 -!- morte [~user@user/monkey/x-0691028] has quit [Read error: Connection reset by peer] 10:26 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.4.2] 10:26 -!- blaa [~bla@91.234.125.131] has joined #openbsd 10:28 -!- bla [~bla@91.234.125.131] has quit [Ping timeout: 265 seconds] 10:29 -!- tarxvfz [~tarxvfz@gateway/tor-sasl/tarxvfz] has joined #openbsd 10:31 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 10:38 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Ping timeout: 264 seconds] 10:41 -!- blaa [~bla@91.234.125.131] has quit [Ping timeout: 252 seconds] 10:42 -!- bla [~bla@91.234.125.131] has joined #openbsd 10:44 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 10:45 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 10:45 < anelli> rIMpossible: it's not mine :b but yeah goodluck! 10:49 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 245 seconds] 10:53 -!- Karag0 [~Karag0@46.63.189.19] has joined #openbsd 11:00 -!- deepesttoaster [~deepestto@user/deepesttoaster] has quit [Remote host closed the connection] 11:00 -!- seninha [~seninha@user/seninha] has joined #openbsd 11:06 -!- Karag0 [~Karag0@46.63.189.19] has quit [Quit: Client closed] 11:06 -!- deepesttoaster [~deepestto@user/deepesttoaster] has joined #openbsd 11:17 -!- Traene [~Slesa@dslb-002-207-232-178.002.207.pools.vodafone-ip.de] has joined #openbsd 11:19 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 11:21 < rIMpossible> Thx 11:23 -!- noone [~six@user/six] has quit [Quit: nyaa~] 11:24 -!- lavaball [~Melissa@31.204.155.215] has quit [Ping timeout: 244 seconds] 11:35 -!- ublx [~ublx@user/ublx] has joined #openbsd 11:38 -!- nedko [~nedko@gateway/tor-sasl/nedko] has quit [Quit: kernel panic] 11:44 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 11:48 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 252 seconds] 11:50 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 11:52 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 11:56 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 11:57 -!- gatlinggoat [~Thunderbi@172.59.209.220] has joined #openbsd 11:58 -!- nedko [~nedko@gateway/tor-sasl/nedko] has joined #openbsd 12:02 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 12:05 -!- mo8 [~mo8@user/mo8] has joined #openbsd 12:05 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 12:06 -!- mtoy [~mtoy@user/mtoy] has quit [Ping timeout: 240 seconds] 12:06 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 12:06 < mo8> I think my Laptop has some hardware issues as I have crashed on NixOS and OpenBSD (display freeze,caps lock unresponsive, and I don't remember if this happened on OpenBSD or only NixOS but the last second of sound would loop). My question is where can I find logs to find what causes it. Also I installed my new wifi card and ran fw_update to install iwx, but in GNOME the settings menu doesn't show a 12:07 < mo8> place for wi-fi, like it does on NixOS, is this expected and I just have to use CLI to add wi-fi or is something wrong with my GNOME install. 12:07 -!- mtoy [~mtoy@user/mtoy] has joined #openbsd 12:11 * FenderQ would run memtest86 on suspect hardware 12:14 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Remote host closed the connection] 12:14 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 12:16 < megaTherion> just get a non-broken device :) 12:17 -!- gatlinggoat [~Thunderbi@172.59.209.220] has quit [Read error: Connection reset by peer] 12:17 -!- gatlinggoat1 [~Thunderbi@172.59.209.220] has joined #openbsd 12:18 < mo8> I don't want to buy a new laptop I love my ThinkPad 12:19 < mo8> Did I get disconnected? 12:19 -!- mo8 [~mo8@user/mo8] has quit [Remote host closed the connection] 12:19 < megaTherion> *lol* 12:19 -!- gatlinggoat1 is now known as gatlinggoat 12:19 -!- mo8 [~mo8@user/mo8] has joined #openbsd 12:20 < megaTherion> mo8: then live with broken hw 12:20 < mo8> Wi-Fi works though I disconnected my Ethernet cable 12:21 < mo8> Now to look into memtest86, thanks for the reccomendation 12:23 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 264 seconds] 12:24 < RobbieAB> random crashes and lockups could be dodgy memory, but... Did you have these problems before you installed the new wifi card? 12:24 -!- alx^ [~alx@195.15.28.34] has joined #openbsd 12:24 < RobbieAB> I mean, a messed up PCIe device is a great way to take out a system. 12:25 < mo8> No, I am worried I plugged in the main and aux wires the wrong way around, and now on my new intel one I also have them plugged the same way, no crashes yet this is my first boot using the intel one 12:26 < megaTherion> thats not a problem how they are plugged in 12:27 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 260 seconds] 12:28 -!- horrad [~Thunderbi@2003:a:61f:c901:9907:f2af:6ea5:44bb] has quit [Remote host closed the connection] 12:29 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 12:29 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has joined #openbsd 12:30 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 12:30 -!- mo8 [~mo8@user/mo8] has quit [Quit: Client closed] 12:33 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has joined #openbsd 12:34 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has quit [Client Quit] 12:37 -!- gatlinggoat [~Thunderbi@172.59.209.220] has quit [Remote host closed the connection] 12:37 -!- gatlinggoat [~Thunderbi@2607:fb90:9326:96e:99f8:f2a3:4ac7:a810] has joined #openbsd 12:38 < oldlaptop> mo8: The reasons a broken PCIe device could cause problems don't have anything to do with which antenna wire you connected to which socket. (Those little antenna sockets *are* a likely point for ESD damage, though.) 12:39 -!- lolok [~lolok@user/lolok] has quit [Quit: lolok] 12:40 < sibiria> if the different antennas are of different significant lengths (for different optical wavelengths) you'll at best experience a bit of signal attenuation, at worst impedence mismatch which can stress transceiver amplifier 12:40 < oldlaptop> What you're describing sounds like it could be an 'interrupt storm', which would fit pretty well with RobbieAB's idea. (If that's what's going on you might see evidence in dmesg.) 12:41 < oldlaptop> or perhaps I should say on the console (openbsd) or in syslog (openbsd or linux) - going to be hard to run dmesg(8) after the system's down. 12:44 < oldlaptop> ...and he's gone anyway. :( dammit 12:44 < megaTherion> thats how it is with broken HW :D 12:45 < oldlaptop> :| 12:45 < RobbieAB> And sometimes even broken software... 12:45 < sibiria> sell it and buy a bicycle 12:45 < megaTherion> buy a mac 12:45 < megaTherion> but bicycle is good for health :) 12:45 < RobbieAB> I was one of the independent discoverers of a PCIe bus set-up bug in the Linux kernel. 12:45 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 248 seconds] 12:45 < megaTherion> Linux 12:46 < megaTherion> *ugh* 12:46 < RobbieAB> Didn't impact amd64 (or ARM, IIRC) 12:46 < RobbieAB> But did hurt the powerpc systems. For me, the trigger was audio, the other trigger identified was video. 12:46 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 12:48 < RobbieAB> megaTherion: I run both. I can't go openBSD on a handful of my personal systems as I need to run a proprietary binary. Plus I get paid to be good at Linux 12:48 < remiliascarlet> megaTherion: Proper nutrition is good for health, nothing else matters. 12:50 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has joined #openbsd 12:50 < megaTherion> RobbieAB: payment is a good excuse for Linux :) 12:51 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has quit [Client Quit] 12:51 -!- horsegoosemeth [~horsegoos@pa49-178-147-141.pa.nsw.optusnet.com.au] has joined #openbsd 12:52 -!- horsegoosemeth [~horsegoos@pa49-178-147-141.pa.nsw.optusnet.com.au] has quit [Client Quit] 12:52 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 12:52 < RobbieAB> Exactly. Work want Linux, I want money. 12:52 -!- comradeCrow [~comradeCr@99-110-128-132.lightspeed.irvnca.sbcglobal.net] has joined #openbsd 12:52 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has joined #openbsd 12:56 < horsegoosemeth> Hi I see acpitiz (or something) messages on stdout following a clean/fresh installation of this OS on a Lenovo Ideapad laptop which has an Qualcomm Snapdragon X Plus processor. Which is ARM64... The messages write, temperature is 0C system powering off... How may I halt these messages and remedy the issue preventing me from using this laptop..? 12:56 < horsegoosemeth> :-( 12:56 < horsegoosemeth> Please let me know... 12:56 -!- gnucode [~gnucode@user/jab] has joined #openbsd 12:56 < horsegoosemeth> Which text file should I edit..? 12:57 -!- jsto [~jsto@user/meow/jsto] has quit [Ping timeout: 244 seconds] 12:57 < horsegoosemeth> To stop these acpi messages and the false identification of overheating CPU causing the system to power off, before I am able to even login to it..? 12:58 < horsegoosemeth> The messages are displayed almost immediately on powering on the system and bring the system to power down upon completing the boot process... 12:59 < sibiria> with openbsd, you cannot 13:00 < sibiria> there is no support yet for CPU idling on Arm 13:00 < sibiria> always runs at 100% clock frequency 13:02 < horsegoosemeth> Oh no... 13:02 < horsegoosemeth> Wow. 13:02 < horsegoosemeth> Jeez... 13:02 < horsegoosemeth> Okay thank you. 13:03 < sibiria> what do you get from: sysctl hw.setperf 13:03 < sibiria> should say "not supported" 13:05 < horsegoosemeth> I've not checked what that software says... 13:05 -!- donofrio [~donofrio@68.60.130.115] has quit [Remote host closed the connection] 13:05 < horsegoosemeth> I may then try armbian ... 13:05 < horsegoosemeth> But why then is there a release of OpenBSD for ARM64..? 13:06 < horsegoosemeth> :-| 13:06 < sibiria> because it's useful in tons of scenarios despite not being complete.... 13:08 -!- feriman [~feriman@user/feriman] has joined #openbsd 13:09 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 13:09 -!- apotheon [~apotheon@copyfree/founder/apotheon] has quit [Ping timeout: 252 seconds] 13:09 -!- apotheon [~apotheon@copyfree/founder/apotheon] has joined #openbsd 13:10 < IcePic> even if one machine overheats, there are still hundreds or thousands of other arm64 platforms where thermal shutdown isnt an issue or even exist 13:13 < horsegoosemeth> I see... 13:13 -!- Traene [~Slesa@dslb-002-207-232-178.002.207.pools.vodafone-ip.de] has quit [Remote host closed the connection] 13:15 * oldlaptop wouldn't just assume the thermal sensors and so on are working correctly/supported either 13:16 -!- xs [~xs@user/xs] has quit [Quit: Cheers!] 13:16 < oldlaptop> in particular I'd accuse any system that invariably overheats if it's run without frequently scaling for a minute or two of having plainly inadequate cooling 13:16 < oldlaptop> (and I'd kind of suspect that this particular machine will exhibit the same symptoms if run in a freezer, or whatever) 13:17 -!- xs [~xs@user/xs] has joined #openbsd 13:17 < IcePic> yes, and at least once on a hp laptop, the sensor needed scaling down like 100:1, it would report the cpu being 5000 degress and then do thermal shutdown 13:17 -!- ewig [~ewig@user/ewig] has quit [Read error: Connection reset by peer] 13:17 < IcePic> degrees* 13:18 < oldlaptop> That would bring a whole new meaning to 'thermal shutdown' 13:18 -!- ewig [~ewig@user/ewig] has joined #openbsd 13:19 -!- enwu [~enwu@user/enwu] has quit [Ping timeout: 252 seconds] 13:20 -!- toxic063 [~toxic0@82.66.203.96] has quit [Remote host closed the connection] 13:21 -!- toxic063 [~toxic0@82.66.203.96] has joined #openbsd 13:25 < horsegoosemeth> Lol yes, another member told to me at a time that frequency scaling is not supported on ARM64 whatsoever. 13:25 < anexit> is there a way to tell if someone pushes a power button on openbsd? 13:25 < horsegoosemeth> And that this was the reason behind this unprecedented thermal shutdown. 13:26 < IcePic> anexit: https://man.ifconfig.se/acpibtn.4 13:32 -!- miojo [~user@177.37.133.221] has joined #openbsd 13:34 < anexit> so setting this to zero would basically disable that button; 13:34 < anexit> hw.allowpowerdown=0 13:34 -!- enwu [~enwu@user/enwu] has joined #openbsd 13:38 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has joined #openbsd 13:38 -!- umgeher [~umgeher@189.79.114.197] has joined #openbsd 13:38 -!- umgeher [~umgeher@189.79.114.197] has quit [Changing host] 13:38 -!- umgeher [~umgeher@user/umgeher] has joined #openbsd 13:41 -!- gatlinggoat [~Thunderbi@2607:fb90:9326:96e:99f8:f2a3:4ac7:a810] has quit [Ping timeout: 276 seconds] 13:41 -!- psydroid2 [~psydroid@user/psydroid] has joined #openbsd 13:41 -!- daugaard [~daugaard@user/daugaard] has quit [Ping timeout: 248 seconds] 13:46 < anexit> IcePic: thanks.. still keeps rebooting so maybe it's something else. 13:51 < anexit> anyway to debug this? 13:52 -!- d-ra [~d-ra@user/d-ra] has joined #openbsd 13:52 < anexit> ddb.panic=1 13:52 < anexit> ddb.console=0 13:52 < anexit> ddb.log=1 13:53 < IcePic> anexit: depending on your securelevel, changing that sysctl might not take effect unless its done during boot 13:53 < IcePic> https://man.ifconfig.se/securelevel.7 <- mentioned there at level 1 13:53 < anexit> it's up for about 10 minutes and reboots 13:55 < anexit> where does ddb log too? 13:56 < oldlaptop> ...You probably need to explain in detail what's actually going on if you want useful help from random IRC people. 13:56 < anexit> Router just reboots every 10 minutes. This just started. 13:56 < anexit> Nothing was changed, Openbsd 7.6 13:58 -!- user71 [~user71@2001:1530:1001:6590:1bc8:47ad:b097:5e0c] has joined #openbsd 14:00 * oldlaptop would not expect the power button to be involved with this at all 14:00 < anexit> acpibtn was triggered but now I don't see that in dmesg. 14:01 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 252 seconds] 14:01 < anexit> https://paste.fuckingjuniper.com/?8a4acfbaeaedf323#NoBIxPDgih8vkQR9SordOMqZgqzVPBN8QFRI3o5XJ78= 14:02 * oldlaptop categorically refuses to turn on javascript for "private" pastebins - there certainly is no longer any privacy given that you just pasted the private key for 700+ nicks 14:02 < oldlaptop> I'd wonder about the power supply. 14:02 < anexit> yeah 14:03 < anexit> might be hardware related. 14:03 < anexit> yay... 14:03 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has joined #openbsd 14:04 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 260 seconds] 14:05 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 14:07 -!- b50d [~b50d@62.96.54.30] has quit [Remote host closed the connection] 14:13 -!- jupiter_ [~jupiter12@178.254.111.239] has joined #openbsd 14:15 < mischief> seems there's no lcov or gcovr in packages :-( 14:15 < mischief> how do people do code coverage 14:16 -!- jupiter126 [~jupiter12@178.254.111.239] has quit [Ping timeout: 252 seconds] 14:18 -!- cantelope [uid598105@id-598105.hampstead.irccloud.com] has joined #openbsd 14:18 -!- enwu [~enwu@user/enwu] has quit [Ping timeout: 244 seconds] 14:19 -!- maccampus [~maccampus@user/maccampus] has joined #openbsd 14:20 -!- lavaball [~Melissa@31.204.155.215] has quit [Ping timeout: 244 seconds] 14:28 -!- adg [~agentil@11.46.64.81.rev.sfr.net] has joined #openbsd 14:30 -!- leo__ [~leo@arioch.leonhardt.eu] has quit [Quit: leaving] 14:30 -!- wnh [~Thunderbi@user/wnh] has joined #openbsd 14:31 -!- tyfon [~tyfon@user/tyfon] has joined #openbsd 14:31 -!- enwu [~enwu@user/enwu] has joined #openbsd 14:35 -!- fflam [~mdt@2600:4040:1100:cc00::1c19] has quit [Read error: Connection reset by peer] 14:37 -!- fflam [~mdt@2600:4040:1100:cc00::1c19] has joined #openbsd 14:38 -!- jsto [~jsto@user/meow/jsto] has joined #openbsd 14:41 -!- Intrix [~Intrix@177.107.245.23] has joined #openbsd 14:43 -!- Intrix [~Intrix@177.107.245.23] has quit [Remote host closed the connection] 14:43 -!- Intrix [~Intrix@177.107.245.23] has joined #openbsd 14:44 -!- leo_ [~leo@arioch.leonhardt.eu] has joined #openbsd 14:45 -!- Intrix [~Intrix@177.107.245.23] has quit [Changing host] 14:45 -!- Intrix [~Intrix@user/Intrix] has joined #openbsd 14:49 < Intrix> Hello oldlaptop 15:00 -!- horrad [~Thunderbi@p50989fe8.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 15:03 -!- ublx [~ublx@user/ublx] has joined #openbsd 15:14 -!- skydoge [~doge@user/skydoge] has quit [Ping timeout: 244 seconds] 15:15 -!- skydoge [~doge@user/skydoge] has joined #openbsd 15:30 -!- seninha [~seninha@user/seninha] has joined #openbsd 15:38 -!- ChubaDuba [~ChubaDuba@176.212.34.63] has quit [Quit: WeeChat 4.6.3] 15:48 < mischief> i was able to install gcovr with pipx. i wonder why there's no port 15:49 < mischief> Lucas_: any thoughts? :-) 15:54 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Ping timeout: 264 seconds] 15:55 -!- adg [~agentil@11.46.64.81.rev.sfr.net] has quit [Remote host closed the connection] 15:57 -!- gatlinggoat [~Thunderbi@172.59.214.14] has joined #openbsd 16:01 -!- _wnh_ [~Thunderbi@user/wnh] has joined #openbsd 16:01 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 16:02 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 16:02 -!- wnh [~Thunderbi@user/wnh] has quit [Ping timeout: 248 seconds] 16:02 -!- _wnh_ is now known as wnh 16:06 -!- Slesa [~Slesa@85.95.216.35] has joined #openbsd 16:07 < Intrix> mischief, Hi 16:08 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.4.2] 16:13 -!- horsegoosemeth [~horsegoos@user/horsegoosemeth] has quit [Ping timeout: 276 seconds] 16:31 -!- gatlinggoat [~Thunderbi@172.59.214.14] has quit [Ping timeout: 260 seconds] 16:41 -!- anelli [~noodle@user/macarona] has quit [Read error: Connection reset by peer] 16:41 -!- anelli [~noodle@user/macarona] has joined #openbsd 16:43 -!- cgnarne [~pk@2001-4dd1-fc18-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has joined #openbsd 16:43 -!- cgnarne [~pk@2001-4dd1-fc18-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has quit [Changing host] 16:43 -!- cgnarne [~pk@user/cgnarne] has joined #openbsd 16:44 -!- cgnarne- [~pk@2001-4dd1-6106-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has quit [Ping timeout: 248 seconds] 16:49 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 16:56 -!- cgnarne_ [~pk@cgn-89-0-4-247.nc.de] has joined #openbsd 16:57 -!- cgnarne [~pk@user/cgnarne] has quit [Ping timeout: 252 seconds] 16:59 -!- travltux [~travltux@user/travltux] has joined #openbsd 17:00 -!- d-ra [~d-ra@user/d-ra] has quit [Remote host closed the connection] 17:12 -!- prahou is now known as prahoax 17:14 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 17:15 -!- jason123onirc is now known as jasonjasononirc 17:16 -!- jasonjasononirc is now known as jason123onirc 17:16 -!- jason123onirc is now known as json123onirc 17:17 -!- daugaard [~daugaard@user/daugaard] has joined #openbsd 17:17 -!- krl [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 17:23 -!- gatlinggoat [~Thunderbi@172.59.212.36] has joined #openbsd 17:26 -!- dogg0 [~dogg0@user/dogg0] has joined #openbsd 17:27 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 17:27 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 17:28 -!- wnh [~Thunderbi@user/wnh] has quit [Remote host closed the connection] 17:29 -!- cgnarne [~pk@2001-4dd1-fdec-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has joined #openbsd 17:29 -!- cgnarne [~pk@2001-4dd1-fdec-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has quit [Changing host] 17:29 -!- cgnarne [~pk@user/cgnarne] has joined #openbsd 17:30 -!- jambove_ [~jambove@BC063B67.dsl.pool.telekom.hu] has quit [Ping timeout: 276 seconds] 17:31 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 17:32 -!- jambove [~jambove@BC063FFD.dsl.pool.telekom.hu] has joined #openbsd 17:32 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 252 seconds] 17:33 -!- cgnarne_ [~pk@cgn-89-0-4-247.nc.de] has quit [Ping timeout: 276 seconds] 17:34 -!- sandbag [~sandbag@user/sandbag] has joined #openbsd 17:39 -!- cgnarne_ [~pk@cgn-89-0-52-21.nc.de] has joined #openbsd 17:39 -!- e-Ltning [~ltning@anduin.net] has joined #openbsd 17:39 -!- passstab [~passstab@71.224.209.64] has joined #openbsd 17:39 -!- cgnarne [~pk@user/cgnarne] has quit [Ping timeout: 252 seconds] 17:40 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 252 seconds] 17:40 < passstab> I was just trying to update my snapshot and it says that / is full. 17:40 -!- cgnarne [~pk@cgn-89-0-5-220.nc.de] has joined #openbsd 17:40 -!- cgnarne [~pk@cgn-89-0-5-220.nc.de] has quit [Changing host] 17:40 -!- cgnarne [~pk@user/cgnarne] has joined #openbsd 17:41 -!- daugaard [~daugaard@user/daugaard] has quit [Ping timeout: 276 seconds] 17:42 -!- uncleyear [~ian@178.66.131.172] has quit [Ping timeout: 260 seconds] 17:42 -!- Ltning [~ltning@anduin.net] has quit [Ping timeout: 260 seconds] 17:42 -!- e-Ltning is now known as Ltning 17:42 -!- uncleyear [~ian@178.66.131.172] has joined #openbsd 17:43 < oldlaptop> passstab: Investigating from null assumptions, you could try mounting only / from bsd.rd or something, and running a du on it. (would imply mounting /usr under another mount point, if du isn't in bsd.rd's crunchgenned toolset) 17:43 < oldlaptop> From experience, make sure you haven't accidentally created a large regular file under /dev. 17:43 -!- cgnarne_ [~pk@cgn-89-0-52-21.nc.de] has quit [Ping timeout: 248 seconds] 17:46 < passstab> du -h /dev/ 17:46 < passstab> gives 848M in /dev/ 17:46 < oldlaptop> Sure sounds like you accidentally created a large regular file under /dev. 17:47 < RobbieAB> oldlaptop: Or any other mount point, I assume? 17:47 < oldlaptop> RobbieAB: ...I don't understand the question. 17:47 < zelest> 42.0K /dev 17:47 < zelest> :D 17:47 < zelest> cd /dev && du -sh * | sort -h 17:48 < RobbieAB> oldlaptop: Fun ways to have du and df not match: Files under the mount points 17:48 -!- sandbag [~sandbag@user/sandbag] has quit [Ping timeout: 265 seconds] 17:48 < pardis> or ls -lhrS /dev 17:49 < thrig> du has a -x flag for some reason 17:49 -!- gatlinggoat [~Thunderbi@172.59.212.36] has quit [Ping timeout: 252 seconds] 17:49 < oldlaptop> That's why I would suggest doing that from bsd.rd or something - you'd mount the running system's / under /mnt, and (if necessary) its /usr under /mnt2 17:49 < passstab> hmm, this comes from ls -l /dev/ 17:49 < passstab> -rw-r--r-- 1 root wheel 888553472 May 20 12:56 sd1 17:49 < oldlaptop> Or du -x. That makes a lot more sense. 17:49 -!- cobra [~cobra@user/Cobra] has joined #openbsd 17:50 < passstab> Maybe I missused dd and and copied the external drive to the disk? 17:50 < RobbieAB> does du -x descend into the directories mounted over? 17:50 < oldlaptop> passstab: Generally speaking this happens because you did something like `dd if=my-favorite.iso of=/dev/sd1`, instead of `dd if=my-favorite.iso of=/dev/sd1c` 17:50 < pardis> the discussion about mount points isn't really relevant here since neither /dev nor anything under it is a mount point on a normal OpenBSD system 17:51 < oldlaptop> There is no such device node as /dev/sd1 (not created by MAKEDEV anyway), so that would create a regular file named /dev/sd1. 17:51 < oldlaptop> There is not very much room under / for such regular files. 17:51 < passstab> ok, so I should just remove it? 17:51 < pardis> yes 17:51 < oldlaptop> Unless you're worried it's your only copy of your-favorite.iso or something. 17:52 < oldlaptop> (It doesn't belong in /dev in any case.) 17:52 < pardis> even in that situation, if / is full it is likely a truncated file 17:52 < oldlaptop> Yeah. 17:52 < passstab> Thank you 17:52 -!- passstab [~passstab@71.224.209.64] has quit [Remote host closed the connection] 17:57 -!- k2patel [~k2patel@user/k2patel] has quit [Quit: k2patel] 17:57 < mischief> another satisfied customer 17:59 -!- euphores [~SASL_euph@user/euphores] has quit [Quit: Leaving.] 18:00 -!- cgnarne_ [~pk@cgn-89-0-2-0.nc.de] has joined #openbsd 18:01 -!- k2patel [~k2patel@user/k2patel] has joined #openbsd 18:02 -!- k2patel [~k2patel@user/k2patel] has quit [Client Quit] 18:03 -!- k2patel [~k2patel@user/k2patel] has joined #openbsd 18:03 -!- cgnarne [~pk@user/cgnarne] has quit [Ping timeout: 272 seconds] 18:05 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 248 seconds] 18:05 < RobbieAB> thrig: And I was right, if you mount a filesystem on a mount point that already contains a large file, du -x won't show the large file (though it will prevent du from looking into the mounted filesystem) 18:07 -!- aosync is now known as not 18:07 -!- euphores [~SASL_euph@user/euphores] has joined #openbsd 18:07 -!- not is now known as vivada 18:12 -!- vivada is now known as aosync 18:14 -!- ChubaDuba [~ChubaDuba@176.212.46.118] has joined #openbsd 18:17 -!- cgnarne [~pk@cgn-89-0-3-20.nc.de] has joined #openbsd 18:17 -!- cgnarne [~pk@cgn-89-0-3-20.nc.de] has quit [Changing host] 18:17 -!- cgnarne [~pk@user/cgnarne] has joined #openbsd 18:19 -!- jpoc [~jpoc@centos/qa/jpoc] has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in] 18:22 -!- cgnarne_ [~pk@cgn-89-0-2-0.nc.de] has quit [Ping timeout: 276 seconds] 18:22 -!- cobra [~cobra@user/Cobra] has joined #openbsd 18:22 -!- jpoc [~jpoc@centos/qa/jpoc] has joined #openbsd 18:39 -!- f_ is now known as f_|DEPRECATED 18:46 -!- daugaard [~daugaard@user/daugaard] has joined #openbsd 18:47 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 18:55 -!- wnh [~Thunderbi@user/wnh] has joined #openbsd 18:57 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 18:57 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 19:02 -!- umgeher [~umgeher@user/umgeher] has quit [Quit: afk] 19:05 -!- mIRC-rockcavera2 [~mirc-rc@179.235.202.169] has joined #openbsd 19:05 -!- mIRC-rockcavera2 is now known as oraculo 19:05 -!- oraculo is now known as Guest8287 19:05 -!- Guest8287 [~mirc-rc@179.235.202.169] has quit [Killed (silver.libera.chat (Nickname regained by services))] 19:05 -!- mIRC-rockcavera2 [~mirc-rc@179.235.202.169] has joined #openbsd 19:05 -!- mIRC-rockcavera2 is now known as oraculo 19:05 -!- oraculo [~mirc-rc@179.235.202.169] has quit [Killed (lead.libera.chat (Nickname regained by services))] 19:06 -!- mIRC-rockcavera2 [~mirc-rc@179.235.202.169] has joined #openbsd 19:06 -!- mIRC-rockcavera2 is now known as oraculo 19:12 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 252 seconds] 19:13 -!- zero-xray3 [~nonlinear@user/nonlinear] has joined #openbsd 19:15 -!- zero-xray [~nonlinear@user/nonlinear] has quit [Ping timeout: 252 seconds] 19:15 -!- zero-xray3 is now known as zero-xray 19:16 -!- Intrix [~Intrix@user/Intrix] has quit [Ping timeout: 265 seconds] 19:17 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 252 seconds] 19:21 -!- jgh_ [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 19:23 -!- drkDark_ [~dark@45.32.176.184] has quit [Ping timeout: 252 seconds] 19:23 -!- textmode [~textmode@81-225-81-228-no205.tbcn.telia.com] has joined #openbsd 19:24 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Ping timeout: 252 seconds] 19:25 -!- drkDark [~dark@45.32.176.184] has joined #openbsd 19:25 -!- Stx [stx@libera/staff/stx] has quit [Remote host closed the connection] 19:26 -!- Stx [stx@libera/staff/stx] has joined #openbsd 19:26 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 19:26 -!- maccampus [~maccampus@user/maccampus] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 19:29 -!- fro [fro@humpty.dance] has quit [Remote host closed the connection] 19:30 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 19:36 -!- Slesa [~Slesa@85.95.216.35] has quit [Remote host closed the connection] 19:42 -!- Slesa [~Slesa@85.95.216.35] has joined #openbsd 19:44 -!- Traene [~Slesa@85.95.216.35] has joined #openbsd 19:44 -!- Slesa [~Slesa@85.95.216.35] has quit [Client Quit] 19:46 -!- user71 [~user71@2001:1530:1001:6590:1bc8:47ad:b097:5e0c] has quit [Quit: Leaving] 19:48 -!- seninha [~seninha@user/seninha] has quit [Ping timeout: 248 seconds] 19:50 -!- textmode [~textmode@81-225-81-228-no205.tbcn.telia.com] has left #openbsd [] 19:54 -!- fro [fro@humpty.dance] has joined #openbsd 19:59 -!- xx [~xx@user/xx] has quit [Ping timeout: 264 seconds] 20:02 -!- ublx [~ublx@user/ublx] has joined #openbsd 20:14 -!- djhankb [~djhankb@208.113.164.68] has quit [Ping timeout: 248 seconds] 20:15 -!- djhankb [~djhankb@208.113.164.68] has joined #openbsd 20:16 -!- cobra [~cobra@user/Cobra] has quit [Ping timeout: 252 seconds] 20:20 -!- djhankb [~djhankb@208.113.164.68] has quit [Ping timeout: 276 seconds] 20:22 -!- Traene [~Slesa@85.95.216.35] has quit [Remote host closed the connection] 20:24 -!- CrashOverride [~strcat@p54855153.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 20:27 -!- djhankb [~djhankb@208.113.164.68] has joined #openbsd 20:29 -!- finsternis [~X@23.226.237.192] has joined #openbsd 20:31 -!- Aedil [~adrian@ipbcc10313.dynamic.kabel-deutschland.de] has quit [Ping timeout: 248 seconds] 20:32 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has quit [Quit: leaving] 20:36 -!- vulpine [xfnw@user/meow/xfnw] has quit [Quit: Connection reset by purr] 20:37 -!- cobra [~cobra@user/Cobra] has joined #openbsd 20:38 -!- vulpine [~xfnw@user/meow/xfnw] has joined #openbsd 20:39 -!- ewig [~ewig@user/ewig] has quit [Remote host closed the connection] 20:42 -!- gid [~gid@user/gid] has quit [Quit: Leaving] 20:43 -!- gid [~gid@user/gid] has joined #openbsd 20:47 -!- shiranaihito_ [~shiranaih@ppp-171-96-204-185.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 20:49 -!- sheikhshard [~Administr@101.68.196.112] has joined #openbsd 20:49 -!- CrimeWave [~Montreal@user/CrimeWave] has joined #openbsd 20:50 < echelon> hi, is there a way to specify what user i want a daemon to run as in an rc script? 20:52 -!- CosmicDJ [~cosmicdj@p200300e24f13e80102e04cfffe01e7ab.dip0.t-ipconnect.de] has quit [Quit: reboot] 20:52 < RobbieAB> echelon: There is... 20:52 < thrig> grep -r user /etc/rc.d 20:52 < sibiria> daemon_user/group iirc 20:52 < echelon> thanks! 20:53 -!- quark [quark@user/meow/Quark] has quit [Quit: Bye!] 20:53 -!- DasBrain [dasbrain@user/meow/DasBrain] has quit [Quit: WeeChat 4.5.0-dev] 20:53 < RobbieAB> I have daemon_user in my minecraft server file, not 100% certain how that propagates to the daemon 20:53 < RobbieAB> But I also haven't bothered reading the functions yet. 20:53 -!- quark [quark@user/meow/Quark] has joined #openbsd 20:55 -!- ChubaDuba [~ChubaDuba@176.212.46.118] has quit [Quit: WeeChat 4.6.3] 20:56 -!- cobra [~cobra@user/Cobra] has quit [Quit: ZNC 1.8.2 - https://znc.in] 20:57 -!- DasBrain [dasbrain@user/meow/DasBrain] has joined #openbsd 20:59 -!- psydroid2 [~psydroid@user/psydroid] has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/] 21:00 -!- CosmicDJ [~cosmicdj@p200300e24f05450102e04cfffe01e7ab.dip0.t-ipconnect.de] has joined #openbsd 21:02 -!- tvtoon [~The_cUnix@user/tvtoon] has joined #openbsd 21:03 < echelon> so if daemon_user is not set, it defaults to root? 21:07 -!- tarxvfz [~tarxvfz@gateway/tor-sasl/tarxvfz] has quit [Remote host closed the connection] 21:07 -!- niftily [~niftily@user/niftily] has joined #openbsd 21:10 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.4.2] 21:11 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Quit: Leaving...] 21:12 -!- Bradipo [~Bradipo@50.77.44.29] has joined #openbsd 21:13 -!- jsolano [~juan@li2042-246.members.linode.com] has quit [Quit: leaving] 21:14 -!- jsolano [~juan@li2042-246.members.linode.com] has joined #openbsd 21:14 -!- noone [~six@user/six] has joined #openbsd 21:17 -!- seninha [~seninha@user/seninha] has joined #openbsd 21:17 -!- krl [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 21:19 -!- ublix [~ublx@user/ublx] has joined #openbsd 21:20 -!- ublx [~ublx@user/ublx] has quit [Ping timeout: 252 seconds] 21:24 < echelon> are hyphens not allowed in rc scripts? "invalid rc.d script name" 21:27 < FenderQ> echelon: rc.subr(8) 21:29 < echelon> ah, thanks 21:29 < FenderQ> :) 21:31 < echelon> are daemon processes supposed to background themselves? 21:32 < echelon> i get a timeout 21:32 < jgh_> people have argued over that for decades 21:32 < echelon> when i run rcctl start _srvc 21:33 < echelon> ok 21:39 -!- lavaball [~Melissa@31.204.155.215] has quit [Quit: lavaball] 21:43 -!- niftily [~niftily@user/niftily] has quit [Quit: leaving] 21:43 -!- travltux [~travltux@user/travltux] has quit [Quit: Client closed] 21:45 -!- niftily [~niftily@user/niftily] has joined #openbsd 21:50 -!- daugaard [~daugaard@user/daugaard] has quit [Ping timeout: 276 seconds] 21:53 < Bradipo> echelon: It depends on how services are managed. 21:53 < echelon> it grabs the terminal session 21:53 < Bradipo> I tend to prefer using a supervisor for daemons, in which case they should *not* "background themselves". 21:56 < echelon> i tried doing this rc_start() { ${rcexec} "${daemon} ${daemon_flags} 2>&1 | logger -t srvc &" } ..but it just says ok, and i don't see the process 22:01 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 22:06 < pardis> it's probably better to read rc.subr(8) than to reinvent it 22:11 < echelon> rc_bg!! 22:13 -!- virys [~virys@user/lovisabet] has quit [Ping timeout: 276 seconds] 22:13 < echelon> pardis: let's say i want to do some additional operations like setting the ownership of some sock files, wouldn't that need to be defined in rc_start()? 22:15 < echelon> there's only a rc_pre and rc_post, rc_pre is for before rc_start, rc_post is after rc_stop 22:15 < echelon> there's no rc_poststart -_- 22:19 -!- polarian [~polarian@znc.polarian.dev] has quit [Quit: Polarian has disappeared] 22:19 < echelon> huh, for some reason i can't chown from inside an rc script 22:21 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 22:21 < echelon> nvm.. needed to put in a sleep 22:23 -!- Intrix [~Intrix@177.107.244.98] has joined #openbsd 22:25 -!- nedko [~nedko@gateway/tor-sasl/nedko] has quit [Remote host closed the connection] 22:25 < pardis> if you want to do that *correctly*, it should be done in the daemon itself 22:26 -!- nedko [~nedko@gateway/tor-sasl/nedko] has joined #openbsd 22:26 < pardis> otherwise you have the race condition you just observed 22:26 < pardis> sleep only makes it less likely to happen 22:26 -!- AtleoS [~AtleoS@user/AtleoS] has joined #openbsd 22:28 -!- sonne [~vmlinuz@user/sonne] has quit [Remote host closed the connection] 22:32 -!- sonne [~vmlinuz@user/sonne] has joined #openbsd 22:33 < echelon> parai: yeah, that's what i was thinking as well.. thanks! 22:34 < echelon> oops pardis * 22:36 -!- moko [~rusty2@sys3.eientei.ra.yakumo.ch] has quit [Changing host] 22:36 -!- moko [~rusty2@user/scuttlecell] has joined #openbsd 22:38 -!- sheikhshard [~Administr@101.68.196.112] has quit [Ping timeout: 276 seconds] 22:49 -!- adip [~adip@c145-14.icpnet.pl] has quit [Ping timeout: 245 seconds] 22:59 -!- ublix [~ublx@user/ublx] has quit [Ping timeout: 244 seconds] 23:01 -!- talos [~talos@2600:6c5d:0:4b06:a896:9f64:6dd0:df12] has quit [Quit: The Lounge - https://thelounge.chat] 23:05 < echelon> Bradipo: you mentioned a while back that you have a preferred supervisor service, what was it? 23:06 < Bradipo> Oh, I usually use daemontools. 23:06 < echelon> also, can it call actions/scripts if it fails to bring the service back up? 23:06 < echelon> Bradipo: ah, that was it, thanks 23:06 < Bradipo> The sky is the limit---whatever you can script you can do with it. 23:06 < echelon> awesome 23:06 < Bradipo> But it will just keep trying to bring the service up. If your "run" script has a notification each time it starts you'll get plenty of notifications. 23:07 < Bradipo> You can add in whatever "checks" you want too. 23:07 < echelon> does it track how often it's had to do restarts within a period of time? 23:08 < pardis> you can easily do that yourself 23:08 < echelon> ok 23:08 < pardis> just append the current time to a file every time it starts 23:08 < Bradipo> Any "tracking" would be your own device. 23:08 < echelon> got it 23:08 < Bradipo> It is designed to keep the service running, that's it. 23:08 < Bradipo> If the service crashes, it will restart it immediately. 23:08 < Bradipo> If it keeps crashing, it will keep restarting it. 23:09 < pardis> I prefer runit (you can think of it as daemontools with a few more bells and whistles, but not many) 23:09 < Bradipo> That will go on indefinitely unless you have some kind of logic built into the "run" script which detects this condition. 23:09 < Bradipo> Yes, runit is another contender in this space. 23:09 < Bradipo> Behaves similarly. I don't know what the bells and whistles are so I cannot comment on them. 23:10 < pardis> one that I've used before is that it has an optional "finish" script that runs after "run" exits 23:10 < echelon> well, if it keeps crashing i want it to assume there is something wrong with the host so that it can carp failover to another host 23:11 < riceandbeans> Is there a syscall I can invoke to return the osname and osversion? 23:11 < pardis> sysctl(2) 23:11 < riceandbeans> I'm writing a thing that I'm trying to make cross platform and I have code that works on dragonfly bsd, freebsd, and every linux distro I've tried 23:12 < riceandbeans> But, openbsd doesn't have an /etc/os-release so I need an alternative means to gather certain data 23:12 < pardis> but you probably don't want to use sysctl(2) directly when uname(3) exists 23:12 < riceandbeans> I'm not going to shell out, it's compiled 23:12 < pardis> shelling out to uname(3) would be quite challenging 23:12 < phy1729> hence (3) https://man.openbsd.org/uname.3 23:13 < riceandbeans> I'm sorry I was thinking man 1 uname 23:14 < pardis> note that there is a slight difference in semantics between /etc/os-release and uname(3) 23:14 < pardis> /etc/os-release (on platforms where it exists) generally shows userland version, uname(3) will always show kernel version 23:14 < pardis> these may differ slightly in case you are in a chroot or something 23:15 -!- oraculo [~mirc-rc@179.235.202.169] has quit [Quit: )] 23:15 < riceandbeans> https://github.com/nix-rust/nix/blob/master/src/sys/utsname.rs this may save me some heart ache 23:15 < riceandbeans> I can likely use this on all unix likes and ditch the whole os-release thing in general 23:17 < pardis> that will probably fail on Linux unless you really do want the kernel version and not, say, the Debian version or Fedora version 23:17 < riceandbeans> :\ I do want the latter 23:18 < pardis> the approach I would take is to call uname(3), then check if sysname == "Linux" and have special handling in that situation 23:18 < riceandbeans> Well, I could be slightly lasier 23:18 < riceandbeans> lazier rather 23:19 < thrig> lazy can be bad here, like if you detect Windows with /win/ which then starts matching Darwin 23:19 < riceandbeans> I could just include different code for linux with conditional compilation that does os-release and for BSDs use uname(3) 23:19 -!- cobra [~cobra@user/Cobra] has joined #openbsd 23:19 < riceandbeans> I can match the OS with build targets for conditional code 23:20 < riceandbeans> Although, this will be security software, and there's no point building something like that for Windows in the first place, so I'm never going to target it. Pretty much any other OS though. 23:24 < riceandbeans> Thank you for the help 23:36 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 23:39 -!- macabro [~user@user/monkey/x-0691028] has joined #openbsd 23:49 -!- byteskeptical [~amnesia@user/byteskeptical] has joined #openbsd 23:54 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has quit [Quit: Connection closed for inactivity] 23:55 -!- virys [~virys@user/lovisabet] has joined #openbsd --- Log closed Wed May 21 00:00:33 2025