💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-10-04.txt captured on 2024-06-16 at 13:33:37.
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
[2022-10-04T03:58:00Z] <testuser[m]> Hi [2022-10-04T04:46:32Z] <noocsharp> hi [2022-10-04T04:59:45Z] <wael[m]> hu [2022-10-04T04:59:45Z] <wael[m]> h [2022-10-04T04:59:46Z] <wael[m]> hi [2022-10-04T05:09:45Z] <testuser[m]> noocsharp: what've you been upto [2022-10-04T05:15:47Z] <testuser[m]> Most work on Rust in Linux is simply working on getting the systems to cooperate with each other or writing drivers which are redundant with existing C drivers, but cannot replace them due to Rust’s limited selection of targets. Few to none of the efforts from the Rust-in-Linux team are likely to support the kernel’s broader goals for some time. [2022-10-04T05:47:06Z] <wael[m]> smh [2022-10-04T06:30:26Z] <testuser[m]> gzip -d < ~/.cache/kiss/bin/baselayout@1-8.tar.gz | ../pax -r -pp; ls -ld tmp [2022-10-04T06:30:27Z] <testuser[m]> drwxrwxrwt 2 testuser testuser 40 Oct 2 15:27 tmp [2022-10-04T06:30:28Z] <testuser[m]> phoebos: [2022-10-04T06:38:23Z] <testuser[m]> hmmmmmmmm [2022-10-04T06:38:38Z] <testuser[m]> > p Preserve the file mode bits. Other implementation-defined file mode attributes may be preserved. [2022-10-04T06:38:39Z] <testuser[m]> so bad [2022-10-04T06:38:45Z] <testuser[m]> baseutils pax tries to set more perms than just file bits [2022-10-04T06:38:48Z] <testuser[m]> and it errors out [2022-10-04T06:38:58Z] <testuser[m]> even tho the files are created with correct bits [2022-10-04T06:56:34Z] <testuser[m]> > if (S_ISLNK(st.st_mode)) return __syscall_ret(-EOPNOTSUPP); [2022-10-04T07:02:56Z] <testuser[m]> also baseutils pax starts some interactive mode on encountering invalid archive [2022-10-04T07:02:57Z] <testuser[m]> bruh [2022-10-04T07:05:41Z] <wael[m]> pax bad??!! [2022-10-04T07:09:00Z] <testuser[m]> yes [2022-10-04T07:09:00Z] <testuser[m]> so bad [2022-10-04T07:10:09Z] <testuser[m]> only fix is to write such parts in c [2022-10-04T07:29:31Z] <testuser[m]> hmmmmmmmmmmmmmmmmmmmmmm [2022-10-04T07:30:08Z] <testuser[m]> seems like its just glibc shit [2022-10-04T07:30:09Z] <testuser[m]> https://github.com/MirBSD/mircpio/blob/e148ca67b8d6662b4ed66404652dcde64d92c7b3/file_subs.c#L1020 [2022-10-04T07:31:09Z] <testuser[m]> let me try on musl [2022-10-04T07:34:16Z] <testuser[m]> musl lacks fts [2022-10-04T07:35:45Z] <testuser[m]> ye its linux moment not glibc moment [2022-10-04T07:37:01Z] <testuser[m]> so baseutils can be fixed with a patch, mirbsd baseutils both require libbsd [2022-10-04T07:37:27Z] <testuser[m]> now what about the behaviour difference where baseutils pax becomes interactive [2022-10-04T07:38:23Z] <testuser[m]> https://termbin.com/3voa7 [2022-10-04T08:02:33Z] <testuser[m]> what the hell is autopoint now [2022-10-04T08:02:46Z] <testuser[m]> paxutils - autoreconf: error: autopoint failed with exit status: 2 [2022-10-04T08:05:09Z] <testuser[m]> yeah nvm its not even compilable after bypassing that [2022-10-04T08:06:13Z] <testuser[m]> ah it needs gnulib [2022-10-04T08:13:00Z] <wael[m]> gnu??1??1?1??11?1!!?! [2022-10-04T08:13:33Z] <testuser[m]> mcf pax is not ready yet, same with paxutils (its just a lib) [2022-10-04T08:13:36Z] <testuser[m]> now to try heirloom [2022-10-04T08:13:42Z] <testuser[m]> its a CVS repository [2022-10-04T08:15:01Z] <testuser[m]> LMAO its not been updated since 2011 [2022-10-04T08:24:33Z] <testuser[m]> got it to build with fcommon and fixing up some header, seems to work just fine like mirbsd one [2022-10-04T08:24:46Z] <testuser[m]> i'd definitely not use it though lol [2022-10-04T09:17:15Z] <testuser[m]> Maybe busybox tar should just get fixed upstream, this is just trading the problem for another variant of the same problem [2022-10-04T09:17:18Z] <testuser[m]> but it gets rid of strip components hack [2022-10-04T09:55:42Z] <phoebos> testuser[m]: when you were testing yesterday did you do kiss i or just tar xf [2022-10-04T09:58:55Z] <testuser[m]> xf [2022-10-04T09:59:24Z] <testuser[m]> both [2022-10-04T09:59:44Z] <testuser[m]> same with both [2022-10-04T10:01:26Z] <phoebos> hrm [2022-10-04T10:06:08Z] <testuser[m]> https://codeberg.org/kiss-community/kiss/issues/81 [2022-10-04T10:15:19Z] <testuser[m]> need a pure sh fexecve [2022-10-04T10:19:56Z] <testuser[m]> maybe unshare a mount namespace? [2022-10-04T10:45:51Z] <testuser[m]> nvm its solved [2022-10-04T11:52:47Z] <testuser[m]> how are you supposed to change your login shell [2022-10-04T11:52:54Z] <testuser[m]> chsh doesn't exist in any package [2022-10-04T11:53:10Z] <wael[m]> edit /etc/passwd [2022-10-04T11:53:14Z] <testuser[m]> i know [2022-10-04T11:53:17Z] <testuser[m]> but its cluky [2022-10-04T11:53:25Z] <testuser[m]> clunky [2022-10-04T11:53:38Z] <wael[m]> make posix sh script to parse and edit chsh [2022-10-04T11:53:49Z] <wael[m]> i believe chsh is provided by shadow [2022-10-04T11:54:10Z] <wael[m]> or util-linux-ng [2022-10-04T11:55:54Z] <testuser[m]> > --enable-chfn-chsh [2022-10-04T11:56:04Z] <wael[m]> whwere is that [2022-10-04T11:56:17Z] <testuser[m]> in util-linux [2022-10-04T11:56:20Z] <wael[m]> oh brh [2022-10-04T11:56:22Z] <testuser[m]> it needs to be added [2022-10-04T11:56:27Z] <testuser[m]> not enabled by default [2022-10-04T11:58:47Z] <testuser[m]> oh it needs PAM garbage [2022-10-04T11:59:02Z] <testuser[m]> nullshit [2022-10-04T12:10:54Z] <testuser[m]> WTF why is there no other tool to manipulate that file lol [2022-10-04T12:11:06Z] <wael[m]> cuz bad bad to not edit directly [2022-10-04T12:11:10Z] <wael[m]> bad bad bad!!!!!!!!!!!1 [2022-10-04T13:48:49Z] <sad_plan> o/ [2022-10-04T13:49:17Z] <wael[m]> \o [2022-10-04T13:54:16Z] <testuser[m]> https://github.com/bminor/glibc/blob/7e8283170c5d6805b609a040801d819e362a6292/locale/programs/charmap-dir.c#L228 [2022-10-04T13:54:17Z] <testuser[m]> bruh [2022-10-04T13:54:32Z] <testuser[m]> found this when using the chroot patch [2022-10-04T13:55:04Z] <wael[m]> is that glibc hardcoding using gzip instead of your pax thing [2022-10-04T13:55:47Z] <testuser[m]> no [2022-10-04T13:55:59Z] <wael[m]> what then [2022-10-04T13:56:14Z] <testuser[m]> it was executing system gzip for decompressing, and pigz wasnt installed in $KISS_ROOT [2022-10-04T13:56:19Z] <testuser[m]> why are u inviting clones of yourself [2022-10-04T13:56:45Z] <wael[m]> uh [2022-10-04T13:57:34Z] <wael[m]> testuser: pigz is symlinked to gzip? [2022-10-04T13:57:35Z] <testuser[m]> ea [2022-10-04T13:57:36Z] <testuser[m]> yes [2022-10-04T13:57:56Z] <wael[m]> i mean does gzip symlink itself to gzip [2022-10-04T13:57:57Z] <wael[m]> ok nvm yes ok [2022-10-04T13:58:48Z] <saturn[m]> hi [2022-10-04T13:58:51Z] <sad_plan> h [2022-10-04T13:58:53Z] <sad_plan> hi [2022-10-04T13:58:54Z] <wael[m]> hi [2022-10-04T13:59:19Z] <sad_plan> wael[m]: its the other way around really. gzip is symlinked to pigz. pigz is the actuall program being used [2022-10-04T13:59:34Z] <wael[m]> yes i had the typi [2022-10-04T13:59:36Z] <wael[m]> tpyp [2022-10-04T13:59:37Z] <wael[m]> typo [2022-10-04T13:59:40Z] <sad_plan> yeah [2022-10-04T14:01:01Z] <saturn[m]> hello sad_plan [2022-10-04T14:01:11Z] <testuser[m]> saturn: Identify yourself [2022-10-04T14:01:31Z] <saturn[m]> saturn [2022-10-04T14:01:32Z] <saturn[m]> im [2022-10-04T14:01:54Z] <testuser[m]> no [2022-10-04T14:02:01Z] <wael[m]> yes [2022-10-04T14:04:18Z] <sad_plan> did anyone ever really use any of the bsd utils? baseutils, bsdutil, nbase? I tried to revisit them, but none of them seems usable tbh.. [2022-10-04T14:04:35Z] <wael[m]> i did want to try baseutils but it wouldnt compile due to incompatibility with glibc [2022-10-04T14:04:56Z] <sad_plan> hm. I havent gotten any of them to build tbh. [2022-10-04T14:05:15Z] <wael[m]> what about toybox tho? [2022-10-04T14:05:16Z] <wael[m]> never heard of bsdutil or nbase [2022-10-04T14:05:52Z] <sad_plan> im not sure toybox is targeting what I want.. they mostly target gnu stuff, and I mostly dont care for gnu stuff [2022-10-04T14:05:56Z] <sad_plan> ill give you the links [2022-10-04T14:06:51Z] <sad_plan> https://github.com/dcantrell/bsdutils [2022-10-04T14:07:03Z] <wael[m]> freebsd [2022-10-04T14:07:15Z] <sad_plan> https://github.com/cheusov/nbase [2022-10-04T14:07:18Z] <wael[m]> it uses meson [2022-10-04T14:07:20Z] <sad_plan> yeah, and this ones netbsd [2022-10-04T14:07:24Z] <wael[m]> or can be switched to muon [2022-10-04T14:07:32Z] <sad_plan> im fine with meson, but it requires other stuff too [2022-10-04T14:07:34Z] <sad_plan> like libxo [2022-10-04T14:07:45Z] <midfavila> >your coreutils have dependencies [2022-10-04T14:07:51Z] <midfavila> begone [2022-10-04T14:07:52Z] <sad_plan> ^ [2022-10-04T14:08:00Z] <wael[m]> LMAO [2022-10-04T14:08:07Z] <wael[m]> what about nbase [2022-10-04T14:08:11Z] <sad_plan> baseutils however doesnt have any other than the basic stufff. C compiler [2022-10-04T14:08:15Z] <sad_plan> doesnt build [2022-10-04T14:08:28Z] <wael[m]> arc4_random stuff? [2022-10-04T14:08:36Z] <midfavila> might peek at nbase if i end up having trouble while writing my own coreutils [2022-10-04T14:08:43Z] <sad_plan> I dont recall. lemme just check [2022-10-04T14:08:43Z] <midfavila> nbsd is based [2022-10-04T14:08:50Z] <testuser[m]> wael: if 0 and arc4random function [2022-10-04T14:08:53Z] <sad_plan> ah, no it was the pesky makefile [2022-10-04T14:09:02Z] <testuser[m]> and remove from headers [2022-10-04T14:09:04Z] <wael[m]> what [2022-10-04T14:09:13Z] <wael[m]> arc4random funcs are only used in rm and cat [2022-10-04T14:09:15Z] <wael[m]> in baseutils [2022-10-04T14:10:11Z] <wael[m]> apparently nbase has a missing seperator on line 23 [2022-10-04T14:10:22Z] <sad_plan> ^ that was the same error Ive got [2022-10-04T14:10:29Z] <sad_plan> I tried to fix it by tabbing them out, but nah [2022-10-04T14:10:35Z] <wael[m]> what about baseutils? [2022-10-04T14:10:40Z] <sad_plan> for baseutils, I get this one /usr/bin/ld: zopen.o:(.bss+0x0): multiple definition of `pmode'; main.o:(.bss+0x24): first defined here [2022-10-04T14:10:59Z] <sad_plan> im not sure whats the issue here tbh. havent looked too much into it [2022-10-04T14:11:08Z] <sad_plan> /usr/bin/ld: gzopen.o:(.bss+0x0): multiple definition of `pmode'; main.o:(.bss+0x24): first defined here [2022-10-04T14:11:08Z] <sad_plan> [2022-10-04T14:11:09Z] <wael[m]> atleast yours compiles up to that point lol [2022-10-04T14:11:21Z] <sad_plan> and this /usr/bin/ld: nullopen.o:(.bss+0x4): multiple definition of `pmode'; main.o:(.bss+0x24): first defined here [2022-10-04T14:11:25Z] <sad_plan> lol [2022-10-04T14:11:45Z] <sad_plan> that baseutils though. neither of them actually build, but baseutils is currently the most promising one [2022-10-04T14:11:55Z] <wael[m]> right now since nbase has some makefile error and sbase has missing features, baseutils compile error, im trying to patch toybox for posix shell [2022-10-04T14:12:56Z] <sad_plan> yeah lemme know if you figure that out. [2022-10-04T14:13:06Z] <sad_plan> I have a patch to work from, if you dont already have it [2022-10-04T14:13:39Z] <wael[m]> im using POSIX.patch from kiss-me and your repository [2022-10-04T14:13:42Z] <wael[m]> both are the same [2022-10-04T14:13:48Z] <wael[m]> but missing lines since toybox is somewhat different [2022-10-04T14:13:48Z] <sad_plan> yeah thats the one ive used [2022-10-04T14:13:57Z] <sad_plan> yeah, lots of updates since then [2022-10-04T14:14:06Z] <wael[m]> yeah just updating it [2022-10-04T14:14:18Z] <wael[m]> probably something somewhere is fucked but only will know after compilation [2022-10-04T14:14:29Z] <sad_plan> yeah, i also tried to do that, but I had no luck in it. [2022-10-04T14:14:40Z] <sad_plan> youll figure that out before you get to compilation :p [2022-10-04T14:14:48Z] <wael[m]> lol [2022-10-04T14:14:57Z] <sad_plan> usually youll get errors when configuring or something [2022-10-04T14:15:00Z] <sad_plan> atleast thats what I ddi [2022-10-04T14:15:04Z] <sad_plan> did* [2022-10-04T14:15:08Z] <wael[m]> configuring? [2022-10-04T14:15:31Z] <sad_plan> the part before it start to actually build [2022-10-04T14:15:43Z] <sad_plan> toybox doesnt use a configure script though [2022-10-04T14:15:48Z] <wael[m]> oh boy [2022-10-04T14:15:55Z] <wael[m]> scripts/configure ? [2022-10-04T14:16:09Z] <midfavila> projects that use handwritten makefiles are nice [2022-10-04T14:16:44Z] <sad_plan> its not used iirc. its the same way as busybox us. its just using a .config file [2022-10-04T14:16:48Z] <sad_plan> I agree midfavila [2022-10-04T14:17:55Z] <wael[m]> i dont know exactly why toybox needs these giant scripts [2022-10-04T14:18:11Z] <phoebos> re baseutils, pmode should be static enum [2022-10-04T14:18:20Z] <sad_plan> I have no clue, but I dont like any of them. hence me moving to something else [2022-10-04T14:19:17Z] <wael[m]> now im getting some really weird errors [2022-10-04T14:19:49Z] <sad_plan> phoebos: say what now? [2022-10-04T14:20:18Z] <midfavila> weird question [2022-10-04T14:20:23Z] <midfavila> have any of you gotten CDE to run? [2022-10-04T14:20:40Z] <wael[m]> isnt that ancient [2022-10-04T14:20:56Z] <testuser[m]> sad_plan: try -fcommon [2022-10-04T14:21:15Z] <phoebos> sad_plan: change enum ... pmode in compress.h to static enum ... [2022-10-04T14:21:21Z] <midfavila> wael[m], it's comfy [2022-10-04T14:21:28Z] <wael[m]> fair [2022-10-04T14:21:39Z] <phoebos> or fcommon [2022-10-04T14:22:06Z] <testuser[m]> phoebos: can u check the latest comment on pr [2022-10-04T14:22:07Z] <testuser[m]> and is it ok to merge [2022-10-04T14:24:22Z] <phoebos> testuser[m]: what was the decision re /etc/ssh/update-certdata.sh [2022-10-04T14:24:38Z] <phoebos> that might need /etc/resolv.conf mounted? [2022-10-04T14:26:11Z] <testuser[m]> hmmmmmmmmmmmmm [2022-10-04T14:26:33Z] <phoebos> *ssl [2022-10-04T14:26:50Z] <testuser[m]> that would require making it kiss-chroot like [2022-10-04T14:27:26Z] <testuser[m]> so bad [2022-10-04T14:28:31Z] <testuser[m]> how do other distros update certs [2022-10-04T14:31:41Z] <testuser[m]> certdata is updated statically with pkg [2022-10-04T14:33:36Z] <testuser[m]> that's probably better, can't rely on network [2022-10-04T14:34:02Z] <testuser[m]> https://gitlab.alpinelinux.org/alpine/ca-certificates/-/blob/master/certdata.txt [2022-10-04T14:34:41Z] <phoebos> yes [2022-10-04T14:35:07Z] <phoebos> or put it in openssl/files and bump relver [2022-10-04T14:35:27Z] <testuser[m]> 200kb extra in repo [2022-10-04T14:35:35Z] <testuser[m]> just put it in openssl generated tarball [2022-10-04T14:35:49Z] <saturn[m]> hello [2022-10-04T14:35:59Z] <testuser[m]> or maybe seperate repo [2022-10-04T14:37:33Z] <testuser[m]> just put it in releases [2022-10-04T14:38:51Z] <phoebos> definitely better [2022-10-04T14:39:11Z] <phoebos> are there any scripts which call update-certdata.sh [2022-10-04T14:39:24Z] <testuser[m]> no [2022-10-04T14:39:44Z] <phoebos> nice [2022-10-04T14:39:55Z] <testuser[m]> do we want to print a msg in post install if certs were installed as a .new file? [2022-10-04T14:41:04Z] <phoebos> to remind people to move them? probably the warning is enough [2022-10-04T14:41:46Z] <testuser[m]> ok [2022-10-04T14:47:23Z] <sad_plan> using -fcommon works :D [2022-10-04T14:48:01Z] <wael[m]> is there an alternative to `sort -s`? toybox uses this to sort and will break with normal `sort` [2022-10-04T14:49:09Z] <phoebos> what's sort -s [2022-10-04T14:49:24Z] <sad_plan> -s Stable (don't sort ties alphabetically) [2022-10-04T14:49:30Z] <sad_plan> from busybox [2022-10-04T14:49:54Z] <phoebos> any idea what a tie means [2022-10-04T14:50:10Z] <sad_plan> have no clue [2022-10-04T14:50:14Z] <phoebos> or is it for use with -n [2022-10-04T14:50:48Z] <wael[m]> its used standalone and with -k 1,1 [2022-10-04T14:50:50Z] <wael[m]> i use sbase and sbase doesnt have this sort flag [2022-10-04T14:54:11Z] <testuser[m]> https://codeberg.org/kiss-community/repo/pulls/118/files [2022-10-04T14:55:47Z] <wael[m]> testuser: isn't it still using an internal KISS certificate generator that puts it in a tarball [2022-10-04T14:56:12Z] <testuser[m]> it cant generate the certificates from /dev/urandom so yeah [2022-10-04T14:58:04Z] <wael[m]> real [2022-10-04T14:58:24Z] <testuser[m]> fake [2022-10-04T15:16:37Z] <wael[m]> midfavila: i believe the reason nbase doesn't work is because it requires bmake, bmakedep, mk-configure [2022-10-04T15:36:20Z] <macslash1[m]> \o [2022-10-04T15:38:04Z] <saturn[m]> \o [2022-10-04T15:38:10Z] <wael[m]> \o [2022-10-04T22:17:01Z] <saturn[m]> hello everyone [2022-10-04T22:34:41Z] <Torr> Hey saturn[m] [2022-10-04T23:12:00Z] <saturn[m]> hi