--- Log opened Wed Nov 05 00:00:01 2025 00:00 -!- km [~km@c978F5BC1.dhcp.as2116.net] has quit [] 00:01 < asji> got it, thanks 00:06 -!- Bradipo [~Bradipo@50.77.44.29] has quit [Ping timeout: 260 seconds] 00:12 < asji> found this site that explain a lot: openbsdjumpstart.org 00:16 < uwharrie> the project generally discourages third party sites and docs as they're rarely kept up-to-date or take down incorrect information 00:16 < pardis> that's not a website, it's a pathological case of CSS abuse 00:17 < averymt> oh my gosh, that's terrible 00:17 < averymt> I didn't even realize there were multiple "pages" until I tried to scroll to see if there was more content below 00:18 < pardis> the fun bit is that you can't use Ctrl+F to find stuff you haven't already "scrolled" to 00:18 -!- kenji [~kenji@58-191-217-50f1.wky1.eonet.ne.jp] has joined #openbsd 00:19 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 00:23 < ssm_> asji: https://www.openbsd.org/faq/index.html is the best official learning resource. also read the mail from theo (he hacked your machine personally) with mail(1). 00:27 < thrig> hack the planet? 00:28 -!- danie [~danie@110.141.162.164] has joined #openbsd 00:29 < ssm_> he has the secret openbsd zero day to send the initial mail he'll share with nobody. it's so powerful it can even be sent with no network connection 00:30 -!- mover [~hischild@user/mover] has joined #openbsd 00:36 -!- Hackerpcs [~user@user/hackerpcs] has joined #openbsd 00:39 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 00:40 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 00:41 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has quit [Quit: Connection closed for inactivity] 00:41 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 00:47 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 00:48 -!- danie_ [~danie@110.141.162.164] has joined #openbsd 00:48 -!- naoki [~Thunderbi@240f:10b:7440:1:a426:813:5b6d:8be0] has joined #openbsd 00:49 < rtj> ssm_: telepathy I think. Great way to send bug reports. 00:50 -!- kenji [~kenji@58-191-217-50f1.wky1.eonet.ne.jp] has quit [Quit: Leaving] 00:50 -!- danie [~danie@110.141.162.164] has quit [Ping timeout: 244 seconds] 00:57 -!- adig [~adi@86.123.72.40] has joined #openbsd 01:00 -!- l0rd_hex [~jubjub@upperbound.ca] has left #openbsd [spoon too big] 01:01 -!- fro [fro@humpty.dance] has quit [Quit: brb] 01:04 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 01:04 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 01:05 -!- fro [fro@humpty.dance] has joined #openbsd 01:06 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 01:11 -!- fro [fro@humpty.dance] has quit [Quit: brb] 01:18 -!- xv8 [~xv8@pool-173-71-196-158.clppva.fios.verizon.net] has joined #openbsd 01:22 -!- xv8 [~xv8@pool-173-71-196-158.clppva.fios.verizon.net] has quit [Changing host] 01:22 -!- xv8 [~xv8@user/XV8] has joined #openbsd 01:25 -!- zacuke [~garth@2600:1702:6061:eb90:5f1:218f:bc69:b592] has quit [Remote host closed the connection] 01:26 -!- zacuke [~garth@2600:1702:6061:eb90:5f1:218f:bc69:b592] has joined #openbsd 01:41 -!- tozhu [~tozhu@171.209.130.210] has quit [Quit: tozhu] 01:42 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Remote host closed the connection] 01:51 -!- CCIE|VOICE [~SOLARIS_s@pool-99-235-11-104.cpe.net.cable.rogers.com] has joined #openbsd 01:53 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 01:55 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 01:56 -!- fro [fro@humpty.dance] has joined #openbsd 01:59 -!- danie_ [~danie@110.141.162.164] has quit [Ping timeout: 256 seconds] 01:59 -!- danie_ [~danie@110.141.162.164] has joined #openbsd 02:00 -!- asji [~bajiu@user/asji] has quit [Quit: leaving] 02:01 -!- Netsplit *.net <-> *.split quits: frodo, swaggboi, waves, connstruct, aibo, carneous, Yonle, SOLARIS_s, dgoerger, oxzi, (+2 more, use /NETSPLIT to show all of them) 02:05 -!- szilard- [~szilard@1F2EFDD9.nat.pool.telekom.hu] has joined #openbsd 02:06 -!- szilard [~szilard@1F2EFA50.nat.pool.telekom.hu] has quit [Ping timeout: 264 seconds] 02:06 -!- szilard- is now known as szilard 02:07 -!- Netsplit over, joins: ZLima12_, znedw454, oxzi, frodo, swaggboi, waves, Yonle, dgoerger, carneous, aibo (+1 more) 02:14 < rnkn> can I create an rc.d script to chroot a webserver? I see there is daemon_execdir but no mention of chroot 02:15 * fro is away, auto-gone [tv/lp] 02:15 < phy1729> fro: turn that off please 02:15 < rnkn> I've had a loot at rc.d/httpd but doesn't seem anything relevant there 02:15 < rnkn> look* 02:15 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 02:16 < phy1729> chrooting before exec is tricky because all the config and libraries need to be in the chroot. 02:17 < rnkn> the libraries are fine, but does it also need login.conf? 02:17 < rnkn> i.e. I need to start the daemon with certain env vars 02:18 < rnkn> AI says just chroot /path/to/chroot in the start() but that seems... too simple 02:20 < phy1729> Why can't the daemon chroot itself (or pledge/unveil) 02:21 < rnkn> it doesn't have those kind of commands, it's a Perl app 02:22 < rnkn> also I would have a hard time developing locally that way 02:22 < averymt> I think you'd just copy an existing one from rc.d and replace the `rc_cmd $1` with `rc_cmd chroot /path/to/chroot $1` 02:23 < averymt> ah nvm, I misread that 02:23 < phy1729> You can pledge/unveil from perl with OpenBSD::Pledge OpenBSD::Unveil dunno about chroot, but I'd assume that's possible too 02:24 < averymt> change `daemon=` to `/usr/sbin/chroot` and add `/path/to/chroot /path/to/daemon ` to the beginning of daemon_flags 02:24 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 02:24 < averymt> or, yeah, figure out how to chroot in perl 02:25 < phy1729> man perlfunc documents a chroot function 02:25 -!- chilledfrogs [~chilledfr@rsa59-h05-176-133-210-176.dsl.sta.abo.bbox.fr] has quit [Quit: connection reset by purr] 02:25 -!- frkazoid333 [~frkazoid3@2603-900b-46f0-b390-ad3f-67be-f503-ef8c.inf6.spectrum.com] has joined #openbsd 02:26 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 02:26 < rnkn> yeah again I don't want to chroot in the app itself 02:26 < rnkn> this is what I got https://termbin.com/bem2 02:27 < rnkn> does daemon_execdir need to be inside the chroot? 02:27 < rnkn> it would seem likely 02:27 < Reinhilde> phy1729, i'm ngl, the script is kinda cool. not saying i don't think they should turn it off, only that i find it aesthetic. 02:28 < phy1729> It'd really suck for 700 people to announce when they go idle 02:29 * Reinhilde . o O ( maybe an IRCv3 extension could be devised so that in 5 to 10 years' time, after installed base churn, awayscript users and awayscript haters can get along ) 02:30 < Reinhilde> ... !!! OS/2!!??!!?? 02:35 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 02:37 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 02:39 -!- enrh1 [~enrh@user/enrh] has quit [Quit: Upgrading some hardware] 02:39 -!- solaare [~solaarae@user/solaarae] has quit [Ping timeout: 260 seconds] 02:40 -!- solaare [~solaarae@user/solaarae] has joined #openbsd 02:41 -!- chilledfrogs [~chilledfr@rsa59-h05-176-133-210-176.dsl.sta.abo.bbox.fr] has joined #openbsd 03:01 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 03:01 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 03:07 < averymt> is an awayscript even useful/necessary? can't you already set a status when you go into away, similar to how you can give a quit reason? 03:10 < Reinhilde> you can; I'm not entirely sure what the use is except vanity 03:11 -!- itchy [~itchy@user/itchy] has quit [Ping timeout: 244 seconds] 03:12 -!- tvtoon [~The_cUnix@user/tvtoon] has quit [Quit: "Service to the cloud..."] 03:13 -!- itchy [~itchy@user/itchy] has joined #openbsd 03:14 -!- mover [~hischild@user/mover] has quit [Quit: leaving] 03:19 -!- fro [fro@humpty.dance] has quit [Quit: Tony the Tiger uses PMBitchX. Its Grrrrrrrrreat!] 03:22 < thrig> some folks are noisier than others 03:27 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 03:27 < izder456> is there a way to see gpu temp for amd gpus? radeontop nor the hw.sensors sysctl have anything useful for me 03:29 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 03:30 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 03:38 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 03:40 -!- byteskeptical [~amnesia@user/byteskeptical] has quit [Quit: Lost terminal] 03:44 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 03:46 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 03:47 -!- echelon [~steerpike@gateway/tor-sasl/steerpike] has quit [Ping timeout: 272 seconds] 03:52 -!- zip100- [~zip100@185.213.155.248] has joined #openbsd 03:53 -!- _zip100 [~zip100@193.32.248.160] has quit [Ping timeout: 244 seconds] 03:58 -!- enrh [~enrh@user/enrh] has joined #openbsd 03:59 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 04:01 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 04:06 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 04:06 -!- zcheng3_ [~zcheng3@d104-205-176-16.abhsia.telus.net] has joined #openbsd 04:07 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 04:07 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 04:08 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 04:13 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 04:13 -!- tozhu [~tozhu@223.87.244.17] has quit [Client Quit] 04:13 -!- ublx [~ublx@user/ublx] has joined #openbsd 04:16 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 04:17 -!- librecat [uid714233@id-714233.helmsley.irccloud.com] has joined #openbsd 04:18 -!- tozhu [~tozhu@223.87.244.17] has quit [Client Quit] 04:19 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 04:19 -!- ublx [~ublx@user/ublx] has joined #openbsd 04:22 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 04:22 -!- zimmer [~zimmer@user/zimmer] has quit [Read error: Connection reset by peer] 04:22 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 04:24 -!- ublx [~ublx@user/ublx] has quit [Client Quit] 04:24 -!- zcheng3_ [~zcheng3@d104-205-176-16.abhsia.telus.net] has quit [Remote host closed the connection] 04:27 -!- sdds [~sdds@user/sdds] has joined #openbsd 04:37 -!- seninha [~seninha@user/seninha] has quit [Quit: Leaving] 04:41 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 04:43 -!- tozhu [~tozhu@223.87.244.17] has quit [Client Quit] 04:47 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 04:54 -!- danie_ [~danie@110.141.162.164] has quit [Ping timeout: 252 seconds] 04:56 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 05:01 -!- znedw454 [~znedw@2400:a846:4040:0:76eb:b370:c665:7c0c] has quit [Quit: The Lounge - https://thelounge.chat] 05:04 < deimosBSD> izder456: I don't remember seeing anything 05:05 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has joined #openbsd 05:06 -!- archpc [~archpc@user/archpc] has joined #openbsd 05:06 -!- shiranaihito_ [~shiranaih@ppp-171-97-85-24.revip8.asianet.co.th] has joined #openbsd 05:06 -!- znedw454 [~znedw@2400:a846:4040::f61] has joined #openbsd 05:12 < izder456> dang this is unfortunate 05:15 < deimosBSD> i'm going by my experience running on servers with discrete gpus 05:19 -!- nathanpc [~nathanpc@user/nathanpc] has quit [Ping timeout: 264 seconds] 05:20 -!- szilard [~szilard@1F2EFDD9.nat.pool.telekom.hu] has quit [Remote host closed the connection] 05:21 -!- szilard [~szilard@1F2EFDD9.nat.pool.telekom.hu] has joined #openbsd 05:22 -!- nathanpc [~nathanpc@user/nathanpc] has joined #openbsd 05:29 -!- lusciouslover [~luscious@user/lusciouslover] has quit [Ping timeout: 260 seconds] 05:30 -!- lusciouslover [~luscious@user/lusciouslover] has joined #openbsd 05:33 < deimosBSD> i haven't tried on a desktop lately 05:43 -!- ewig`` [~ewig`@user/ewig] has joined #openbsd 05:50 -!- makr [~textual@2a00:f2a:e08e:b880:74f9:cfc3:ad55:c8f] has quit [Ping timeout: 255 seconds] 05:51 -!- pmb [~pmb@84-231-89-171.elisa-mobile.fi] has joined #openbsd 05:51 -!- pmb [~pmb@84-231-89-171.elisa-mobile.fi] has quit [Remote host closed the connection] 05:52 -!- shiranaihito_ [~shiranaih@ppp-171-97-85-24.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 05:52 -!- danie_ [~danie@110.141.162.164] has joined #openbsd 05:53 -!- makr [~textual@2a00:f2a:e08e:b880:48a7:5c15:af01:9ffe] has joined #openbsd 06:02 -!- SiFuh_ [~SiFuh@user/sifuh] has quit [Remote host closed the connection] 06:05 -!- uncleyear [~ian@178.66.156.169] has joined #openbsd 06:10 -!- djhankb9311 [~djhankb@ip-208-113-164-68.nodes.dream.io] has joined #openbsd 06:10 -!- shiranaihito_ [~shiranaih@2001:fb1:7f:9be7:bdcc:a0c4:c1d:4323] has joined #openbsd 06:11 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 06:14 < rnkn> I'm trying to mount Perl lib paths inside /var/www but the mount command just hangs, I've done this before so I know there's a daemon I'm supposed to enable but I've forgotten which 06:14 < rnkn> I've already enabled/started nfsd 06:17 -!- cgnarne_ is now known as cgnarne 06:17 -!- cgnarne [~pk@2a0a-a547-6765-0-220-91ff-feff-ee02.ipv6dyn.netcologne.de] has quit [Changing host] 06:17 -!- cgnarne [~pk@user/cgnarne] has joined #openbsd 06:18 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 06:19 -!- gce108 [~gce@user/gce108] has quit [Remote host closed the connection] 06:19 < rnkn> okay I've enabled/started portmap and now I get: NFS Portmap: RPC: Program not registered 06:19 -!- gce108_ [~gce@user/gce108] has joined #openbsd 06:20 -!- krl [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Ping timeout: 260 seconds] 06:22 -!- struchu [~struchu@staticline-31-183-133-251.toya.net.pl] has joined #openbsd 06:25 < rnkn> oh I think I just needed to restart nfsd 06:31 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 06:31 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 06:31 < vortexx> rnkn: mountdvis probably needed too 06:32 < vortexx> s/mountdvis/mountd is 06:32 < rnkn> vortexx: yep you're right 06:33 -!- perelman [~unknown@user/perelman] has joined #openbsd 06:34 -!- perelman [~unknown@user/perelman] has quit [Client Quit] 06:34 -!- perelman [~unknown@user/perelman] has joined #openbsd 06:41 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 06:43 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 06:46 -!- km [~km@c978F5BC1.dhcp.as2116.net] has joined #openbsd 06:47 -!- perelman [~unknown@user/perelman] has quit [Quit: Bye, bye, ...] 06:48 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 06:49 -!- km [~km@c978F5BC1.dhcp.as2116.net] has quit [Client Quit] 06:50 -!- tozhu [~tozhu@223.87.244.17] has joined #openbsd 07:01 -!- lagrange [~john@user/lagrange] has joined #openbsd 07:02 -!- DetourNetworkUK [~DetourNet@user/DetourNetworkUK] has quit [Read error: Connection reset by peer] 07:02 -!- DetourNetworkUK [DetourNetw@user/DetourNetworkUK] has joined #openbsd 07:04 < rnkn> is there anything wrong with this login.conf entry? https://termbin.com/ikk9 07:05 < rnkn> it doesn't seem to be using those environment vars when started with rcctl 07:07 < IcePic> rnkn: does it set the first, or none at all? 07:08 < rnkn> oh sorry, I didn't see that the login class needs to be the same name as the daemon. duh. 07:08 < IcePic> yeah, that helps =) 07:09 < rnkn> progress! onto the next error! 07:09 < rnkn> sorry for the noise 07:11 -!- shiranaihito_ [~shiranaih@2001:fb1:7f:9be7:bdcc:a0c4:c1d:4323] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 07:12 < IcePic> rnkn: well, someone might learn to check this one extra time when they do similar stuff as you do 07:14 -!- zacuke [~garth@2600:1702:6061:eb90:5f1:218f:bc69:b592] has quit [Read error: Connection reset by peer] 07:26 -!- danie_ [~danie@110.141.162.164] has quit [Ping timeout: 244 seconds] 07:26 -!- crb_ [~crb@23-93-251-120.dedicated.static.sonic.net] has joined #openbsd 07:29 -!- crb__ [~crb@2001:5a8:45c2:6300:449f:7a10:d850:e743] has quit [Ping timeout: 250 seconds] 07:30 -!- daugaard [~daugaard@user/daugaard] has joined #openbsd 07:31 -!- danie_ [~danie@110.141.162.164] has joined #openbsd 07:33 -!- shiranaihito_ [~shiranaih@ppp-171-97-85-24.revip8.asianet.co.th] has joined #openbsd 07:57 -!- slesa [~Slesa@2a0d:ee00:8010:5b00:13a6:1c9a:11b0:2542] has joined #openbsd 07:58 < _Posterdati_> hi 08:01 -!- slesa [~Slesa@2a0d:ee00:8010:5b00:13a6:1c9a:11b0:2542] has quit [Remote host closed the connection] 08:05 -!- ixc [~ixc@user/ixc] has joined #openbsd 08:07 -!- ixc_ [~ixc@user/ixc] has joined #openbsd 08:07 -!- danie_ [~danie@110.141.162.164] has quit [Remote host closed the connection] 08:08 -!- danie_ [~danie@110.141.162.164] has joined #openbsd 08:15 -!- Minall [~user@user/Minall] has joined #openbsd 08:15 -!- danie_ [~danie@110.141.162.164] has quit [Ping timeout: 244 seconds] 08:20 -!- zapata [~zapata@user/zapata] has joined #openbsd 08:20 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 08:25 -!- psydroid3 [~psydroid@185.99.206.53] has joined #openbsd 08:34 -!- feriman [~feriman@user/feriman] has joined #openbsd 08:37 -!- ixc [~ixc@user/ixc] has quit [Quit: leaving] 08:37 -!- ixc_ [~ixc@user/ixc] has quit [Quit: leaving] 08:37 -!- ixc [~ixc@user/ixc] has joined #openbsd 08:37 -!- dozn [uid249292@user/dozn] has joined #openbsd 08:38 -!- user71 [~user71@2001:1530:1032:e333:2c5:da7e:781a:3396] has joined #openbsd 08:41 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 272 seconds] 08:43 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 08:52 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 08:52 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 08:53 -!- b50d [~b50d@62.96.54.30] has joined #openbsd 09:04 -!- slesa [~Slesa@2a0d:ee00:8010:5b00:13a6:1c9a:11b0:2542] has joined #openbsd 09:05 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Remote host closed the connection] 09:10 -!- rc [~rc@user/rc] has quit [Quit: nyaa~] 09:15 -!- ewig`` [~ewig`@user/ewig] has quit [Read error: Connection reset by peer] 09:16 -!- housemate [~housemate@2405:6e00:2439:875f:aa10:7d9a:f5a4:4c56] has quit [Read error: Connection reset by peer] 09:17 -!- housemate [~housemate@2405:6e00:2439:875f:aa10:7d9a:f5a4:4c56] has joined #openbsd 09:19 -!- ewig`` [~ewig``@user/ewig] has joined #openbsd 09:20 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has quit [Quit: leaving] 09:22 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has joined #openbsd 09:24 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has joined #openbsd 09:30 -!- housemate [~housemate@2405:6e00:2439:875f:aa10:7d9a:f5a4:4c56] has quit [Ping timeout: 260 seconds] 09:31 -!- eki [~eki@88-148-144-106.bb.dnainternet.fi] has quit [Quit: leaving] 09:31 -!- psydroid3 [~psydroid@185.99.206.53] has quit [Ping timeout: 264 seconds] 09:32 -!- Minall [~user@user/Minall] has quit [Ping timeout: 264 seconds] 09:35 -!- CrimeWave [~Ebox-MTL@user/CrimeWave] has quit [Quit: Electronic Box Montréal - Textual IRC 7.2.6 OSX] 09:36 -!- adig [~adi@86.123.72.40] has quit [Ping timeout: 246 seconds] 09:36 -!- Minall [~user@user/Minall] has joined #openbsd 09:57 -!- cow321 [~deflated8@user/meow/deflated8837] has quit [Ping timeout: 244 seconds] 09:57 -!- eki [~eki@88-148-144-106.bb.dnainternet.fi] has joined #openbsd 09:59 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 10:02 -!- mtoy [~mtoy@user/mtoy] has quit [Ping timeout: 240 seconds] 10:03 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 265 seconds] 10:04 -!- mtoy [~mtoy@user/mtoy] has joined #openbsd 10:05 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 10:09 -!- cow321 [~deflated8@user/meow/deflated8837] has joined #openbsd 10:12 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 272 seconds] 10:24 -!- jab [~user@user/jab] has joined #openbsd 10:27 < dennis> Does anyone know why the atime of my tty (/dev/ttyXX) is continously updated when logging in through ssh on openbsd? If I do `sleep 5; date; stat $(tty)` in a tty opened through ssh, {a,c,m}time are all current. If I open a tty through tmux, only {c,m}time is current, and atime is 5s ago. 10:28 < dennis> If I do the same on Linux (Ubuntu 22.04), only mtime is kept current, ctime is when the tty was started, and atime is 5s ago 10:31 < dennis> (and it behaves the same for a tty opened through ssh or tmux) 10:32 < dennis> I would expect atime to be set the same way for a tty opened through ssh as for a tty opened through tmux, but it's not. Is ssh "continuously accessing" the tty or something, causing atime to always be current? 10:35 -!- sonya [~nightwolf@gateway/tor-sasl/sonya] has joined #openbsd 10:44 -!- inky [~inky@37.252.77.193] has quit [Ping timeout: 255 seconds] 10:45 -!- gtlwuc [uid621242@user/gtlwuc] has joined #openbsd 10:47 -!- ixc [~ixc@user/ixc] has quit [Ping timeout: 265 seconds] 10:53 -!- user71 [~user71@2001:1530:1032:e333:2c5:da7e:781a:3396] has quit [Quit: user71] 11:03 < _Posterdati_> hi 11:04 -!- ixc [~ixc@user/ixc] has joined #openbsd 11:04 < _Posterdati_> openbsd rocks it is the only BSD's installing on an old eserver xserver 225 with serveraid crap on it :) 11:10 -!- m3a [~m3a@170.52.78.11] has quit [Ping timeout: 260 seconds] 11:11 -!- eki [~eki@88-148-144-106.bb.dnainternet.fi] has quit [Ping timeout: 240 seconds] 11:15 -!- jab [~user@user/jab] has quit [Remote host closed the connection] 11:16 -!- thrig [~thrig@c-73-221-177-233.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 11:21 < rnkn> is it okay to store secrets in login.conf if it's 0600? 11:28 -!- jedesa [~Thunderbi@user/jedesa] has joined #openbsd 11:32 -!- SiFuh [~SiFuh@user/sifuh] has quit [Quit: leaving] 11:32 < vortexx> Posterdati: so you managed to get it all working despite no more adaptec raid drivers? ( IcePic I wasn't aware they'd been removed but I'm not surprised) 11:33 < vortexx> my raid card which is avago/broadcom died yesterday :/ 11:38 -!- apac [~alexander@user/apac] has joined #openbsd 11:43 -!- tozhu [~tozhu@223.87.244.17] has quit [Quit: tozhu] 11:46 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 11:48 -!- rkta [~rkta@user/rkta] has quit [Quit: sysupgrade] 11:50 -!- jab [~user@user/jab] has joined #openbsd 11:52 -!- creek [~creek@user/creek] has joined #openbsd 11:53 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 11:56 -!- lagrange [~john@user/lagrange] has quit [Ping timeout: 260 seconds] 12:08 -!- seninha [~seninha@user/seninha] has joined #openbsd 12:09 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 12:12 -!- ublx [~ublx@user/ublx] has joined #openbsd 12:16 -!- pmb [~pmb@84-231-89-171.elisa-mobile.fi] has joined #openbsd 12:17 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 12:17 -!- pmb [~pmb@84-231-89-171.elisa-mobile.fi] has quit [Changing host] 12:17 -!- pmb [~pmb@user/koob] has joined #openbsd 12:20 < pmb> sibiria got ACME.sh up and running, simple and nice to get rid of python as it was only used for certbot. thx 12:21 -!- ublx [~ublx@user/ublx] has joined #openbsd 12:24 -!- apac [~alexander@user/apac] has quit [Ping timeout: 260 seconds] 12:25 -!- jab [~user@user/jab] has quit [Remote host closed the connection] 12:25 -!- apac [~alexander@user/apac] has joined #openbsd 12:30 -!- inky [~inky@37.252.77.193] has joined #openbsd 12:30 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 12:30 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 12:31 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has quit [Ping timeout: 246 seconds] 12:31 -!- eki [~eki@88-148-144-106.bb.dnainternet.fi] has joined #openbsd 12:32 -!- pyu [~pyu@cm222-166-164-22.hkcable.com.hk] has joined #openbsd 12:33 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has joined #openbsd 12:35 -!- m3a [~m3a@170.52.78.11] has joined #openbsd 12:40 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has quit [Ping timeout: 264 seconds] 12:43 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 12:44 -!- ublx [~ublx@user/ublx] has joined #openbsd 12:51 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has joined #openbsd 12:53 -!- vdamewood [~vdamewood@fedora/vdamewood] has joined #openbsd 12:54 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 12:54 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 13:01 -!- shinbeth [~shinbeth@user/sinvet] has joined #openbsd 13:05 -!- shinbeth [~shinbeth@user/sinvet] has quit [Ping timeout: 260 seconds] 13:06 -!- zbcm [~mcbz@user/zbcm] has joined #openbsd 13:06 -!- rkta [~rkta@user/rkta] has joined #openbsd 13:08 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has quit [Ping timeout: 240 seconds] 13:12 -!- Minall [~user@user/Minall] has quit [Ping timeout: 260 seconds] 13:20 -!- tertullian [~sonne@ip-095-222-113-247.um34.pools.vodafone-ip.de] has joined #openbsd 13:20 -!- polarian [~polarian@znc.polarian.dev] has quit [Excess Flood] 13:21 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 13:21 -!- apac [~alexander@user/apac] has quit [Quit: Konversation terminated!] 13:22 < _Posterdati_> now I'd like to download: ftp://ftp.software.ibm.com/systems/support/system_x_iso/ibm_fw_bios_ope151c_anyos_i386.iso 13:22 < _Posterdati_> but firefox can open a ftps site :( 13:24 -!- gtlwuc [uid621242@user/gtlwuc] has quit [Quit: Connection closed for inactivity] 13:25 < ssm_> _Posterdati_: ftp(1) work? 13:25 < ssm_> wait I can literally just test it myself 13:26 < ssm_> ftp -a doesn't work, 550 SSL/TLS required on the control channel. guess it really needs tls despite the schema implying plain ftp 13:26 < _Posterdati_> ? 13:26 < _Posterdati_> ftp1 13:28 < ssm_> ftps is different from sftp, right? I don't think we have an ftps client in base... 13:28 < Reinhilde> sftp is over ssh 13:29 -!- user71 [~user71@2001:1530:1053:349c:3006:4538:9b1a:7fa4] has joined #openbsd 13:30 < sibiria> correct. ftps is conventional ftp over tls, with all its usual warts 13:30 < sibiria> command port + data ports, active/passive mode, and so on 13:31 -!- bigato_ [~bigato@170.81.150.145] has joined #openbsd 13:32 -!- ali_rahbar_77 [~ali@5.116.107.90] has joined #openbsd 13:32 -!- ali_rahbar_77 [~ali@5.116.107.90] has quit [Changing host] 13:32 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has joined #openbsd 13:33 -!- Minall [~user@user/Minall] has joined #openbsd 13:34 -!- bigato [~bigato@user/bigato] has quit [Ping timeout: 244 seconds] 13:36 -!- housemate [~housemate@2405:6e00:243a:d5f5:4616:6c4e:d527:d7f0] has joined #openbsd 13:36 < ssm_> ironically ftp(1) supports tls, but only for http connections 13:37 < ssm_> maybe easy to shim over to ftp support? 13:39 < pardis> seems like a waste of time given that ftp has been slowly dying for decades 13:40 < ssm_> netcraft confirms? 13:41 < ssm_> I'd use ftps over https any day if our mirrors served it. plain ftp permits ISP-level tampering :( 13:41 < ssm_> also I assume ftps doesn't have the http header fingerprinting cruft, not that that's particularly important here 13:41 < pardis> why? it's a rubbish protocol from the days when the internet was a few dozen large universities and corporations 13:42 < pardis> and no tampering is permitted with the mirrors due to cryptographic verification 13:42 -!- housemate [~housemate@2405:6e00:243a:d5f5:4616:6c4e:d527:d7f0] has quit [Ping timeout: 260 seconds] 13:42 -!- slesa [~Slesa@2a0d:ee00:8010:5b00:13a6:1c9a:11b0:2542] has quit [Remote host closed the connection] 13:43 < ssm_> are the checksums also transported insecurely? because then it's very easy to tamper with those too 13:43 < pardis> they are signed with signify(1) 13:43 < ssm_> right 13:43 < ssm_> yay! I can use ftp 13:43 -!- tozhu [~tozhu@221.237.139.115] has joined #openbsd 13:44 -!- tozhu [~tozhu@221.237.139.115] has quit [Client Quit] 13:44 -!- jerryf_ [~jerryf@user/jerryf] has quit [Remote host closed the connection] 13:44 -!- feriman [~feriman@user/feriman] has joined #openbsd 13:44 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 272 seconds] 13:46 -!- jerryf [~jerryf@user/jerryf] has joined #openbsd 13:46 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 13:46 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has quit [Ping timeout: 260 seconds] 13:46 -!- ali_rahbar_77 [~ali@5.115.71.125] has joined #openbsd 13:47 < mischief> maybe its in https://www3.software.ibm.com/storage/ as well 13:49 -!- ali_rahbar_77 [~ali@5.115.71.125] has quit [Changing host] 13:49 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has joined #openbsd 13:53 -!- lagrange [~john@user/lagrange] has joined #openbsd 13:58 -!- jab [~user@user/jab] has joined #openbsd 13:59 < _Posterdati_> mischief: mmh thanks, but no luck 14:01 -!- Minall [~user@user/Minall] has quit [Remote host closed the connection] 14:03 < mischief> why don't you just retire the machine 14:03 < _Posterdati_> this not my machine :) 14:04 < sibiria> retire the customer until they shape up 14:04 < Reinhilde> xD? 14:04 < _Posterdati_> impossible, it is a paying customer :) 14:04 < sibiria> xD. 14:04 < sibiria> great, then that dysfunctional server is a cash cow 14:05 < _Posterdati_> exactly 14:05 < _Posterdati_> we are talking about emotional people here! 14:05 < _Posterdati_> so OpenBSD is just a step before using it as a bench 14:05 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 250 seconds] 14:06 < _Posterdati_> anyway 14:06 -!- housemate [~housemate@2405:6e00:243a:d5f5:4616:6c4e:d527:d7f0] has joined #openbsd 14:06 < _Posterdati_> this is the only UNIX like OS working on that dynosaur 14:06 < mischief> a used $100 computer would probably run circles around an i386 from early aughts 14:06 < _Posterdati_> sure 14:06 < _Posterdati_> but no tape backups :) 14:06 < _Posterdati_> LOL 14:07 -!- asji [~bajiu@user/asji] has joined #openbsd 14:07 < mischief> conveniently, non-tape backups run circles around tape too 14:08 < asji> Hello. Does slaacd is necessary if I am not using IPv6 ? 14:10 < pardis> no, but it will also do nothing while using few resources anyway, so disabling it will provide little gain 14:11 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 14:11 < Reinhilde> if I'm understanding the purpose correctly: disabling it will mean IPv6 won't come up automatically if it becomes available on your network suddenly 14:11 < asji> my perspective is: if is not needed, why i should be running? Is not to improve or gain something. Is just to know if i can disable without loosing something. 14:12 -!- sjg [~sjg@user/sjg] has quit [Ping timeout: 255 seconds] 14:12 < pardis> Reinhilde: it won't do anything unless autoconf6 is set on an interface 14:12 < Reinhilde> ah 14:13 -!- LinuxRenaissance [~darthix@user/Darthix] has quit [Ping timeout: 256 seconds] 14:13 -!- sjg [~sjg@user/sjg] has joined #openbsd 14:15 < sibiria> asji: you can disable it. but you will need to use static gateway for your clients 14:16 < sibiria> static IP, prefix, gateway 14:16 < asji> sibiria: I am using dhcp, but I define static gateway in /etc/mygate 14:16 < pardis> you don't need to use a static ipv6 gateway if not using ipv6 at all, which was the premise of the question 14:16 < sibiria> if you use dhcp generally you have no reason to use slaacd next to it 14:16 < pardis> what? 14:17 < asji> Ok 14:17 < pardis> ipv6 can certainly be useful alongside ipv4 14:17 < sibiria> he implies dhcp6 14:17 < pardis> no he doesn't 14:17 < pardis> he already clearly stated he isn't using ipv6 14:17 < sibiria> oh, then absolutely no need to run it at all 14:19 < sibiria> right, "if i'm not using ipv6" 14:19 < k0ga> _Posterdati_: what computer is that one? 14:19 < k0ga> I am curious ^^! 14:20 < asji> just another question while exploring obsd features: Is EIGRPCTL needed for "common and regular users" ? Or this daemon is to configure big infra? 14:20 < Reinhilde> how do you reckon you aren't using ipv6? 14:22 -!- daugaard [~daugaard@user/daugaard] has quit [Ping timeout: 246 seconds] 14:22 -!- zbcm [~mcbz@user/zbcm] has quit [Ping timeout: 265 seconds] 14:29 < sibiria> asji: you don't need it for basic/common use 14:29 -!- Pixi` is now known as Pixi 14:32 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 14:33 < asji> There is a lot of Routing daemons of obsd. I am exploring the Innoventions list.. most everything is new to me.. more questions will come :) 14:38 < sibiria> eipgrd shouldn't be running out of the box 14:38 < sibiria> ok to not explicitly disable everything 14:41 < asji> without "you" telling me I can, I will not, enable or disable, anything. But I see there are some ( at least 3 ) routing daemons. If they are useful to me as a common user, I don't know, but man pages don't explicitly describe if "common users need it", since most, based on what I read, seams to be to manage several routers. So is not for my use cases 14:49 -!- apac [~alexander@user/apac] has joined #openbsd 14:51 -!- naoki [~Thunderbi@240f:10b:7440:1:a426:813:5b6d:8be0] has quit [Quit: naoki] 14:53 < pardis> generally, things that aren't on by default shouldn't be turned on unless you know you need it 14:53 < uwharrie> This system neither attempts to hand hold you through everything both simple and complex, nor hides things it's decided are too complicated for you to touch. If it's useful to either the developers or a large majority of users, it'll be on by default in a safe/unobtrusive configuration. If it's a specialty situation, you'll know you need it 14:58 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has quit [Ping timeout: 246 seconds] 15:00 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 15:01 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 15:02 -!- feriman [~feriman@user/feriman] has quit [Read error: Connection reset by peer] 15:05 -!- ali_rahbar_77 [~ali@5.115.164.115] has joined #openbsd 15:06 -!- b50d [~b50d@62.96.54.30] has quit [Remote host closed the connection] 15:06 -!- tronexte [~X@82.102.30.18] has quit [Ping timeout: 264 seconds] 15:08 -!- tronexte [~X@82.102.30.18] has joined #openbsd 15:15 -!- hygo_ [~hygo@189-68-13-186.dsl.telesp.net.br] has quit [Quit: WeeChat 4.6.3] 15:19 -!- apac [~alexander@user/apac] has quit [Read error: Connection reset by peer] 15:20 -!- ali_rahbar_77 [~ali@5.115.164.115] has quit [Ping timeout: 240 seconds] 15:22 -!- thrig [~thrig@c-73-221-177-233.hsd1.wa.comcast.net] has joined #openbsd 15:26 -!- janne_ [~janne@91-157-91-217.elisa-laajakaista.fi] has joined #openbsd 15:27 -!- apac [~alexander@user/apac] has joined #openbsd 15:27 -!- yclept [~yclept@user/yclept] has joined #openbsd 15:28 -!- apac [~alexander@user/apac] has quit [Client Quit] 15:30 < asji> httpd is off by default, but any user can set it up, since anyone can wish to serve a html page or someting more complex.. the relayd can be useful too, unbound too, but not much.. I mean, the pf is really awesome and other small packages/services are not really common. EVen the vmd is a bit out of common use.. about that: does vmm's take the amount of memory that we define to use, or memory usage is based 15:30 < asji> on what vmm needs in real time? 15:32 -!- ali_rahbar_77 [~ali@5.117.113.14] has joined #openbsd 15:35 -!- lagrange [~john@user/lagrange] has quit [Quit: leaving] 15:36 -!- tozhu [~tozhu@221.237.139.115] has joined #openbsd 15:42 < IcePic> hypervisors need more ram than what you give the guest. 15:42 < sibiria> though i think the answer is the latter. vmctl will tally active used RAM for each guest, and i have a few that report notably less than their maximum 15:42 < IcePic> don't think vmm needs tons more, but all emulators and hypervisors have to give (or at least pretend to give) the guest all its ram and then some for overhead. qemu emulating a different cpu arch will probably use up even more 15:44 -!- apac [~alexander@user/apac] has joined #openbsd 15:45 -!- struchu [~struchu@staticline-31-183-133-251.toya.net.pl] has quit [Quit: WeeChat 4.7.1] 15:45 < IcePic> if the guest decides not to use its ram, it might not show as usage, but if you use the VM to some degree, it should map in all ram sooner or later, especially if the OS uses a lot of randomization for which pages to use 15:46 -!- hygo [~hygo@189-68-13-186.dsl.telesp.net.br] has joined #openbsd 15:49 -!- apa_c [~alexander@user/apac] has joined #openbsd 15:49 -!- apac [~alexander@user/apac] has quit [Ping timeout: 244 seconds] 15:52 -!- feriman [~feriman@user/feriman] has joined #openbsd 15:53 < IcePic> so since vmm isn't (that I am aware of?) using memory ballooning, what was once used by a guest but isn't now used will not be returned to the OS as free ram. It might get swapped out by the host or something, but not totally freed 15:54 < thrig> to test this one might run a virt that runs code that eats up memory 15:55 < thrig> (one such test program caused linux to wedge pretty hard, had to physically power cycle the box) 15:56 < IcePic> I remember testing xen when it first came out, using a torrent client was a good way to wedge a xen guest so one had to kill it off to get it back running 15:57 < thrig> granted I was running a lot of the memory-eating programs (that allocated a lot of memory and then flipped bits randomly in said memory) and the OOM killer might have been struggling to keep up, or something 15:59 < IcePic> theo used to test hibernate like that. start programs that eat ram and gets most of them to get swapped out, then SEGV all of them at the same time so the coredump procedure wants to map all in at the same time, then hibernate. Very evil, but found a lot of bugs and corner cases I gather 15:59 < thrig> oh these programs also had a lot of threads each doing the bit-flipping 16:00 -!- polarian [~polarian@znc.polarian.dev] has quit [Excess Flood] 16:02 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 16:03 -!- mtoy [~mtoy@user/mtoy] has quit [Ping timeout: 240 seconds] 16:05 -!- mtoy [~mtoy@user/mtoy] has joined #openbsd 16:12 -!- Bradipo [~Bradipo@50.77.44.29] has joined #openbsd 16:13 -!- perelman [~unknown@40.red-83-39-171.dynamicip.rima-tde.net] has joined #openbsd 16:13 -!- perelman [~unknown@40.red-83-39-171.dynamicip.rima-tde.net] has quit [Changing host] 16:13 -!- perelman [~unknown@user/perelman] has joined #openbsd 16:13 -!- perelman [~unknown@user/perelman] has quit [Client Quit] 16:15 < anthk_> I know about man ksh(1), but how do arrays work? 16:16 < phy1729> it's under set -A 16:17 < thrig> if the shell script is complicated enough to need an array, I use a different language 16:17 -!- km [~km@c978F5BC1.dhcp.as2116.net] has joined #openbsd 16:18 < Bradipo> Same here, though I will use the "$@" array to good effect until it becomes too unwieldy. 16:26 < k0ga> indeed (being awk a good candidate for that kind of tasks) 16:27 < thrig> "$@" and shift are rare exceptions 16:40 -!- oldfolio [~oldfolio@217.180.201.144] has joined #openbsd 16:42 -!- bigato_ [~bigato@170.81.150.145] has quit [Ping timeout: 256 seconds] 16:42 < anthk_> por que una variable de fuera de un while vale 3 y si la uso dentro me vale 0? 16:43 < anthk_> ops, that was in Spanish somewhere else 16:43 < Bradipo> scope problem? 16:43 < anthk_> yep 16:43 < anthk_> there was some keywords for it 16:43 < anthk_> s,was,were 16:44 < anthk_> I declared the value for the loop outside of the while 16:44 -!- ficonni [~ficonni@213.196.101.102] has joined #openbsd 16:44 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 16:44 < anthk_> [[ $nl -gt 0 ]] inside the a while condition doesn't work with variables outside? 16:44 < thrig> another complication is what process what side of the while loop is in 16:47 -!- jgh [~jgh@hellmouth.gulag.org.uk] has quit [Remote host closed the connection] 16:49 -!- wnh [~Thunderbi@user/wnh] has joined #openbsd 16:49 < thrig> https://thrig.me/tmp/while.txt 16:51 -!- janne_ [~janne@91-157-91-217.elisa-laajakaista.fi] has quit [Quit: zzz] 16:51 -!- struchu [~struchu@staticline-31-183-133-251.toya.net.pl] has joined #openbsd 16:51 < anthk_> that was the reason on creating Perl right? 16:53 -!- fro [fro@humpty.dance] has joined #openbsd 16:54 -!- fro [fro@humpty.dance] has quit [Remote host closed the connection] 16:54 < sibiria> anthk_: will work fine in the script itself 16:55 < sibiria> but it won't persist to a new process unless you bring it along in the environment 16:56 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 16:56 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 16:57 -!- struchu [~struchu@staticline-31-183-133-251.toya.net.pl] has quit [Quit: WeeChat 4.7.1] 16:58 < asji> reading about "unwind" let me think that I can use this, to add "adblocks" like a popular repository to block "hosts".. is this correct or I am not correct in my interpretation? 17:00 < asji> sadly the man pages don't show the correct syntax for the example used "block list /etc/blocklist" file, to understand deeper how to use it 17:01 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 17:01 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 17:04 < asji> ah ok.. the syntax is explained in text format, not as an example.. but I am not sure if this can be used to that "block spam hosts" propose 17:04 -!- mover [~hischild@user/mover] has joined #openbsd 17:05 -!- apa_c [~alexander@user/apac] has quit [Quit: Konversation terminated!] 17:05 < asji> I guess is only to block domains.. which is more or less the same.. hosts file use the syntax 0.0.0.0 domain || this use the syntax .domain .. any feedback on this? 17:08 < sibiria> it works just as described. you write one FQDN per line, and you can do a single infinite wildcard definition by starting with a period 17:08 < sibiria> .example.com means any number of subdomains below example.com 17:10 < puffybuf> asji: I use unwind to encrypt all my DNS queries, not sure if you can add hosts lists, but you can use a DNS that blocks ads like https://mullvad.net/en/help/dns-over-https-and-dns-over-tls 17:10 < asji> so in not incorrect use case, to use it for "blocking spam and ads", like the "ultimate blacklist". 17:11 -!- fro [fro@humpty.dance] has joined #openbsd 17:11 < asji> oh.. ok, checking that 17:11 < asji> thanks!! 17:12 < Bradipo> puffybuf: Which is more likely? That someone at your ISP is interested in your DNS queries? Or that someone to whom you forward your DNS over HTTPS is interested in your DNS queries? 17:12 < puffybuf> Bradipo: well, everything is going over wireguard in my case 17:12 < Bradipo> Over wireguard to where? 17:12 < puffybuf> it is an easy way to block ad hosts 17:13 < Bradipo> The point of encrypting DNS isn't to block ad hosts. 17:14 < thrig> I have unbound scuttle the DNS queries off to 9.9.9.9 or one of those, encrypted 17:14 < puffybuf> Bradipo: do you use open wireless networks? 17:14 < Bradipo> No, but if I did, I would just use my own DNS resolver. 17:15 < Bradipo> But I suppose that's a fair point. Are you sending your DNS to your own DNS resolver that you control? 17:15 < sibiria> asji: it's not an incorrect use. you don't have to use dns-over-tls if using unwind. it's an acceptable and simple solution for domain-based ad blocking on its own 17:15 < uwharrie> if you're doing split horizon DoT may make sense 17:16 < uwharrie> but I just stuff it all over wg to unbound running at home as a root resolving without forwarding on to any megacorps 17:16 < Bradipo> I find that there are relatively few people who understand split horizon DNS, and even fewer that use it to any advantage. :-) 17:16 < asji> I am a very "primitive" user.. sometimes I use a "normal browser" because I cannot use some sites with w3m or elinks.. 17:17 < asji> But yeah, when using luakit or chrome, I like a "clean" surf.. without too much ads annoying me 17:17 -!- ali_rahbar_77 [~ali@5.117.113.14] has quit [Read error: Connection reset by peer] 17:18 -!- ali_rahbar_77 [~ali@5.117.113.14] has joined #openbsd 17:18 -!- ali_rahbar_77 [~ali@5.117.113.14] has quit [Changing host] 17:18 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has joined #openbsd 17:19 < sibiria> ublock origin is a fantastic plugin 17:19 < sibiria> and origin lite if one suffers from chromium 17:20 -!- foton_x [~unknown@user/foton] has quit [Ping timeout: 264 seconds] 17:22 -!- foton [~unknown@user/foton] has joined #openbsd 17:23 < ssm_> webshit is uninvited from my install. meta/tor-browser is the only browser installed for class 6 biometrichazards 17:23 < asji> I think luakit have something similar.. but i need to configure it.. sometimes i think chomium use too much resources.. but 17:24 < asji> yeah.. to use some services, is the best choice 17:27 -!- byteskeptical [~amnesia@user/byteskeptical] has joined #openbsd 17:31 < anthk_> luakit is' fine with some setting for acceleration 17:31 < anthk_> on chromium, git clone git://bitreich.org/privacy-haters 17:31 < anthk_> place the file inside the chrome/chromium directory at /etc/profile.d/chromium.sh 17:31 < anthk_> chmod +x it 17:32 < anthk_> and adapt the env vars to match the ones from the chromium package 17:32 < puffybuf> Bradipo: as for my wireguard relay: I buy mullvad cards off amazon, scratch off the code, then I connect to my mullvad account over tor onion link and add time. So even my they don't know exactly who I am 17:34 < Bradipo> Ok. 17:35 < byteskeptical> puffybuf: does Amazon count as nobody? 17:35 -!- byteskeptical [~amnesia@user/byteskeptical] has quit [Remote host closed the connection] 17:37 -!- henrix [~henrix@user/henrix] has quit [Quit: leaving] 17:37 -!- byteskeptical [~amnesia@user/byteskeptical] has joined #openbsd 17:38 -!- jibsaramnim_ [~jibsaramn@59.5.160.14] has quit [Quit: ZNC 1.10.1 - https://znc.in] 17:39 -!- jibsaramnim [~jibsaramn@59.5.160.14] has joined #openbsd 17:39 -!- jibsaramnim [~jibsaramn@59.5.160.14] has quit [Changing host] 17:39 -!- jibsaramnim [~jibsaramn@user/Jibsaramnim] has joined #openbsd 17:40 < cgnarne> that level of paranoia sounds exhausting 17:41 < fro> also pointless 17:41 < Bradipo> Depends on the situation I imagine. 17:42 -!- psydroid3 [~psydroid@83-87-229-36.cable.dynamic.v4.ziggo.nl] has joined #openbsd 17:48 -!- henrix [~henrix@user/henrix] has joined #openbsd 17:50 -!- jerryf [~jerryf@user/jerryf] has quit [Remote host closed the connection] 17:50 -!- jerryf_ [~jerryf@user/jerryf] has joined #openbsd 17:51 < byteskeptical> cgnarne: no more so than lengths people go to socially to show only certain parts of themselves to others until some threshold is met 17:51 -!- jerryf_ [~jerryf@user/jerryf] has quit [Remote host closed the connection] 17:51 -!- jerryf [~jerryf@user/jerryf] has joined #openbsd 17:53 < Bradipo> smtpd(8) by default uses the hostname as the sender domain... 17:53 < Bradipo> I imagine I can alter smtpd.conf to change that behavior. 17:54 < cgnarne> byteskeptical: sorry, i don't really get what you mean by that 17:54 < Bradipo> Ahh, looks like it might be /etc/mail/mailname ? 17:55 < anthk_> I might post at comp.unix.shell 17:58 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.5.2] 18:00 < anthk_> ok, done 18:00 -!- pmb [~pmb@user/koob] has quit [Quit: pmb] 18:01 < anthk_> I tried set +A array $value but that didn't work 18:01 < anthk_> according to the man page 18:02 -!- ublx [~ublx@user/ublx] has joined #openbsd 18:03 < anthk_> rc from 9front looks saner than bourne shells 18:07 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Remote host closed the connection] 18:18 -!- byteskeptical [~amnesia@user/byteskeptical] has quit [Quit: Lost terminal] 18:23 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 18:29 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 18:30 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 18:30 -!- ali_rahbar_77 [~ali@user/ali-rahbar-77:70559] has quit [Remote host closed the connection] 18:32 -!- housemate [~housemate@2405:6e00:243a:d5f5:4616:6c4e:d527:d7f0] has quit [Ping timeout: 260 seconds] 18:34 -!- ewig`` [~ewig``@user/ewig] has quit [Remote host closed the connection] 18:36 -!- poh [~poh@user/poh] has joined #openbsd 18:41 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 18:41 -!- gknux [~gknux@user/galaxy-knuckles/x-3015990] has quit [Ping timeout: 264 seconds] 18:41 -!- quinq [~user@user/quinq] has quit [Ping timeout: 244 seconds] 18:43 -!- quinq [~user@user/quinq] has joined #openbsd 18:44 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 18:44 -!- gknux [~gknux@user/galaxy-knuckles/x-3015990] has joined #openbsd 18:46 -!- mover [~hischild@user/mover] has quit [Ping timeout: 260 seconds] 18:48 -!- tronexte [~X@82.102.30.18] has quit [Ping timeout: 240 seconds] 18:50 -!- tronexte [~X@82.102.30.18] has joined #openbsd 18:50 -!- h7340d [~cb99@ip212-227-87-14.pbiaas.com] has joined #openbsd 18:51 < ssm_> anthk_: if you're creating an array, use -A not +A 18:51 < ssm_> `set -A a b c; echo ${a[*]}` == a b c 18:51 -!- h7340d [~cb99@ip212-227-87-14.pbiaas.com] has quit [] 18:52 < ssm_> s/a b c/a &/ 18:53 < lts-> Perfectly clear 18:54 < lts-> Unless you meant to use /g too 18:54 < Bradipo> Shouldn't need /g in this case. 18:55 < Bradipo> Would have been just fine to do: s/a/& &/ 18:56 -!- ixc [~ixc@user/ixc] has quit [Ping timeout: 252 seconds] 18:56 < ssm_> a lmao :alien: 18:57 < ssm_> `set -A a a b c; echo ${a[*]}` == a b c 18:59 -!- bket [~bket@user/bket] has quit [Quit: leaving] 19:03 -!- zapata [~zapata@user/zapata] has quit [Quit: zapata] 19:05 < anthk_> I want to use an array to store strings with spaces 19:06 < anthk_> and access it iteratively 19:06 -!- escobear [~gknux@user/galaxy-knuckles/x-3015990] has joined #openbsd 19:07 -!- qqe [~qqq@185.54.21.203] has quit [Remote host closed the connection] 19:07 -!- gknux [~gknux@user/galaxy-knuckles/x-3015990] has quit [Ping timeout: 264 seconds] 19:07 -!- escobear is now known as gknux 19:08 < ssm_> standard shell field seperation still applies to arrays ${x[@]} and ${x[*]} are the same and do default field seperation by IFS which ignores escape whitespace from assignment (IE "a b" "c" expands to "a" "b" "c"). "${x[@]}" is the same but retains escaped whitespace ("a b" "c" is still two fields, "a b" "c"). "${x[*]}" ignores field separation ("a b" "c" is "a b c") 19:09 < ssm_> if you hate that, you can set IFS to an empty string to disable field separation, which is good when combined with the read builtin for a crusty readline 19:12 < thrig> hidden auto-split, crouching glob 19:12 < anthk_> I'm trying with links[$index]=$line 19:12 < anthk_> under a while loop 19:13 < anthk_> $index iterates over the loop, it increases by one 19:13 < ssm_> paste your exact command? 19:13 < thrig> while loops in sh are a good way to have silent data loss, unless you cross all the ts and dot all the is 19:13 < anthk_> links[$index]="$line" 19:13 < anthk_> index=$(($index+1)) 19:13 < anthk_> print "$index, ${links[index]}" 19:14 < anthk_> it's just a test 19:14 < anthk_> inb4 "try perl/tcl", I can do it in Perl, but I want to test ksh fist 19:14 < IcePic> I think perl is a nice solution too 19:17 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Ping timeout: 272 seconds] 19:17 < vortexx> Bradipo: I've been using split horizon for 25 years 19:17 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 19:18 < vortexx> getting it working with unbound+nsd was interesting after decades of bind 19:22 -!- sonya [~nightwolf@gateway/tor-sasl/sonya] has quit [Remote host closed the connection] 19:22 -!- sonya [~nightwolf@gateway/tor-sasl/sonya] has joined #openbsd 19:28 < ssm_> anthk_: something like this? https://howdoesmycode.work/tmp/21429.sh 19:32 < ssm_> `} | while IFS= read line` is the confusing part, if any. it's piping the cat heredoc into the while loop's conditional, with IFS being set to the empty string *only* for the read command's execution. when an env var is passed to a command directly like this, it applies to that command only. 19:33 < ssm_> in english, field splitting is disabled only for the read command, default splitting is used everywhere else in the script 19:35 < anthk_> now it works 19:35 < anthk_> now I have to iterate the array 19:37 < ssm_> ((index++)) or index=$((index+1)) on its own line works, or [index++] in an array indexing also works 19:37 < ssm_> 2nd is the most portable 19:38 < anthk_> ${#name[@]} 19:38 < anthk_> the iteration already worked, now I have to iterate on the stored array 19:38 < ssm_> that works, though if you were assigning to the array you already have iterator on hand 19:45 < ssm_> typescript https://howdoesmycode.work/tmp/5220.txt 19:46 -!- elarks [~yerri@user/yerrii] has quit [Read error: Connection reset by peer] 19:48 -!- elarks [~yerri@user/yerrii] has joined #openbsd 19:52 -!- dlock23 [~dlock@user/dlock23] has joined #openbsd 19:52 < anthk_> uhm, the scope of the index variable in while is not global 19:53 < ssm_> all shell variables are global, with a couple exceptions (function extension) 19:54 < ssm_> scope can be controlled with subshells, I like using (umask 077; some_command) occasionally 19:55 < thrig> global to a process, but a pipe while loop puts the loop code in some process or the other 19:56 < ssm_> you're right 19:56 < anthk_> uhm, it wasn't that; it turns out the IFS variable does odd stuff 19:56 -!- apa_c [~alexander@user/apac] has joined #openbsd 19:57 < thrig> gemini://thrig.me/blog/2025/11/05/where-while.gmi 19:57 -!- inidhil [~inidhil@user/inidhil] has joined #openbsd 19:58 -!- mover [~hischild@user/mover] has joined #openbsd 19:58 < ssm_> lol keep winning zornshell 19:59 < anthk_> with IFS= I get the right iteration 20:00 < anthk_> but not the link 20:02 -!- fro [fro@humpty.dance] has quit [Remote host closed the connection] 20:04 < izder456> i highly suggest the x140e model thinkpads for an ultraportable netbook btw. you might wanna upgrade the wifi to a supported intel chipset well documented online after you update bios though. the default broadcom wifi card really sucks. battery life on my x140e running openbsd last well over 9 hours on STOCK BATTERY! how crazy is that? 20:05 -!- lagkage_ [yaypixxo@2a01:7e01::f03c:92ff:fe98:8d0e] has quit [Quit: ZNC 1.9.0 - https://znc.in] 20:05 < izder456> works great with OpenBSD IME 20:06 < izder456> its an APU so power usage is minimal 20:06 -!- moocow9 [~moocow9@user/moocow9] has joined #openbsd 20:08 -!- yclept [~yclept@user/yclept] has quit [Quit: nyaa~] 20:09 -!- lagkage [~yaypixxo@li2046-61.members.linode.com] has joined #openbsd 20:11 -!- zami3l [~zami3l@tokyo.netunix.net] has quit [Ping timeout: 250 seconds] 20:11 -!- zami3l [~zami3l@tokyo.netunix.net] has joined #openbsd 20:13 -!- winq_ [~winq@user/winq] has quit [Ping timeout: 255 seconds] 20:15 -!- nekobit is now known as nekos_carpet 20:17 -!- winq [~winq@user/winq] has joined #openbsd 20:18 -!- bket [~bket@user/bket] has joined #openbsd 20:19 -!- hygo [~hygo@189-68-13-186.dsl.telesp.net.br] has quit [Ping timeout: 264 seconds] 20:21 -!- hygo [~hygo@189-68-13-186.dsl.telesp.net.br] has joined #openbsd 20:21 < ssm_> izder456: tired of thinkpads, I moved to framework, now I'm moving to MNT. going to try to 3d print a chassis. 20:22 < ssm_> MNT reform is documented as supported in a subpath of www/plat.html 20:23 < izder456> thats good. i'm curious to see how well it works long-term. 20:23 < anthk_> mm the 'index' variable doesn't work upon different while's 20:23 < ssm_> the entire thing is open hardware, you can grab the CAD files for every component off their git 20:23 < anthk_> I have no typeset -g 20:24 < anthk_> I tried with typeset -x index=0 on top of the file, no luck 20:24 < ssm_> anthk_: provide us your input to what's supposed to go inside $link? 20:27 < ssm_> izder456: I'd love to get to the point I could reprint damaged components (minus display & mainboard) in the single to low double digit price range, and when I need to upgrade I can just edit the cad files a bit to be accustomed to the new board 20:29 -!- fro [fro@humpty.dance] has joined #openbsd 20:34 -!- absc [~absc@2a04:ee41:8:6055::101] has joined #openbsd 20:44 -!- mmebsd [~metbsd@pool-99-241-31-97.cpe.net.cable.rogers.com] has quit [Quit: byeircer] 20:45 -!- shiranaihito_ [~shiranaih@ppp-171-97-85-24.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 20:46 -!- linsux [~metbsd@pool-99-241-31-97.cpe.net.cable.rogers.com] has joined #openbsd 20:46 -!- linsux [~metbsd@pool-99-241-31-97.cpe.net.cable.rogers.com] has quit [Changing host] 20:46 -!- linsux [~metbsd@user/linsux] has joined #openbsd 20:48 -!- apa_c [~alexander@user/apac] has quit [Ping timeout: 240 seconds] 20:49 -!- ivdsangen [~ivo@83-84-59-127.cable.dynamic.v4.ziggo.nl] has quit [Quit: leaving] 20:51 -!- emmanuelux [~emmanuelu@user/emmanuelux] has joined #openbsd 20:52 -!- Lotsen [~lotsen@user/Lotsen] has quit [Ping timeout: 244 seconds] 20:54 -!- uncleyear [~ian@178.66.156.169] has quit [Ping timeout: 250 seconds] 20:57 -!- seninha [~seninha@user/seninha] has quit [Remote host closed the connection] 20:57 -!- seninha [~seninha@user/seninha] has joined #openbsd 20:58 -!- jgh [~jgh@hellmouth.gulag.org.uk] has joined #openbsd 20:58 -!- ublx [~ublx@user/ublx] has joined #openbsd 21:03 -!- lotsen [~lotsen@user/Lotsen] has joined #openbsd 21:04 < sonya> any advise for a cheap mouse with good sensor to replace logitech mx-300? thanks. 21:05 < emmanuelux> sonya, mx300? 20 years old mouse, loved it 21:05 < sonya> it died yesterday. i'm in misery .. 21:08 -!- CrimeWave [~Ebox-MTL@user/CrimeWave] has joined #openbsd 21:16 < eea> oh wow, i recently lost my mx300 too, switched to mx vertical 21:16 < eea> vurry nic3 21:16 < eea> nic3 21:16 < eea> nice 21:16 < eea> lol 21:19 < visl> i use an mx master 3, but i had to find a mac to pair the rfdongle to the mouse using their dumb software 21:25 -!- kss [beeff4a8ee@2a03:6000:1812:100::3b8] has joined #openbsd 21:27 -!- rptr [~rptr@user/rptr] has quit [Quit: improperly oriented keyboard] 21:27 -!- jab [~user@user/jab] has quit [Remote host closed the connection] 21:35 -!- seninha [~seninha@user/seninha] has quit [Ping timeout: 250 seconds] 21:36 -!- sonya [~nightwolf@gateway/tor-sasl/sonya] has quit [Quit: Leaving] 21:37 -!- dlock23 [~dlock@user/dlock23] has quit [Quit: Leaving] 21:39 -!- sjg [~sjg@user/sjg] has quit [Ping timeout: 264 seconds] 21:40 -!- rptr [~rptr@193.42.61.25] has joined #openbsd 21:40 -!- rptr [~rptr@193.42.61.25] has quit [Changing host] 21:40 -!- rptr [~rptr@user/rptr] has joined #openbsd 21:41 -!- sjg [~sjg@user/sjg] has joined #openbsd 21:42 -!- poh [~poh@user/poh] has quit [Quit: leaving] 21:48 -!- mover [~hischild@user/mover] has quit [Ping timeout: 240 seconds] 21:51 -!- fro [fro@humpty.dance] has quit [Quit: bbl] 21:57 -!- psydroid3 [~psydroid@83-87-229-36.cable.dynamic.v4.ziggo.nl] has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/] 22:06 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 22:06 -!- LibreBSD [~LibreBSD@user/LibreBSD] has joined #openbsd 22:09 < LibreBSD> Well, my laptop and server are both now on 7.8 22:09 < LibreBSD> My first time updating OpenBSD. 22:14 -!- iomonad [~iomonad@user/iomonad] has joined #openbsd 22:15 -!- cryptexx0 [~cryptexx0@185-177-124-101.hosted-by-worldstream.net] has joined #openbsd 22:24 -!- mover [~hischild@user/mover] has joined #openbsd 22:26 -!- absc [~absc@2a04:ee41:8:6055::101] has quit [Quit: Got to go. irctk 1.1.0-beta] 22:27 < tux0r> i hope it worked well for you 22:27 < tux0r> did you sysmerge and syspatch already? :) 22:33 -!- jkm_ [~jkm@user/jkm] has quit [Quit: WeeChat 4.6.3] 22:34 -!- jkm [~jkm@user/jkm] has joined #openbsd 22:40 < puffybuf> LLVM ERROR: out of memory I have 32 Gb ... 22:42 < puffybuf> also, I can't have a memory filesystem larger than 2Gb ? it gives mount_mfs: mmap: Cannot allocate memory 22:43 < thrig> perhaps there are login.conf limits at play? 22:45 -!- rc [~rc@user/rc] has joined #openbsd 22:45 -!- Guest8 [~Guest8@196.176.76.107] has joined #openbsd 22:45 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.5.2] 22:47 -!- Guest8 [~Guest8@196.176.76.107] has left #openbsd [] 22:51 -!- treefrob [~treefrob@p57a96d6b.dip0.t-ipconnect.de] has quit [Quit: Leaving] 22:53 -!- tvtoon [~The_cUnix@user/tvtoon] has joined #openbsd 22:55 -!- naoki [~Thunderbi@240f:10b:7440:1:4c9d:dff9:c8b:f8ce] has joined #openbsd 23:00 -!- km [~km@c978F5BC1.dhcp.as2116.net] has quit [] 23:01 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 23:02 -!- xx [~xx@user/xx] has quit [Ping timeout: 272 seconds] 23:05 -!- vezhlys [~Andrius@cl-78-158-15-148.fastlink.lt] has quit [Remote host closed the connection] 23:10 -!- ficonni [~ficonni@213.196.101.102] has quit [Quit: Lost terminal] 23:15 -!- toxic063 [~toxic0@82-65-162-186.subs.proxad.net] has quit [Ping timeout: 244 seconds] 23:15 -!- iomonad [~iomonad@user/iomonad] has quit [Ping timeout: 240 seconds] 23:16 -!- user71 [~user71@2001:1530:1053:349c:3006:4538:9b1a:7fa4] has quit [Quit: Do the right thing.] 23:17 -!- johnzlly [~johnzlly@user/johnzlly] has joined #openbsd 23:17 -!- iomonad [~iomonad@user/iomonad] has joined #openbsd 23:21 -!- nekos_carpet is now known as nekos_box 23:21 -!- johnzlly [~johnzlly@user/johnzlly] has quit [Ping timeout: 244 seconds] 23:23 < rnkn> I have an app running as _bliptown. The app edits and renders flat Markdown files on disk. I also want the logged in system user, e.g. alice, to be able to edit alice's files in /var/www/home/alice but not bob's files in /var/www/home/bob, whereas the app needs to be able to edit all files. Can I do this just by making the directories alice:www 775 with _bliptown in www group? 23:23 < rnkn> Or should I setuid to alice/bob within the app? 23:23 < rnkn> The app is Perl/Mojolicious 23:24 < thrig> setuid would be a bit complicated, but users on the other hand are well known to break file permissions or create malicious symlinks 23:26 -!- wnh [~Thunderbi@user/wnh] has quit [Ping timeout: 246 seconds] 23:26 -!- OnASnoopPhone [~OnASnoopP@user/OnASnoopPhone] has quit [Remote host closed the connection] 23:28 -!- toxic063 [~toxic0@82-65-162-186.subs.proxad.net] has joined #openbsd 23:29 -!- gman999_ [~GMan999@64.147.119.42.static.nyinternet.net] has joined #openbsd 23:30 < rnkn> yeah, also alice would need to chown alice:www foo.md and chmod 664 foo.md for it to work... 23:30 -!- gman999_ [~GMan999@64.147.119.42.static.nyinternet.net] has quit [Client Quit] 23:30 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.5.2] 23:31 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 23:34 < thrig> multiple "master" sources can be hell to maintain 23:38 -!- asji [~bajiu@user/asji] has quit [Remote host closed the connection] 23:42 < rnkn> thrig: sorry, what are "master" sources? 23:43 < rnkn> like /var/www/home/alice etc? 23:44 < thrig> OpenBSD does all edits in CVS (and there are git mirrors); multiple master sources would be doing edits on both CVS and git then trying to merge them back together 23:44 < thrig> similar to your "app fiddles with things OR the users instead..." 23:49 < rnkn> aren't they the same master source though? i.e. /var/www/home/alice? 23:49 < rnkn> that path would be owned by alice and /home/alice/public -> /var/www/home/alice 23:49 < thrig> no? user makes file edits, app does something else, user complains, etc 23:50 -!- johnzlly [~johnzlly@user/johnzlly] has joined #openbsd 23:52 < rnkn> the app logged in user should always be the system user though, aren't they both (being the same person) just editing files? 23:53 < dg> if it's owned by :www the user can chown that directory back to one of their groups, feels like it would be better to have it _bliptown:alice then the user is just getting group permissions (which they can't change) not ownership 23:53 < dg> (although then _bliptown might need to be a member of the user's group, if it needs to set those directories up) 23:54 < rnkn> am I stupid in thinking setuid might be the better approach? once the user is logged in it drops privileges and can only do what the user can do? 23:54 < thrig> users forget where they edited what, get confused, you get confused trying to debug the problem. or, you could have only one way to edit the data 23:55 < rnkn> ehhh I'm not so worried about users getting confused in that case. (or maybe I will be at some point in the future) 23:55 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 23:58 < dg> rnkn: setuid feels overkill for this, if anything a tiny helper that lets the _bliptown user create a user's directory would be the way to do it 23:58 < dg> i.e. all that needs to run as root is "chown :alice .", everything else it can change the permissions of because its the owner of a parent directory --- Log closed Thu Nov 06 00:00:02 2025