💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-03-07.txt captured on 2024-05-26 at 16:26:44.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-03-07T00:19:03 #kisslinux <ax> ok probably autonomous resolution... environment use 2020-03-07T08:05:29 #kisslinux <lastchansen> hi! 2020-03-07T09:23:06 #kisslinux <dylanaraps> o/ 2020-03-07T11:29:14 #kisslinux <rebeca-Danielal1> hola 2020-03-07T11:31:22 #kisslinux <ThursdayNext> Hello 2020-03-07T11:32:47 #kisslinux <lastchansen> Hi 2020-03-07T11:35:53 #kisslinux <dzove855> o/ 2020-03-07T11:36:45 #kisslinux <lastchansen> m/ 2020-03-07T11:37:18 #kisslinux <dylanaraps> Hello 2020-03-07T11:37:29 #kisslinux <dylanaraps> https://k1ss.org/faq 2020-03-07T11:37:41 #kisslinux <dylanaraps> I added a new FAQ entry: * Something something BUS factor of ONE. 2020-03-07T11:37:47 #kisslinux <lastchansen> Hi dylanaraps 2020-03-07T11:38:08 #kisslinux <dylanaraps> o/ 2020-03-07T11:38:14 #kisslinux <dylanaraps> Did you get NICKSERV working? 2020-03-07T11:39:00 #kisslinux <dylanaraps> Also, any other FAQ suggestions? 2020-03-07T11:39:25 #kisslinux <lastchansen> Yeah, I was doing it wrong, so lets not talk about it ;) 2020-03-07T11:39:58 #kisslinux <dylanaraps> Okay 2020-03-07T11:40:12 #kisslinux <lastchansen> I think the only thing I wanted to ask you was to add an option to set an alternative nick when you start birch 2020-03-07T11:40:32 #kisslinux <dylanaraps> Ah 2020-03-07T11:40:37 #kisslinux <dylanaraps> A fallback nick 2020-03-07T11:40:39 #kisslinux <lastchansen> yeah 2020-03-07T11:40:44 #kisslinux <lastchansen> lastchansen_ 2020-03-07T11:42:13 #kisslinux <dylanaraps> I just need to catch: ERRNICKNAMEINUSE and append _ 2020-03-07T11:43:38 #kisslinux <lastchansen> Yeah, but apart from that birch is mega cool. You're a wizard! 2020-03-07T11:44:09 #kisslinux <dylanaraps> :P 2020-03-07T11:44:16 #kisslinux <dylanaraps> This change may need a little work on my end 2020-03-07T11:44:24 #kisslinux <lastchansen> It's not important :) 2020-03-07T11:44:45 #kisslinux <dylanaraps> The input/listener aren't connected so one can't communicate a nick change to the other 2020-03-07T11:45:14 #kisslinux <dylanaraps> '/nick' works as it's easier to go input -> listener than listener -> input. 2020-03-07T11:45:37 #kisslinux <lastchansen> Are you working on other features on birch? 2020-03-07T11:45:53 #kisslinux <dzove855> dylanaraps: you may could add an signal catcher which can reload a file with vars 2020-03-07T11:46:28 #kisslinux <dylanaraps> dzove855: I'm going to store nick in a file called .n 2020-03-07T11:46:40 #kisslinux <dylanaraps> Both loops can simply read/write to it 2020-03-07T11:46:49 #kisslinux <dzove855> yeah why not, so you will read the file always 2020-03-07T11:46:50 #kisslinux <dylanaraps> I do the same to communicate current channel 2020-03-07T11:47:03 #kisslinux <dzove855> you'r wrpper might be buggy 2020-03-07T11:47:04 #kisslinux <dylanaraps> lastchansen: I'm working on a pure bash word wrapper 2020-03-07T11:47:07 #kisslinux <dylanaraps> It is 2020-03-07T11:47:11 #kisslinux <dylanaraps> Very buggy 2020-03-07T11:47:17 #kisslinux <dylanaraps> I need to start again... again 2020-03-07T11:47:23 #kisslinux <dzove855> just started to test it and have seen it haha 2020-03-07T11:48:18 #kisslinux <dylanaraps> It worked perfectly when I disabled colors :( 2020-03-07T11:48:25 #kisslinux <dylanaraps> It's the stupid non-printable chars 2020-03-07T11:48:38 #kisslinux <dylanaraps> My word based wrapper was too slow for long messages 2020-03-07T11:48:58 #kisslinux <dylanaraps> So I swapped to a super dumb wrapper which is actually kinda cool 2020-03-07T11:49:02 #kisslinux <dzove855> hmmm you could get raw messages without colors and append them after the wrapper 2020-03-07T11:49:06 #kisslinux <dylanaraps> I do that nw 2020-03-07T11:49:09 #kisslinux <dylanaraps> now* 2020-03-07T11:49:33 #kisslinux <dylanaraps> My new wrapper splits the message into chunks, each the length of the terminal 2020-03-07T11:49:39 #kisslinux <dylanaraps> To not break words in half 2020-03-07T11:49:57 #kisslinux <dylanaraps> It searches each split for the closest space and splits on that instead 2020-03-07T11:50:24 #kisslinux <dzove855> i hope the closest space backwards 2020-03-07T11:50:29 #kisslinux <dylanaraps> Yes 2020-03-07T11:50:42 #kisslinux <dylanaraps> Backwards with a maximum of 15 places 2020-03-07T11:50:50 #kisslinux <dylanaraps> If it doesn't find one, it breaks the word in half 2020-03-07T11:50:56 #kisslinux <dylanaraps> This handles URLS, etc 2020-03-07T11:51:20 #kisslinux <dzove855> that's kinda good. With fold there were issues with the url while trying to copy it.. 2020-03-07T11:52:31 #kisslinux <dzove855> i'm currently looking to implement an loadable json parser for bash as bultin. It will be my first project in C 2020-03-07T11:52:35 #kisslinux <dzove855> so it will take some time 2020-03-07T11:53:16 #kisslinux <dylanaraps> Nice 2020-03-07T11:53:19 #kisslinux <dylanaraps> brb 2 secs 2020-03-07T11:53:46 #kisslinux <dylanaraps> back 2020-03-07T11:59:23 #kisslinux <dylanaraps> dzove855: Try now https://github.com/dylanaraps/birch/pull/16/files 2020-03-07T11:59:31 #kisslinux <dylanaraps> I disabled all colors 2020-03-07T11:59:52 #kisslinux <dzove855> will try it 2020-03-07T12:00:01 #kisslinux <dylanaraps> It's uglier now but the wrapper should work fine. 2020-03-07T12:00:11 #kisslinux <dylanaraps> You'll see that it's still too slow 2020-03-07T12:00:14 #kisslinux <dylanaraps> :( 2020-03-07T12:00:30 #kisslinux <dylanaraps> It takes around 10ms though even that is too slow 2020-03-07T12:00:40 #kisslinux <dylanaraps> The word based wrapper took 20ms so this _is_ an improvement 2020-03-07T12:01:58 #kisslinux <dylanaraps> The speed requirement is due to buffer swaps and resize 2020-03-07T12:02:06 #kisslinux <dylanaraps> They require the wrapper be run... 2020-03-07T12:05:54 #kisslinux <dzove855> brb 2020-03-07T12:06:31 #kisslinux <dzove855> back 2020-03-07T12:06:38 #kisslinux <dylanaraps> o/ 2020-03-07T12:06:47 #kisslinux <dylanaraps> Using the new branch? 2020-03-07T12:08:37 #kisslinux <dzove855> yes 2020-03-07T12:09:04 #kisslinux <dylanaraps> Lorem ipsum dolor sit amet, consectetur adipiscing elit. In consectetur commodo aliquet. Cras convallis elit vitae velit aliquam mattis. Mauris tortor urna, rhoncus et leo ut, ornare commodo tortor. Nam euismod ligula ultrices metus sagittis, vitae varius sapien venenatis. Quisque eget blandit eros. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum laoreet erat at rhoncus 2020-03-07T12:09:10 #kisslinux <dylanaraps> How'd that do? 2020-03-07T12:09:51 #kisslinux <dzove855> it's working fine 2020-03-07T12:10:12 #kisslinux <dylanaraps> Resize the window and you'll see what I mean about speed. :P 2020-03-07T12:10:35 #kisslinux <dzove855> it's not as slow 2020-03-07T12:10:53 #kisslinux <dylanaraps> It's too slow though 2020-03-07T12:11:54 #kisslinux <dzove855> actually it's not really slow 2020-03-07T12:13:00 #kisslinux <dylanaraps> I'm not happy with it yet :P 2020-03-07T12:13:12 #kisslinux <dylanaraps> https://github.com/dylanaraps/birch/pull/16/files#diff-ca707fe7cb650c16be3d4ab453b85417R73-R104 2020-03-07T12:13:18 #kisslinux <dylanaraps> Though it's pretty tiny now 2020-03-07T12:13:20 #kisslinux <dzove855> huu i have a bug 2020-03-07T12:13:30 #kisslinux <dylanaraps> That's broken huh 2020-03-07T12:13:32 #kisslinux * dylanaraps oops 2020-03-07T12:13:38 #kisslinux <dzove855> aha yep really broken 2020-03-07T12:13:59 #kisslinux <dylanaraps> Back to master I go 2020-03-07T12:14:00 #kisslinux <dylanaraps> :P 2020-03-07T12:14:24 #kisslinux <dylanaraps> Ah 2020-03-07T12:14:32 #kisslinux <dylanaraps> Back to pretty birch 2020-03-07T12:16:01 #kisslinux <dzove855> i will come later back need too go. See ya later 2020-03-07T13:47:27 #kisslinux <jedavies> ] 2020-03-07T13:48:00 #kisslinux <jedavies> sdfsdfsdf 2020-03-07T13:48:23 #kisslinux <jedavies> sorry :) 2020-03-07T15:59:52 #kisslinux <illiliti> dylanaraps: https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L49 << this mechanism is deprecated. you should use this: uevent mdev & 2020-03-07T16:01:28 #kisslinux <dylanaraps> Any source for this? 2020-03-07T16:02:50 #kisslinux <illiliti> https://lwn.net/Articles/166954/ 2020-03-07T16:03:05 #kisslinux <illiliti> The hotplug helper /sbin/hotplug is now officially deprecated. The control file /proc/sys/kernel/hotplug has moved to /sys/kernel/uevent_helper, but it is expected to be disabled on most systems in favor of udev and the netlink interface. 2020-03-07T16:04:36 #kisslinux <dylanaraps> Doesn't seem to say it's deprecated here: https://github.com/torvalds/linux/blob/6f0d349d922ba44e4348a17a78ea51b7135965b1/Documentation/driver-api/usb/hotplug.rst#kernel-hotplug-helper-sbinhotplug 2020-03-07T16:05:12 #kisslinux <dylanaraps> -> cat /sys/kernel/uevent_helper 2020-03-07T16:05:15 #kisslinux <dylanaraps> /bin/mdev 2020-03-07T16:05:31 #kisslinux <dylanaraps> They both work 2020-03-07T16:06:18 #kisslinux <dylanaraps> Nor does it say deprecated here: https://github.com/torvalds/linux/blob/937d6eefc716a9071f0e3bada19200de1bb9d048/Documentation/admin-guide/sysctl/kernel.rst#hotplug 2020-03-07T16:06:35 #kisslinux <dylanaraps> It says deprecated here though: https://github.com/torvalds/linux/blob/7eec11d3a784a283f916590e5aa30b855c2ccfd7/include/uapi/linux/sysctl.h#L127 2020-03-07T16:09:40 #kisslinux <dylanaraps> It's also not _now_ deprecated. The article you posted is from 2006! 2020-03-07T16:10:14 #kisslinux <dylanaraps> I don't think we need to change anything. I'm not going to break something that works. 2020-03-07T16:10:31 #kisslinux <dylanaraps> The code is still in the kernel's git master and will likely never be removed. 2020-03-07T16:10:39 #kisslinux <dylanaraps> (Never break userspace) 2020-03-07T16:11:47 #kisslinux <dylanaraps> Hell, the doc text in the kernel gives you the option between the two: To disable user space helper program execution at by default specify an empty string here. This setting can still be altered via /proc/sys/kernel/hotplug or via /sys/kernel/uevent_helper later at runtime. 2020-03-07T16:13:44 #kisslinux <illiliti> # CONFIG_UEVENT_HELPER is not set 2020-03-07T16:14:05 #kisslinux <dylanaraps> ?? 2020-03-07T16:14:25 #kisslinux <illiliti> 'uevent mdev' works even if CONFIG_UEVENT_HELPER unset 2020-03-07T16:14:35 #kisslinux <dylanaraps> So, you want to swap to the netlink based IPC? 2020-03-07T16:14:56 #kisslinux <dylanaraps> We'd then add a dependency to the 'uevent' program from busybox no? 2020-03-07T16:15:16 #kisslinux <illiliti> you may do something like that - https://termbin.com/doi3 2020-03-07T16:16:07 #kisslinux <dylanaraps> I'll instead check with 'command -v uevent' 2020-03-07T16:16:18 #kisslinux <illiliti> ok 2020-03-07T16:16:47 #kisslinux <dylanaraps> Though I don't like this change at all 2020-03-07T16:18:47 #kisslinux <illiliti> /proc/sys/kernel/hotplug << this mechanism invoke mdev multiple times which lead to power consumption more than uevent mechanism 2020-03-07T16:18:55 #kisslinux <dylanaraps> Yes 2020-03-07T16:19:14 #kisslinux <dylanaraps> 'uevent mdev &' creates a daemon which keeps running 2020-03-07T16:19:25 #kisslinux <dylanaraps> Which isn't managed as a service 2020-03-07T16:19:52 #kisslinux <dylanaraps> This can then crash 2020-03-07T16:19:57 #kisslinux <dylanaraps> It won't then be respawned 2020-03-07T16:21:28 #kisslinux <paradigm> Users with illiliti's preference could presumably drop a file in /etc/rc.d/*.boot that clears the virtual file and launches the daemon. 2020-03-07T16:21:39 #kisslinux <dylanaraps> You can just create a runit service which runs 'mdev -d' 2020-03-07T16:21:48 #kisslinux <paradigm> Or that, yes 2020-03-07T16:21:50 #kisslinux <dylanaraps> > mdev -d[f]: daemon, listen on netlink. 2020-03-07T16:21:57 #kisslinux <dylanaraps> I'll ship one with our busybox package 2020-03-07T16:22:12 #kisslinux <dylanaraps> We have one already 2020-03-07T16:25:58 #kisslinux <dylanaraps> Pushed an update to our init to silence the attempt to enable hotplugging via /proc/whatever. 2020-03-07T16:26:21 #kisslinux <dylanaraps> Our busybox package already has a service for mdev which you should enable for hotplug via netlink. 2020-03-07T16:33:58 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L62-L72 << i have CONFIG_UEVENT_HELPER unset. this code is useless[?] because nothing listening uevent 2020-03-07T16:39:28 #kisslinux <dylanaraps> ? 2020-03-07T16:41:30 #kisslinux <dylanaraps> So 2020-03-07T16:41:39 #kisslinux <dylanaraps> If I wrap all of that code in a: [ -e /proc/sys/kernel/hotplug ] && { 2020-03-07T16:41:45 #kisslinux <dylanaraps> We'll be good no? 2020-03-07T16:41:58 #kisslinux <dylanaraps> It'll only run if hotplugging through the helper is enabled. 2020-03-07T16:44:21 #kisslinux <illiliti> we also need uevent mechanism. do it in two way, one for /proc..., second for uevent 2020-03-07T16:44:51 #kisslinux <illiliti> afterwards kill mdev daemon like you stop udev 2020-03-07T16:44:55 #kisslinux <illiliti> https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L148-L151 2020-03-07T16:45:36 #kisslinux <dylanaraps> Right 2020-03-07T16:46:13 #kisslinux <dylanaraps> So a simple 'uevent mdev &' and then a 'pkill uevent' later on 2020-03-07T16:47:01 #kisslinux <dylanaraps> OR 2020-03-07T16:47:12 #kisslinux <dylanaraps> I just start 'mdev -d' and then kill it later 2020-03-07T16:47:37 #kisslinux <illiliti> yes, it's better 2020-03-07T16:58:43 #kisslinux <dylanaraps> I'https://github.com/kisslinux/init/commit/738b1f5b23b9aee9a5d881010a65891481bce7b5 2020-03-07T16:58:56 #kisslinux <dylanaraps> Also: https://github.com/kisslinux/repo/commit/5eed8136c0b1a60bde32d2360cff597fd3c0e943 2020-03-07T16:59:03 #kisslinux <dylanaraps> Thoughts? 2020-03-07T16:59:25 #kisslinux <dylanaraps> This will use 'mdev -d' during boot always 2020-03-07T16:59:46 #kisslinux <dylanaraps> It also always sets the hotplugger through /proc if available 2020-03-07T16:59:58 #kisslinux <dylanaraps> The service will then null the /proc file prior to running mdev 2020-03-07T17:00:12 #kisslinux <dylanaraps> It ends up needing less code overall 2020-03-07T17:00:36 #kisslinux <dylanaraps> I also avoid pkill by running mdev in the foreground, backgrounding it with '&' and then storing the pid. 2020-03-07T17:00:45 #kisslinux <dylanaraps> illiliti: 2020-03-07T17:03:46 #kisslinux <illiliti> istead writing /bin/true to /proc.. just write "" . and why you run 'mdev -s' before 'mdev -d' ? 2020-03-07T17:04:04 #kisslinux <dylanaraps> "" doesn't work. It keeps the current value. 2020-03-07T17:04:11 #kisslinux <dylanaraps> > mdev -s is to be run during boot to scan /sys and populate /dev. 2020-03-07T17:04:18 #kisslinux <dylanaraps> Or is this not needed with 'mdev -d'? 2020-03-07T17:06:47 #kisslinux <illiliti> it's needed for setting permissions to /dev/* 2020-03-07T17:07:07 #kisslinux <illiliti> permissions taken from /etc/mdev.conf 2020-03-07T17:07:27 #kisslinux <dylanaraps> Right 2020-03-07T17:07:32 #kisslinux <dylanaraps> So it's needed 2020-03-07T17:07:42 #kisslinux <illiliti> i'm not sure but it's better to run 'mdev -s' after 'mdev -d' 2020-03-07T17:07:47 #kisslinux <dylanaraps> Hm 2020-03-07T17:07:51 #kisslinux <dylanaraps> Let me check the source 2020-03-07T17:09:00 #kisslinux <dylanaraps> ooo 2020-03-07T17:09:06 #kisslinux <dylanaraps> mdev -d does mdev -s first 2020-03-07T17:09:06 #kisslinux <dylanaraps> Nice 2020-03-07T17:09:39 #kisslinux <dylanaraps> https://git.busybox.net/busybox/tree/util-linux/mdev.c#n1249 2020-03-07T17:09:49 #kisslinux <dylanaraps> Notice how 'initial_scan' is run by the daemon first 2020-03-07T17:12:32 #kisslinux <illiliti> okay, remove 'mdev -s' then 2020-03-07T17:13:26 #kisslinux <dylanaraps> brb 2 secs 2020-03-07T17:15:57 #kisslinux <dylanaraps> illiliti: Pushed to repos 2020-03-07T17:15:59 #kisslinux <dylanaraps> Works well 2020-03-07T17:16:05 #kisslinux <dylanaraps> Boot is actually faster now 2020-03-07T17:19:04 #kisslinux <illiliti> cool 2020-03-07T17:23:39 #kisslinux <illiliti> btw what will happen if user have both /proc hotplugger and uevent ? 2020-03-07T17:26:57 #kisslinux <illiliti> maybe we should completely remove /proc hotplugger? i don't see any benefits of using it 2020-03-07T17:28:09 #kisslinux <dylanaraps> What happens is no different to prior 2020-03-07T17:28:24 #kisslinux <dylanaraps> The /proc hotplugger is set 2020-03-07T17:28:37 #kisslinux <dylanaraps> And if the mdev daemon is enabled, it is cleared as the daemon will now handle it 2020-03-07T17:28:51 #kisslinux <dylanaraps> You have a choice between the two 2020-03-07T17:28:59 #kisslinux <dylanaraps> The benefit is no daemon running in userspace 2020-03-07T17:29:45 #kisslinux <dylanaraps> I don't like daemons 2020-03-07T17:30:08 #kisslinux <dylanaraps> I only run a single daemon for iwd 2020-03-07T17:30:17 #kisslinux <dylanaraps> It's my only non-init root process 2020-03-07T17:30:50 #kisslinux <dylanaraps> So there's PID 1 and iwd (as root) on my machine 2020-03-07T17:30:57 #kisslinux <dylanaraps> Everything else runs as a user 2020-03-07T17:36:40 #kisslinux <illiliti> i don't have a choice because mdev daemon take control over /proc hotplugger. to take priority to '/proc hotplugger' do it like that - https://termbin.com/0uci 2020-03-07T17:39:13 #kisslinux <illiliti> why you removed these ? - https://github.com/kisslinux/init/commit/738b1f5b23b9aee9a5d881010a65891481bce7b5#diff-ec6e5ae702136e278fde22f77d5ae64bL61-L72 2020-03-07T17:40:53 #kisslinux <dylanaraps> illiliti: Doesn't 'mdev -d' handle that? 2020-03-07T17:41:30 #kisslinux <dylanaraps> Don't run the service if you're going to use the hotplugger 2020-03-07T17:41:45 #kisslinux <dylanaraps> If you run the service it'll null the proc hotplugger 2020-03-07T17:43:56 #kisslinux <illiliti> no no. i mean you first run mdev daemon - https://github.com/kisslinux/init/blob/master/lib/init/rc.boot#L49 and then /proc hotplugger which useless because mdev daemon take control, no? 2020-03-07T17:45:47 #kisslinux <dylanaraps> Right 2020-03-07T17:46:01 #kisslinux <dylanaraps> Does the /proc hotplugger do anything when set? 2020-03-07T17:46:10 #kisslinux <dylanaraps> It only listens to new events no? 2020-03-07T17:46:17 #kisslinux <dylanaraps> I could move it to the kill section 2020-03-07T17:46:22 #kisslinux <dylanaraps> So it runs after the mdev daemon 2020-03-07T17:47:33 #kisslinux <dylanaraps> See: https://github.com/kisslinux/init/commit/3a457ab33f4117d266115705cfef61a0bd9dc866 2020-03-07T17:49:05 #kisslinux <illiliti> as i know mdev doesn't handle that - https://github.com/kisslinux/init/commit/738b1f5b23b9aee9a5d881010a65891481bce7b5#diff-ec6e5ae702136e278fde22f77d5ae64bL61-L72 2020-03-07T17:49:56 #kisslinux <dylanaraps> Chttps://git.busybox.net/busybox/tree/util-linux/mdev.c#n1150 2020-03-07T17:49:57 #kisslinux <ffaas33> hello 2020-03-07T17:49:58 #kisslinux <dylanaraps> https://git.busybox.net/busybox/tree/util-linux/mdev.c#n1150 2020-03-07T17:50:00 #kisslinux <dylanaraps> hell 2020-03-07T17:50:04 #kisslinux <dylanaraps> hello* 2020-03-07T17:50:16 #kisslinux <dylanaraps> illiliti: > /* Create all devices from /sys/dev hierarchy */ 2020-03-07T17:50:16 #kisslinux <ffaas33> i want to install kiss but i cant download https://sourceware.org/pub/libffi/libffi-3.3.tar.gz 2020-03-07T17:50:18 #kisslinux <dylanaraps> It does no? 2020-03-07T17:50:31 #kisslinux <dylanaraps> ffaas33: I can reproduce. 2020-03-07T17:51:09 #kisslinux <illiliti> It does no? << it doesn't 2020-03-07T17:51:56 #kisslinux <illiliti> wait, i'll find bug which describe this 2020-03-07T17:51:59 #kisslinux <dylanaraps> ffaas33: Run 'kiss update'. I've pushed a fix. :) 2020-03-07T17:52:06 #kisslinux <ffaas33> already??? 2020-03-07T17:52:08 #kisslinux <dylanaraps> Yes 2020-03-07T17:52:09 #kisslinux <ffaas33> gee 2020-03-07T17:52:14 #kisslinux <dylanaraps> I'm quick 2020-03-07T17:52:17 #kisslinux <ffaas33> you are incredible 2020-03-07T17:52:36 #kisslinux <dylanaraps> https://github.com/kisslinux/repo/commit/4523c67146f201cfdf5a1e1b89e39ad665049502 2020-03-07T17:52:44 #kisslinux <dylanaraps> Checksums are the same too. 2020-03-07T17:52:57 #kisslinux <dylanaraps> This link shouldn't die either. I don't know why the other one did. 2020-03-07T17:53:02 #kisslinux <ffaas33> if kiss works on my PC i will use it till the end 2020-03-07T17:53:13 #kisslinux <dylanaraps> hehe 2020-03-07T17:53:25 #kisslinux <dylanaraps> What hardware do you have? 2020-03-07T17:53:46 #kisslinux <ffaas33> i searched for it since ever, switching between gentoo void and arch but 2020-03-07T17:54:04 #kisslinux <ffaas33> havnt found it 2020-03-07T17:54:15 #kisslinux <ffaas33> because i use distrowatch 2020-03-07T17:54:26 #kisslinux <dylanaraps> Yeah 2020-03-07T17:54:32 #kisslinux <dylanaraps> KISS isn't on distrowatch 2020-03-07T17:54:49 #kisslinux <ffaas33> i promise i will force them to add it, as i have done to ParrotOS 2020-03-07T17:54:54 #kisslinux <ffaas33> if it works 2020-03-07T17:54:58 #kisslinux <illiliti> mdev like a boss does it - https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.init#L54 2020-03-07T17:55:00 #kisslinux <dylanaraps> KISS has no ISO which may make things difficult 2020-03-07T17:55:15 #kisslinux <dylanaraps> Distrowatch's rules state that the distribution must have its own ISO 2020-03-07T17:55:24 #kisslinux <ffaas33> i install from void now so hm 2020-03-07T17:55:32 #kisslinux <ffaas33> oh heck 2020-03-07T17:55:52 #kisslinux <ffaas33> is an .img for usb devices enough? 2020-03-07T17:56:01 #kisslinux <ffaas33> i could do that 2020-03-07T17:56:33 #kisslinux <dylanaraps> illiliti: It seems to work here though. I'm running the new changes just fine. 2020-03-07T17:57:02 #kisslinux <dylanaraps> ffaas33: It would need to be "official". I'm against providing one as well. 2020-03-07T17:57:22 #kisslinux <ffaas33> oh, whys that? 2020-03-07T17:57:37 #kisslinux <dylanaraps> I'd need to provide a kernel and initramfs 2020-03-07T17:57:57 #kisslinux <dylanaraps> There's a long answer in the FAQ on the website related to these two. 2020-03-07T17:58:15 #kisslinux <ffaas33> ive read the whole site 2020-03-07T17:58:50 #kisslinux <dylanaraps> :P 2020-03-07T17:58:54 #kisslinux <ffaas33> cant the install procedure be done on usb and then boot from it like a SSD 2020-03-07T17:59:04 #kisslinux <ffaas33> then dd an image? 2020-03-07T17:59:16 #kisslinux <ffaas33> ive done that with arch 2020-03-07T17:59:35 #kisslinux <ffaas33> is initramfs needed for that? 2020-03-07T18:00:07 #kisslinux <dylanaraps> An ISO or image requires a large kernel full of modules 2020-03-07T18:00:17 #kisslinux <dylanaraps> To load the right modules at boot, an initramfs is needed 2020-03-07T18:00:24 #kisslinux <ffaas33> oh 2020-03-07T18:00:40 #kisslinux <ffaas33> shit 2020-03-07T18:00:42 #kisslinux <dylanaraps> It's a lot of work to maintain as well 2020-03-07T18:00:55 #kisslinux <ffaas33> use others work? 2020-03-07T18:01:00 #kisslinux <dylanaraps> I'd much rather my time be spent working on the distribution itself :P 2020-03-07T18:01:02 #kisslinux <ffaas33> cooperate 2020-03-07T18:01:17 #kisslinux <dylanaraps> I don't see a problem with the current installation method 2020-03-07T18:01:26 #kisslinux <ffaas33> with a distro providing a bootstap installer? 2020-03-07T18:01:40 #kisslinux <ffaas33> same here but i want it on DW 2020-03-07T18:02:11 #kisslinux <dylanaraps> There are a couple other ways for KISS to make it to distrowatch 2020-03-07T18:02:22 #kisslinux <ffaas33> those are? 2020-03-07T18:02:24 #kisslinux <dylanaraps> 1. I spend a 2-3 hundred dollars and buy an ad. 2020-03-07T18:02:30 #kisslinux <ffaas33> pff 2020-03-07T18:02:33 #kisslinux <ffaas33> no 2020-03-07T18:02:35 #kisslinux <dylanaraps> 2. KISS gets so popular that it must be added 2020-03-07T18:02:51 #kisslinux <ffaas33> i have some influence 2020-03-07T18:02:58 #kisslinux <ffaas33> but still hard 2020-03-07T18:03:24 #kisslinux <dylanaraps> Does distrowatch always publish a review when adding a distribution? 2020-03-07T18:03:43 #kisslinux <ffaas33> no but they often do 2020-03-07T18:04:08 #kisslinux <dylanaraps> They may find it a little difficult to review KISS as it isn't for the average user 2020-03-07T18:04:22 #kisslinux <dylanaraps> How did they handle Gentoo? (If you know anything about it) 2020-03-07T18:04:50 #kisslinux <ffaas33> gentoo provides a bootstrap iso like arch 2020-03-07T18:05:11 #kisslinux <dylanaraps> Ah 2020-03-07T18:05:54 #kisslinux <ffaas33> my idea is to work around that by using a distro as bootstraper, i could fork void customize it 2020-03-07T18:06:07 #kisslinux <ffaas33> then we have an ISO 2020-03-07T18:06:33 #kisslinux <dylanaraps> I'd rather not do this 2020-03-07T18:06:38 #kisslinux <ffaas33> ok 2020-03-07T18:06:54 #kisslinux <dylanaraps> The installation guide teaches you 2020-03-07T18:07:04 #kisslinux <dylanaraps> What you learn will be needed post install 2020-03-07T18:07:17 #kisslinux <dylanaraps> ie, updating your kernel, how to use the package manager, etc 2020-03-07T18:07:29 #kisslinux <ffaas33> a linux distro with wget is needed to install kiss 2020-03-07T18:07:37 #kisslinux <dylanaraps> Or curl 2020-03-07T18:07:42 #kisslinux <ffaas33> yeah 2020-03-07T18:07:50 #kisslinux <dylanaraps> The guide is not meant to be blindly followed. :P 2020-03-07T18:08:12 #kisslinux <dylanaraps> If it says 'wget' and 'wget' is unavailable, you should know to use another tool 2020-03-07T18:08:25 #kisslinux <dylanaraps> Or that the "intent" is to download something 2020-03-07T18:08:38 #kisslinux <ffaas33> i know i used firefox 2020-03-07T18:09:17 #kisslinux <dylanaraps> Yeah, I don't mean you specifically. Was talking in general. :P 2020-03-07T18:09:26 #kisslinux <ffaas33> i will brainstorm about it for a while... we need some kickstart anyways 2020-03-07T18:09:45 #kisslinux <dylanaraps> There won't be an ISO or install image 2020-03-07T18:09:50 #kisslinux <dylanaraps> Just a heads up 2020-03-07T18:10:35 #kisslinux <ffaas33> nevermind i just looked something up 2020-03-07T18:10:50 #kisslinux <ffaas33> you must provide a download 2020-03-07T18:10:56 #kisslinux <ffaas33> not an img or iso 2020-03-07T18:11:11 #kisslinux <ffaas33> just anything that starts you up 2020-03-07T18:11:18 #kisslinux <ffaas33> and i know what 2020-03-07T18:12:02 #kisslinux <ffaas33> LFS is on Distrowatch and they provide the PDF of the book 2020-03-07T18:12:25 #kisslinux <ffaas33> we provide the .txt file of the website :dab: 2020-03-07T18:13:05 #kisslinux <dylanaraps> Oh nice 2020-03-07T18:13:13 #kisslinux <dylanaraps> I didn't know LFS was on distrowatch 2020-03-07T18:13:33 #kisslinux <illiliti> looks like mdev really handle usb and net devices - https://github.com/mirror/busybox/commit/20a3262cd756aadf8771969a4764cd3c571f0a3e#diff-b7fa58f34b29fdaf1f07428e4df90278 . i need to test it 2020-03-07T18:13:40 #kisslinux <dylanaraps> Tip: Append .txt to any website link to grab the plain-text version. 2020-03-07T18:14:29 #kisslinux <dylanaraps> illiliti: Yup. That's what I was talking about. :P 2020-03-07T18:14:55 #kisslinux <ffaas33> i downloaded the website already 2020-03-07T18:15:06 #kisslinux <ffaas33> i know the .txt thing 2020-03-07T18:15:13 #kisslinux <ffaas33> index.txt etc 2020-03-07T18:15:18 #kisslinux <dylanaraps> Yup 2020-03-07T18:15:31 #kisslinux <ffaas33> i love that btw, no css or js 2020-03-07T18:15:40 #kisslinux <ffaas33> not even html 2020-03-07T18:16:02 #kisslinux <ffaas33> so you dont need a browser/parser 2020-03-07T18:16:12 #kisslinux <ffaas33> *mindblown* 2020-03-07T18:16:20 #kisslinux <dylanaraps> There's a little bit of HTML for images and <a> where they're needed 2020-03-07T18:16:43 #kisslinux <dylanaraps> I'd like to fix this though 2020-03-07T18:16:54 #kisslinux <dylanaraps> See: https://k1ss.org/wiki.txt 2020-03-07T18:17:16 #kisslinux <ffaas33> yeah, the web sucks 2020-03-07T18:17:28 #kisslinux <ffaas33> but we gonna work it out 2020-03-07T18:17:35 #kisslinux <ffaas33> i wanna help alot 2020-03-07T18:17:37 #kisslinux <dylanaraps> For regular 'https://' links, I use sed when creating the HTML pages to turn them into links 2020-03-07T18:17:44 #kisslinux <dylanaraps> So it doesn't affect the source .txt files 2020-03-07T18:18:02 #kisslinux <ffaas33> lol 2020-03-07T18:19:08 #kisslinux <dylanaraps> brb 2 secs 2020-03-07T18:20:08 #kisslinux <dylanaraps> illiliti: I pushed the hotplugger fix. 2020-03-07T18:20:14 #kisslinux <dylanaraps> It's in the repos. 2020-03-07T18:20:24 #kisslinux <dylanaraps> Just rebooted and it all works fine. 2020-03-07T18:28:02 #kisslinux <dylanaraps> brb 2020-03-07T18:29:54 #kisslinux <dylanaraps> back 2020-03-07T18:30:04 #kisslinux <ffaas33> yup 2020-03-07T18:30:23 #kisslinux <ffaas33> btw i havnt introduced 2020-03-07T18:30:47 #kisslinux <ffaas33> Lukas Friedrich (lu) 21 linuxfanatic 2020-03-07T18:31:29 #kisslinux <dylanaraps> Nice to meet you :P 2020-03-07T18:31:37 #kisslinux <ffaas33> :P 2020-03-07T18:32:07 #kisslinux <Renzix> Same your name sounds familiar 2020-03-07T18:32:29 #kisslinux <ffaas33> (heck llvm takes long) 2020-03-07T18:32:34 #kisslinux <ffaas33> yeah could be 2020-03-07T18:32:54 #kisslinux <ffaas33> ive been around a long time but mostly using different names 2020-03-07T18:33:07 #kisslinux <ffaas33> but always the same guy behind 2020-03-07T18:33:27 #kisslinux <dylanaraps> llvm doesn't update often 2020-03-07T18:33:28 #kisslinux <ffaas33> cycrojanic, fiebertraum, luraktinus, lugarius etc 2020-03-07T18:33:34 #kisslinux <dylanaraps> Once you build it you're good for months 2020-03-07T18:33:40 #kisslinux <ffaas33> ive done alot 2020-03-07T18:33:46 #kisslinux <ffaas33> oh ok 2020-03-07T18:35:11 #kisslinux <dylanaraps> The "big" packages (gcc, llvm, rust, nodejs, firefox) update every month or so with gcc/llvm updating every 3~ months. 2020-03-07T18:35:30 #kisslinux <dylanaraps> We have a firefox-bin package which allows you to avoid rust, nodejs and firefox. 2020-03-07T18:35:43 #kisslinux <ffaas33> read the news about that 2020-03-07T18:35:49 #kisslinux <ffaas33> very nice 2020-03-07T18:35:55 #kisslinux <dylanaraps> Depending on your GPU you may be able to remove llvm 2020-03-07T18:36:03 #kisslinux <dylanaraps> I run without it 2020-03-07T18:37:40 #kisslinux <dylanaraps> (This is a manual change though) 2020-03-07T18:49:08 #kisslinux <illiliti> dylanaraps: wow! i tested my initramfs in qemu with 'mdev -d' and it's really handle usb! but sadly it doesn't handle drivers autoloading 2020-03-07T18:51:18 #kisslinux <dylanaraps> I'm fine with that as module loading in KISS is opt-in instead of opt-out 2020-03-07T20:16:53 #kisslinux <claudia2> hello 2020-03-07T20:17:42 #kisslinux <claudia2> dylanaraps: i noticed my cpu doesnt scale up anymore. and i think it is since the mdev update 2h ago. iam using udev. can this be related? 2020-03-07T20:18:37 #kisslinux <claudia2> i have no file populated in /proc/sys/kernel/hotplug 2020-03-07T20:18:59 #kisslinux <claudia2> which is in response for for cpu scaling? 2020-03-07T20:19:15 #kisslinux <derlukas> Yo? 2020-03-07T20:19:30 #kisslinux <derlukas> I cant start x unless im root 2020-03-07T20:19:41 #kisslinux <derlukas> What did i do wrong 2020-03-07T20:19:59 #kisslinux <derlukas> Cant create lock file 2020-03-07T20:20:27 #kisslinux <dilyn> Did you check the FAQ? 2020-03-07T20:22:03 #kisslinux <dylanaraps> claudia2: The mdev change didn't touch udev at all. 2020-03-07T20:22:38 #kisslinux <dylanaraps> derlukas: https://k1ss.org/faq Under "Why can't I start Xorg as a normal user?" 2020-03-07T20:23:31 #kisslinux <derlukas> Well, i did the udev thingy 2020-03-07T20:24:14 #kisslinux <dylanaraps> claudia2: No code touched udev. None of the recent package updates are related to CPU scaling. (https://github.com/kisslinux/repo/commits/master) In fact, this is entirely a kernel issue. 2020-03-07T20:24:26 #kisslinux <dylanaraps> derlukas: Did it work? 2020-03-07T20:24:39 #kisslinux <derlukas> No change 2020-03-07T20:25:14 #kisslinux <dylanaraps> derlukas: Output of 'ls -l /dev/dri' 2020-03-07T20:26:44 #kisslinux <claudia2> dylanaraps: allright thanks. The changed happened during a large build and my fan dropped rpm after some time and so the freq. i keep digging 2020-03-07T20:27:09 #kisslinux <dylanaraps> claudia2: Check 'dmesg' 2020-03-07T20:27:18 #kisslinux <dylanaraps> Might be something telling in the log 2020-03-07T20:27:26 #kisslinux <derlukas> Its owned by root and contains two files also having the video group 2020-03-07T20:27:40 #kisslinux <dylanaraps> Nice 2020-03-07T20:27:44 #kisslinux <claudia2> am i right that /proc/sys/kernel/hotplug should be there? 2020-03-07T20:27:51 #kisslinux <dylanaraps> Which xf86- driver are you using? 2020-03-07T20:27:59 #kisslinux <dylanaraps> claudia: No, udev doesn't use it. 2020-03-07T20:33:58 #kisslinux <dkdkd> My internet is unstable 2020-03-07T20:34:20 #kisslinux <dkdkd> So, "nice" 2020-03-07T20:34:31 #kisslinux <dkdkd> What about it? 2020-03-07T20:35:01 #kisslinux <dylanaraps> ??? 2020-03-07T20:35:04 #kisslinux <dylanaraps> Hello 2020-03-07T20:35:45 #kisslinux <dkdkd> Hey, lukas here 2020-03-07T20:36:13 #kisslinux <dkdkd> My internet beaks every 10 min 2020-03-07T20:36:17 #kisslinux <dylanaraps> Ah 2020-03-07T20:36:26 #kisslinux <dkdkd> Read the log 2020-03-07T20:36:35 #kisslinux <dkdkd> I use intel i guess 2020-03-07T20:37:19 #kisslinux <dkdkd> Never told the system what graphics i use 2020-03-07T20:37:30 #kisslinux <dylanaraps> Alright 2020-03-07T20:37:32 #kisslinux <dkdkd> But i have an intelHD 2020-03-07T20:37:41 #kisslinux <dylanaraps> Send me your Xorg log file?? 2020-03-07T20:37:48 #kisslinux <dkdkd> Uff 2020-03-07T20:37:54 #kisslinux <dylanaraps> Simply: nc termbin.com:9999 < /path/to/file 2020-03-07T20:38:02 #kisslinux <dkdkd> ... 2020-03-07T20:38:06 #kisslinux <dkdkd> Ok 2020-03-07T20:38:06 #kisslinux <dylanaraps> This will upload it and output a link you may send 2020-03-07T20:38:20 #kisslinux <dylanaraps> The log when it fails to work as a normal user 2020-03-07T20:38:37 #kisslinux <dylanaraps> It should be in ~/.local/share/xorg/ 2020-03-07T20:39:49 #kisslinux <dkdkd> No such folder 2020-03-07T20:40:21 #kisslinux <dylanaraps> Try and start Xorg as a normal user. The terminal output afterwards will tell you where the log was stored. 2020-03-07T20:41:10 #kisslinux <dkdkd> Nope 2020-03-07T20:41:31 #kisslinux <dylanaraps> Is there an error in the output? 2020-03-07T20:41:37 #kisslinux <dkdkd> Just tells me it couldnt create a lock file @ /tmp 2020-03-07T20:41:41 #kisslinux <dylanaraps> If so, what does it say in its entirety? 2020-03-07T20:42:16 #kisslinux <dkdkd> Please consult the x foundation bla bla 2020-03-07T20:42:30 #kisslinux <dkdkd> Thats it 2020-03-07T20:43:47 #kisslinux <dkdkd> The usual stuff 2020-03-07T20:43:47 #kisslinux <dylanaraps> I need the whole output of the error. 2020-03-07T20:43:59 #kisslinux <dylanaraps> You mentioned the lock file 2020-03-07T20:44:07 #kisslinux <dylanaraps> What's the entire message related to that? 2020-03-07T20:45:07 #kisslinux <dkdkd> "Could not create lock file in /tmp/.tX0-lock" 2020-03-07T20:46:04 #kisslinux <dylanaraps> Output of: 'ld -ld /tmp'? 2020-03-07T20:46:10 #kisslinux <dylanaraps> 'ls -ld /tmp' 2020-03-07T20:46:13 #kisslinux <dylanaraps> My bad 2020-03-07T20:47:16 #kisslinux <dkdkd> Owned by user root and group root 2020-03-07T20:47:58 #kisslinux <dylanaraps> Mine is: drwxrwxrwt 5 root root 120 Mar 7 22:47 /tmp 2020-03-07T20:47:58 #kisslinux <dkdkd> drwxr-xr-t 2020-03-07T20:48:11 #kisslinux <dylanaraps> The permissions seem to be wrong 2020-03-07T20:48:16 #kisslinux <dkdkd> Yep 2020-03-07T20:48:38 #kisslinux <dkdkd> How did that happen? 2020-03-07T20:48:50 #kisslinux <dylanaraps> Do you mount /tmp in your fstab at all or is this "on its own"? 2020-03-07T20:49:22 #kisslinux <dkdkd> i havnt touched fstab at all 2020-03-07T20:49:31 #kisslinux <dylanaraps> Alright 2020-03-07T20:49:47 #kisslinux <dkdkd> Ive not modded it 2020-03-07T20:50:22 #kisslinux <dylanaraps> Does 'touch /tmp/file' work? 2020-03-07T20:50:31 #kisslinux <dylanaraps> Does the file exist afterwards? 2020-03-07T20:51:17 #kisslinux <dkdkd> Permission denied 2020-03-07T20:52:37 #kisslinux <dkdkd> I cant remember skiping anything in the guide 2020-03-07T20:52:43 #kisslinux <dylanaraps> Run: 'chmod 1777 /tmp' as root to fix the issue. I'm going to investigate further. I have a hunch as to what this issue may be. 2020-03-07T20:54:38 #kisslinux <dkdkd> It fixed it 2020-03-07T20:55:40 #kisslinux <dylanaraps> Nice. I found the issue. 2020-03-07T20:55:48 #kisslinux <dkdkd> So? 2020-03-07T20:55:56 #kisslinux <dylanaraps> The new version of the install tarball has these wrong permissions set. 2020-03-07T20:56:12 #kisslinux <dkdkd> Oh good that we found that 2020-03-07T20:56:21 #kisslinux <dylanaraps> I'm going to push a fix in the next 10 minutes or so. 2020-03-07T20:56:22 #kisslinux <dylanaraps> :) 2020-03-07T20:59:15 #kisslinux <dkdkd> Now some last questions for today 2020-03-07T20:59:29 #kisslinux <dkdkd> How to quit sowm 2020-03-07T20:59:37 #kisslinux <dylanaraps> You kill X or sowm 2020-03-07T20:59:47 #kisslinux <dylanaraps> There are two more directories with the same issue: chmod 1777 /var/spool/mail/ 2020-03-07T21:00:01 #kisslinux <dylanaraps> And chmod 1777 /var/stmp 2020-03-07T21:00:05 #kisslinux <dylanaraps> And chmod 1777 /var/tmp/ 2020-03-07T21:00:16 #kisslinux <dylanaraps> /var/stmp is a typo 2020-03-07T21:00:20 #kisslinux <dylanaraps> Ignore that 2020-03-07T21:00:31 #kisslinux <dkdkd> Ok 2020-03-07T21:00:35 #kisslinux <dylanaraps> I apologize for this happening 2020-03-07T21:01:21 #kisslinux <dkdkd> Hey, a new distro has some rough edges 2020-03-07T21:01:46 #kisslinux <dkdkd> Its cool to help finding such bugs 2020-03-07T21:03:22 #kisslinux <dylanaraps> :) 2020-03-07T21:03:31 #kisslinux <dylanaraps> Creating the fixed tarball now. 2020-03-07T21:05:51 #kisslinux <claudia2> Ok, to clear things up: i guess it was some kind of thermal throttleing issue.i put the battery out and waited some moments..*monkeyholdinghandsbeforeface* 2020-03-07T21:07:42 #kisslinux <claudia2> just a reboot was not enough 2020-03-07T21:13:22 #kisslinux <dylanaraps> claudia2: You may want to look at your kernel config or the settings related to CPU 2020-03-07T21:14:35 #kisslinux <dylanaraps> New tarball: ## Use `sudo` or `root` to extract the `chroot`. 2020-03-07T21:14:40 #kisslinux <dylanaraps> New tarball: https://github.com/kisslinux/repo/releases/tag/1.9.11 2020-03-07T21:14:41 #kisslinux <dylanaraps> oops 2020-03-07T21:16:46 #kisslinux <dylanaraps> dkdkd: Fix released and guide updated. Thanks again :) 2020-03-07T21:20:04 #kisslinux <dkdkd> Sure 2020-03-07T21:20:27 #kisslinux <dkdkd> Its late in germany, good night 2020-03-07T21:20:37 #kisslinux <dylanaraps> Night 2020-03-07T21:21:31 #kisslinux <illiliti> dylanaraps: how do you backport iwd changes into eiwd? 2020-03-07T21:23:12 #kisslinux <dylanaraps> By hand 2020-03-07T21:23:18 #kisslinux <claudia2> dylanaraps: my system otherwise runs fine. I guess my thinkfan config was to naive while building something like qtwebengine. It was the first time this happened but i keep that in mind 2020-03-07T21:23:38 #kisslinux <dylanaraps> I'm behind as the plan is to start from scratch using ifdefs instead of code removal