💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-05-17.txt captured on 2024-05-10 at 14:37:20.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-05-17T00:00:45 #kisslinux <illiliti> /etc/profile is defined by POSIX ? shell must source it? 2020-05-17T00:03:13 #kisslinux <E5ten> I don't know, but does it matter if it must source it? if it does source it, which I'd think most do, then udevd in /usr/local/bin will be found with command -v and wouldn't with [ -x 2020-05-17T00:06:22 #kisslinux <illiliti> /etc/profile is not invoked for non-login shells 2020-05-17T00:07:09 #kisslinux <E5ten> dash sets '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' as the default PATH, so /usr/local/bin would be available 2020-05-17T00:07:27 #kisslinux <illiliti> yash doesn't 2020-05-17T00:07:57 #kisslinux <E5ten> so? if any does, then there's a situation where a command in /usr/local/bin would be available to command -v in that shell and wouldn't with [ -x 2020-05-17T00:09:49 #kisslinux <illiliti> this is not portable, we depend on shell implementation 2020-05-17T00:11:38 #kisslinux <E5ten> what's less portable, only working when the command is in a specific directory you choose, or working in any directory in the PATH from the shell? 2020-05-17T00:11:45 #kisslinux <E5ten> (the first one) 2020-05-17T00:11:49 #kisslinux <merakor> Doesn't kiss boot scripts read rc.conf 2020-05-17T00:11:58 #kisslinux <merakor> Which you can specify path 2020-05-17T00:13:21 #kisslinux <E5ten> oh yeah that too lol 2020-05-17T00:14:28 #kisslinux <illiliti> kiss init sources rc.conf later than `command -v` invoked. as a solution we can run `. /etc/rc.conf` as earlier as possible 2020-05-17T00:15:40 #kisslinux <merakor> Yeah, I source /etc/init/rc.conf as the first command on my boot scripts 2020-05-17T00:16:12 #kisslinux <onodera> im trying to compile my first kiss kernel on my vps during installation, and it is erroring out.... 2020-05-17T00:16:25 #kisslinux <onodera> "tar: unrecognized option: owner=0 2020-05-17T00:16:32 #kisslinux <onodera> find: unrecognized: -printf 2020-05-17T00:16:39 #kisslinux <onodera> busybox thing maybe? 2020-05-17T00:17:14 #kisslinux <merakor> Busybox should have printf 2020-05-17T00:17:37 #kisslinux <onodera> this is during the "GEN kernel/kheaders_data.tar.xz" step 2020-05-17T00:17:40 #kisslinux <mcf> illiliti: what is the advantage of [ -x ... ]? command -v is (necessarily?) a shell built-in, but [ very well may be an external command. any overhead of searching $PATH is probably dwarfed by that 2020-05-17T00:18:32 #kisslinux <merakor> Oh, busybox has -print, I think 2020-05-17T00:18:49 #kisslinux <merakor> Are you creating a tarball onodera? 2020-05-17T00:19:03 #kisslinux <E5ten> I want to say command has to be a built-in because I think it's supposed to be able to use built-ins? 2020-05-17T00:20:01 #kisslinux <mcf> yes, i think so 2020-05-17T00:20:07 #kisslinux <illiliti> we speak about kiss defaults. currently kiss init doesn't provide ability to set custom path, so _currently_ command -v is overhead 2020-05-17T00:20:39 #kisslinux <merakor> command -v is defined not as an overhead by POSIX in the latest version 2020-05-17T00:20:48 #kisslinux <merakor> If I remember correctly 2020-05-17T00:21:27 #kisslinux <merakor> So it is portable 2020-05-17T00:22:33 #kisslinux <E5ten> But again, command is a guaranteed built-in, and [ is not 2020-05-17T00:22:48 #kisslinux <E5ten> So [ is more overhead I'd say 2020-05-17T00:23:10 #kisslinux <illiliti> https://github.com/void-linux/void-packages/issues/18777 2020-05-17T00:23:49 #kisslinux <E5ten> Also, again, the shell can have default path including /usr/local/bin, so a custom path is not necessarily needed for a non-/usr/bin udevd, that [ -x would unnecessarily prevent using 2020-05-17T00:24:36 #kisslinux <illiliti> `shell can have` is not portable 2020-05-17T00:26:41 #kisslinux <illiliti> But again, command is a guaranteed built-in, and [ is not << you're right 2020-05-17T00:27:01 #kisslinux <E5ten> That doesn't even make sense though, like a shell could theoretically have the default PATH as being /some/fucking/directory and not include /usr/bin at all, and if someone had /some/fucking/directory/udevd knowing their shell supported that, there's no reason to make that not work by hardcoding /usr/bin/udevd 2020-05-17T00:27:42 #kisslinux <E5ten> The non-portable thing here would be hardcoding a path, not allowing the user to put the command wherever if they know their shell has that directory built into the default PATH 2020-05-17T00:32:32 #kisslinux <illiliti> i agree. as i said we need to source /etc/rc.conf on top of rc.boot 2020-05-17T00:32:41 #kisslinux <illiliti> regarding /usr/bin hardcoding - https://github.com/kisslinux/kiss/blob/master/kiss#L914 2020-05-17T00:33:17 #kisslinux <illiliti> this will broke alternatives system if /usr/ separated 2020-05-17T00:52:54 #kisslinux <illiliti> https://k1ss.org/guidestones 2020-05-17T00:52:56 #kisslinux <illiliti> Install files to '/usr/{bin,lib,share}' always. 2020-05-17T00:55:47 #kisslinux <E5ten> but just like kiss is a linux distro, but the package manager is meant to support non-linux OS's, shouldn't the init also support systems without the same fs layout? and that still doesn't mean anything for /usr/local/bin, where a non-package udev install would probably go 2020-05-17T01:02:33 #kisslinux <illiliti> I don't think that kiss init should support systems without same fs layout because kiss init is a part of KISS defaults. you must manually rewrite code to support separated /usr 2020-05-17T01:10:31 #kisslinux <illiliti> strictly speaking there is no way to make kiss init portable across non-linux OS's due to different implementations of pseudo fs's, mount options, coreutils, /dev/random, etc... 2020-05-17T01:29:23 #kisslinux <illiliti> eventually, `command -v` only useful when user able to control PATH (currently not). that's why i asked about [ -x ], because i didn't saw a way to control PATH, so i assumed if we can't control that variable then why we need command -v? 2020-05-17T02:06:53 #kisslinux <illiliti> btw, why people prefer `command -v` over `type` ? `type` is much shorter and readable... 2020-05-17T02:24:16 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L125 << this will fail if mdev located in i.e /usr/local/bin 2020-05-17T02:27:17 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.lib#L42 << this too 2020-05-17T02:38:03 #kisslinux <E5ten> illiliti: type is XSI, not POSIX 2020-05-17T02:42:39 #kisslinux <E5ten> illiliti: in regards to the first one, /bin/sh is pretty much universally a guaranteed place to get a POSIX shell, that's why #!/bin/sh shebangs are used, and in regards to the other one, yeah, that should probably be changed to print "$(command -v mdev)" instead of /bin/mdev 2020-05-17T02:43:09 #kisslinux <illiliti> which is difference? i thought XSI is a part of POSIX 2020-05-17T02:43:47 #kisslinux <E5ten> XSI is an optional additional set of functionality that isn't required to be supported for a system to be POSIX-compliant 2020-05-17T02:44:24 #kisslinux <illiliti> ah 2020-05-17T03:10:59 #kisslinux <muevoid> After enabling user namespace support in my kernel I can longer boot into kiss I am stuck at a black screen at launch. First I thought it may be because im using an efi stub however the same thing happened with grub after clicking on the entry. Any ideas? 2020-05-17T03:20:25 #kisslinux <muevoid> I just retried again after enabling some more options from the gentoo wiki however I still recieve a black screen 2020-05-17T03:34:32 #kisslinux <muevoid> Nvm I will just disable it and use a chroot instead of flatpak 2020-05-17T03:48:12 #kisslinux <muevoid> Im officially lost now. Even after that I still get a black screen 2020-05-17T03:59:45 #kisslinux <muevoid> I tried using my backed up .config i have no idea what to do 2020-05-17T04:00:04 #kisslinux <muevoid> I also have tried nomodeset in the parameters 2020-05-17T04:36:38 #kisslinux <E5ten> muevoid: Did you change anything other than adding user namespaces? 2020-05-17T04:40:11 #kisslinux <illiliti> https://github.com/kisslinux/repo/blob/master/core/busybox/files/acpid.run#L2 << move to build file 2020-05-17T04:40:51 #kisslinux <illiliti> https://github.com/kisslinux/repo/blob/master/core/grub/build#L22 << non-posix '-a' 2020-05-17T05:28:57 #kisslinux <muevoid> E5ten no I did not 2020-05-17T05:29:05 #kisslinux <muevoid> in fact I just tried to do a fresh install however no difference 2020-05-17T05:29:11 #kisslinux <muevoid> I have no clue what to do at this point 2020-05-17T05:30:35 #kisslinux <muevoid> Live cd works fine 2020-05-17T05:41:44 #kisslinux <muevoid> I tried older kernel no luck 2020-05-17T05:42:05 #kisslinux <muevoid> Ill try without encryption even though it was working just fine yesterday 2020-05-17T05:54:59 #kisslinux <dylan03> /usr/bin isn't hardcoded 2020-05-17T05:55:32 #kisslinux <dylan03> There's one place where /usr/share is hardcoded and one 'rm -f' in /usr/lib (can resolve symlinks here). 2020-05-17T05:56:02 #kisslinux <dylan03> There are comments which mention /usr/bin though the code will use the root of the symlinks. 2020-05-17T05:57:02 #kisslinux <dylan03> You should be able to simply turn /bin into the root of the symlink (/usr/bin pointing to /bin instead) 2020-05-17T05:57:13 #kisslinux <muevoid> dylan03 has anyone reported black screens on boot recently? 2020-05-17T05:57:17 #kisslinux <muevoid> I am stuck 2020-05-17T05:57:26 #kisslinux <dylan03> https://k1ss.org/news/20200509a 2020-05-17T05:57:54 #kisslinux <muevoid> Ah thank you I will try that 2020-05-17T06:01:13 #kisslinux <dylan03> No problem 2020-05-17T06:02:15 #kisslinux <dylan03> illiliti: This hierarchy stuff is tricky though as everything expects /bin, /sbin and /usr/bin be available. 2020-05-17T06:02:54 #kisslinux <muevoid> Hunk 1 fails is this only for a certain kernel version? 2020-05-17T06:03:29 #kisslinux <dylan03> muevoid: Which kernel version are you building? 2020-05-17T06:03:35 #kisslinux <muevoid> 5.4.41 2020-05-17T06:03:49 #kisslinux <dylan03> Ah 2020-05-17T06:03:51 #kisslinux <muevoid> I was using linux-libre but that didnt work so I tried on vanilla kernel and still didnt work 2020-05-17T06:04:07 #kisslinux <dylan03> You may need to manually patch it. I know it applies cleanly to 5.6.11 2020-05-17T06:04:14 #kisslinux <muevoid> Kk 2020-05-17T06:04:25 #kisslinux <dylan03> Your other option is simply CONFIG_STACKPROTECTOR=n and CONFIG_STACKPROTECTOR_STRONG=n 2020-05-17T06:04:25 #kisslinux <muevoid> Ill try 5.6.11 then 2020-05-17T06:04:36 #kisslinux <muevoid> What does the stackprotector do exactly? 2020-05-17T06:05:12 #kisslinux <dylan03> > This option turns on the "stack-protector" GCC feature. This feature puts, at the beginning of functions, a canary value on the stack just before the return address, and validates the value just before actually returning. Stack based buffer overflows (that need to overwrite this return address) now also overwrite the canary, which gets detected and the attack is then neutralized via a kernel panic. 2020-05-17T06:05:40 #kisslinux <muevoid> Ill try the latest kernel version first 2020-05-17T06:05:49 #kisslinux <muevoid> Then if that doesn't work ill manually patch it 2020-05-17T06:07:17 #kisslinux <muevoid> to paste something in terminal to a file its cat > filename.patch << "EOF" right? 2020-05-17T06:14:13 #kisslinux <muevoid> The patch still doesnt apply to 5.6.11 2020-05-17T06:16:44 #kisslinux <muevoid> Im just patching manually not that large of a patch 2020-05-17T06:21:12 #kisslinux <dylan03> onodera: Those errors should be fine iirc. e 2020-05-17T06:32:31 #kisslinux <dylan03> illiliti: The alternatives system does break with /bin as the root instead of /usr/bin (just tested). Though this is due to packages installing everything to /usr/. I can probably fix it in the package manager. 2020-05-17T06:34:20 #kisslinux <dylan03> The fix would be to simply resolve symlinks in other manifests when doing conflict resolution. 2020-05-17T06:44:22 #kisslinux <dylan03> The hierarchy mess is something you can't really solve. There are too many assumptions (as to what lives where), etc. The simplest solution is what we're doing now (symlink everything together). 2020-05-17T06:44:53 #kisslinux <dylan03> If I can make any fixes to the package manager I will though. 2020-05-17T08:03:38 #kisslinux <claudia02> dilynm: This awesome what you have done with kiss-kde and exelent documentation! 2020-05-17T08:07:32 #kisslinux <dilynm> Thanks! I'm now troubleshooting why it won't start :) 2020-05-17T08:07:43 #kisslinux <dilynm> But I'm going to bed. I've had enough lol 2020-05-17T09:13:19 #kisslinux <merakor> muevoid: I am using that patch on 5.4.41 2020-05-17T09:16:23 #kisslinux <eudaldgr> anyone have problems with zathura build? 2020-05-17T09:17:14 #kisslinux <eudaldgr> i'm trying to update zathura-pdf-mupdf and what not possible 2020-05-17T09:17:41 #kisslinux <eudaldgr> https://termbin.com/su6b 2020-05-17T12:03:35 #kisslinux <muevoid> Anyone know how to get audio working in a chroot for steam. Audio works as root user in chroot but not normal user 2020-05-17T12:39:12 #kisslinux <eudaldgr> i don't know what happens with my system, after 4-5 days without use it, today i do a `kiss u` and zathura-pdf-mupdf don't build, and after that can't build rust, rtorrent and zathura, i opened a issue, but after rebuild libtorrent rtorrent still don't build 2020-05-17T12:39:57 #kisslinux <eudaldgr> anyone have problems with that packages this days? 2020-05-17T12:55:10 #kisslinux <dylan01> muevoid: Is the normal user in the chroot a part of the audio group? 2020-05-17T12:55:31 #kisslinux <dylan01> eudaldgr: Got build logs for everything? 2020-05-17T12:57:29 #kisslinux <eudaldgr> that's rust, they say something like libressl is suported as 3.0.x where our version is 3.1.1 i think 2020-05-17T12:57:32 #kisslinux <eudaldgr> https://termbin.com/bsiy 2020-05-17T12:58:01 #kisslinux <dylan01> eudaldgr: Thanks. Will work on a fix now. 2020-05-17T12:58:07 #kisslinux <eudaldgr> thanks 2020-05-17T12:59:37 #kisslinux <eudaldgr> zathura-pdf-mupdf https://termbin.com/1mqk 2020-05-17T13:00:11 #kisslinux <eudaldgr> zathura https://termbin.com/b51hv 2020-05-17T13:02:26 #kisslinux <eudaldgr> rtorrent after rebuild libtorrent https://termbin.com/fgbx 2020-05-17T13:03:24 #kisslinux <dylan01> Do you have libexecinfo installed? 2020-05-17T13:04:48 #kisslinux <dylan01> Maybe send over your full package list (kiss l > file 2020-05-17T13:05:24 #kisslinux <dylan01> I can only reproduce rust and zathura-pdf-mupdf 2020-05-17T13:06:52 #kisslinux <dylan01> eudaldgr: https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/11 2020-05-17T13:07:07 #kisslinux <dylan01> I think we may need a patch from the development branch 2020-05-17T13:07:28 #kisslinux <eudaldgr> i have a lot of shit installed i want to reinstall kiss some day XD 2020-05-17T13:07:29 #kisslinux <eudaldgr> https://termbin.com/idi8 2020-05-17T13:07:51 #kisslinux <dylan01> Patch for zathura-pdf-mupdf: https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/commit/c7f341addb76d5e6fd8c24c666d8fe97c451a4cb.patch 2020-05-17T13:08:02 #kisslinux <eudaldgr> well thanks 2020-05-17T13:08:31 #kisslinux <dylan01> > libexecinfo is causing the rtorrent error 2020-05-17T13:08:43 #kisslinux <dylan01> > Patch needed for zathura-pdf-mupdf 2020-05-17T13:08:46 #kisslinux <dylan01> > Patch needed for Rust 2020-05-17T13:08:52 #kisslinux <dylan01> I can't reproduce the others 2020-05-17T13:09:33 #kisslinux <eudaldgr> the other are only zathura 2020-05-17T13:09:43 #kisslinux <eudaldgr> thanks dylan!! 2020-05-17T13:10:09 #kisslinux <eudaldgr> and i don't know why i tried to rebuild zathura 2020-05-17T13:10:11 #kisslinux <eudaldgr> XD 2020-05-17T13:10:47 #kisslinux <eudaldgr> the package manager website are pretty 2020-05-17T13:10:55 #kisslinux <dylan01> Pushed a fix for zathura-pdf-mupdf (turns out I'm the maintainer at the moment) 2020-05-17T13:10:56 #kisslinux <dylan01> :P 2020-05-17T13:11:08 #kisslinux <eudaldgr> much well documented than before 2020-05-17T13:11:14 #kisslinux <dylan01> Yeah 2020-05-17T13:11:23 #kisslinux <dylan01> I'm going to write a similar page for the init as well 2020-05-17T13:11:37 #kisslinux <eudaldgr> Good! 2020-05-17T13:11:41 #kisslinux <dylan01> (Rust is currently building. Will push to repos once I confirm the patch works) 2020-05-17T13:13:14 #kisslinux <eudaldgr> System updated!! 2020-05-17T13:18:15 #kisslinux <dylan01> What requires libexecinfo? 2020-05-17T13:18:24 #kisslinux <dylan01> ('kiss revdepends libexecinfo') 2020-05-17T13:19:48 #kisslinux <dylan01> There's a reason I don't permit it (or other ripped out parts of glibc) in the repositories. 2020-05-17T13:21:12 #kisslinux <dylan01> This should fix the build error though: sed -i 's/USE_EXECINFO 1/USE_EXECINFO 0/' configure 2020-05-17T13:21:15 #kisslinux <dylan01> eudaldgr: 2020-05-17T13:24:31 #kisslinux <dylan01> zathura needs -Dtests=disabled 2020-05-17T13:55:02 #kisslinux <onodera> dylan01: is linux-headers a default package 2020-05-17T13:55:05 #kisslinux <onodera> preinstalled that is 2020-05-17T13:57:49 #kisslinux <onodera> okay what the hell, suddenly I can now longer build my kernel... 2020-05-17T14:00:23 #kisslinux <dylan01> onodera: Yes it is 2020-05-17T14:00:31 #kisslinux <dylan01> What's the error? 2020-05-17T14:00:56 #kisslinux <onodera> dylan01: oprhans lists it though 2020-05-17T14:01:03 #kisslinux <onodera> maybe it should be removed like gcc 2020-05-17T14:01:09 #kisslinux <onodera> dylan01: lemme upload... 2020-05-17T14:01:20 #kisslinux <dylan01> onodera: Yeah. It's merely a 'make' dependency of a bunch of packages. 2020-05-17T14:01:45 #kisslinux <dylan01> You _can_ remove it safely (unlike gcc if you don't have it in your cache) 2020-05-17T14:01:52 #kisslinux <dylan01> (or musl) 2020-05-17T14:02:06 #kisslinux <onodera> https://hastebin.com/juvoyeqaji.sql 2020-05-17T14:03:05 #kisslinux <onodera> i uninstalled linux-headers, reinstalled it again 2020-05-17T14:03:09 #kisslinux <onodera> and now this happens 2020-05-17T14:11:07 #kisslinux <onodera> i didnt need linux-headers on crux 2020-05-17T14:11:16 #kisslinux <onodera> it used headers from the running kernel or something2020-05-17T14:11:33 #kisslinux <onodera> also I accidentally deleted my work in progres .config 2020-05-17T14:11:35 #kisslinux <onodera> great 2020-05-17T14:14:47 #kisslinux <onodera_> https://a.uguu.se/xZhISuAXSuGS_scrot548.png 2020-05-17T14:14:53 #kisslinux <onodera_> what the hell did I get myself into 2020-05-17T14:16:25 #kisslinux <onodera_> running mrproper or a reboot didn't fix the issue either, I reinstalled linux-headers and now it seems I am unable to compile a kernel.... 2020-05-17T14:18:07 #kisslinux <dylan01> The first log is from the kernel build process (and is the error)? 2020-05-17T14:19:00 #kisslinux <onodera_> yes 2020-05-17T14:19:13 #kisslinux <onodera_> it just tries to call a bunch of utilities that fail because of non supported flags 2020-05-17T14:19:24 #kisslinux <dylan01> > ./tools/perf/util/intel-pt-decoder/Build:# Busybox's diff doesn't have -I, avoid warning in the case 2020-05-17T14:19:31 #kisslinux <dylan01> Hm 2020-05-17T14:19:42 #kisslinux <rirc7B649> O/ 2020-05-17T14:19:49 #kisslinux <onodera_> i suppose I could install coreutils but this is pretty weird 2020-05-17T14:20:06 #kisslinux <dylan01> Yeah 2020-05-17T14:20:23 #kisslinux <dylan01> I can build the kernel fine with busybox (despite a couple of errors like this one which are harmless) 2020-05-17T14:21:29 #kisslinux <claudia02> I found a way to make mesa build a libgl.so with just libX11 and libXext and its respective depencies through libglvnd. 2020-05-17T14:21:42 #kisslinux <dylan01> Can you find the file which calls 'diff' onodera? 2020-05-17T14:21:53 #kisslinux <claudia02> Long story short with these two X dependencies there is accelerated webkit2gtk on wayland 2020-05-17T14:22:30 #kisslinux <dylan01> Nice 2020-05-17T14:22:47 #kisslinux <claudia02> On wayland you have wpebackend-fdo for accelerated rendereing 2020-05-17T14:22:55 #kisslinux <claudia02> its as fast as firefox now :D 2020-05-17T14:24:05 #kisslinux <onodera_> my kernel fails on both my vps and my main machine 2020-05-17T14:24:16 #kisslinux <onodera_> ill dump a whole output if i can figure out how 2020-05-17T14:24:27 #kisslinux <onodera_> they use both vastly different .configs btw 2020-05-17T14:25:12 #kisslinux <claudia02> dylan01: On my system for libxcb: xorg-util-macros is only make dependency 2020-05-17T14:25:30 #kisslinux <dylan01> claudia02: Will see if I can reproduce and make the change if so 2020-05-17T14:28:43 #kisslinux <claudia02> cool 2020-05-17T14:31:46 #kisslinux <dylan01> onodera_: Yeah. Maybe it's an option which both have enabled that pulls in the non-POSIX commands. 2020-05-17T14:41:52 #kisslinux <dylan01> eudaldgr: My rust patch seems to have worked. The build is almost done and no errors thus far. 2020-05-17T14:44:41 #kisslinux <dylan01> eudaldgr: Pushed the rust fix. 2020-05-17T14:44:51 #kisslinux <dylan01> Be on later o/ 2020-05-17T15:16:57 #kisslinux <fehawen> I installed KISS late last night. Things went well, I thought. Kernel took 10 minutes to compile though, which felt weirdly short. I used defconfig with barely any changes. Although I haven't used GRUB before, I'm certain I didn't screw up there as I get the grub menu when I boot. However, after selecting the grub boot option (any of them) I get stuck at "Loading Linux 5.6 ..." and nothing happens after that. I'm sure it's not a 2020-05-17T15:17:06 #kisslinux <fehawen> Any ideas on how I should proceed for troubleshooting? 2020-05-17T15:17:22 #kisslinux <kisslinuxuser> did you do the gcc patch? 2020-05-17T15:17:42 #kisslinux <kisslinuxuser> https://k1ss.org/news/20200509a 2020-05-17T15:18:10 #kisslinux <fehawen> No, I didn't. I was tired and only saw that note _after_ I had compiled and installed the kernel. 2020-05-17T15:18:21 #kisslinux <illiliti> https://github.com/kisslinux/init/commit/18eb9bbf60f955de116dc9823bcf155c090e81f5 << this is useless because we have no way to control PATH 2020-05-17T15:18:43 #kisslinux <fehawen> Saw it after, but since the build process din't crash on me I thought I'd be safe. 2020-05-17T15:19:37 #kisslinux <fehawen> First time configuring and building my own kernel thought, so when I read about the patch I wasn't even sure how to apply it (yes, I suck...) 2020-05-17T15:20:30 #kisslinux <fehawen> So, do I redo everything or can it still be fixed at this point? 2020-05-17T15:20:35 #kisslinux <kisslinuxuser> wget -O gcc.patch https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/patch/?id=f670269a42bfdd2c83a1118cc3d1b475547eac22 2020-05-17T15:20:43 #kisslinux <kisslinuxuser> patch -p1 < gcc.patch 2020-05-17T15:21:07 #kisslinux <kisslinuxuser> just need to apply the patch and recompile the kernel 2020-05-17T15:22:11 #kisslinux <fehawen> Thanks! 2020-05-17T15:25:41 #kisslinux <eudaldgr> dylan01: thanks! 2020-05-17T15:27:46 #kisslinux <eudaldgr> dylan01: now i see the zathura thing 2020-05-17T15:30:31 #kisslinux <dilynm> fehawen: from a make defconfig you really only need to mess with the device drivers section 2020-05-17T15:38:28 #kisslinux <fehawen> dilynm: I thought I got things right there, but can't be sure I guess if my problem's due to the fact that I didn't apply the patch for GCC 10.1.0 ? 2020-05-17T15:39:20 #kisslinux <fehawen> Based on everything I could find on the Gentoo kernel pages and some pages specific to my hardware, the config looked correct. 2020-05-17T15:40:44 #kisslinux <fehawen> What I could've gotten wrong is perhaps the Graphics driver, not sure though. 2020-05-17T15:41:47 #kisslinux <dilynm> defconfig usually just selects all the graphics drivers 2020-05-17T15:42:04 #kisslinux <dilynm> If it's not a kernel panic your config is probably fine 2020-05-17T15:58:40 #kisslinux <fehawen> Never experienced this before, as what I got was aboslutely nothing. 2020-05-17T15:58:52 #kisslinux <fehawen> I'm compiling the kernel again now. 2020-05-17T15:59:26 #kisslinux <fehawen> Haven't used GRUB before, trying to figure out how to make grub choose the new kernel 2020-05-17T15:59:55 #kisslinux <fehawen> More specificly, I'm trying to figure out the GRUB_DEFAULT behavior 2020-05-17T16:03:37 #kisslinux <fehawen> And defconfig _only_ selected the "Intel 8xx/9xx/G3x/G4x/HD Graphics" drivers btw. Not sure what _all_ graphics drivers selected would've looked like.. 2020-05-17T16:04:19 #kisslinux <fehawen> Seriously, not even 10 minutes to build the kernel. Is that... normal? I was expecting 45-60 mins at least. 2020-05-17T16:24:07 #kisslinux <fehawen> "VFS: unable to mount root fs on unknown-block(0 0)". With defconfig, really? It's ext4... 2020-05-17T16:30:02 #kisslinux <fehawen> Gotta go, will look into it later. I'm doing something very wrong apparently ^^ 2020-05-17T16:30:04 #kisslinux <fehawen> Ciao 2020-05-17T16:49:01 #kisslinux <onodera_> does anyone use lilo? 2020-05-17T17:01:40 #kisslinux <onodera_> what the hell, grub is seriously big 2020-05-17T17:01:56 #kisslinux <onodera_> takes like 20 minutes to compile on my vps 2020-05-17T17:36:31 #kisslinux <dylan03> illiliti: Changes like these can't hurt. If we want to allow PATH changes later we can. 2020-05-17T17:37:54 #kisslinux <dylan03> onodera_: You can't use an EFISTUB? It's the easiest thing to do (if possible). 2020-05-17T17:38:32 #kisslinux <dylan03> Grub is default as it supports both UEFI/BIOS, people are familiar with it and it's still in development. 2020-05-17T17:38:48 #kisslinux <dylan03> Lots of documentation too. 2020-05-17T17:42:46 #kisslinux <onodera_> dylan03: nah not on this vps i think 2020-05-17T17:43:04 #kisslinux <onodera_> at least it is saying efivar is not supported on this system 2020-05-17T17:44:04 #kisslinux <dylan03> lilo is another good option (note: The kernel's 'make install' will automatically run lilo). 2020-05-17T17:45:56 #kisslinux <onodera_> yeah I tried to port it 2020-05-17T17:46:14 #kisslinux <onodera_> though I think I am missing some dependencies 2020-05-17T17:46:18 #kisslinux <onodera_> might just stick to grub 2020-05-17T17:47:50 #kisslinux <illiliti> dylan03: okay but we can't assume that PATH contains /usr/local/bin, whatever because it shell specific behaviour... First of all we need ability to control PATH, then `command -v` makes sense 2020-05-17T18:10:35 #kisslinux <claudia02> dylanaraps: The first thing I thought about your new kiss documentation: "wow this would make a great printed handbook." And so did I, but not everything fits right. 2020-05-17T18:10:41 #kisslinux <claudia02> https://ibb.co/McCdQp1 2020-05-17T18:29:40 #kisslinux <dylan04> claudia02: That's really cool 2020-05-17T18:49:35 #kisslinux <illiliti> dylan04: thanks for https://github.com/kisslinux/init/commit/3662e6d743114232c47a7d17f5611ea41cabdbb3 2020-05-17T18:51:14 #kisslinux <dylan04> No problem 2020-05-17T18:54:29 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.shutdown#L31 << no need to sleep. SIGKILL immediately kills process without any chance to exit 2020-05-17T18:54:36 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.shutdown#L16-L17 << sv force-shutdown /var/service/* 2020-05-17T18:58:09 #kisslinux <dylan04> illiliti: Done, thanks 2020-05-17T19:17:38 #kisslinux <onodera_> are the grub commands in the install file all i need to run? 2020-05-17T19:17:43 #kisslinux <onodera_> cause I can't get it to work all 2020-05-17T19:18:01 #kisslinux <onodera_> ># Substitute VERSION for the kernel version you have built. 2020-05-17T19:18:04 #kisslinux <onodera_> also is this needed 2020-05-17T19:18:41 #kisslinux <dylan04> Yeah 2020-05-17T19:19:08 #kisslinux <onodera_> why? I don't do this using efi 2020-05-17T19:19:12 #kisslinux <onodera_> it is simply vmlinuz 2020-05-17T19:20:47 #kisslinux <rirc8E6E8> dylan04: When I build libXext in a clean chroot: libX11 is marked as a runtime dep, altough its specified as make dep 2020-05-17T20:20:39 #kisslinux <fehawen> Why can't I see PARTUUID with BusyBox's 'blkid' ? Am I dumb. 2020-05-17T20:24:49 #kisslinux <fehawen> Ah, 'lsblk' to the rescue. Never mind... (sigh) 2020-05-17T20:26:37 #kisslinux <illiliti> busybox blkid doesn't support blkid. same goes for toybox blkid 2020-05-17T20:28:19 #kisslinux <fehawen> Thanks, I thought as much :) 2020-05-17T20:29:36 #kisslinux <illiliti> blkid doesn't support blkid << haha, i'm dumb too 2020-05-17T20:30:01 #kisslinux <illiliti> i mean partuuid of course 2020-05-17T20:33:32 #kisslinux <fehawen> Figured as much as well haha 2020-05-17T20:59:11 #kisslinux <onodera_> ive been trying for hours to set up grub now... 2020-05-17T20:59:21 #kisslinux <onodera_> what horrible compicated software 2020-05-17T20:59:35 #kisslinux <onodera_> im doing it on vps, and when I boot it just reboots every 0.2 seconds, no logs anywhere either 2020-05-17T21:02:53 #kisslinux <fehawen> Well, I've done _everything_ right and still doesn't work for me, either. 2020-05-17T21:03:11 #kisslinux <fehawen> I recall trying to set up grub first times I installed Arch, with no luck. 2020-05-17T21:03:22 #kisslinux <onodera_> i tried porting lilo but bin86 doesnt work on musl 2020-05-17T21:03:57 #kisslinux <fehawen> I'm giving up for this evening. Need to hit the bed. 2020-05-17T21:04:00 #kisslinux <fehawen> Laters 2020-05-17T21:06:49 #kisslinux <onodera_> are there any other bootloaders besides efi in the kiss repo? 2020-05-17T21:16:20 #kisslinux <micro_O> just wanted to say, i really like the docs in /usr/share/docs/kiss 2020-05-17T21:16:38 #kisslinux <micro_O> minimal can also be user-friendly 2020-05-17T21:17:39 #kisslinux <micro_O> also, reading through the package manager docs, is there any reason to have both patches/ and files/ ? it seems they are treated the same... 2020-05-17T21:17:55 #kisslinux <micro_O> is it just for keeping track of how much stuff we want to upstream? 2020-05-17T21:18:25 #kisslinux <onodera_> i think they are the same 2020-05-17T21:18:28 #kisslinux <onodera_> and not even hardcoded 2020-05-17T21:18:35 #kisslinux <onodera_> you could use /filessss or something 2020-05-17T21:26:59 #kisslinux <onodera_> alright ill be giving up as well 2020-05-17T21:27:16 #kisslinux <micro_O> ? 2020-05-17T21:27:28 #kisslinux <onodera_> ill try literally patching lilo & deps because that is easier than configuring and debugging grub 2020-05-17T21:28:12 #kisslinux <dilynm> You could try to use refind 2020-05-17T21:56:27 #kisslinux <illiliti> or syslinux 2020-05-17T21:58:32 #kisslinux <konimex> looks like I'll have to downgrade libressl 2020-05-17T22:00:17 #kisslinux <onodera_> why? 2020-05-17T22:09:15 #kisslinux <konimex2> damn, my bnc's down 2020-05-17T22:10:37 #kisslinux <konimex2> onodera_: primary reasons being rust's cargo, since I have to provide my own dist tarballs, I'll have to rebuild 3 instances of rust when libressl soname bumps happen 2020-05-17T22:11:12 #kisslinux <konimex2> there should be a flag making static cargo possible (at least in the dist tarball) 2020-05-17T22:13:14 #kisslinux <konimex2> or I can just force it and link the new soname to the old soname 2020-05-17T22:13:23 #kisslinux <konimex2> and rebuild it from there 2020-05-17T22:52:12 #kisslinux <dilynm> getent doesn't exist?? 2020-05-17T22:52:18 #kisslinux <dilynm> How will I get elogind to work now! 2020-05-17T22:52:28 #kisslinux <dilynm> Rip the sddm dream 2020-05-17T22:55:46 #kisslinux <rircB566B> dilynm: I looked into elogind for wayland 2020-05-17T22:55:58 #kisslinux <claudia02> this is awfull 2020-05-17T22:56:07 #kisslinux <claudia02> you need gnu coreutils 2020-05-17T22:56:12 #kisslinux <dilynm> f 2020-05-17T22:56:31 #kisslinux <dilynm> I guess the kde user isn't going to complain about that though 2020-05-17T22:56:59 #kisslinux <claudia02> they probably dont know because somebody has already made the package ;) 2020-05-17T22:57:43 #kisslinux <dilynm> XD 2020-05-17T22:58:01 #kisslinux <dilynm> I'm not entirely certain why I can't get kde to launch tho 2020-05-17T22:58:08 #kisslinux <claudia02> I droped out at the coreutils dep. I had no plan how to automate this. Was probably the right decision ;) 2020-05-17T22:58:42 #kisslinux <dilynm> It takes 3 seconds to login anyways who needs a DM 2020-05-17T23:03:01 #kisslinux <claudia02> I am looking at gentoo wiki, and they say with startx - consolekit2 or elogind is required 2020-05-17T23:03:04 #kisslinux <claudia02> .. 2020-05-17T23:18:36 #kisslinux <dilynm> how unfair 2020-05-17T23:19:36 #kisslinux <dilynm> So either way, elogind is required. Kill me! 2020-05-17T23:20:23 #kisslinux <claudia02> dilynm: https://github.com/elogind/elogind/issues/145 2020-05-17T23:20:32 #kisslinux <claudia02> this is why busybox cant build elogind 2020-05-17T23:23:50 #kisslinux <claudia02> you bite in a really bitter apple with all the bells and whizzles kde comes with :2020-05-17T23:24:04 #kisslinux <dilynm> It's only a hundred packages 2020-05-17T23:24:25 #kisslinux <claudia02> you already have :P 2020-05-17T23:25:49 #kisslinux <dilynm> Lol 2020-05-17T23:25:53 #kisslinux <dilynm> Good thing I love apples 2020-05-17T23:25:56 #kisslinux <dilynm> And bitter stuff 2020-05-17T23:28:22 #kisslinux <claudia02> ah 2020-05-17T23:28:23 #kisslinux <claudia02> getent 2020-05-17T23:28:28 #kisslinux <claudia02> I have fixed this 2020-05-17T23:28:30 #kisslinux <claudia02> wait 2020-05-17T23:30:23 #kisslinux <claudia02> get it here: https://git.alpinelinux.org/aports/tree/main/musl/getent.c 2020-05-17T23:30:49 #kisslinux <claudia02> and add this to your musl build: # Install getent. 2020-05-17T23:30:54 #kisslinux <claudia02> bit me... 2020-05-17T23:31:01 #kisslinux <claudia02> bite 2020-05-17T23:31:35 #kisslinux <dilynm> I was gonna stop for the night but your gonna try and make me finish before Monday huh xD 2020-05-17T23:31:42 #kisslinux <claudia02> https://termbin.com/tvi9 2020-05-17T23:31:49 #kisslinux <claudia02> install it like so 2020-05-17T23:32:03 #kisslinux <claudia02> this is some musl system call or so 2020-05-17T23:32:11 #kisslinux <claudia02> KISS doesnt have it 2020-05-17T23:32:31 #kisslinux <claudia02> no rush :D 2020-05-17T23:33:01 #kisslinux <claudia02> now you should get it build and enter the next error when you have busybox 2020-05-17T23:34:05 #kisslinux <claudia02> Oh I wrote "bite me" cause I thought my irc client messed up. nvm 2020-05-17T23:35:27 #kisslinux <dilynm> Lol 2020-05-17T23:57:17 #kisslinux <claudia02> night