💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2023-01-14.txt captured on 2023-01-29 at 03:43:12.
-=-=-=-=-=-=-
[2023-01-14T01:52:01Z] <niceguy5000[m]> michaelforney is awesome. [2023-01-14T04:08:18Z] <noocsharp> velox doesn't use the framebuffer [2023-01-14T04:08:45Z] <noocsharp> it just uses wld, which a statically linkable drawing library that uses drm [2023-01-14T04:14:57Z] <noocsharp> mesa implements a lot of apis to do hardware accelerated drawing, whereas on most hardware wld is software based [2023-01-14T04:15:09Z] <noocsharp> which means its slower, but a lot simpler [2023-01-14T04:45:13Z] <niceguy5000[m]> Thanks noocsharp, you're the best. [2023-01-14T05:06:34Z] <wael_> Hi [2023-01-14T05:44:42Z] <sad_plan> o/ [2023-01-14T05:46:59Z] <sad_plan> wael_: perp is a service manager. not an init. unless theres something Im unaware of here. I do however know that the dev of perp made an init, but I havent found its sourcees yet [2023-01-14T05:47:20Z] <wael_> oyea oops mistake of wording [2023-01-14T05:47:24Z] <wael_> ye its just a service manager [2023-01-14T05:47:36Z] <sad_plan> yeah, Ive used it on oasis, but not elsewhere [2023-01-14T05:47:38Z] <wael_> also oasis actually mounts most of the important directories like proc and dev and pts via fstab [2023-01-14T05:47:42Z] <wael_> not via init scripts [2023-01-14T05:47:46Z] <wael_> thats why the init scripts are so fucking short [2023-01-14T05:48:10Z] <wael_> sad_plan: well how was perp [2023-01-14T05:48:16Z] <sad_plan> I know. I had to wrap my head around that myself. [2023-01-14T05:48:19Z] <wael_> could it be a viable replacement for svc/runit [2023-01-14T05:48:45Z] <sad_plan> I suppose it can. its simple. the service scripts are somewhat similar to runits [2023-01-14T05:48:55Z] <wael_> hmm [2023-01-14T05:49:00Z] <wael_> it even has logging [2023-01-14T05:49:04Z] <wael_> it literally IS the replacement for me [2023-01-14T05:49:26Z] <sad_plan> b0llix.net, then go to perp [2023-01-14T05:49:37Z] <sad_plan> theres a README and everything if you havent alreadfy found it [2023-01-14T05:49:45Z] <sad_plan> manpages even [2023-01-14T05:50:03Z] <sad_plan> its supprisingly well documented on his site imo [2023-01-14T05:50:31Z] <wael_> only problem is that i dont really need an init like this [2023-01-14T05:50:37Z] <wael_> i can just ::respawn my services in inittab [2023-01-14T05:50:53Z] <wael_> oh yeah i cant kill them or stop them easily [2023-01-14T05:52:27Z] <sad_plan> Oasis doesnt use inittab. but each to their own. I like having it more simiar to oasis' setup. [2023-01-14T05:52:34Z] <wael_> well yeah [2023-01-14T05:52:46Z] <sad_plan> I find not using a inittab to be easier to use anyway [2023-01-14T05:52:48Z] <wael_> cuz they use sbase/ubase and the init used doesnt support it [2023-01-14T05:52:54Z] <sad_plan> correct [2023-01-14T05:52:56Z] <wael_> after reading the entire rc man page before i slept last night i really want to script in it now lol [2023-01-14T05:53:13Z] <sad_plan> do it. mid will be proud of you [2023-01-14T05:53:57Z] <sad_plan> rc is the shit. I wanna learn it too. [2023-01-14T05:54:09Z] <wael_> how was oasis's hotplugd btw [2023-01-14T05:54:16Z] <wael_> i dont think it sets permissions and groups on files like mdevd does in the mdev like a boss config [2023-01-14T05:54:36Z] <sad_plan> Ive actually not tried it iirc, so Im not sure. [2023-01-14T05:54:45Z] <sad_plan> but its just a simple rc script [2023-01-14T05:54:46Z] <wael_> it comes with oasis thou [2023-01-14T05:55:09Z] <wael_> > hotplugd reads kernel uevents via netlink and for each one spawns [2023-01-14T05:55:09Z] <wael_> the /etc/hotplug script with an environment consisting of the uevent [2023-01-14T05:55:09Z] <wael_> keys and values. [2023-01-14T05:55:11Z] <wael_> hotplugd is C [2023-01-14T05:56:07Z] <wael_> i guess hotplugd wont work [2023-01-14T05:56:12Z] <wael_> there's suckless's smdev [2023-01-14T05:56:18Z] <sad_plan> right. Ive not looked into it, as I havent needed it. [2023-01-14T05:56:19Z] <wael_> but it doesnt daemonize and im not sure how i can use it as a device manager [2023-01-14T05:56:43Z] <sad_plan> dilyn used that before, and so did I. it works just fine when properly configured [2023-01-14T05:57:05Z] <wael_> also, what is libudev-helper zero thing and what does it do? [2023-01-14T05:58:51Z] <sad_plan> I would suppose its libudev-zero, like we have. but Ive not checked tbh :p [2023-01-14T06:00:39Z] <wael_> it's used for 'hotplugging' [2023-01-14T06:00:40Z] <wael_> but i thought mdev does that [2023-01-14T06:00:58Z] <wael_> mdev just sets permissions? how about basically all the other things in mdev.conf, will they not get hotplugged [2023-01-14T06:01:01Z] <wael_> illiliti: [2023-01-14T06:02:56Z] <wael_> i dont see why device manager would be started and then killed by baseinit as well [2023-01-14T06:03:31Z] <sad_plan> I would recall the answer to that, but I forgot. it was asked a while ago actually [2023-01-14T06:03:45Z] <sad_plan> search the log [2023-01-14T06:04:27Z] <wael_> what log [2023-01-14T06:04:30Z] <sad_plan> irc log [2023-01-14T06:05:17Z] <wael_> no results [2023-01-14T06:05:23Z] <sad_plan> hm [2023-01-14T06:05:36Z] <sad_plan> couldve sworn it was asked recently [2023-01-14T06:06:51Z] <wael_> jesus man rc's syntax is just so beautiful [2023-01-14T06:08:01Z] <wael_> whats the init you use again? lol [2023-01-14T06:08:36Z] <sad_plan> rich felkers minimal init [2023-01-14T06:08:43Z] <wael_> link pls [2023-01-14T06:08:55Z] <sad_plan> its baseically sinit, but without the signaling [2023-01-14T06:08:57Z] <sad_plan> yes sir [2023-01-14T06:09:09Z] <wael_> well is sinit any better? sinit comes with a shutdown.c thing [2023-01-14T06:09:10Z] <sad_plan> https://github.com/richfelker/minimal-init [2023-01-14T06:10:20Z] <wael_> one reboot later and mdev straight up didn't launch [2023-01-14T06:10:31Z] <wael_> have to fix from.chroot now because of X autostart [2023-01-14T06:10:33Z] <sad_plan> theres is a second implentation aswell, which Ive used earlier, its more similar to sinit. not sure when it comes from though [2023-01-14T06:10:40Z] <sad_plan> you dont need mdev [2023-01-14T06:10:57Z] <wael_> you use tinyx [2023-01-14T06:11:01Z] <sad_plan> correct [2023-01-14T06:11:03Z] <wael_> I use X and libinput [2023-01-14T06:11:11Z] <sad_plan> I dont need libinput either [2023-01-14T06:11:19Z] <sad_plan> not even xkeyboard-config [2023-01-14T06:11:20Z] <sad_plan> nothing [2023-01-14T06:11:23Z] <sad_plan> its amazing [2023-01-14T06:11:25Z] <wael_> because tinyx reads kernel input [2023-01-14T06:11:30Z] <sad_plan> yep [2023-01-14T06:11:39Z] <wael_> mate [2023-01-14T06:12:05Z] <sad_plan> https://gist.github.com/rofl0r/6168719/raw/183525e0f0007169a49392b21ceee5b507e3aee8/init.c heres the other implementation I spoke of. [2023-01-14T06:12:15Z] <wael_> wow [2023-01-14T06:12:16Z] <sad_plan> its more similar to sinit, if you view sinits sources [2023-01-14T06:12:35Z] <sad_plan> mostly without the signal handling, as far as I can see anyway [2023-01-14T06:12:48Z] <sad_plan> with my lackinng knowledge in C [2023-01-14T06:15:35Z] <wael_> bro you don't need knowledge to recognize `signal()` [2023-01-14T06:16:22Z] <sad_plan> probably not. but I just put them side by side and viewed them. I knew what it does, so it was simple to pinpoint its differences [2023-01-14T06:20:06Z] <wael_> this is my rc.shutdown with busybox {ru,i}nit [2023-01-14T06:20:07Z] <wael_> https://termbin.com/zsg6g [2023-01-14T06:20:09Z] <wael_> is it good [2023-01-14T06:20:24Z] <wael_> i should probably do that baseinit did [2023-01-14T06:20:27Z] <wael_> like killall processes and such [2023-01-14T06:21:00Z] <sad_plan> yeah I was just gonna mentioned it, you might wish to have a kill -9 1, or killall [2023-01-14T06:21:14Z] <sad_plan> perhaps also unmount swap, if you have swap at all [2023-01-14T06:21:48Z] <wael_> i dont use swap [2023-01-14T06:21:52Z] <wael_> not after upgrading my memory lol [2023-01-14T06:21:56Z] <sad_plan> then its a done deal [2023-01-14T06:22:03Z] <sad_plan> how much ram you got now? [2023-01-14T06:22:08Z] <wael_> doesnt matter [2023-01-14T06:22:09Z] <wael_> anyway [2023-01-14T06:22:16Z] <wael_> i dont think using kill -9 1 would work [2023-01-14T06:22:26Z] <wael_> because then mounting / as read write and umount -a wouldnt execute [2023-01-14T06:22:32Z] <wael_> so ill do killall -15 and killall -9 [2023-01-14T06:23:58Z] <wael_> ohhhhhhhhhhhhhhhhhhhhhhhhhhhhh [2023-01-14T06:24:05Z] <sad_plan> morpheous used killall5 -s TERM, sleep 3, killall5 -s KILL atleast [2023-01-14T06:24:05Z] <wael_> thats why baseinit took so long to poweroff [2023-01-14T06:24:08Z] <wael_> it sleeps for 2 seconds [2023-01-14T06:24:11Z] <sad_plan> lol [2023-01-14T06:24:36Z] <sad_plan> you might also wanna sync before shuting down aswell. Im not sure of the implications if you dont though [2023-01-14T06:24:53Z] <wael_> i already run sync so many times a day [2023-01-14T06:24:58Z] <wael_> its like a fidget toy [2023-01-14T06:25:11Z] <sad_plan> why? [2023-01-14T06:25:16Z] <wael_> i dont know [2023-01-14T06:25:35Z] <wael_> oh yeah sync is [2023-01-14T06:25:36Z] <wael_> yeah i should do that [2023-01-14T06:25:38Z] <wael_> oasis doesnt tho [2023-01-14T06:25:51Z] <sad_plan> yeah I dont belive it does [2023-01-14T06:27:02Z] <sad_plan> also, our rc.shutdown dont call anything that actually shuts it down. you need to call halt -p or w/e equivilant you use [2023-01-14T06:27:22Z] <sad_plan> I use halt from ubase, but busybox's shutdown or poweroff works aswell I suppose [2023-01-14T06:28:26Z] <sad_plan> if you look at the baseinit rc.shutdown, it calls kpow at the bottom to reboot/poweroff [2023-01-14T06:28:32Z] <wael_> yes [2023-01-14T06:28:43Z] <wael_> though [2023-01-14T06:28:46Z] <wael_> does sinit handle those [2023-01-14T06:28:51Z] <wael_> i really want to keep /etc/inittab [2023-01-14T06:28:53Z] <wael_> its pretty nice [2023-01-14T06:29:13Z] <sad_plan> sinit doesnt support inittab [2023-01-14T06:29:25Z] <sad_plan> so im not sure you can, if you plan to use sinit [2023-01-14T06:29:40Z] <wael_> yeah i know [2023-01-14T06:29:47Z] <wael_> afaik only toybox and busybox do [2023-01-14T06:30:02Z] <sad_plan> yeah [2023-01-14T06:30:40Z] <sad_plan> its just another extra file one can initially live without. using sinit you only really need rc.init [2023-01-14T06:31:17Z] <wael_> https://termbin.com/xd4cs [2023-01-14T06:31:25Z] <wael_> tell me a way to do this within sinit [2023-01-14T06:31:38Z] <wael_> and felker whatever [2023-01-14T06:33:19Z] <sad_plan> kernel calls the init itself. sinit just needs to know where it is. its configured in config.h file. this covers the first 2 lines atleast. rc.shutdown is called separatly [2023-01-14T06:33:31Z] <sad_plan> service manager is called in rc.init [2023-01-14T06:33:40Z] <wael_> and service manager calls getty [2023-01-14T06:34:01Z] <sad_plan> gettys has to be started either in rc.init, or by service manager. I call them in rc.init, but oasis has perp starting it [2023-01-14T06:34:29Z] <sad_plan> that mostly covers all of it, doesnt it? [2023-01-14T06:34:50Z] <wael_> well i use busybox init [2023-01-14T06:34:53Z] <sad_plan> you may also wish to use a rc.local, which replaces kiss' inithooks [2023-01-14T06:35:18Z] <wael_> i do want to use toybox some time but it did give me incompatibilities due to some missing flags [2023-01-14T06:35:33Z] <wael_> i wont use sbase or ubase either because i don't want to grow up depressed [2023-01-14T06:35:37Z] <sad_plan> thats the issue with niche software [2023-01-14T06:35:39Z] <wael_> i love busybox [2023-01-14T06:35:51Z] <sad_plan> then just use busybox [2023-01-14T06:36:04Z] <sad_plan> busybox is great, but I find it a tad bit too big. I dont need everything it provides [2023-01-14T06:36:20Z] <sad_plan> I could however create a new config for it, to fix my other.. issues [2023-01-14T06:36:35Z] <sad_plan> that said, unless I just use oasis, which Ive initially intended [2023-01-14T06:37:48Z] <wael_> yeah idk about busybox [2023-01-14T06:37:55Z] <wael_> it's really huge but it's literally lacking features toybox has [2023-01-14T06:37:58Z] <wael_> i don't get it [2023-01-14T06:38:42Z] <sad_plan> I cant tell you what to use, but commiting to using something would make your life a bit easier, even if you choose to use s/ubase. if something is up, youll find a solution for it.. [2023-01-14T06:38:54Z] <wael_> i want verbose flags and colors!!!!!!!!!!!!!!!!! [2023-01-14T06:39:09Z] <sad_plan> then us w/e has exacly that [2023-01-14T06:39:16Z] <wael_> wat [2023-01-14T06:39:27Z] <sad_plan> use what has exacly what you need [2023-01-14T06:39:53Z] <wael_> so toybox [2023-01-14T06:40:32Z] <sad_plan> then commit to toybox [2023-01-14T06:40:46Z] <wael_> it provides a tar implementation right [2023-01-14T06:40:54Z] <sad_plan> correct [2023-01-14T06:41:05Z] <wael_> but its in pending right [2023-01-14T06:41:13Z] <wael_> mostly all programs i care about are in pending honestly [2023-01-14T06:41:17Z] <sad_plan> I dont recall [2023-01-14T06:41:35Z] <sad_plan> things in pending are likely to still work, just lacks some flags that landley is planning to add [2023-01-14T06:41:40Z] <wael_> oh its in posix/ [2023-01-14T06:41:54Z] <sad_plan> youll just have to check them first, to actually see whats lacking or not [2023-01-14T06:42:25Z] <sad_plan> alot of stuff in pending/ does work. just might not on par with busybox [2023-01-14T06:42:48Z] * wael_ uploaded an image: (51KiB) < https://libera.ems.host/_matrix/media/v3/download/wael.cc/54c6d9addf152405189f1b5244a2347c7f6cf33fa09ad86361341b51a58f7ad9/image.png > [2023-01-14T06:42:57Z] <wael_> toybox's ls literally looks better and has better padding [2023-01-14T06:42:58Z] <wael_> impossible [2023-01-14T06:43:52Z] <wael_> literally adjusts the output upon the length of the information [2023-01-14T06:43:55Z] <wael_> so good [2023-01-14T06:44:04Z] <sad_plan> youre right [2023-01-14T06:44:09Z] <sad_plan> more consistent [2023-01-14T06:44:13Z] <wael_> thats im [2023-01-14T06:44:14Z] <wael_> that it [2023-01-14T06:44:16Z] <wael_> im switching [2023-01-14T06:44:20Z] <sad_plan> lol [2023-01-14T06:44:54Z] <wael_> testuser: is there a way to do kiss a | grep pkg | xargs kiss a for each newline? [2023-01-14T06:44:55Z] <wael_> it will always do one alternative at a time [2023-01-14T06:45:55Z] <sad_plan> what wrong with changing one at a time? [2023-01-14T06:46:38Z] <sad_plan> what was the flag you mentioned on sbase ls which put an file indicator or w/e you called it? -F? [2023-01-14T06:46:53Z] <sad_plan> puts a / behind dirs, and @ behind symlinks [2023-01-14T06:47:01Z] <sad_plan> was that what you ment? [2023-01-14T06:47:12Z] <testuser[m]> -n1 [2023-01-14T06:47:22Z] <testuser[m]> For xargs [2023-01-14T06:47:41Z] <testuser[m]> Or p1 idk [2023-01-14T06:47:49Z] <testuser[m]> Whatever the flag is for changing no. processes [2023-01-14T06:47:53Z] <wael_> error invalid argument [2023-01-14T06:47:57Z] <wael_> error alternative pkg null doesn't exist [2023-01-14T06:48:14Z] <wael_> yeah idk eitehr [2023-01-14T06:48:17Z] <wael_> i dont wanna do a for loop [2023-01-14T06:48:33Z] <wael_> -L is what i want [2023-01-14T06:48:40Z] <wael_> and is listed in POSIX [2023-01-14T06:48:49Z] <wael_> but not implemented in busybox or toybox [2023-01-14T06:48:53Z] <wael_> mfw [2023-01-14T06:56:19Z] <wael_> sad_plan: I know you don't use toybox anymore, but what's with this mount: /dev/nvme1n1p2>/: device or resource busy error [2023-01-14T06:57:07Z] <sad_plan> when I used toybox, mount gave a nonfatal error. can you bypass it with just || continue or something? [2023-01-14T06:57:28Z] <wael_> but it means it basically won't mount / as rw right [2023-01-14T06:58:04Z] <sad_plan> not neccessarly [2023-01-14T06:58:33Z] <sad_plan> do a || /bin/sh after it in the rc.init script. see if it throws you into a shell. then just do a touch /file [2023-01-14T06:59:05Z] <wael_> I'll ser [2023-01-14T07:00:16Z] <sad_plan> I had to do that on each one, as it kept erroring for me. its not a fatal one though, hence why you can just do a || continue, or || /bin/sh [2023-01-14T07:00:29Z] <sad_plan> aslong as you get a shell, you can always continue past that step [2023-01-14T07:01:31Z] <wael_> toybox mdev doesn't daemonize, I'll actually have to look into hotplugd/mdevd/smdev [2023-01-14T07:02:03Z] <sad_plan> toybox mdev might be broken. just use mdevd instead untill you get things up and running properly [2023-01-14T07:03:02Z] <wael_> okey [2023-01-14T07:11:01Z] <wael_> wtf did toybox do to make X break wth [2023-01-14T07:11:41Z] <sad_plan> thats a new one [2023-01-14T07:11:44Z] <sad_plan> any errors? [2023-01-14T07:11:49Z] <sad_plan> are you using sx or xinit? [2023-01-14T07:12:26Z] <wael_> its um [2023-01-14T07:12:31Z] <wael_> related to modprobe of toybox [2023-01-14T07:13:24Z] <wael_> i had a patch that fixes this [2023-01-14T07:13:25Z] <wael_> but it seemingly didnt apply [2023-01-14T07:13:35Z] <wael_> yeah the patch should work wth [2023-01-14T07:14:03Z] <sad_plan> hm. cant load the proper modules neccessary perhaps? xorg-server loads/unloads modules dynamically so [2023-01-14T07:15:47Z] <sad_plan> do you ever use dash wael_ ? in any case, now you can have colors there aswell https://github.com/firasuke/dash-colors [2023-01-14T07:16:48Z] <sad_plan> or at print them. lol [2023-01-14T07:17:02Z] <wael_> yay [2023-01-14T07:17:02Z] <wael_> also [2023-01-14T07:17:07Z] <wael_> I'm on nvidia [2023-01-14T07:17:14Z] <wael_> nvidia X module loads nvidia-modprobe [2023-01-14T07:17:24Z] <wael_> nvidia-modprobe does something that makes it fail [2023-01-14T07:17:42Z] <sad_plan> hm [2023-01-14T07:17:58Z] <wael_> doesn't seem to do anything that's related to toybox [2023-01-14T07:18:03Z] <wael_> not a single program is launched [2023-01-14T07:18:22Z] <sad_plan> idk [2023-01-14T07:18:40Z] <wael_> hmmm [2023-01-14T07:20:39Z] <wael_> WHAT [2023-01-14T07:20:42Z] <wael_> well [2023-01-14T07:20:49Z] <wael_> nvidia-modprobe just launches modprobe [2023-01-14T07:20:54Z] <wael_> and only works under root [2023-01-14T07:21:10Z] <wael_> but how tf did it load module as normal user [2023-01-14T07:22:45Z] <sad_plan> ask testuser[m] [2023-01-14T07:23:35Z] <testuser[m]> its suid [2023-01-14T07:24:37Z] <wael_> modprobe is linked to busybox tho [2023-01-14T07:25:52Z] <wael_> toybox is 4555 [2023-01-14T07:26:22Z] <wael_> busybox is 0755 while busybox-suid is 4755 [2023-01-14T07:26:32Z] <wael_> do I need to make a toybox-suid as well? [2023-01-14T07:26:39Z] <sad_plan> yes [2023-01-14T07:26:48Z] <wael_> gee [2023-01-14T07:27:01Z] <wael_> ok I'll see how [2023-01-14T07:27:16Z] <wael_> toybox is 4555 though i don ge it [2023-01-14T07:28:32Z] <sad_plan> shouldnt it be 4755? 555 is not executable [2023-01-14T07:29:35Z] <wael_> let me change it and see what happens [2023-01-14T07:29:36Z] <sad_plan> chmod +x /bin/toybox [2023-01-14T07:29:40Z] <sad_plan> yeh [2023-01-14T07:29:58Z] <wael_> its somehow executable though [2023-01-14T07:30:11Z] <sad_plan> that cant be right with 555 as perms [2023-01-14T07:30:17Z] <wael_> >nvidia-modprobe works [2023-01-14T07:30:24Z] <wael_> is this safe to do [2023-01-14T07:30:31Z] <sad_plan> what [2023-01-14T07:30:33Z] <sad_plan> wym? [2023-01-14T07:30:39Z] <sad_plan> having toybox as suid? [2023-01-14T07:30:42Z] <wael_> is it safe to make toybox 4755 without toybox-suid [2023-01-14T07:30:42Z] <wael_> Hes [2023-01-14T07:30:44Z] <wael_> Yes [2023-01-14T07:31:11Z] <sad_plan> sure. but is it optimal? perhaps not. you might wanna separate it like we do for busybox [2023-01-14T07:31:21Z] <sad_plan> dilyn just used it like that, and so did I [2023-01-14T07:31:28Z] <wael_> how did you guys do it [2023-01-14T07:31:39Z] <wael_> you still have the build right??!?!?!?!?!?!?;?!!?;(!+;(++?;(+? [2023-01-14T07:31:50Z] <sad_plan> just suid'd the whole thing and be merry on my way [2023-01-14T07:31:58Z] <sad_plan> only in static repo [2023-01-14T07:32:30Z] <wael_> oh so you didn't do toybox-suid [2023-01-14T07:32:34Z] <sad_plan> chmod gu+s "$1/usr/bin/toybox" is what Ive used. same as dilyn [2023-01-14T07:32:35Z] <sad_plan> nope [2023-01-14T07:32:59Z] <wael_> hi testuser: is this safe [2023-01-14T07:33:02Z] <sad_plan> except having su I dont think I used anything that would need it now that I think about it [2023-01-14T07:34:56Z] <wael_> wdym? [2023-01-14T07:35:08Z] <wael_> btw mdevd forgets to set root:input on SOME device files so [2023-01-14T07:35:18Z] <wael_> like literally the only important device files (keyboard and mouse) [2023-01-14T07:35:35Z] <sad_plan> su would need suid. I didnt use modprope i.e. I mightve not needed suid at all if I dropped su [2023-01-14T07:35:48Z] <sad_plan> you only need suid if said util needs it [2023-01-14T07:35:54Z] <wael_> nvidai-mdopagoerbe [2023-01-14T07:40:46Z] <testuser[m]> wael: no [2023-01-14T07:41:06Z] <testuser[m]> Don't ever do that [2023-01-14T07:41:13Z] <wael_> y [2023-01-14T07:41:33Z] <testuser[m]> Bruh [2023-01-14T07:41:35Z] <testuser[m]> Everything runs as root [2023-01-14T07:42:57Z] <wael_> OH [2023-01-14T07:55:41Z] <wael_> how am i supposed to make a .config and .config-suid like kiss build [2023-01-14T07:55:50Z] <wael_> i mean, not that i know what programs need suid anyway [2023-01-14T07:56:16Z] <wael_> yeah idk what programs to exclude and include for usid [2023-01-14T07:56:57Z] <sad_plan> just do it like busybox does it [2023-01-14T07:57:12Z] <wael_> what [2023-01-14T07:57:16Z] <sad_plan> su needs it iirc. modprobe might do? you just have to figure it out [2023-01-14T07:57:47Z] <sad_plan> create one config with things that does not need suid, then create a new one, which enabled things that do need setuid [2023-01-14T07:57:54Z] <wael_> the diff from config and config-uid is fucking 2000 lines long [2023-01-14T07:57:54Z] <sad_plan> this is how we do it with busybox [2023-01-14T07:57:55Z] <wael_> how do i know [2023-01-14T07:58:06Z] <wael_> ah [2023-01-14T07:58:08Z] <wael_> busybox-uid --list [2023-01-14T07:58:13Z] <sad_plan> yes [2023-01-14T07:58:19Z] <sad_plan> thats probably a good reference [2023-01-14T07:58:21Z] <wael_> ok [2023-01-14T07:58:22Z] <wael_> on it [2023-01-14T07:59:38Z] <sad_plan> then in the buildscript, build the regular one first, rename it to non-suid, build suid stuff, rename it to toybox-suid, then rename non-suid back to toybox. this is how we do it on the busybox buildscript [2023-01-14T07:59:49Z] <wael_> geowagjekghwauoieghlwayheasjlgahgl;bhz.jxdfyghbfrd [2023-01-14T08:00:19Z] <wael_> modprobe isnt even in busybox-suid [2023-01-14T08:00:19Z] <wael_> tf [2023-01-14T08:00:23Z] <wael_> how [2023-01-14T08:01:24Z] <wael_> why is ping suid lol [2023-01-14T08:03:25Z] <illiliti> it's a backdoor [2023-01-14T08:04:05Z] <testuser[m]> modprobe doesn't need suid [2023-01-14T08:04:09Z] <testuser[m]> illiliti: explain [2023-01-14T08:04:39Z] <illiliti> i'm joking [2023-01-14T08:04:46Z] <wael_> well how did it not need suid for modprobe for X for nvidia-modprobe [2023-01-14T08:04:57Z] <illiliti> i don't remember exactly why ping needs to be suid [2023-01-14T08:05:12Z] <testuser[m]> wael: BECAUSE nvidia modprobe is suid its3lt [2023-01-14T08:05:13Z] <testuser[m]> Itself [2023-01-14T08:05:14Z] <illiliti> it does something with raw sockets iirc [2023-01-14T08:05:36Z] <wael_> then how come it wont work with busybox modprobe which isnt suid but doesn't with toybox modprobe which ALSO isnt suid [2023-01-14T08:05:39Z] <wael_> ok ill just do the suid thing brb [2023-01-14T08:05:48Z] <wael_> toybox doesnt have --list smh [2023-01-14T08:06:26Z] <wael_> its also 4555, so ill change it to 0755 for nosuid [2023-01-14T08:07:25Z] <illiliti> loading module is a privileged operation, modprobe should not be suid [2023-01-14T08:07:47Z] <wael_> there is a typo in busybox build lol [2023-01-14T08:07:51Z] <wael_> ># Aptly name the busybox binaries. [2023-01-14T08:08:44Z] <wael_> toybox lists out all its programs seperated by space and nothing more, is it safe to do a for loop with it? [2023-01-14T08:08:53Z] <wael_> (by default, when there are no arguments) [2023-01-14T08:14:37Z] <illiliti> try [2023-01-14T08:15:56Z] <wael_> great [2023-01-14T08:16:04Z] <wael_> i cannot compile toybox twice due to issues in the posix patch [2023-01-14T08:18:24Z] <wael_> hmmmmmmmmmmmmmmmmmmmmmmmmm [2023-01-14T08:27:39Z] <wael_> lol the hack is to run genconfig.sh twice [2023-01-14T08:33:16Z] <wael_> ~ 1$ toybox-suid su [2023-01-14T08:33:16Z] <wael_> su: no 'root': Permission denied [2023-01-14T08:33:16Z] <wael_> what [2023-01-14T08:33:22Z] <wael_> oh [2023-01-14T08:34:05Z] <wael_> yay it works [2023-01-14T08:34:48Z] <wael_> testuser: https://git.wael.cc/kiss-repo/file/repo/toybox/build.html [2023-01-14T08:35:01Z] <wael_> is there anything bad in this build [2023-01-14T08:54:10Z] <illiliti> modprobe need not suid [2023-01-14T08:54:32Z] <wael_> are u sure [2023-01-14T08:54:41Z] <illiliti> absolutely [2023-01-14T08:54:50Z] <wael_> well why didnt it work when toybox was 4555 [2023-01-14T08:55:06Z] <illiliti> only root should be allowed to modprobe [2023-01-14T09:16:39Z] <wael_> mfw kiss-size's du flags don't work with toybox [2023-01-14T09:16:47Z] <wael_> that is weird [2023-01-14T09:18:31Z] <wael_> wait [2023-01-14T09:18:33Z] <wael_> its toybox's xargs not busybox [2023-01-14T09:19:14Z] <wael_> du: /usr/bin/acpi: No such file or directory [2023-01-14T09:19:31Z] <wael_> du: \/usr\/bin\/acpi: No such file or directory [2023-01-14T09:20:32Z] <wael_> `s/[^[:alnum:]]/\\&/g` in sed filtering is the problem [2023-01-14T09:20:42Z] <wael_> replaces / with // or something [2023-01-14T09:28:45Z] <illiliti> echo '\/var\/db' | xargs [2023-01-14T09:29:13Z] <illiliti> what does busybox and toybox return? [2023-01-14T09:29:23Z] <wael_> busybox just doesnt care about the / and just parses it as / [2023-01-14T09:29:25Z] <wael_> toybox does [2023-01-14T09:29:25Z] <wael_> basically [2023-01-14T09:29:41Z] <illiliti> give me exact output [2023-01-14T09:29:49Z] <wael_> $ echo '/var/db' | busybox xargs [2023-01-14T09:29:49Z] <wael_> /var/db [2023-01-14T09:29:51Z] <wael_> $ echo '/var/db' | toybox xargs [2023-01-14T09:29:52Z] <wael_> /var/db [2023-01-14T09:29:57Z] <wael_> right matrix does the thing [2023-01-14T09:30:02Z] <wael_> $ echo '/var/db' | toybox xargs [2023-01-14T09:30:02Z] <wael_> \/var\/db [2023-01-14T09:30:30Z] <illiliti> '\/var\/db' [2023-01-14T09:30:35Z] <illiliti> nor '/var/db' [2023-01-14T09:30:38Z] <illiliti> not* [2023-01-14T09:30:49Z] <wael_> MATRIX IS REPLACING IT TWITH THE [2023-01-14T09:31:09Z] <wael_> https://termbin.com/57ht [2023-01-14T09:32:54Z] <illiliti> aha so toybox is non posix [2023-01-14T09:33:43Z] <wael_> w ait what [2023-01-14T09:33:43Z] <wael_> oh no [2023-01-14T09:34:03Z] <illiliti> > Any unquoted character can be escaped by preceding it with a <backslash> [2023-01-14T09:34:25Z] <wael_> is that in the posix specification? you might wanna link it in a new issue [2023-01-14T09:34:36Z] <wael_> i hope he doesnt just make some weird excuse about it [2023-01-14T09:34:41Z] <illiliti> https://pubs.opengroup.org/onlinepubs/9699919799/utilities/xargs.html [2023-01-14T09:34:56Z] <illiliti> can you check what gnu xargs return? [2023-01-14T09:35:01Z] <illiliti> coreutils [2023-01-14T09:36:08Z] <illiliti> i've checked bsd xargs and it does the right thing [2023-01-14T09:36:44Z] <illiliti> with 99% probability it is toybox bug [2023-01-14T09:38:45Z] <illiliti> you can report this bug to toybox. i won't cuz i don't have toybox installed to test fixes [2023-01-14T09:38:59Z] <wael_> i cant imagine that gnu coreutils has this same issue too [2023-01-14T09:39:04Z] <wael_> illiliti: what sort of fixes [2023-01-14T09:39:15Z] <wael_> you can just compile the literal toybox binary and just do toybox xargs [2023-01-14T09:39:42Z] <illiliti> i don't want to [2023-01-14T09:40:01Z] <wael_> alright ill just make an issue with a small description [2023-01-14T09:53:22Z] <sad_plan> I tried your toybox build, to see if the patch worked on my end, and I belive it does, but toybox doesnt build for me for some reason. it also uses unsupported sort flags it seems. [2023-01-14T09:54:23Z] <sad_plan> bunch of these undeclared functions that errors out for me http://0x0.st/o7Ir.txt [2023-01-14T09:54:33Z] <sad_plan> you dont get those wael_ ? [2023-01-14T09:54:52Z] <wael_> try using gnu patch [2023-01-14T09:55:03Z] <sad_plan> perhaps [2023-01-14T09:56:57Z] <sad_plan> its the same [2023-01-14T09:57:35Z] <wael_> well idk werks for me [2023-01-14T09:57:51Z] <sad_plan> probably s/ubase and pax [2023-01-14T10:11:35Z] <wael_> sad_plan: yes [2023-01-14T10:11:37Z] <wael_> i had this exact issue a long time ago [2023-01-14T10:11:38Z] <wael_> it is [2023-01-14T10:11:49Z] <wael_> its sbase sort not supporting flag [2023-01-14T10:12:06Z] <wael_> i had to change sort to busybox sort and that remained in a posix patch i made for 0.8.8 [2023-01-14T10:13:30Z] <sad_plan> Im not supprised it sbase. its often mentioned how broken people think sbase/ubase is. and while I still use it, I cant really refute it tbh [2023-01-14T10:18:22Z] <wael_> i love sbase but its like the type of gf that is sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo boring you finna cheat wit toybox [2023-01-14T10:18:59Z] <sad_plan> lmao [2023-01-14T10:36:01Z] <wael_> is there a good init like perp? I'm very surprised perp has service logging [2023-01-14T10:39:39Z] <sad_plan> I mentioned the dev has an init supposedly, but Ive yet to find its sources [2023-01-14T10:39:59Z] <sad_plan> http://b0llix.net/ its mentioned at top of the list [2023-01-14T10:40:04Z] <sad_plan> bit theres no link there [2023-01-14T10:42:28Z] <wael_> I wonder what b0llix means [2023-01-14T10:42:56Z] <sad_plan> ive no clue [2023-01-14T10:44:51Z] <wael_> then what does sad_plan signify [2023-01-14T10:45:38Z] <sad_plan> its just a pregenerated username from someplace else [2023-01-14T10:46:35Z] <wael_> what about hovercatd [2023-01-14T10:46:37Z] <wael_> s [2023-01-14T10:47:14Z] <sad_plan> thats more or less a meme to begin with [2023-01-14T10:48:01Z] <sad_plan> http://0x0.st/o7Ic.jpg [2023-01-14T10:48:04Z] <sad_plan> just one of many [2023-01-14T10:48:39Z] <sad_plan> http://0x0.st/o7IT.jpg [2023-01-14T10:48:46Z] <sad_plan> just to give a few [2023-01-14T10:49:06Z] <sad_plan> its also partially my main I use for github, among couple other things [2023-01-14T10:49:53Z] <wael_> so why don't you use it irc [2023-01-14T10:50:41Z] <sad_plan> separation. the word I was going to use was just to difficult to write [2023-01-14T10:51:00Z] <sad_plan> compartmentalizing stuff is great [2023-01-14T10:51:42Z] <wael_> jrnwkxinmwuxanxiwnudsnxj [2023-01-14T10:52:04Z] <wael_> why compartmentalizing irc and github or etc [2023-01-14T10:52:56Z] <sad_plan> because putting all your eggs in one basket is bad. now, im not targeted or anything, but if you use same mail, same username, same password everywhere. youre ONE breach away from haing all your stuff breach. [2023-01-14T10:53:30Z] <sad_plan> if you separate things, have separate email addresses, passwords, usernames, its way more difficult to pinpoint if this is you or not [2023-01-14T10:54:23Z] <wael_> well thats interesting [2023-01-14T10:54:54Z] <wael_> but it wouldnt differ if people know if this is you or not ? [2023-01-14T10:57:51Z] <sad_plan> well you know both are the same, but not everyone else. though Im not going to make a fool of myself and think that people wont figure that out if they would look for it, but thats not really that important to me anyway [2023-01-14T10:58:06Z] <sad_plan> I just wanted to separate it. as a basis, and a bit of a habit [2023-01-14T10:59:57Z] <sad_plan> even if you know, and couple others do, it would still require some work to figure it out initially. which is part of the point [2023-01-14T11:00:42Z] <sad_plan> Im sure if nsa or any other of the alphabet boys would go after me, my opsec would shatter pretty quickly anyway, but I dont have that high threat model [2023-01-14T11:10:34Z] <wael_> I like to have the same name everywhere so people can identify me easily [2023-01-14T11:11:48Z] <sad_plan> I get that, but that also means if a bad actor wanted to do something malicous to you, it makes their job easier [2023-01-14T11:12:31Z] <wael_> what sort of something malicious would they do? [2023-01-14T11:12:54Z] <wael_> they would already get some info from others that I am this in this platform and that in that platform etc [2023-01-14T11:13:12Z] <sad_plan> all kinds of things. impersinating, ID theft. the list goes on [2023-01-14T11:13:42Z] <sad_plan> impersonating [2023-01-14T11:14:58Z] <wael_> Id theft? [2023-01-14T11:15:10Z] <sad_plan> sure, thats also an issue. if you choose not to give facebook access to your contacts, it doesnt matter most of the time, because everyone has already given them access to theirs, which gives them most of the info theyd get otherwise [2023-01-14T11:15:15Z] <wael_> I mean I already use my real name everywhere so [2023-01-14T11:15:15Z] <sad_plan> yes [2023-01-14T11:15:33Z] <sad_plan> yes, but not your whole name, not your social security number [2023-01-14T11:16:20Z] <sad_plan> Im not trying to make you paranoid or anything, but things can get out of hand very quickly when websites dont uphold decent security [2023-01-14T11:17:03Z] <sad_plan> if you give website A your home address, and they get a leak, someone now has access to your home address. lots of things can be done by that [2023-01-14T11:17:11Z] <wael_> any tips for using the same name everywhere [2023-01-14T11:17:17Z] <sad_plan> maybe they even get your phonenumber, name, date of birth [2023-01-14T11:17:25Z] <sad_plan> stop using the same name everywhere [2023-01-14T11:18:13Z] <sad_plan> I cant make you care for it, but if you feel that it might be worth protecting, then yeah. [2023-01-14T11:18:30Z] <wael_> I would if I had a cool username generator [2023-01-14T11:18:31Z] <wael_> but I do not [2023-01-14T11:18:37Z] <wael_> I only have one alias and its extremely long [2023-01-14T11:19:02Z] <wael_> one other* [2023-01-14T11:19:07Z] <sad_plan> you can use a passwordmanager to generate UUID numbers. lots of people do that on reddit. ive seen them on github aswell [2023-01-14T11:19:20Z] <sad_plan> or just a random string of text/numbers etc [2023-01-14T11:19:47Z] <sad_plan> reddit i.e. give you the option to choose a pregenrated username, like mine. those are good most of the time [2023-01-14T11:19:51Z] <wael_> a cool name not 10571038184 or djwp or cjak or xp96 [2023-01-14T11:20:22Z] <wael_> but I can take a kickass name like 20h or uriel [2023-01-14T11:20:48Z] <illiliti> the most important thing is to avoid connecting your real life to internet [2023-01-14T11:20:53Z] <sad_plan> then figure something out then [2023-01-14T11:20:53Z] <illiliti> then same nick does not matter [2023-01-14T11:20:59Z] <sad_plan> ^ what illiliti said [2023-01-14T11:21:19Z] <sad_plan> but separating them makes it even worse for a bad actor to correlate stuff about you [2023-01-14T11:22:10Z] <illiliti> yes [2023-01-14T11:22:42Z] <illiliti> if you're hiding from nsa, of course you must use different nicks [2023-01-14T11:22:46Z] <wael_> ive always wanted to seperate real life and internet [2023-01-14T11:22:56Z] <wael_> but to do that i want a cool name but ive tried and gave up [2023-01-14T11:24:13Z] <wael_> though, theres people here that dont do that [2023-01-14T11:24:27Z] <wael_> though they atleast do it better than me [2023-01-14T11:26:22Z] <sad_plan> anything is still better than nothing [2023-01-14T11:28:50Z] <wael_> the first thing I must do for this is to remove the VPS and the domain behind wael.cc [2023-01-14T11:29:26Z] <sad_plan> I would start with passwords really. password manager is way to go [2023-01-14T11:30:10Z] <wael_> im already using 128 length passwords everywhere lol [2023-01-14T11:30:23Z] <sad_plan> then youre fine. good on you wael_ :D [2023-01-14T11:30:34Z] <wael_> wait so im fine? [2023-01-14T11:31:05Z] <sad_plan> youre partially safe against breaches. the absolute worst I see is people using same password/username/mail everywhere [2023-01-14T11:31:20Z] <sad_plan> if youre above that, youre better than 99% of the population atleast [2023-01-14T11:31:39Z] <wael_> yay [2023-01-14T11:31:42Z] <wael_> personally i think id like to seperate emails [2023-01-14T11:31:49Z] <sad_plan> and if youre using strong passwords as you said you were, theyre not going to crack your password any time soon either [2023-01-14T11:31:50Z] <wael_> i really wanna give up wael.cc and just use some random services [2023-01-14T11:32:31Z] <sad_plan> separate emails is also great. its an additional layer of obscurity [2023-01-14T11:32:40Z] <sad_plan> email aliases is really a great option there [2023-01-14T11:32:54Z] <sad_plan> what do you use your site for anyway? or the VPS really [2023-01-14T11:33:08Z] <sad_plan> appart from hosting your git server [2023-01-14T11:33:19Z] <wael_> gimme a moment [2023-01-14T11:33:58Z] <sad_plan> I wanna create my own website, but I have no clue what to put on it. except perhaps a blog, but wth would I even blog about? I could have a selfhosted git server, but why would I pay for it when codeberg among others are free? [2023-01-14T11:34:02Z] <sad_plan> sure [2023-01-14T11:34:08Z] <wael_> reload wael.cc [2023-01-14T11:34:22Z] <illiliti> sad_plan: email aliases? you mean email service that forwards mails to your real email? [2023-01-14T11:34:29Z] <sad_plan> yes [2023-01-14T11:34:35Z] <illiliti> they're bad [2023-01-14T11:34:39Z] <sad_plan> its a 3rd party, I know [2023-01-14T11:34:47Z] <sad_plan> it works depending on your threatmodel [2023-01-14T11:34:55Z] <illiliti> they harvest your mails [2023-01-14T11:34:59Z] <illiliti> and sell to google [2023-01-14T11:35:01Z] <sad_plan> you can however selfhost some of them [2023-01-14T11:35:22Z] <sad_plan> maybe they do. Ive not heard bad things about those ive used in the past, but I dont really use them anymore [2023-01-14T11:35:39Z] <sad_plan> now your site works wael_ [2023-01-14T11:35:51Z] <wael_> yeah i had it disabled for a while [2023-01-14T11:35:59Z] <wael_> see the links page? is that safe to keep? [2023-01-14T11:35:59Z] <sad_plan> why? [2023-01-14T11:36:05Z] <wael_> thats probably just doxxing myself lol [2023-01-14T11:36:19Z] <sad_plan> sure. the name wael doesnt really give them much [2023-01-14T11:36:34Z] <wael_> my city is given out btw [2023-01-14T11:37:21Z] <sad_plan> wait, are you 15? [2023-01-14T11:37:22Z] <wael_> what they can gain from my city and my name is that im of arabic heritage [2023-01-14T11:37:23Z] <wael_> thats for sure [2023-01-14T11:37:24Z] <wael_> um yes [2023-01-14T11:37:31Z] <sad_plan> I didnt see the city though [2023-01-14T11:37:36Z] <sad_plan> cool [2023-01-14T11:37:45Z] <sad_plan> nice to see these youngins use linux [2023-01-14T11:37:53Z] <wael_> im very good at privacy [2023-01-14T11:37:54Z] <wael_> 100% [2023-01-14T11:38:44Z] <wael_> i know someone who installed gentoo at 12 lol [2023-01-14T11:38:51Z] <wael_> or 13 im not sure [2023-01-14T11:39:21Z] <sad_plan> even so, im sure among 4,7m finding a kid named wael might not be the easiest task [2023-01-14T11:39:59Z] <sad_plan> I wish I started with linux at that age. I would been a god at this point lol [2023-01-14T11:40:04Z] <wael_> 4.7m??? [2023-01-14T11:40:10Z] <wael_> what?????? [2023-01-14T11:40:10Z] <sad_plan> people, yes [2023-01-14T11:40:16Z] <wael_> Kh [2023-01-14T11:40:16Z] <wael_> oh [2023-01-14T11:40:22Z] <sad_plan> https://en.wikipedia.org/wiki/Jeddah see population [2023-01-14T11:40:32Z] <wael_> yeah [2023-01-14T11:40:33Z] <wael_> phew [2023-01-14T11:40:49Z] <wael_> I thought 4.7m was literally how big the city was in region [2023-01-14T11:40:59Z] <sad_plan> oh, no lol [2023-01-14T11:41:08Z] <wael_> however [2023-01-14T11:41:14Z] <sad_plan> says its 1600km [2023-01-14T11:41:22Z] <wael_> nvm giving out any other info is gonna be doxxing myself [2023-01-14T11:41:23Z] <wael_> Hi [2023-01-14T11:41:36Z] <wael_> I love my governments privacy [2023-01-14T11:41:36Z] <sad_plan> its already there though [2023-01-14T11:41:47Z] <wael_> Nono you can get even more if you just get one piece [2023-01-14T11:42:15Z] <sad_plan> maybe, if they attack your vps [2023-01-14T11:42:33Z] <sad_plan> I wouldnt concern myself with the alphabet boys though [2023-01-14T11:42:46Z] <wael_> about that, how can I secure my vps? [2023-01-14T11:42:55Z] <wael_> relevant people to ask are like ioraff and testuser [2023-01-14T11:43:11Z] <sad_plan> I suppose so. [2023-01-14T11:43:16Z] <wael_> I think I've done plenty already i hope [2023-01-14T11:43:33Z] <sad_plan> I dont have a vps, nor do I have much knowledge about running server or anything like that [2023-01-14T11:43:51Z] <sad_plan> if you have secured your ssh login, then your also above the rest [2023-01-14T11:44:27Z] <sad_plan> like disabling the root login, and password login. using only key authentication is initially the best iirc. but dont take my word for it [2023-01-14T11:45:05Z] <sad_plan> I like some of your links though. shellscripting links, aswell as you having oasis there [2023-01-14T11:45:21Z] <wael_> I really wanna try out oasis one day [2023-01-14T11:45:34Z] <wael_> I keep praising it despite never touching it [2023-01-14T11:45:47Z] <sad_plan> why dont you just do it today? [2023-01-14T11:46:13Z] <illiliti> i would also encrypt disk on vps [2023-01-14T11:46:13Z] <sad_plan> its not that hard really. [2023-01-14T11:46:19Z] <sad_plan> ^ [2023-01-14T11:46:31Z] <sad_plan> would that even matter if the data is never at rest though? [2023-01-14T11:46:43Z] <sad_plan> if its not at rest, it would remain unencrypted [2023-01-14T11:47:07Z] <illiliti> imagine your server has been seized [2023-01-14T11:47:11Z] <illiliti> disk, everything [2023-01-14T11:47:15Z] <sad_plan> point taken [2023-01-14T11:47:25Z] <wael_> well um its too late to encrypt now lil [2023-01-14T11:47:26Z] <wael_> lol [2023-01-14T11:47:36Z] <wael_> I have many services on there, one of which being matrix and git [2023-01-14T11:48:13Z] <sad_plan> should still be able to encrypt it. illilti might be the better person to tell you how. ive only encrypted with luks on fresh install of archbased distros [2023-01-14T11:48:24Z] <wael_> I'm using kiss on my server [2023-01-14T11:48:28Z] <wael_> great choice I know [2023-01-14T11:48:48Z] <sad_plan> yeah, others have also done so. you can still encrypt it though [2023-01-14T11:49:25Z] <illiliti> luks has in-place encryption, but i'd rather do reinstall [2023-01-14T11:49:26Z] <wael_> or alternatively, I can seize my own vps and just use vern.cc or some other community like sdf [2023-01-14T11:50:39Z] <sad_plan> lots of possibilites [2023-01-14T11:53:24Z] <illiliti> also [2023-01-14T11:53:35Z] <illiliti> enable fucking ipv6 already [2023-01-14T11:53:41Z] <wael_> I don't know a good email service other than pm and disroot that don't have 'wael' taken [2023-01-14T11:53:54Z] <wael_> illiliti: me or [2023-01-14T11:54:27Z] <illiliti> you yes [2023-01-14T11:54:40Z] <wael_> I have it enabled tho [2023-01-14T11:55:05Z] <illiliti> i don't see [2023-01-14T11:55:18Z] <wael_> how do you see [2023-01-14T11:55:20Z] <wael_> via https? [2023-01-14T11:55:35Z] <illiliti> git.wael.cc has no AAAA records [2023-01-14T11:56:59Z] <wael_> I don't have git port on ipv6 on my firewall do [2023-01-14T11:57:09Z] <wael_> so [2023-01-14T11:57:10Z] <wael_> I'll do that [2023-01-14T11:58:02Z] <illiliti> ok [2023-01-14T11:58:29Z] <wael_> is ipv6 really that important? [2023-01-14T11:58:39Z] <testuser[m]> I still haven't been able to figure out kernel ipv6 config for server. I enabled all ipv6 related stuff but dhdpcd just doesn't get an ipv6 address [2023-01-14T11:58:42Z] <testuser[m]> Works on arch [2023-01-14T11:58:47Z] <illiliti> it's 2023 men [2023-01-14T11:59:14Z] <wael_> wat [2023-01-14T11:59:30Z] <testuser[m]> wael: does ur dhcpcd get ipv6? [2023-01-14T11:59:49Z] <sad_plan> illiliti: I have ipv6 disabled on kernel and elsewhere, as sdhcp doesnt support it. do you scream on the inside when you read it? [2023-01-14T12:00:05Z] <illiliti> yes [2023-01-14T12:00:17Z] <sad_plan> I figured as much :p [2023-01-14T12:01:36Z] <wael_> testuser: you don't need dhcp [2023-01-14T12:01:54Z] <wael_> the ip is always static [2023-01-14T12:01:55Z] <wael_> so um [2023-01-14T12:01:55Z] <testuser[m]> Whatever [2023-01-14T12:02:01Z] <testuser[m]> Do you get an ipv6 address [2023-01-14T12:02:16Z] <wael_> >I'm using sdhcp [2023-01-14T12:02:16Z] <wael_> yes [2023-01-14T12:02:21Z] <testuser[m]> can you connect to stuff [2023-01-14T12:02:24Z] <wael_> yes [2023-01-14T12:02:31Z] <wael_> that's how matrix works [2023-01-14T12:02:35Z] <wael_> matrix needs ipv6 [2023-01-14T12:02:35Z] <testuser[m]> Send kernel [2023-01-14T12:02:36Z] <sad_plan> wael_: do you use sdhcp too? [2023-01-14T12:02:46Z] <wael_> I'm unironically using sdhcp in server yes [2023-01-14T12:02:49Z] <wael_> testuser: omw [2023-01-14T12:02:58Z] <wael_> uh [2023-01-14T12:03:01Z] <wael_> uhhh [2023-01-14T12:03:28Z] <illiliti> i don't think you even need dhcp in server [2023-01-14T12:03:31Z] <wael_> did I seriously lose my server kernel config [2023-01-14T12:03:32Z] <wael_> fuck I did [2023-01-14T12:03:43Z] <wael_> I didn't enable config.gz either lol [2023-01-14T12:08:44Z] <wael_> I find it weird because I used to have a linux-server package but it dissapeared [2023-01-14T12:11:12Z] <soliwilos> If the package is installed somewhere, you can grab it from there (the server?). [2023-01-14T12:11:43Z] <wael_> wasn't even installed [2023-01-14T12:12:04Z] <wael_> it seems I copied the entire raw kernel binary over fucking ssh [2023-01-14T12:15:35Z] <soliwilos> If you have /proc/kallsyms you can sort of figure out enabled drivers, at least. [2023-01-14T12:19:27Z] <soliwilos> Do not know whether this works: https://github.com/zznop/bn-kconfig-recover [2023-01-14T12:28:34Z] <wael_> worth a shot [2023-01-14T12:28:35Z] <wael_> better work [2023-01-14T12:31:05Z] <sad_plan> whats wrong with my printf here? I dont get it [2023-01-14T12:31:13Z] <sad_plan> http://0x0.st/o7In.sh [2023-01-14T12:31:43Z] <sad_plan> I initially used echo, but Im trying to improve my scripts, to be more portable, asell as just generally better [2023-01-14T12:32:11Z] <wael_> which printf [2023-01-14T12:32:34Z] <sad_plan> line 8 and 14? in the link I gave you [2023-01-14T12:33:01Z] <wael_> personally i use echo and printf both whenever needed [2023-01-14T12:33:17Z] <wael_> oh [2023-01-14T12:33:22Z] <wael_> yeah um [2023-01-14T12:33:25Z] <wael_> what [2023-01-14T12:33:25Z] <sad_plan> sure, but echo is less.. stable. its output can differ from system to system [2023-01-14T12:33:27Z] <wael_> whwathtwhathw [2023-01-14T12:35:23Z] <wael_> if i were you [2023-01-14T12:35:24Z] <wael_> this is how i'd write it [2023-01-14T12:35:25Z] <wael_> https://0x0.st/o7IF.sh [2023-01-14T12:36:26Z] <sad_plan> ah, that was more clean. but Im trying to avoid echo in this case [2023-01-14T12:36:33Z] <wael_> echo makes more sense in this case [2023-01-14T12:36:39Z] <wael_> you can use print [2023-01-14T12:36:39Z] <wael_> f [2023-01-14T12:36:40Z] <sad_plan> but I like the read instead of using cat and my other stuff [2023-01-14T12:36:44Z] <wael_> just change d and i [2023-01-14T12:36:54Z] <wael_> to printf %i $brightness thing [2023-01-14T12:36:56Z] <sad_plan> yeah [2023-01-14T12:37:01Z] <wael_> and for usage just do %s: %s [2023-01-14T12:37:51Z] <wael_> <soliwilos> "Do not know whether this works..." <- that needs binaryninja [2023-01-14T12:37:55Z] <wael_> no clue how tf to get that shit [2023-01-14T12:38:25Z] <wael_> i dont think it even gets all of the configs [2023-01-14T12:38:28Z] <wael_> especially network [2023-01-14T12:40:24Z] <illiliti> echo is not portable unless you can guarantee that argument does not start with '-e' or '-n' or just '-' [2023-01-14T12:41:21Z] <illiliti> sad_plan: your script wasn't working because you forgot to add conversion specifiers for + and 10 [2023-01-14T12:41:34Z] <sad_plan> ^ which was my reason to use printf. [2023-01-14T12:41:35Z] <sad_plan> aah [2023-01-14T12:41:53Z] <sad_plan> wael_'s was way better anyway. it was way cleaner [2023-01-14T12:41:54Z] <illiliti> i.e: printf "%s%s%s\n" "$CURR_BRI" - 10 [2023-01-14T12:42:02Z] <sad_plan> I see [2023-01-14T12:42:43Z] <illiliti> you can also wrap arguments into one to avoid having multiple specifiers [2023-01-14T12:42:58Z] <illiliti> i.e: printf "%s\n" "$CURR_BRI - 10" [2023-01-14T12:43:22Z] <illiliti> or printf "%s - 10\n" "$CURR_BRI" [2023-01-14T12:43:42Z] <sad_plan> oh, I didnt know that [2023-01-14T12:43:44Z] <sad_plan> amazing [2023-01-14T12:44:03Z] <illiliti> take a look at https://github.com/Ventto/lux [2023-01-14T12:44:23Z] <sad_plan> will do, good sir [2023-01-14T12:45:24Z] <wael_> illiliti: linux is always going to return an int on brightness so you might as well just do %i [2023-01-14T12:45:41Z] <wael_> 200 lines of shell script just for brightness [2023-01-14T12:45:41Z] <wael_> why [2023-01-14T12:46:07Z] <soliwilos> wael_: I'd probably just try to re-create the config from scratch. [2023-01-14T12:46:43Z] <illiliti> cuz it is generic and also handles percentage [2023-01-14T12:47:19Z] <illiliti> https://github.com/Ventto/lux/blob/master/lux.sh#L80-L118 [2023-01-14T12:47:24Z] <illiliti> don't count this [2023-01-14T12:47:27Z] <wael_> tru [2023-01-14T12:47:34Z] <illiliti> it is crap that should be removed [2023-01-14T12:48:35Z] <sad_plan> how is usermod posix? [2023-01-14T12:48:39Z] <wael_> https://github.com/Ventto/lux/blob/master/lux.sh#L121-L128 [2023-01-14T12:48:40Z] <wael_> or this [2023-01-14T12:48:53Z] <wael_> it's not [2023-01-14T12:49:10Z] <sad_plan> I assumed not. which is why I asked [2023-01-14T12:49:27Z] <illiliti> it is crap code, i told you [2023-01-14T12:49:38Z] <sad_plan> lol [2023-01-14T13:21:22Z] <wael_> sad_plan: i found infinite username generator glitch [2023-01-14T13:21:32Z] <wael_> for FREE!! [2023-01-14T13:42:50Z] <wael_> shit i have wayy too many fucking names now [2023-01-14T14:15:43Z] <sad_plan> wael_: you can also just generate *cool* usernames here https://usernamegenerator.com/ [2023-01-14T14:15:56Z] <wael_> ive literally generated >100 cool usernames [2023-01-14T14:16:02Z] <wael_> manually atlesat [2023-01-14T14:16:20Z] <sad_plan> Ah, you didnt let the machine do it for you [2023-01-14T14:16:52Z] <wael_> me doing it manually is better [2023-01-14T14:17:02Z] <sad_plan> Ah lol, heres the great list indeed; https://usernamegenerator.com/gibberish [2023-01-14T14:17:22Z] <sad_plan> Well yeah, youll get things you like [2023-01-14T14:18:07Z] <sad_plan> Sexping was a really great one lol. Dunno if you got the same list as I did though. [2023-01-14T14:19:30Z] <wael_> >sidson [2023-01-14T14:19:39Z] <wael_> i do not want to be son of debian sid [2023-01-14T14:19:51Z] <wael_> some of these are pretty interesting ill say that [2023-01-14T14:20:13Z] <sad_plan> Good one [2023-01-14T14:20:21Z] <wael_> if i was coming up with gibberish id come up with a american last name [2023-01-14T14:20:27Z] <wael_> like phillbush [2023-01-14T14:20:40Z] <sad_plan> Great [2023-01-14T14:20:52Z] <wael_> did you become a robot [2023-01-14T14:21:09Z] <sad_plan> No I did not. How come? Capital letters you mean? [2023-01-14T14:21:19Z] <wael_> Yes [2023-01-14T14:21:36Z] <sad_plan> Phone. Had to leave work, to go home [2023-01-14T14:21:52Z] <sad_plan> Now I cant find them damn burger buns. Wondee where they went [2023-01-14T14:23:33Z] <wael_> [object Object] [2023-01-14T14:24:25Z] <sad_plan> Lol [2023-01-14T18:39:40Z] <midfavila> >mfw work sends my schedule to me in excel spreadsheet format [2023-01-14T18:39:48Z] <midfavila> absolutely proprietary [2023-01-14T19:27:56Z] <wael_> so bad [2023-01-14T20:04:41Z] <niceguy5000[m]> NVIDIA is no good.