[2021-09-28T00:03:25Z] hmm how would I create system user for a package? [2021-09-28T00:03:58Z] I'm trying to package fcron and it wants a fcron user [2021-09-28T00:05:11Z] post-install hook [2021-09-28T00:06:09Z] https://kisslinux.org/wiki/package-system#007 [2021-09-28T00:10:03Z] you can also use pre-remove hook to delete user [2021-09-28T00:19:56Z] yes, but the build process needs that user already [2021-09-28T00:20:08Z] I assume to install some files or something [2021-09-28T00:26:50Z] patch it out [2021-09-28T00:27:48Z] well, if it's doing what I assume it's doing like creating some file owned by fcron then that wouldn't really work tho [2021-09-28T00:28:55Z] kinda surprised that the build is not done in a chroot tbh [2021-09-28T00:32:33Z] how would you handle dependencies in a chroot tho [2021-09-28T00:32:49Z] I guess you could copy their files into it? [2021-09-28T00:32:54Z] seems io heavy though [2021-09-28T00:39:00Z] you just install the dependency into the chroot [2021-09-28T00:39:21Z] this way you would find out if you left out a dep, as a bonus [2021-09-28T00:42:52Z] I've switched to seamonkey [2021-09-28T00:43:00Z] It's nice [2021-09-28T00:43:38Z] as a main web browser? [2021-09-28T00:43:48Z] does it still use an up to date gecko? [2021-09-28T00:44:07Z] as a main web browser yes [2021-09-28T00:44:17Z] acheam: IDK but honestly I coudn't care less [2021-09-28T00:44:29Z] most websites that aren't shit render fine [2021-09-28T00:49:52Z] I don't know if that's some kind of security vulnerability though.. [2021-09-28T00:49:52Z] acheam: hardlinks or bind mounts can be used to handle deps in chroot without excessive copying [2021-09-28T00:50:54Z] oh yeah, forgot about bind mounts. Hardlinks would still have the problem of duplicated file sizes, though, right? [2021-09-28T00:54:21Z] iirc hardlink is a symlink at the filesystem level. so there's shouldn't be a problem of dup sizes [2021-09-28T00:54:34Z] oh okay [2021-09-28T01:04:58Z] hardlink causes problem in case of modification [2021-09-28T01:05:09Z] so reflink is needed for that [2021-09-28T01:06:05Z] well they wouldnt be modified [2021-09-28T01:06:17Z] ^ [2021-09-28T01:09:06Z] they would in the case we are talking about here [2021-09-28T01:14:54Z] i think everything in /etc/ should be just copied [2021-09-28T01:15:42Z] if you have chromium sources in /etc/, that's your problem [2021-09-28T01:16:37Z] yeah [2021-09-28T01:17:10Z] I mean it shouldn't be that big a problem to make a copy in chroot really [2021-09-28T01:17:27Z] it's just the deps a package needs [2021-09-28T01:17:31Z] not the full system [2021-09-28T01:17:49Z] * just the make deps a [2021-09-28T01:18:24Z] big oof, failed install leaves a dirty system [2021-09-28T01:18:39Z] ? [2021-09-28T01:18:44Z] the make deps can be huge sometimes [2021-09-28T01:19:06Z] llvm, gcc, nodejs, etc [2021-09-28T01:22:36Z] tleydxdy[m]: kiss isn't smart. it doesn't keep state to remove/fix leftovers if installation is failed [2021-09-28T01:22:39Z] they are also huge project tho [2021-09-28T01:22:59Z] tleydxdy[m]: im missing your point [2021-09-28T01:23:18Z] I mean I understand if the post_install fails or something [2021-09-28T01:23:33Z] but it could check the tar ball before unpacking it [2021-09-28T01:24:12Z] acheam: the point is to not have the make environment tainted by what's in the system [2021-09-28T01:24:28Z] so you want reproducible builds? [2021-09-28T01:24:48Z] not really that far [2021-09-28T01:24:50Z] having the builds autodetect features based on the build environment is fine IMO [2021-09-28T01:24:55Z] take the mpv package for example [2021-09-28T01:24:59Z] just to have less hard to pin down make problems [2021-09-28T01:25:17Z] eh [2021-09-28T01:25:57Z] "if it builds on my system, it should build on yours" sort of deal [2021-09-28T01:26:15Z] probably a smart idea to make it configurable or something [2021-09-28T01:26:24Z] on kiss people tend to customize their system so much that it wouldnt make a difference [2021-09-28T01:26:59Z] acheam: how so? [2021-09-28T01:27:16Z] none of the customization would be in the chroot environment [2021-09-28T01:27:18Z] changing compilers, libc, providers of common utilities, etc [2021-09-28T01:27:32Z] then you would need fully static binaries [2021-09-28T01:27:43Z] no? [2021-09-28T01:28:12Z] if the chroot is running musl and the chroot is running glibc, then the binary built in the chroot wont run on the host if it isnt static [2021-09-28T01:29:12Z] I see what you mean, but in that case the package just depends on "libc" [2021-09-28T01:29:52Z] and whatever package the user choose to provide libc is install into the chroot [2021-09-28T01:30:20Z] the point is not to limit customization [2021-09-28T01:30:22Z] but then it wouldn't be helpful for "if it builds on my system, it should build on yours" type discussions, if people's libc package is different anyway [2021-09-28T01:30:28Z] but to make everything documented and replicable [2021-09-28T01:31:09Z] so if build has a problem on some system, I can replicate it [2021-09-28T01:32:09Z] this solves a really small problem [2021-09-28T01:32:30Z] and it would limit customizations [2021-09-28T01:32:34Z] it's a problem that happens all the time [2021-09-28T01:33:09Z] acheam: in what way? [2021-09-28T01:34:34Z] going back to the libc example [2021-09-28T01:35:00Z] I cant change the libc on my system because under your proposed thing, all the builds should be the same [2021-09-28T01:35:11Z] and I cant have a different libc in the chroot and on the host [2021-09-28T01:35:30Z] and even if you were to use a generic "libc" package, then the reproducibility is gone [2021-09-28T01:35:58Z] you customize your libc how you want [2021-09-28T01:36:14Z] to reproduce it you just need a copy of the repos [2021-09-28T01:36:19Z] this is obviously not going anywhere [2021-09-28T01:36:22Z] if you want it, implement it [2021-09-28T01:36:22Z] not the user's entire system [2021-09-28T01:37:20Z] -e s/this/this discussion/g -e s/e$/e but the idea does have potential/g [2021-09-28T01:38:44Z] lol, I was like "wait what is this kiss chroot [2021-09-28T01:39:01Z] then I realized it's just an artifact of how kiss works [2021-09-28T01:48:47Z] err, why is /usr a thing [2021-09-28T01:48:54Z] wth is /usr/var [2021-09-28T01:49:27Z] I really wish /usr didn't exist [2021-09-28T01:51:47Z] yeah as I suspected make install tries to change the group of some files to fcron [2021-09-28T01:51:59Z] curiously it did not work [2021-09-28T01:52:25Z] what is installed on my system still has group root [2021-09-28T01:53:01Z] right perm in the tar ball [2021-09-28T02:00:30Z] seem like cp in pkg_install_file is missing a -p [2021-09-28T02:00:39Z] not sure if it's intentional tho [2021-09-28T02:02:22Z] nope, not the fault [2021-09-28T02:04:06Z] err, I'm very confused [2021-09-28T03:00:08Z] Hi [2021-09-28T03:06:00Z] hi testuser[m] [2021-09-28T03:06:12Z] what brings you here this early today? [2021-09-28T03:08:39Z] Class timings [2021-09-28T03:27:22Z] so for the past day, my domain has been pointing at the wrong ip address [2021-09-28T03:30:35Z] lmao [2021-09-28T03:30:37Z] how'd that happen [2021-09-28T03:31:33Z] hmm... dig nihaljere.xyz is timing out for me [2021-09-28T03:32:33Z] and the names not resolving [2021-09-28T03:34:18Z] i put a wrong digit in the ip address [2021-09-28T03:34:26Z] oof [2021-09-28T03:34:35Z] it resolves fine now for me [2021-09-28T03:37:37Z] weird [2021-09-28T04:58:32Z] ERROR: 'perl' not found [2021-09-28T04:59:35Z] nvm it fixed itself [2021-09-28T05:00:56Z] HI [2021-09-28T05:01:49Z] HI [2021-09-28T05:02:21Z] Sorry, I didn't introduce myself. I just found out about KISS Linux and in the proceess of installing. [2021-09-28T05:08:03Z] Should i ask for support here? [2021-09-28T05:12:28Z] Perhaps [2021-09-28T05:12:40Z] Find your terminal first [2021-09-28T05:13:07Z] lmao [2021-09-28T05:13:18Z] poor terminals getting lost :( [2021-09-28T06:36:29Z] Yoooo [2021-09-28T06:36:31Z] fossil is amazing [2021-09-28T06:36:41Z] i might just migrate my gitea to just a list of fossil servers [2021-09-28T06:44:54Z] Rich [2021-09-28T08:22:55Z] I just installed KISS Linux, I can't get Internet to work [2021-09-28T08:25:09Z] What does fossil do better than git ? [2021-09-28T08:26:05Z] Did i had to enable something during making the kernel to get dhcpcd to use my android tethering for internet [2021-09-28T08:26:35Z] aspirus: could be get more diagnostics? the output of ifconfig, your wireless card model, what you enabled when configuring the kernel? [2021-09-28T08:27:50Z] Intel Corporation Wireless 7265 (from lspci in void linux where wifi works with iwd and iwctl) [2021-09-28T08:28:52Z] i didnt edit the default .config apart from what the install guide told [2021-09-28T08:30:17Z] i copied all folders from the firmware tar to /usr/lib/firmware [2021-09-28T08:49:18Z] ok, and did you add this folder to the firmware folder thing in the kernel config [2021-09-28T08:49:44Z] and then listed the iwlwifi-7265D.ucode in the field of thing to load ? [2021-09-28T09:42:46Z] aosync: i didnt change anything in the kernel config [2021-09-28T09:43:02Z] yep, you gotta do some stuff [2021-09-28T09:43:48Z] should i just use void linux 's kernel? [2021-09-28T09:45:11Z] no, configure your own, it's pretty nice [2021-09-28T09:45:52Z] i didnt understood anything in menuconfig so i just left it along [2021-09-28T09:46:15Z] did you check the wiki [2021-09-28T09:46:22Z] it should have some info about kernel confi [2021-09-28T09:49:31Z] aspirus, mess around in menu config, find out how to specify the firmware dir and your firmware file [2021-09-28T09:49:53Z] https://wiki.gentoo.org/wiki/Iwlwifi [2021-09-28T10:01:39Z] and after then make again right? [2021-09-28T10:06:07Z] should i disable other things i dont recognize [2021-09-28T10:08:08Z] what firmware i need for usb tethering [2021-09-28T10:15:41Z] rebuilding kernel [2021-09-28T10:33:12Z] exit [2021-09-28T12:24:37Z] phoebos: https://termbin.com/dxxp [2021-09-28T12:33:25Z] testuser[m]: thanks! i've never really got the hang of the f* counterparts of read, write, open etc [2021-09-28T12:33:36Z] could you mention in the commit message that the patch is in the public domain? [2021-09-28T12:35:30Z] if that's something you want to do [2021-09-28T12:38:18Z] also could you do the fopen line by itself, then check if (fp != 0) [2021-09-28T12:39:16Z] ok [2021-09-28T12:39:42Z] thank you! [2021-09-28T12:40:02Z] i like to do all assignments in 1 if statement to reduce clutter, and assignment is explicit since the it is in an extra bracket [2021-09-28T12:40:11Z] s/ the// [2021-09-28T12:40:11Z] i like to do all assignments in 1 if statement to reduce clutter, and assignment is explicit since it is in an extra bracket [2021-09-28T12:40:36Z] is !fp ok ? [2021-09-28T12:40:44Z] or you want == NULL [2021-09-28T12:41:44Z] https://termbin.com/2knbo [2021-09-28T12:41:46Z] fixed return code [2021-09-28T12:42:17Z] i prefer the verbosity of == NULL, particularly in other functions that aren't so easy to understand with the grammar of !fp [2021-09-28T12:42:21Z] is there even any advantage to using FILE * over just read(), write(), etc. and fd's? [2021-09-28T12:42:24Z] but in this case either is ok [2021-09-28T12:47:39Z] thanks testuser[m], applied [2021-09-28T12:51:47Z] f1: you can make do with either but i just preferred `while ((c = fgetc(fp))` instead of `if ((read(fd, &c, 1))` [2021-09-28T12:51:48Z] phoebos: np [2021-09-28T17:03:03Z] f1: with fread and fwrite, short counts only occur if there's an error [2021-09-28T17:03:37Z] so you don't have to loop the way you do with read and write [2021-09-28T18:52:31Z] https://www.sizeofvoid.org/posts/2021-09-26-openbsd-wayland-report/ [2021-09-28T18:59:56Z] "https://www.sizeofvoid.org/posts..." <- Very excited for that [2021-09-28T19:00:36Z] Will probably switch back to sway when there's sufficient support [2021-09-28T19:09:15Z] openbsd devs should implement evdev or convince libinput devs to support wscons [2021-09-28T19:09:28Z] otherwise openbsd is out of the game [2021-09-28T19:09:47Z] I would prefer the latter [2021-09-28T19:09:54Z] me too [2021-09-28T19:09:59Z] evdev sucks [2021-09-28T19:10:16Z] indeed [2021-09-28T19:11:41Z] patching libinput is not bad but upstream support is much better [2021-09-28T19:58:47Z] so openbsd wants libudev too [2021-09-28T20:01:13Z] i don't think so [2021-09-28T20:15:55Z] ryoshu: it's not possible to implement libudev because openbsd doesn't have a way to enumerate devices [2021-09-28T20:18:18Z] "so openbsd wants libudev too" <- No