💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-04-28.txt captured on 2024-05-12 at 16:08:37.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

-=-=-=-=-=-=-

2020-04-28T00:21:36 #kisslinux <paradigm> Congrats for getting on distrowatch!
2020-04-28T01:11:06 #kisslinux <E5ten> MueVoid: I just submitted a PR to kiss that replaces stat usage with parsing of ls -l
2020-04-28T01:20:00 #kisslinux <E5ten> dylan02: for sed -i portability within kiss itself (not build files) maybe you could just declare that the directory manifest files are in isn't allowed to have "manifest.<ext>" in them that aren't created by kiss itself, and then use sed -i.<ext> and then remove manifext.<ext> immediately after?
2020-04-28T01:20:22 #kisslinux <E5ten> like obviously it still wouldn't be completely portable cuz -i isn't POSIX but it'd work on BSD and linux
2020-04-28T01:21:11 #kisslinux <wychmire> isn't parsing find better than parsing ls in scripts?
2020-04-28T01:21:36 #kisslinux <E5ten> it's parsing ls -l output for permissions, not parsing ls output related to file names
2020-04-28T01:22:36 #kisslinux <E5ten> it uses ls -ld, which means there'll only be one file or directory in the output, so it doesn't matter what filename ls outputs cuz only the first 10 characters (well the first character itself doesn't matter but the 9 after do) matter
2020-04-28T01:22:52 #kisslinux <wychmire> ah, ok!
2020-04-28T01:28:01 #kisslinux <E5ten> it seems like instead of sha256sum etc. they use sha256, not really sure how that one can be dealt with
2020-04-28T01:28:53 #kisslinux <E5ten> whoops by "they" I mean BSDs
2020-04-28T01:49:51 #kisslinux <E5ten> dylan02: what does unlink do on symlinks that rm would do incorrectly?
2020-04-28T02:37:39 #kisslinux <dilynm> Apparently, not a terrible lot https://serverfault.com/questions/38816/what-is-the-difference-between-unlink-and-rm
2020-04-28T02:48:42 #kisslinux <illiliti> dylan: tzdata should installs in /usr/bin, not /usr/sbin
2020-04-28T03:03:02 #kisslinux <ectlunya> tes
2020-04-28T04:49:01 #kisslinux <illiliti> dylan: why /etc/doas.conf is executable?
2020-04-28T04:52:44 #kisslinux <dylan02> illiliti: Fixed (doas).
2020-04-28T04:58:45 #kisslinux <dylan02> paradigm: Thank you!
2020-04-28T05:03:34 #kisslinux <dylan02> illiliti: Fixed (tzdata).
2020-04-28T05:04:04 #kisslinux <dylan02> E5ten: Thanks for the PR. I already had a few implementations though I didn't think to do '${var#?}'. Really neat.
2020-04-28T05:15:59 #kisslinux <MueVoid> How do people deal with security while keeping your pc KISS. Due to kisses lack of pam you can't get things like Firejail or apparmor. How does everyone here go about security?
2020-04-28T05:16:21 #kisslinux <MueVoid> Mind you I mean in the official repos of course you could package these yourself.
2020-04-28T05:18:44 #kisslinux <MueVoid> Also does anyone know any svg editors like inkscape except more simple?
2020-04-28T05:19:08 #kisslinux <dylan02> I personally run Firefox as a separate user
2020-04-28T05:19:52 #kisslinux <dylan02> It's then contained to its own $HOME and has no access to my real one.
2020-04-28T05:20:16 #kisslinux <MueVoid> How do you go about doing so. And couldn't it still log keys due to X having no sandboxing?
2020-04-28T05:21:20 #kisslinux <dylan02> Nothing running under X has access to /dev/input (though it doesn't prevent Xorg allowing applications to read each other's inputs).
2020-04-28T05:22:04 #kisslinux <MueVoid> I meant the latter
2020-04-28T05:22:52 #kisslinux <dylan02> Yeah
2020-04-28T05:23:23 #kisslinux <dylan02> The issue here is that this can also be considered a feature
2020-04-28T05:23:52 #kisslinux <dylan02> It's what makes a lot of utilities/software work
2020-04-28T05:24:02 #kisslinux <MueVoid> Yes that's true it would be nice to be able to choose certain applications not be able to read a certain applications input
2020-04-28T05:24:06 #kisslinux <dylan02> Global hotkey daemons, window manipulation utilities, etc.
2020-04-28T05:24:32 #kisslinux <dylan02> Well
2020-04-28T05:24:36 #kisslinux <MueVoid> Such as having your browser as a seperate user that no application in your xorg session can read it's inputs
2020-04-28T05:25:16 #kisslinux <dylan02> Any Xorg application can request an "exclusive grab" of its window (preventing any other from reading its inputs).
2020-04-28T05:25:25 #kisslinux <dylan02> gksudo does this for example
2020-04-28T05:25:51 #kisslinux <dylan02> This isn't an overall solution though
2020-04-28T05:27:00 #kisslinux <MueVoid> Is there something inherently terrible about PAM? Just wondering your reason for excluding it from KISS
2020-04-28T05:28:08 #kisslinux <dylan02> It's not a mandatory requirement for a working (and secure) system.
2020-04-28T05:29:18 #kisslinux <dylan02> I don't think Wayland's solution to the input issue is a good one either though (restricting all inputs).
2020-04-28T05:29:30 #kisslinux <MueVoid> I don't think wayland is good overall imo
2020-04-28T05:29:50 #kisslinux <MueVoid> Personally I believe X11 is still the better solution
2020-04-28T05:29:56 #kisslinux <dylan02> It is what it is (regarding both) though you have the choice between the two.
2020-04-28T05:30:14 #kisslinux <MueVoid> Is PAM just one package?
2020-04-28T05:30:25 #kisslinux <dylan02> How you configure them is also up to you. The defaults are more or less as sane as they can be.
2020-04-28T05:30:31 #kisslinux <illiliti> dylan02: i think it's better to use 600 for /etc/doas.conf
2020-04-28T05:30:48 #kisslinux <dylan02> Alright
2020-04-28T05:31:20 #kisslinux <dylan02> Fixed
2020-04-28T05:32:01 #kisslinux <MueVoid> illiliti Do you personally use encryption since you wrote tinyramfs?
2020-04-28T05:32:14 #kisslinux <dylan02> MueVoid: PAM has a few dependencies iirc.
2020-04-28T05:32:47 #kisslinux <dylan02> What would you be using PAM for? ie, what would it look like integrated into your system?
2020-04-28T05:32:55 #kisslinux <illiliti> MueVoid: Yeah, i've currently luks+detached header+key
2020-04-28T05:33:39 #kisslinux <MueVoid> If I end up using it I would use it for selinux or apparmor. Then also firejail
2020-04-28T05:34:11 #kisslinux <dylan02> I don't personally trust firejail
2020-04-28T05:34:20 #kisslinux <dylan02> I don't like things being setuid root
2020-04-28T05:34:25 #kisslinux <MueVoid> Yeah
2020-04-28T05:34:28 #kisslinux <dylan02> Especially something meant to act as a sandbox
2020-04-28T05:34:35 #kisslinux <MueVoid> Is there any alternatives i'm not aware of any others
2020-04-28T05:36:03 #kisslinux <dylan02> Flatpak's sandbox may work as an alternative
2020-04-28T05:36:16 #kisslinux <dylan02> Though you'll have to take manual control over the configuration files
2020-04-28T05:36:52 #kisslinux <dylan02> (Flatpak's request their own sandbox with the permissions they like. They tend to want to access to everything.)
2020-04-28T05:37:01 #kisslinux <dylan02> Flatpaks*
2020-04-28T05:37:10 #kisslinux <MueVoid> Not a huge fan of flatpak personally
2020-04-28T05:37:15 #kisslinux <dylan02> Neither
2020-04-28T05:37:48 #kisslinux <dylan02> I guess I'll work on my own alternative (wrapped around chroots)
2020-04-28T05:38:04 #kisslinux <dylan02> Just a simple tool to take care of everything for you
2020-04-28T05:38:09 #kisslinux <MueVoid> Yeah
2020-04-28T05:38:31 #kisslinux <E5ten> dylan02: is there any reason not to switch unlink in kiss to rm? (unlink is XSI not POSIX)
2020-04-28T05:39:15 #kisslinux <MueVoid> Is there any way to use pash keys on android. Maybe via an android pass client?
2020-04-28T05:40:02 #kisslinux <dylan02> E5ten: Fixed, thanks.
2020-04-28T05:40:07 #kisslinux <dylan02> Seems to be fine
2020-04-28T05:40:31 #kisslinux <dylan02> MueVoid: Maybe via termux
2020-04-28T05:40:44 #kisslinux <MueVoid> Didn't think of that
2020-04-28T05:41:39 #kisslinux <MueVoid> Is there any KISS svg libraries?
2020-04-28T05:42:12 #kisslinux <E5ten> dylan02: and what do you think about my sed -i suggestion above? Maybe the extension could be .tmp cuz I would think nobody would make a .tmp file that's supposed to hang around
2020-04-28T05:42:18 #kisslinux <dilynm> MueVoid: I use password store that pulls from a private git repo
2020-04-28T05:42:53 #kisslinux <MueVoid> dilynm: Could you elaborate slightly?
2020-04-28T05:43:29 #kisslinux <dylan02> E5ten: It'd make the commands more portable yeah?
2020-04-28T05:43:32 #kisslinux <dilynm> Password Store is an Android app that has a private git repo full of my passwords, which is just my pash directory on my pc
2020-04-28T05:43:44 #kisslinux <MueVoid> Ah gotcha
2020-04-28T05:44:05 #kisslinux <E5ten> Yeah
2020-04-28T05:44:09 #kisslinux <dylan02> MueVoid: I need to look into inkscape and other alternatives. There are a lot of SVG libs out there as well.
2020-04-28T05:44:18 #kisslinux <dylan02> librsvg is used widely though it's difficult to package
2020-04-28T05:44:24 #kisslinux <MueVoid> I just found libsvgtiny by the netsurf team
2020-04-28T05:44:30 #kisslinux <MueVoid> https://www.netsurf-browser.org/projects/libsvgtiny/
2020-04-28T05:44:57 #kisslinux <E5ten> Because GNU-style sed -i has an optional arg and BSD-style has a mandatory arg so providing an extension (touching the -i) would make it work with either, and then you can just remove the backup file
2020-04-28T05:45:14 #kisslinux <MueVoid> The hardest application I'm having trouble finding a more simple alternative to is blender
2020-04-28T05:45:49 #kisslinux <E5ten> I guess what would work even more portably is using sed on the normal file, piping it to the file with a .tmp extension or whatever you choose, and then moving the file with extension back to the normal file
2020-04-28T05:46:22 #kisslinux <E5ten> You're creating 2 files anyway if you use -i.ext so no reason not to be more portable and just not use a non-POSIX sed option?
2020-04-28T05:47:34 #kisslinux <E5ten> MueVoid: seeing that you wanted to run the kiss package manager on BSD, any chance you could test it to see what else causes an issue?
2020-04-28T05:47:55 #kisslinux <E5ten> Like on BSD obviously I mean
2020-04-28T05:48:19 #kisslinux <MueVoid> I didn't get a chance to test it I sometimes mess around with FreeBSD on my second laptop. I may test it tommorow however rn installing some stuff on my main laptop.
2020-04-28T06:07:27 #kisslinux <E5ten> dylan02: Other than sed -i which I suggested a solution for, the only other obvious issue I see with kiss on freebsd is sha256sum, the way you could probably deal with that is check for sha256sum, if it doesn't exist but sha256 or whatever other thing you can use on freebsd does, you can wrap it in a sha256sum() function that outputs the same thing as sha256sum
2020-04-28T06:36:47 #kisslinux <MueVoid> How hard would it be to make a distro based off kiss or using the kiss pacakge manager?
2020-04-28T06:47:55 #kisslinux <E5ten> oh another issue with it working on BSDs is in one place it checks through /proc
2020-04-28T06:48:34 #kisslinux <E5ten> not really sure what to do to make that bit portable
2020-04-28T11:15:45 #kisslinux <dylan02> How do you guys feel about the package manager coming with a tiny utility for use as a "portable" replacement for 'sed -i'. (It's "portable" as it would be shipped with the package manager).
2020-04-28T11:15:51 #kisslinux <dylan02> E5ten:
2020-04-28T11:16:43 #kisslinux <dylan02> (It would also preserve permissions and support multiple files)
2020-04-28T11:26:17 #kisslinux <paradigm> What would the use case be?  Most that I could think of could have it as a less-user-facing shell function, which presumably would work around whatever perceived downsides are of having a tiny utility in your $PATH.
2020-04-28T11:28:08 #kisslinux <dylan02> It'd be used in the package manager and in various build files.
2020-04-28T11:28:35 #kisslinux <dylan02> (By build files I mean the repositories)
2020-04-28T11:29:22 #kisslinux <dylan02> -> grep 'sed -i' */*/build  | wc -l
2020-04-28T11:29:26 #kisslinux <dylan02> 37
2020-04-28T11:29:53 #kisslinux <dylan02> There are 56 additional instances of 'sed -i' in Community.
2020-04-28T11:30:32 #kisslinux <dylan02> This would be a simple 'sed -i' -> 'ised'.
2020-04-28T11:31:05 #kisslinux <paradigm> I don't see a problem with a tiny utility, but if people do take issue with it poluting the $PATH you could put it in /usr/libexec; that's essentially for helper binaries that don't go in the $PATH.  Other option would be to make a shell library build scripts could source that would include it, where it would exist as a function.  You could put other tiny helpers in there as you find more needs going
2020-04-28T11:31:11 #kisslinux <paradigm> forward.
2020-04-28T11:31:23 #kisslinux <dylan02> Build scripts are language agnostic.
2020-04-28T11:31:56 #kisslinux <dylan02> I don't like the idea of adding a library for the shell usage.
2020-04-28T11:32:14 #kisslinux <dylan02> Hm.
2020-04-28T11:32:45 #kisslinux <dylan02> 'ed' would work fine fyi. The issue is that busybox's ed is a very bad ed.
2020-04-28T11:33:27 #kisslinux <paradigm> In that case, if anyone takes issue with ised poluting their $PATH, you could put it in /usr/libexec
2020-04-28T11:34:16 #kisslinux <paradigm> some distros don't use /usr/libexec, but it looks like kiss does.  I see, for example, various git helper utilities in there on mine.
2020-04-28T11:36:13 #kisslinux <dylan02> Yeah
2020-04-28T11:36:16 #kisslinux <dylan02> GCC uses it as well
2020-04-28T11:36:47 #kisslinux <dylan02> The issue is that it'd have to be '/usr/libexec/ised bla bla' whenever it's used.
2020-04-28T11:38:48 #kisslinux * paradigm nods
2020-04-28T11:41:01 #kisslinux <dylan02> I could just say "Use sed with a temporary file" but you end up with two lines in the best case and a potential 5+ for cases where you need to preserve permissions, etc.
2020-04-28T11:50:02 #kisslinux <paradigm> I'm going to guess you won't like this one, but another option is to make it a subcommand of kiss, e.g. `kiss ised` or `kiss util ised`
2020-04-28T11:52:19 #kisslinux <paradigm> The way I'm reading the trade offs, it depends on the number of such helpers you think you'll need in the long run.  If it's just ised and you're done, putting it in the $PATH is fine.  Otherwise, if you think there's going to be a lot of them, planning some infrastrucutre to organize them ahead of time could be worthwhile.
2020-04-28T11:52:57 #kisslinux <onodera> cant you just make it a function
2020-04-28T11:53:12 #kisslinux <dylan02> onodera: Each build file would then need to source it
2020-04-28T11:53:24 #kisslinux <dylan02> It's the package manager _and_ every package using 'sed -i'.
2020-04-28T11:53:57 #kisslinux <dylan02> Right now the situation is: "We use 'sed -i', deal with it".
2020-04-28T11:54:18 #kisslinux <onodera> ahh right
2020-04-28T11:54:33 #kisslinux <onodera> tbh just use sed -i imo
2020-04-28T11:55:22 #kisslinux <onodera> i dislike pkgfiles that use all kind of custom functions and commands, looking at void and gentoo.
2020-04-28T11:55:27 #kisslinux <dylan02> The issue there is that some sed implementations require '-i' have an argument (to create a backup file).
2020-04-28T11:55:29 #kisslinux <dylan02> Exactly
2020-04-28T11:55:31 #kisslinux <dylan02> As do I
2020-04-28T11:55:39 #kisslinux <onodera> everyone knows what sed -i means, but something like kisssed is confusing
2020-04-28T11:55:49 #kisslinux <dylan02> The name I had in my head was 'ised'
2020-04-28T11:56:00 #kisslinux <dylan02> So it'd be 'sed -i' -> 'ised'
2020-04-28T11:56:13 #kisslinux <onodera> ah right
2020-04-28T11:56:18 #kisslinux <onodera> yeah that would make sense
2020-04-28T11:56:32 #kisslinux <dylan02> It's be a simple 'sed -i' to replace all instances. ;)
2020-04-28T11:56:37 #kisslinux <mattx433> hello, I'm having an issue launching xorg - the log file says "(EE) libinput: Mouse0: Failed to create a device for /dev/input/mice" with the mousedev kernel module loaded
2020-04-28T11:56:39 #kisslinux <dylan02> It'd
2020-04-28T11:56:41 #kisslinux <dylan02> *
2020-04-28T11:56:53 #kisslinux <dylan02> mattx433: Send the entire log file.
2020-04-28T11:57:21 #kisslinux <mattx433> right, will put on termbin
2020-04-28T11:57:22 #kisslinux <paradigm> I put alternatives out there in case they helped, but I think I prefer retaining `sed -i` over all of them.
2020-04-28T11:57:36 #kisslinux <dylan02> Yeah
2020-04-28T11:59:00 #kisslinux <mattx433> dylan02: https://termbin.com/9pbc
2020-04-28T12:01:41 #kisslinux <dylan02> You're using mdev yeah?
2020-04-28T12:02:40 #kisslinux <mattx433> I was using mdev earlier but installed eudev and linked it in /var/service
2020-04-28T12:03:37 #kisslinux <dylan02> It looks like it's still reading from the xorg config files created for mdev.
2020-04-28T12:04:04 #kisslinux <dylan02> And this is causing it to error (for some reason).
2020-04-28T12:04:19 #kisslinux <dylan02> Try moving or removing those files (if I'm right) and starting Xorg.
2020-04-28T12:04:33 #kisslinux <mattx433> Which files exactly?
2020-04-28T12:05:08 #kisslinux <dylan02>  /etc/X11/xorg.conf.d/10-keyboard.conf
2020-04-28T12:05:19 #kisslinux <dylan02> And another named similarly for the mouse/touchpad.
2020-04-28T12:05:30 #kisslinux <mattx433> xorg.conf.d does not even exist
2020-04-28T12:05:35 #kisslinux <dylan02> These are mentioned in the guide for setting up mdev + xorg
2020-04-28T12:05:57 #kisslinux <dylan02> They could also be in /usr/share/X11/xorg.conf.d/
2020-04-28T12:06:13 #kisslinux <mattx433>  usr/share/X11/xorg.conf.d does though, and the only file in there is 40-libinput.conf
2020-04-28T12:06:48 #kisslinux <dylan02> Alright
2020-04-28T12:06:59 #kisslinux <onodera> dylan02: about the nm, I pinpointed where it probably goes wrong, the inline c code starting at line 6552
2020-04-28T12:07:29 #kisslinux <dylan02> It's just weird that "Option "CorePointer"" appeared in the log file.
2020-04-28T12:07:29 #kisslinux <onodera> though I can't figure out at all what the hell is going on
2020-04-28T12:07:38 #kisslinux <dylan02> Link?
2020-04-28T12:08:04 #kisslinux <dylan02> Ah
2020-04-28T12:08:05 #kisslinux <onodera> the configure file
2020-04-28T12:08:06 #kisslinux <mattx433> Oh, I do indeed have CorePointer in my xorg.conf which I got out of Xorg -configure
2020-04-28T12:08:14 #kisslinux <dylan02> That's probably it.
2020-04-28T12:08:24 #kisslinux <dylan02> Try launching Xorg without this file
2020-04-28T12:08:29 #kisslinux <dylan02> (Or with the input portions removed)
2020-04-28T12:11:37 #kisslinux <mattx433> also does not seem to work - the log file is now https://termbin.com/lmp8
2020-04-28T12:12:45 #kisslinux <dylan02> > Option "CorePointer" "on"
2020-04-28T12:12:48 #kisslinux <dylan02> This still appears
2020-04-28T12:12:59 #kisslinux <dylan02> As does: Option "CoreKeyboard" "on"
2020-04-28T12:13:05 #kisslinux <mattx433> I literally deleted the only instances of corepointer and corekeyboard
2020-04-28T12:13:16 #kisslinux <dylan02> Hm
2020-04-28T12:13:30 #kisslinux <dylan02> Ah
2020-04-28T12:13:40 #kisslinux <dylan02> Try this: 'kiss b xorg-server && kiss i xorg-server'
2020-04-28T12:13:56 #kisslinux <mattx433> If you need it, here is my config: https://termbin.com/e2gs
2020-04-28T12:14:13 #kisslinux <dylan02> Your xorg-server isn't linked to eudev as it was built when it wasn't yet on the system.
2020-04-28T12:14:39 #kisslinux <dylan02> Which means that xorg's auto device handling can't be done.
2020-04-28T12:14:50 #kisslinux <mattx433> alright, gonna try that
2020-04-28T12:15:14 #kisslinux <mattx433> oh, the build script has some autodetect for that?
2020-04-28T12:17:08 #kisslinux <dylan02> It's just regular autotools detection.
2020-04-28T12:17:23 #kisslinux <dylan02> The package manager then uses 'ldd' to add any missing dependencies.
2020-04-28T12:19:29 #kisslinux <mattx433> seems like xorg found my hardware, but libinput still does not work - https://termbin.com/65yh
2020-04-28T12:21:46 #kisslinux <dylan02> > [  4674.362] (II) Server terminated successfully (0). Closing log file.
2020-04-28T12:21:55 #kisslinux <dylan02> It seems that Xorg started correctly?
2020-04-28T12:23:24 #kisslinux <mattx433> Once it starts, my keyboard just doesn't work and Xorg doesn't even blank the screen - it's just the vt which was already there, without the blinking cursor
2020-04-28T12:24:15 #kisslinux <mattx433> I did manage to terminate it by pressing alt+sysrq+e which does restart all the services
2020-04-28T12:26:23 #kisslinux <mattx433> Huh, now it works but I only get to see X11 when I switch to a different tty and back
2020-04-28T12:27:27 #kisslinux <mattx433> can type and move the cursor
2020-04-28T12:27:44 #kisslinux <dylan02> It's working?
2020-04-28T12:28:29 #kisslinux <mattx433> Yes, but oddly I have to switch to a different tty and back to the one Xorg is running on to see Xorg itself instead of the console
2020-04-28T12:29:49 #kisslinux <dylan02> Hm
2020-04-28T12:29:58 #kisslinux <dylan02> Does it work as root?
2020-04-28T12:30:54 #kisslinux <mattx433> Well I am currently doing everything as root, let me try from my regular account
2020-04-28T12:32:06 #kisslinux <mattx433> Cannot open virtual console 1 (Permission denied)
2020-04-28T12:32:34 #kisslinux <dylan02> Hm
2020-04-28T12:32:41 #kisslinux <mattx433> I added myself to the tty, audio and video groups so that's odd
2020-04-28T12:33:27 #kisslinux <dylan02> It looks like you may need to setuid Xorg when using an NVIDIA gpu.
2020-04-28T12:33:44 #kisslinux <dylan02> (chmod u+s /usr/bin/Xorg)
2020-04-28T12:34:50 #kisslinux <mattx433> Did it, and sure it works but not sure why I have to switch ttys before I can see Xorg
2020-04-28T12:36:46 #kisslinux <mattx433> still, it works!
2020-04-28T12:38:11 #kisslinux <dylan02> :D
2020-04-28T12:43:43 #kisslinux <mattx433> Obligatory pfetch - https://termbin.com/071l
2020-04-28T12:45:12 #kisslinux <dylan02> Nice
2020-04-28T12:58:29 #kisslinux <dylan02> brb
2020-04-28T13:12:03 #kisslinux <mattx433> Currently waiting for all the libraries and programs firefox needs to compile
2020-04-28T13:12:07 #kisslinux <mattx433> run*
2020-04-28T13:18:31 #kisslinux <dylan03> Nice
2020-04-28T13:40:42 #kisslinux <mattx433> Weird, Firefox just hangs and does not launch at all
2020-04-28T13:42:01 #kisslinux <dylan03> Anything printed to the terminal?
2020-04-28T13:43:09 #kisslinux <mattx433> however, launching the profile manager works
2020-04-28T13:44:06 #kisslinux <mattx433> dylan03: JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
2020-04-28T13:44:18 #kisslinux <dylan03> Is that all?
2020-04-28T13:44:55 #kisslinux <mattx433> yes, and an unrelated icon error
2020-04-28T13:45:08 #kisslinux <mattx433> it seems to hang on creating a profile
2020-04-28T13:45:20 #kisslinux <dylan03> Mind sending the log?
2020-04-28T13:48:19 #kisslinux <mattx433> https://termbin.com/cf8v
2020-04-28T13:50:20 #kisslinux <dylan03> Those are fine it seems. (I get them too)
2020-04-28T13:50:54 #kisslinux <dylan03> Try: rm -rf ~/.mozilla
2020-04-28T13:51:37 #kisslinux <mattx433> Did that, still seems to hang.
2020-04-28T13:53:55 #kisslinux <mattx433> Maybe I'll just reboot
2020-04-28T13:56:38 #kisslinux <mattx433> Yeah, still hangs for some reason.
2020-04-28T13:57:35 #kisslinux <mattx433> Also I have absolutely no idea why, but something keeps mounting /root/dev, proc and sys
2020-04-28T14:00:44 #kisslinux <dylan03> That's interesting
2020-04-28T14:00:54 #kisslinux <dylan03> So, if you remove them, they come back ob reboot?
2020-04-28T14:00:59 #kisslinux <dylan03> on*
2020-04-28T14:01:43 #kisslinux <mattx433> Yes, it appears that dhcpcd is doing it
2020-04-28T14:02:00 #kisslinux <dylan03> That's odd
2020-04-28T14:02:05 #kisslinux <dylan03> How are you starting it?
2020-04-28T14:02:39 #kisslinux <mattx433> ln -s /etc/sv/dhcpcd /var/service/dhcpcd
2020-04-28T14:04:14 #kisslinux <dylan03> Thanks
2020-04-28T14:07:21 #kisslinux <dylan03> It's odd that dhcpcd is doing that
2020-04-28T14:08:07 #kisslinux <dylan03> Does it happen if you run it manually from the terminal? `rm -rf ~/dev ~/proc ~/sys"; dhcpcd -BM`
2020-04-28T14:12:37 #kisslinux <mattx433> whoops, gtg.
2020-04-28T14:30:44 #kisslinux <myst_> dylan03 thanks for Kiss Linux !! Difficult (for me ) to install but simple to use and i like your minimal approach
2020-04-28T14:33:54 #kisslinux <dylan03> Thanks for the kind words
2020-04-28T14:36:46 #kisslinux <myst_> Only One small prob.. I can't synchronize or set hwclock to my local time
2020-04-28T14:37:09 #kisslinux <dylan03> Is there an error displayed?
2020-04-28T14:38:45 #kisslinux <muevoid> dylan03 I may have found an alternative to flatpak and firejail
2020-04-28T14:39:02 #kisslinux <muevoid> Its what flatpak uses to create sandboxes its called bubblewrap
2020-04-28T14:39:19 #kisslinux <myst_> Yes at first it was wrong path   but i've mkdir &  symlinked the right one
2020-04-28T14:39:25 #kisslinux <muevoid> Bubblewrap plus a nested xsession could bring quite good security gains without many dependencies
2020-04-28T14:41:54 #kisslinux <dilynm> mattx433: dylan03: I can reproduce
2020-04-28T14:42:11 #kisslinux <dilynm> I also have dhcpcd running. Deleting them seems to be a bad move
2020-04-28T14:43:03 #kisslinux <dylan03> Alright
2020-04-28T14:46:46 #kisslinux <dilynm> fwiw this had to have started after 9am yesterday
2020-04-28T14:47:44 #kisslinux <dylan03> Nice, thanks
2020-04-28T14:48:40 #kisslinux <dylan03> https://github.com/kisslinux/repo/commit/9f638a04fff4ef1219ea6bacaff9c95fe3b7dfb4
2020-04-28T14:48:44 #kisslinux <dylan03> Maybe this?
2020-04-28T14:49:32 #kisslinux <dylan03> Yup
2020-04-28T14:50:16 #kisslinux <dilynm> Maybe I didn't ls /root yesterday
2020-04-28T14:50:20 #kisslinux <dilynm> That seems the most likely xD
2020-04-28T14:50:32 #kisslinux <dylan03> Pushed a fix
2020-04-28T14:54:21 #kisslinux <dylan03> https://github.com/periish/kiss-dbus
2020-04-28T14:54:21 #kisslinux <dylan03> fyi
2020-04-28T14:54:30 #kisslinux <dylan03> This repository also has Bluez now
2020-04-28T14:54:47 #kisslinux <dylan03> (As well as dunst, libnotify and tiramisu)
2020-04-28T14:54:47 #kisslinux <dilynm> Worked!
2020-04-28T14:54:53 #kisslinux <dylan03> Nice
2020-04-28T15:57:30 #kisslinux <humaid_01> Hello
2020-04-28T15:59:31 #kisslinux <humaid_01> udev puts permission  root:input 664 on /dev/js0
2020-04-28T15:59:51 #kisslinux <humaid_01> How can I achieve the same with mdev
2020-04-28T16:00:15 #kisslinux <humaid_01> I want mednafen to use my joypad
2020-04-28T16:01:45 #kisslinux <humaid_01> I added my self to input group and mednafen now sees my joypad. But is it okay. Any advice is appreciated.
2020-04-28T16:02:47 #kisslinux <humaid_01> mdev puts 660 on /dev/js0
2020-04-28T16:07:47 #kisslinux <aarng> dylan, we should keep `sed -i`. kiss over portability imo
2020-04-28T16:08:22 #kisslinux <aarng> being an ed fan, only other good sokition would be including oed in the base system
2020-04-28T16:08:36 #kisslinux <aarng> solution*
2020-04-28T16:15:09 #kisslinux <dylan03> aarng: Yeah. We'll be sticking to -i
2020-04-28T16:16:07 #kisslinux <aarng> ok, nice
2020-04-28T16:43:51 #kisslinux <caleba> I'm trying to install Kiss with UEFI, is the error "grub-install: warning: cannot open directory '/usr/share/locale': No such file or directory" something I need to worry about? modprobe also complains about "modprobe: can't change directory to '5.5.13-arch2-1': No such file or directory"
2020-04-28T16:44:16 #kisslinux <caleba> I built kernel 5.6.7
2020-04-28T16:44:19 #kisslinux <dylan03> The locale warning is fine.
2020-04-28T16:44:28 #kisslinux <caleba> is that a musl thing?
2020-04-28T16:44:33 #kisslinux <dylan03> Yeah
2020-04-28T16:44:40 #kisslinux <dylan03> I've been meaning to just patch the warning out
2020-04-28T16:46:24 #kisslinux <linarcx> Hi. Kisslinux uses musl only? Or can i use glibc with it?
2020-04-28T16:47:26 #kisslinux <caleba> gotcha. Any idea about the modprobe warning? the grub command I'm using is `grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=kiss`
2020-04-28T16:48:34 #kisslinux <caleba> linarcx: Pretty sure if you want glibc you need to do a chroot
2020-04-28T16:49:05 #kisslinux <linarcx> caleba: Chroot?
2020-04-28T16:49:47 #kisslinux <dylan03> caleba: The second warning may also be harmless. You can attempt to verify whether or not grub has installed anything to your EFI directory.
2020-04-28T16:50:07 #kisslinux <dylan03> linarcx: You'll need to use a glibc chroot from inside KISS or build your own base which uses glibc.
2020-04-28T16:50:25 #kisslinux <linarcx> Ah, i see. thanks.
2020-04-28T16:53:48 #kisslinux <caleba> dylan03: inside `/efi` there's `EFI/kiss/grubx64.efi` and that's it. The Ubuntu laptop I'm typing from has considerably more stuff, but Ubuntu might not be a good comparison
2020-04-28T16:55:18 #kisslinux <dylan03> Can anyone else (using Grub + EFI) chime in with the contents of their directory?
2020-04-28T17:01:31 #kisslinux <E5ten> dylan03: is there any reason sed -i would need to be replaced in build files and not just in kiss itself? Cuz kiss' build files are for the Linux distro, where every sed -i is the optional argument style, so wouldn't it be good enough to just replace the instances in the package manager?
2020-04-28T17:02:14 #kisslinux <dylan03> E5ten: I will be merging your PR anyway.
2020-04-28T17:02:21 #kisslinux <dylan03> (It's only two instances)
2020-04-28T17:02:39 #kisslinux <dylan03> I guess it's more about portability overall
2020-04-28T17:03:23 #kisslinux <caleba> where do most of you set the community repo at? I was thinking /var/db/kiss/community but if there's a better place
2020-04-28T17:04:21 #kisslinux <dilynm> caleba: re modprobe; are you attempting to modprobe within an a chroot where the host is arch
2020-04-28T17:04:56 #kisslinux <dylan03> caleba: It can go anywhere on the system. It can be in your $HOME directory somewhere for example.
2020-04-28T17:05:17 #kisslinux <dylan03> I put mine in ~/projects/community and ~/projects/repo (You don't have to use /var/db/kiss/repo) either.
2020-04-28T17:05:24 #kisslinux <dilynm> I keep mine in ~/git with the other KISS repos
2020-04-28T17:05:47 #kisslinux <dilynm> Other user* repos
2020-04-28T17:21:38 #kisslinux <caleba> dilynm: yeah, the host is arch
2020-04-28T17:22:13 #kisslinux <caleba> And ok, I'll probably stick it somewhere in $HOME then, that sounds a little easier to manage
2020-04-28T17:23:11 #kisslinux <dylan03> You may want to add other repositories down the line. Keeping it somewhere in $HOME makes things really easy.
2020-04-28T17:23:39 #kisslinux <dylan03> There's a list of repositories here: https://github.com/topics/kiss-repo
2020-04-28T17:25:19 #kisslinux <dilynm> Are you trying to modprobe something? I don't know why grub would call modprobe.
2020-04-28T17:25:37 #kisslinux <dilynm> Modprobe fails because it looks in /lib/$(uname -r)
2020-04-28T17:28:35 #kisslinux <dylan03> Try running it from inside the chroot caleba:
2020-04-28T17:28:48 #kisslinux <dylan03> (After running 'kiss-chroot')
2020-04-28T17:31:59 #kisslinux <caleba> I am inside the chroot (which I entered via running kiss-chroot)
2020-04-28T17:32:42 #kisslinux <dylan03> Did you tun 'grub-install' from inside?
2020-04-28T17:33:19 #kisslinux <caleba> dilynm: I don't I am, that error that warning only shows up when running the grub-install
2020-04-28T17:33:22 #kisslinux <caleba> dylan03: yes
2020-04-28T17:33:58 #kisslinux <caleba> I did have a weird mounting issue with my efi partition earlier, it's possible something is carrying over from that
2020-04-28T17:34:10 #kisslinux <dylan03> Is the EFI partition also mounted inside of the chroot?
2020-04-28T17:34:29 #kisslinux <dylan03> (Same goes for the efivars possibly)
2020-04-28T17:36:21 #kisslinux <dilynm> And is /sys/firmware/efi/efivars/ empty
2020-04-28T17:37:26 #kisslinux <caleba> from the host's perspective the kiss root is mounted at /mnt/, and the efi partition is at /mnt/efi/. I had to manually mount the efivars to /sys/firmware/efi/efivars, and there is stuff in there
2020-04-28T17:38:01 #kisslinux <dylan03> Is /sys/firmware/efi/efivars accessible from inside the chroot?
2020-04-28T17:39:20 #kisslinux <caleba> yes
2020-04-28T17:39:58 #kisslinux <caleba> I mounted that after entering the chroot
2020-04-28T17:40:29 #kisslinux <dylan03> Seeing as grub has probably installed itself correctly, have you tried: grub-mkconfig -o /boot/grub/grub.cfg
2020-04-28T17:41:00 #kisslinux <dylan03> You can also reboot afterwards if you like. If the system cannot boot, just boot the live-USB, mount the disks and kiss-chroot back in.
2020-04-28T17:41:48 #kisslinux <caleba> the mkconfig command ran with warnings/errors, I'll try a reboot
2020-04-28T17:41:54 #kisslinux <caleba> thanks for the help so far!
2020-04-28T17:41:58 #kisslinux <dylan03> No problem
2020-04-28T17:42:04 #kisslinux <dylan03> What was the output?
2020-04-28T17:42:52 #kisslinux <caleba> Generating grub configuration file... n Found linux image: /boot/vmlinuz-5.6.7 n done
2020-04-28T17:43:00 #kisslinux <dylan03> That's good
2020-04-28T17:44:40 #kisslinux <caleba> Booted successfully!
2020-04-28T17:44:49 #kisslinux <dylan03> :D
2020-04-28T17:44:51 #kisslinux <dylan03> Nice
2020-04-28T17:47:34 #kisslinux <caleba> Yeah! TIme to build Xorg and set up the community repo
2020-04-28T17:48:36 #kisslinux <caleba> kiss b doesn't need root privileges correct? just kiss i?
2020-04-28T17:48:56 #kisslinux <dylan03> You can run everything as your regular user
2020-04-28T17:49:14 #kisslinux <dylan03> KISS will call su/sudo/doas (Configurable via KISS_SU)
2020-04-28T17:50:43 #kisslinux <dylan03> (When needed)
2020-04-28T17:51:02 #kisslinux <dylan03> You can also run them as root (though it'll use root's cache)
2020-04-28T17:51:11 #kisslinux <caleba> ooh, I like that! I was messing around with doas on my old install but the package manager helper I was using only used sudo
2020-04-28T17:51:23 #kisslinux <caleba> Love how simple doas's config file is
2020-04-28T17:51:36 #kisslinux <dylan03> It'll always prefer doas/sudo over su so you won't need to modify KISS_SU
2020-04-28T17:51:40 #kisslinux <dylan03> Yeah
2020-04-28T17:51:49 #kisslinux <dylan03> The doas package is called opendoas if you were wondering
2020-04-28T17:52:26 #kisslinux <dylan03> It ships with a default config that has commented configuration for the package manager
2020-04-28T18:01:56 #kisslinux <caleba> Can I build two things at once? I'm running `kiss b xorg-server xinit xf86-input-libinput` currently, but if I want to build htop/top as well can I do that at the same time or do I need to wait for the first kiss b to finish?
2020-04-28T18:02:58 #kisslinux <dylan03> You can
2020-04-28T18:08:27 #kisslinux <dylan03> My GCC is now PGO (which seems to enable some form of LTO as well)
2020-04-28T18:12:44 #kisslinux <ectlunya> [A[Khi
2020-04-28T18:13:52 #kisslinux <ectlunya> sorry just testing some stuff with ii
2020-04-28T18:15:01 #kisslinux <ectlunya> does anyone know of some kind of junk irc channel that I can send stuff to without bothering anyone
2020-04-28T18:15:26 #kisslinux <aarng> ectlunya: shameless plug: https://github.com/aaronNGi/jj
2020-04-28T18:16:26 #kisslinux <ectlunya> im fine with ii
2020-04-28T18:17:01 #kisslinux <dylan03> #botwar
2020-04-28T18:17:02 #kisslinux <ectlunya> I have a short shell script to make a little easier
2020-04-28T18:17:06 #kisslinux <ectlunya> thanks
2020-04-28T18:29:27 #kisslinux <caleba> Is there a file where I can tell kiss how many threads to use when building? Like arch has its /etc/makepkg.conf
2020-04-28T18:30:29 #kisslinux <caleba> or do I just need to export the make flags?
2020-04-28T18:57:11 #kisslinux <aarng> caleba, export MAKEFLAGS
2020-04-28T18:57:33 #kisslinux <aarng> I have mine in /etc/profile.d/build_opts.sh
2020-04-28T19:06:27 #kisslinux <humaid_01> Ok now I can play with my PS3 controller using mdev :)
2020-04-28T19:06:57 #kisslinux <humaid_01> using mednafen of course
2020-04-28T19:07:33 #kisslinux <dylan03> Nice
2020-04-28T19:09:51 #kisslinux <humaid_01> If anyone interested I tell mdev to make the joystick dev nodes _before_ making input nodes (event*)
2020-04-28T19:10:03 #kisslinux <humaid_01> In mdev.conf
2020-04-28T19:10:42 #kisslinux <humaid_01> No I removed my self from input group
2020-04-28T19:11:30 #kisslinux <humaid_01> Now*
2020-04-28T19:40:58 #kisslinux <ominous_anonymou> interesting, i guess it gives priority to whatever nodes appear first?
2020-04-28T21:07:28 #kisslinux <myst_> date
2020-04-28T21:08:13 #kisslinux <aarng> Tue Apr 28 23:06:29 CEST 2020
2020-04-28T22:46:48 #kisslinux <himmalerin> Anyone out there with a Vega gpu? When I was messing around with the menuconfig of the kernel before I built there was an admgpu entry, which I didn't enable (figuring the defaults would be good), but Xorg errors out with complaints about missing modules and no /dev/dri/card0. Is that something I should've built?
2020-04-28T22:52:37 #kisslinux <mcf> yes, you need the amdgpu driver
2020-04-28T22:52:59 #kisslinux <mcf> as well as the firmware
2020-04-28T22:53:57 #kisslinux <himmalerin> got it. For the firmware I follow the "DOWNLOAD FIRMWARE BLOBS" instructions in the kiss install, right?
2020-04-28T23:24:08 #kisslinux <illiliti> how to force compiler/linker to use static library? i'm trying to build static rsyslog, but it links against shared zlib
2020-04-28T23:35:35 #kisslinux <mcf> are you trying to build a fully static binary, or dynamic binary with zlib statically linked?
2020-04-28T23:36:10 #kisslinux <mcf> -static will build a fully static binary, and will not link with any dynamic libraries
2020-04-28T23:43:11 #kisslinux <illiliti> i'm trying to build fully static binary. i've already passed -static to CFLAGS
2020-04-28T23:44:41 #kisslinux <mcf> LDFLAGS, not CFLAGS
2020-04-28T23:45:02 #kisslinux <mcf> you don't need any special flags in CFLAGS
2020-04-28T23:47:41 #kisslinux <illiliti> it still builds with shared zlib with -static in LDFLAGS
2020-04-28T23:48:01 #kisslinux <mcf> is it using libtool?
2020-04-28T23:49:30 #kisslinux <mcf> libtool will try to intercept your -static flag, so you need to trick it with LDFLAGS='-static --static'
2020-04-28T23:54:03 #kisslinux <illiliti> i got linker error with -static --static
2020-04-28T23:54:05 #kisslinux <illiliti> termbin.com/ufi4
2020-04-28T23:55:22 #kisslinux <mcf> can you build with V=1? otherwise the linker command is hidden
2020-04-28T23:55:32 #kisslinux <illiliti> one sec
2020-04-28T23:57:42 #kisslinux <illiliti> termbin.com/69f0