2020-06-12T01:16:21 #kisslinux dylan: Is there any reason to use `read -N1` over `read -d '' -n1`? 2020-06-12T01:24:17 #kisslinux my wifi interface (wlp2s0) isn't showing up in the output of `ip l`. 2020-06-12T01:24:23 #kisslinux any idea what might be the issue? 2020-06-12T01:24:36 #kisslinux I already have linux-firmware installed. 2020-06-12T01:25:02 #kisslinux And I'm pretty sure all the appropriate kernel stuff was compiled in. 2020-06-12T01:27:46 #kisslinux Crestwave: I can't think of one 2020-06-12T01:46:49 #kisslinux spacehare: did you check dmesg for errors? 2020-06-12T02:00:38 #kisslinux I did, I didn't see anything suspicious. 2020-06-12T02:13:35 #kisslinux did you install the wifi kernel driver as module or baked in? 2020-06-12T02:14:02 #kisslinux something such as iwlwifi might need to be compiled as module, and manually modprobed 2020-06-12T02:14:33 #kisslinux or if one insists to be baked in, specify the firmware to be included, but I found it easier just to modprobe it 2020-06-12T02:56:24 #kisslinux What does Networking Support>Wireless say is enabled? 2020-06-12T05:01:10 #kisslinux o/ 2020-06-12T05:01:41 #kisslinux o7 Ai Ai Captain! 2020-06-12T05:08:02 #kisslinux New package manager release: https://github.com/kisslinux/kiss/releases/tag/3.0.0 2020-06-12T09:57:49 #kisslinux hola 2020-06-12T10:08:50 #kisslinux Hello everyone :) 2020-06-12T10:10:01 #kisslinux I'm coming from Arch and I'm trying to test kisslinux (atracted by the philosophy)... but it seems like I'm not ready yet as I'm not able to install it properly in KVM! so... if you don't mind... I will be here just reading and learning from all you :) 2020-06-12T10:11:35 #kisslinux cool, id recommend installing it just on a small partition, i found it to be a good learning experience. i have it installed alongside arch 2020-06-12T10:13:07 #kisslinux wow... honestly I was scared as I have never compiled the kernel by myself so I just booted with an Arch iso in KVM and tried to install it... but I think I'm missing part of drivers as I can only get Kernel Panic not able to find root block... 2020-06-12T10:13:30 #kisslinux kernel panic with arch or kiss? 2020-06-12T10:13:39 #kisslinux with kiss in the KVM 2020-06-12T10:14:16 #kisslinux did you make an fstab file? does it say failed to mount unknown block? 2020-06-12T10:14:48 #kisslinux Yes it says unable to mount root fs on unknown-block (0,0) 2020-06-12T10:15:01 #kisslinux But I did the fstab file... maybe wrong XD 2020-06-12T10:15:13 #kisslinux no thats not it 2020-06-12T10:15:30 #kisslinux you are missing drivers for your disk drive, make sure the required ones are enabled 2020-06-12T10:16:03 #kisslinux I think I did it wee (well obviously no :D) but I have enabled in the kernel the VFIO drivers... 2020-06-12T10:16:55 #kisslinux right, id look up what drivers you need on the gentoo wiki, its usually a helpful place for kernel stuff. make sure that if you recompiled the kernel you actually installed it correctly, i sometimes forget that lol 2020-06-12T10:18:44 #kisslinux ok, that sounds cool :) I will do more research and test... I have not made any modification on the kernel menu at the moment, just adding the VFIO drivers I found but I will keep trying... this is a good way to learn 2020-06-12T10:18:59 #kisslinux sure is a good way to lean :) 2020-06-12T10:23:57 #kisslinux compiling kernel... I'm even excited:D 2020-06-12T10:38:53 #kisslinux well... I learned something... it seems to be related with VIRTIO drivers... if I change it to SATA then it works (changinf fstab to match sda instead of vda)... I will keep trying with VIRTIO drivers 2020-06-12T10:39:46 #kisslinux hmm thats strange 2020-06-12T10:40:27 #kisslinux it's like in my kernel I do not have the VIRTIO drivers... but as far as I know I have them so... maybe I'm missing something 2020-06-12T10:41:44 #kisslinux you sure you dont need to build in some firmware or something? 2020-06-12T10:42:24 #kisslinux I'm not sure of anything... I'm very newbie :) I thought that with the VIRTIO options in the kernel it would work... 2020-06-12T10:43:19 #kisslinux have you checked https://wiki.gentoo.org/wiki/QEMU/Linux_guest 2020-06-12T10:43:32 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/ojwqGkYbLzcZlZpePufxJEkm > 2020-06-12T10:44:02 #kisslinux no... but I'm doing it now :) I will read this carefully 2020-06-12T10:44:06 #kisslinux thanks a lot for your help 2020-06-12T10:48:29 #kisslinux no problem, hope you enjoy using kiss 2020-06-12T10:51:54 #kisslinux I do not know still why... why I really do! 2020-06-12T10:52:26 #kisslinux yep, i do enjoy understanding exactly what each component of my system does, it makes it feel like its mine 2020-06-12T10:53:19 #kisslinux well... I believe it will take me ages to arrive to the point I understand exactly what does every part of the kernel... what I can disable and what not... But a interesting as the goal, it's the journey :) 2020-06-12T10:54:38 #kisslinux my advice for that is press 'h' for the help page on every single option, and if you dont think you need it disable it. thats what i did and then fixing stuff that didnt work helped me develop my understanding even more 2020-06-12T10:56:29 #kisslinux That's a good advise and according to the philosophy. My first step is to have it working almost vanilla but... the next one will be to start messing with the kernel and clean as much as possible. then survive for some time until I feel confortable enough to have triple boot (arch/Windows(my wife and games) and Kiss) 2020-06-12T10:57:19 #kisslinux getcha. the setup i have is windows 10 on my pc, since i only use it for gaming really, with kiss and arch on my laptop, where i do most of my development 2020-06-12T10:58:46 #kisslinux it works!!! Mate... thanks a lot for your help!!!! You were completely right!!! That gentoo documentation did the trick... all is working fine and using VIRTIO drivers!! I owe you a beer (or whatever you like) 2020-06-12T11:01:39 #kisslinux 🙂 glad to have helped 2020-06-12T11:55:49 #kisslinux every package I unstall now prints `Converted all conflicts to choices (kiss a)` 2020-06-12T11:55:54 #kisslinux even when there are no conflicts 2020-06-12T11:56:00 #kisslinux @ dylan 2020-06-12T11:56:10 #kisslinux does anyone else have issues building kernel 5.4? 2020-06-12T11:56:16 #kisslinux I keep getting syntax errors. 2020-06-12T11:56:26 #kisslinux (with allyesconfig) 2020-06-12T11:57:01 #kisslinux stuff like "XXX undefined", etc. 2020-06-12T12:26:45 #kisslinux What specifically is undefined? 2020-06-12T13:16:15 #kisslinux has anyone got luke smiths dwm build to work on kiss? 2020-06-12T13:44:37 #kisslinux dilynm: mostly stuff from "arch/x86/../../elf.h", e.g. `GElf_Shdr' 2020-06-12T13:44:51 #kisslinux there are a few other errors 2020-06-12T13:45:01 #kisslinux such as complains of control reaching the end of a non-void function. 2020-06-12T13:47:19 #kisslinux I wonder if it some files weren't generated properly? 0w0 2020-06-12T13:47:28 #kisslinux s/it/it's because/g 2020-06-12T13:49:49 #kisslinux ah 2020-06-12T13:50:07 #kisslinux libelf wasn't installed properly. 2020-06-12T13:50:16 #kisslinux reinstalling it fixed it. 2020-06-12T13:50:24 #kisslinux thanks anyway ;) 2020-06-12T13:51:50 #kisslinux Beat me to it 2020-06-12T13:56:42 #kisslinux I think it's enough for now... I need to rest... Jesus... its pretty difficult and shocking after Arch to come here!! Many things I do not know and I still need to do research... but it's like a challenge... and I accepted it! :) Next steps... keyboard layout and network from boot... I will keep you updated!! 2020-06-12T13:57:11 #kisslinux dilynm: Still, I'm glad you made me take a closer look at exactly what was undefined, it made me scan the source and figure out what was wrong :) 2020-06-12T13:57:23 #kisslinux I had initially assumed it was a compiler/toolchain issue 2020-06-12T13:57:33 #kisslinux I guess that's what happens when you make assumptions :) 2020-06-12T13:58:12 #kisslinux When things are undefined you generally just need to rebuild something or you're missing some library 2020-06-12T15:04:54 #kisslinux onodera: I can't reproduce. Send me output from kiss which shows this. 2020-06-12T15:05:11 #kisslinux Ah. 2020-06-12T15:05:16 #kisslinux I can reproduce. 2020-06-12T15:05:57 #kisslinux That's fine. 2020-06-12T15:06:01 #kisslinux It's just a message. 2020-06-12T15:12:06 #kisslinux onodera: Fixed here: https://github.com/kisslinux/kiss/commit/c6472156d760895302a8939550c76ec547086c72 2020-06-12T15:12:08 #kisslinux Thanks 2020-06-12T15:20:34 #kisslinux dylanaraps: kiss.1 is out of date (doesn't have d/download) 2020-06-12T15:20:53 #kisslinux Thanks 2020-06-12T15:23:40 #kisslinux Pushed the update to the repositories. 2020-06-12T15:23:42 #kisslinux Thanks 2020-06-12T15:24:29 #kisslinux Also I don't really know anything about manpage syntaxes but it seems to me that it's written in the man format, have you considered using mdoc? 2020-06-12T15:26:24 #kisslinux I'm going to drop the man page once I'm done with package-manager.txt (https://k1ss.org/package-manager) 2020-06-12T15:26:51 #kisslinux The documentation is then all in one place. (This txt file is installed to /usr/share/doc/kiss) 2020-06-12T15:28:53 #kisslinux @dylanar 2020-06-12T15:29:18 #kisslinux * @dylanaraps how come firefox takes so long to open on kiss? is there any workaround? 2020-06-12T15:29:34 #kisslinux ive tried both esr and normal binary packages 2020-06-12T15:50:48 #kisslinux It opens quick on my machine. 2020-06-12T15:50:57 #kisslinux Does it print anything to the terminal? 2020-06-12T15:51:01 #kisslinux Aw but manpages are such a good thing 2020-06-12T15:52:53 #kisslinux I'll also probably add a kiss- script called 'kiss help' which would open the txt file in $PAGER. 2020-06-12T15:55:37 #kisslinux Ah fair enough 2020-06-12T15:59:45 #kisslinux no it doesnt, it just takes 10 seconds to appear. only tested on my laptop tho 2020-06-12T16:02:17 #kisslinux Opens in 3~ seconds here (with an SSD) 2020-06-12T16:02:55 #kisslinux ah thats strange. im on an ssd as well 2020-06-12T16:03:24 #kisslinux Might be worthwhile running 'strace firefox' 2020-06-12T16:03:32 #kisslinux This may give us some insight as to what's going on. 2020-06-12T16:03:32 #kisslinux could be something to do with my kernel config perhaps, since it opens fast on other distros on the same laptop 2020-06-12T16:03:47 #kisslinux cheers for the advice, imma try that 2020-06-12T16:07:14 #kisslinux It seems to be slow on sendto with the local host as the address, with a poll call just after 2020-06-12T16:07:16 #kisslinux On my machine, Firefox tries to open 3127 different files during startup. 2020-06-12T16:07:31 #kisslinux 1111 fail to open as they don't exist. 2020-06-12T16:08:13 #kisslinux How did you count that? 2020-06-12T16:08:35 #kisslinux I did 'strace firefox >file 2>&1' and then used the following grep commands: 2020-06-12T16:08:47 #kisslinux Files in total: grep 'open(|stat(' ~/file | wc -l 2020-06-12T16:08:57 #kisslinux Not found: grep ENOENT ~/file | wc -l 2020-06-12T16:09:21 #kisslinux You could just do 'grep -c .....' actually. 2020-06-12T16:10:03 #kisslinux Yeah mine appears about the same 2020-06-12T16:10:30 #kisslinux 'strace -Z' may tell us something (print only syscalls that returned with an error code) 2020-06-12T16:10:47 #kisslinux 66 percent of time is spent on futex with 12 percent in poll 2020-06-12T16:11:07 #kisslinux Interesting 2020-06-12T16:11:37 #kisslinux I have a lot of lines containing: FUTEX_WAIT_PRIVATE 2020-06-12T16:11:39 #kisslinux You mean these? 2020-06-12T16:12:03 #kisslinux I got the summary with strace -c 2020-06-12T16:12:11 #kisslinux Ah 2020-06-12T16:12:31 #kisslinux When watching the output it freezes on poll tho 2020-06-12T16:12:39 #kisslinux > 22.81 0.012454 6227 2 wait4 2020-06-12T16:12:40 #kisslinux > 20.17 0.011013 1 7071 128 futex 2020-06-12T16:13:33 #kisslinux These are the top two for me. 2020-06-12T16:13:59 #kisslinux And my total: 100.00 0.054597 2 25282 1742 total 2020-06-12T16:14:01 #kisslinux Okay so my top one is usually poll, which gets called after sendto 2020-06-12T16:14:39 #kisslinux Have you tried safe mode? 2020-06-12T16:14:41 #kisslinux My total is twice that at 0.127, 4, 27922, 6579 2020-06-12T16:14:53 #kisslinux (--safe-mode) 2020-06-12T16:15:03 #kisslinux Its a fresh install and has happened across multiple different kiss installs 2020-06-12T16:16:28 #kisslinux Hm 2020-06-12T16:16:38 #kisslinux Do you have firefox-privacy installed? 2020-06-12T16:16:43 #kisslinux (I do for reference) 2020-06-12T16:17:30 #kisslinux No I dont, and I've tested ESR as well 2020-06-12T16:17:56 #kisslinux Let me try without it. 2020-06-12T16:18:16 #kisslinux Thanks 2020-06-12T16:18:25 #kisslinux > 31.31 0.013237 2 4911 brk 2020-06-12T16:18:30 #kisslinux > 20.17 0.011013 1 7071 128 futex 2020-06-12T16:18:39 #kisslinux > 100.00 0.054597 2 25282 1742 total 2020-06-12T16:19:02 #kisslinux Ah there's definitely something up with the poll call then 2020-06-12T16:19:11 #kisslinux > 0.10 0.000056 0 817 1 poll 2020-06-12T16:19:15 #kisslinux My poll for reference. 2020-06-12T16:19:33 #kisslinux Which FS are you using? I'm using EXT4. 2020-06-12T16:20:44 #kisslinux Ext4 as well 2020-06-12T16:20:50 #kisslinux It could be DNS? https://bugzilla.mozilla.org/show_bug.cgi?id=1189705#c8 2020-06-12T16:21:23 #kisslinux Try adding this to /etc/hosts (if it isn't already there): 127.0.0.1localhost.localdomainlocalhost 2020-06-12T16:21:42 #kisslinux Ah. Hang on. Tabs were dropped when I pasted. 2020-06-12T16:21:53 #kisslinux > 127.0.0.1 localhost.localdomain localhost 2020-06-12T16:22:14 #kisslinux ipv6: ::1localhost.localdomain localhost ip6-localhost 2020-06-12T16:22:22 #kisslinux Thank you so much, passing KISS to the hosts file fixed it :) 2020-06-12T16:22:30 #kisslinux *adding 2020-06-12T16:22:33 #kisslinux > ::1 localhost.localdomain localhost ip6-localhost 2020-06-12T16:22:41 #kisslinux Awesome. Will document this somewhere. 2020-06-12T16:23:28 #kisslinux ::1 localhost.localdomain loca"> That was already there, I bad to add 127.0.0.1 KISS.localdomain KIDS 2020-06-12T16:23:35 #kisslinux Ah 2020-06-12T16:23:54 #kisslinux Firefox was looking for KISS rather than localhost 2020-06-12T16:24:04 #kisslinux Interestingly, the default /etc/hosts file contains the line you just added. 2020-06-12T16:24:53 #kisslinux It's also fine in the chroot tarball. 2020-06-12T16:25:11 #kisslinux I wonder why it was left off of yours. Do you have anything installed which writes to /etc/hosts? 2020-06-12T16:25:31 #kisslinux Oh, that's strange. I'd didnt modify anything, this is literally a fresh install 2020-06-12T16:25:41 #kisslinux Not that I'm aware of 2020-06-12T16:25:59 #kisslinux What are you using for network? 2020-06-12T16:26:33 #kisslinux I use ifconfig to up the Ethernet and manually run dhcpcd, I haven't installed any other network things 2020-06-12T16:26:43 #kisslinux Alrighty 2020-06-12T16:26:50 #kisslinux Will see if dhcpcd touches it at all. 2020-06-12T16:27:03 #kisslinux Cool 2020-06-12T16:28:11 #kisslinux Nope. I can't see anything in its source code related to the hosts file. 2020-06-12T16:29:05 #kisslinux oh right, thats strange tho. because that must mean the hosts file changed on my previous kiss install as well 2020-06-12T16:29:41 #kisslinux Yes 2020-06-12T16:29:53 #kisslinux Root permissions are needed to modify it as well. What do you have running as root? 2020-06-12T16:30:39 #kisslinux Do you recall which tarball version you used to install KISS? 2020-06-12T16:30:49 #kisslinux whatevers on the wiki 2020-06-12T16:31:06 #kisslinux the only thing i can think of is openssh, but i doubt that touched it 2020-06-12T16:31:09 #kisslinux Did you install KISS prior to May 11? 2020-06-12T16:31:45 #kisslinux nope yesterday, and the previous install was about 3 months ago id say 2020-06-12T16:31:52 #kisslinux Alright 2020-06-12T16:32:06 #kisslinux The current tarball does contain the full file so we can rule a tarball issue out. 2020-06-12T16:33:18 #kisslinux my default hosts looked like this 2020-06-12T16:33:20 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/amICDHrAAFvsZePXaJGNHAqQ > 2020-06-12T16:33:36 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/MylyCnsmmvpuNtJouCmfrLVi > 2020-06-12T16:33:40 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/acvBaVXueicRXhJEzCiQKZlg > 2020-06-12T16:34:36 #kisslinux What will be telling is if it reverts back to being incomplete. 2020-06-12T16:35:00 #kisslinux Try restarting sshd (you said you're using openssh) maybe? 2020-06-12T16:35:20 #kisslinux i doubt it will because i have no services enabled, i just needed ssh for the window manager 2020-06-12T16:35:27 #kisslinux Ah 2020-06-12T16:35:35 #kisslinux https://bin.snopyta.org/?fc807d3c828b8cc7#BU2iPmoBKpmwqzXxH4WJYPfwR73yj6v1dr89BiogjDPC 2020-06-12T16:35:41 #kisslinux thats a list of installed packages 2020-06-12T16:36:00 #kisslinux actually wpa supplicant is installed as well i didnt realise 2020-06-12T16:37:44 #kisslinux Can't find anything in the source code of dhcpcd, wpa_supplicant, openssh, busybox, etc. 2020-06-12T16:39:07 #kisslinux deleting /etc/hosts and reinstalling baselayout results in a hosts file without KISS in it 2020-06-12T16:39:55 #kisslinux Actually... We don't know for certain that the slowness in your other KISS installs was caused by the same issue do we? 2020-06-12T16:40:36 #kisslinux yeah im fairly certain because it was always just firefox, otherwise its by far the fastest system ive used 2020-06-12T16:40:50 #kisslinux specifically just firefox opening 2020-06-12T16:41:04 #kisslinux Right 2020-06-12T16:41:22 #kisslinux We just need to figure out what caused the file to be incomplete. 2020-06-12T16:41:37 #kisslinux https://github.com/kisslinux/repo/blob/master/core/baselayout/files/hosts 2020-06-12T16:41:43 #kisslinux is that not intended? 2020-06-12T16:42:06 #kisslinux Yeah. That's what the file should contain. 2020-06-12T16:42:17 #kisslinux Mine matches this exactly. 2020-06-12T16:42:50 #kisslinux yeah same, but the firefox issue was resolved by replacing "localhost" with "KISS" 2020-06-12T16:43:02 #kisslinux Oh. 2020-06-12T16:43:11 #kisslinux I see 2020-06-12T16:43:27 #kisslinux What's your hostname? 2020-06-12T16:43:33 #kisslinux KISS 2020-06-12T16:43:47 #kisslinux yeah my hostname is KISS 2020-06-12T16:44:11 #kisslinux I mean like, where did you specify it 2020-06-12T16:44:26 #kisslinux Do you have an /etc/hostname? 2020-06-12T16:44:36 #kisslinux Nope 2020-06-12T16:44:53 #kisslinux no i dont actually, the command hostname returns KISS 2020-06-12T16:45:03 #kisslinux Did you define it in your kernel config 2020-06-12T16:45:22 #kisslinux The init defines it during startup (if unset). 2020-06-12T16:45:33 #kisslinux oh shit good point 2020-06-12T16:45:42 #kisslinux 'KISS' is the fallback if /etc/hostname doesn't exist. 2020-06-12T16:46:07 #kisslinux My kernel: CONFIG_DEFAULT_HOSTNAME="(none)" 2020-06-12T16:46:15 #kisslinux CONFIG_DEFAULT_HOSTNAME="(none)" 2020-06-12T16:46:17 #kisslinux yeah 2020-06-12T16:46:49 #kisslinux So, we both have the same default hostname '(none)' and we both _don't_ have /etc/hostname defined? 2020-06-12T16:47:16 #kisslinux yep 2020-06-12T16:47:19 #kisslinux I'm using eiwd for networking though wpa_supplicant/dhcpcd also work perfectly fine. 2020-06-12T16:47:31 #kisslinux same here 2020-06-12T16:47:47 #kisslinux I defined my hostname as KISSbox, don't have an /etc/hostname, and do not have this problem with a 'default' /etc/hosts 2020-06-12T16:48:50 #kisslinux that makes it seem like its specific to something of mine then, maybe something in the kernel config 2020-06-12T16:48:53 #kisslinux djt3[m]1: You mentioned ifconfig, how did you configure your interface exactly? 2020-06-12T16:49:06 #kisslinux ifconfig enp0s31f6 up 2020-06-12T16:49:19 #kisslinux Thanks 2020-06-12T16:49:20 #kisslinux and then dhcpcd enp0s31f6 2020-06-12T16:49:24 #kisslinux Yeah 2020-06-12T16:49:32 #kisslinux I doubt this caused the issue then. 2020-06-12T16:49:44 #kisslinux thats strange then 2020-06-12T16:49:53 #kisslinux it also does it offline with no network interfaces up 2020-06-12T16:50:30 #kisslinux Actually. ifconfig may read /etc/hosts. Let me look into this. 2020-06-12T16:52:05 #kisslinux kk 2020-06-12T16:52:16 #kisslinux I wonder if creating /etc/hostname and populating it with 'KISS' will fix the issue. 2020-06-12T16:53:27 #kisslinux Il l try 2020-06-12T16:53:55 #kisslinux No it doesnt 2020-06-12T16:55:56 #kisslinux OK so I found the problem, its looking up KISS.lan on my DNS server, and it waits for a reply, so adding KISS to the hosts file stops it 2020-06-12T16:56:48 #kisslinux Ah 2020-06-12T16:58:02 #kisslinux 'hostname -f' gives me: hostname: KISS: Host not found 2020-06-12T16:58:34 #kisslinux Try rebooting after creating /etc/hostname. 2020-06-12T16:58:59 #kisslinux If this solves the issue I'll change the init to populate /etc/hostname with 'KISS' if it doesn't exist. 2020-06-12T16:59:02 #kisslinux Ok 2020-06-12T17:01:49 #kisslinux OK so it seems to be working now when my internet is connected. Does your Firefox load slow if you are disconnected? 2020-06-12T17:02:39 #kisslinux Good question. 2020-06-12T17:03:09 #kisslinux brb 2020-06-12T17:03:12 #kisslinux It might be something to do with me using my own DNS server 2020-06-12T17:04:08 #kisslinux Huzzah! 2020-06-12T17:04:17 #kisslinux It loads slowly with no network connected. 2020-06-12T17:04:29 #kisslinux connection* 2020-06-12T17:04:34 #kisslinux Okay so its trying to lookup the hostname on the DNS server 2020-06-12T17:04:38 #kisslinux Yup 2020-06-12T17:04:48 #kisslinux And unbound is slow so it slows down firefox 2020-06-12T17:04:48 #kisslinux It should be resolving locally though. 2020-06-12T17:05:15 #kisslinux It isn't it calls sendto 192.168.1.10 my DNS server 2020-06-12T17:05:56 #kisslinux Noon question but is DNS cached on kiss by default 2020-06-12T17:05:57 #kisslinux What I mean is that it should be properly set in /etc/hosts so that it never reaches the DNS server. 2020-06-12T17:06:18 #kisslinux Yup sounds like it 2020-06-12T17:06:40 #kisslinux KISS doesn't cache DNS by default (KISS does hardly anything by default). 2020-06-12T17:07:18 #kisslinux Ah thought so, it must be unbound caching it the 2020-06-12T17:07:19 #kisslinux Then 2020-06-12T17:07:29 #kisslinux OK 2020-06-12T17:07:42 #kisslinux This works for me: https://termbin.com/i4c7 2020-06-12T17:08:18 #kisslinux yep that's what fixed it for me 2020-06-12T17:08:29 #kisslinux 'hostname -f' then works as well. 2020-06-12T17:08:35 #kisslinux You can see it looking it up if you strace to a file and search for your DNS server 2020-06-12T17:08:42 #kisslinux Right 2020-06-12T17:08:46 #kisslinux Great glad we sorted that 2020-06-12T17:09:14 #kisslinux So. This is a simple configuration issue. Will add a hostname section to the installation guide about setting both /etc/hostname and /etc/hosts correctly. 2020-06-12T17:09:49 #kisslinux Perhaps change the hosts file from local host to $HOSTNAME would be better? 2020-06-12T17:10:17 #kisslinux I was thinking that. Do you mean in an automated way? 2020-06-12T17:11:01 #kisslinux Yeah 2020-06-12T17:12:48 #kisslinux Arch seem to do it manually: https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution 2020-06-12T17:13:12 #kisslinux I'll look at my arch install now 2020-06-12T17:13:49 #kisslinux I'm reluctant to touch /etc/hosts as this has the potential to break things if the automation fails. Hm 2020-06-12T17:14:14 #kisslinux Actually my arch install also seems to look it up tf 2020-06-12T17:14:33 #kisslinux it was a somewhat recent change to the install guide on arch 2020-06-12T17:14:41 #kisslinux Ah 2020-06-12T17:14:54 #kisslinux But it works fine when there is no network 2020-06-12T17:15:03 #kisslinux Interesting 2020-06-12T17:15:19 #kisslinux btw In my arch chroot firefox opens instantly 2020-06-12T17:15:30 #kisslinux the chroot doesn't have anything in the /etc/hosts file 2020-06-12T17:16:13 #kisslinux yeah my arch just has a brave domain in there which i have no idea how it ended up there since i dont use brave browser 2020-06-12T17:17:43 #kisslinux actually, my arch doesnt look up the dns when connecting, it just says recvfrom 2020-06-12T17:17:54 #kisslinux Alpine don't seem have you set /etc/hosts for ipv4 at all: https://wiki.alpinelinux.org/wiki/Configure_Networking#Setting_System_Hostname 2020-06-12T17:17:55 #kisslinux * actually, my arch doesnt sendto up the dns when connecting, it just says recvfrom 2020-06-12T17:17:59 #kisslinux * actually, my arch doesnt sendto the dns when connecting, it just says recvfrom 2020-06-12T17:18:18 #kisslinux 1 sec 2020-06-12T17:18:20 #kisslinux how long does it take to open firefox now? 2020-06-12T17:18:53 #kisslinux no time 2020-06-12T17:18:57 #kisslinux actually i have an idea 2020-06-12T17:21:05 #kisslinux nevermind, even if /etc/resolv.conf is empty it seems to try to look it up at 127.0.0.1 2020-06-12T17:21:09 #kisslinux > They must begin 2020-06-12T17:21:09 #kisslinux with an alphabetic character and end with an alphanumeric character. 2020-06-12T17:21:09 #kisslinux Optional aliases provide for name changes, alternate spellings, 2020-06-12T17:21:09 #kisslinux shorter hostnames, or generic hostnames (for example, localhost) 2020-06-12T17:21:13 #kisslinux https://man7.org/linux/man-pages/man5/hosts.5.html 2020-06-12T17:21:27 #kisslinux Seems to suggest that 'localhost' should be handled as an alias to hostname? 2020-06-12T17:21:38 #kisslinux Apologies for dodgy paste. 2020-06-12T17:22:01 #kisslinux It's not exactly clear is it? 2020-06-12T17:22:09 #kisslinux killall firefox 2020-06-12T17:22:36 #kisslinux that website freezes my firefox 2020-06-12T17:23:04 #kisslinux nevermind it was just riot 2020-06-12T17:25:47 #kisslinux I think we just recommened that users make this change in the installation guide. 2020-06-12T17:26:16 #kisslinux Some distributions seem to follow our current "default" (Alpine, Void) 2020-06-12T17:26:53 #kisslinux yeah guess so 2020-06-12T17:27:23 #kisslinux I'll make mention that the same steps are required any time the hostname is changed as well. 2020-06-12T17:28:28 #kisslinux Its been a while since I used void but I remember it taking a long time for firefox to open as well 2020-06-12T17:29:18 #kisslinux ah, just a sidenote running "ping localhost" on arch still contacts the dns server 2020-06-12T17:29:43 #kisslinux It seems like having a FQDN isn't a mandatory requirement as some distributions don't set it up at all. 2020-06-12T17:30:21 #kisslinux same with pinging the hostname 2020-06-12T17:30:31 #kisslinux so it looks like its a firefox problem then? 2020-06-12T17:30:42 #kisslinux * so it looks like its a firefox with KISS problem then? 2020-06-12T17:31:56 #kisslinux actually idk 2020-06-12T17:32:04 #kisslinux Possibly. I could only reproduce when I had no network. Setting a FQDN fixes it entirely. 2020-06-12T17:34:22 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/TNyHXqDldsMDLCmZFZLcOjCI > 2020-06-12T17:35:12 #kisslinux thats from arch with my network connected, on kiss it goes to (rather than NULL) 127.0.0.1 if disconnected or 192.168.1.10 (my dns server) when connected 2020-06-12T17:35:15 #kisslinux so i think its a dns problem then 2020-06-12T17:45:00 #kisslinux Added a section to the install guide: https://k1ss.org/install#6.0 2020-06-12T17:45:37 #kisslinux (Already pushed a commit for the broken boxes) 2020-06-12T17:45:55 #kisslinux cool, but is there not a deeper problem, why would arch not be pinging the dns server with the hostname 2020-06-12T17:47:45 #kisslinux Is this not simply related to not having an FQDN? What is Arch's default hosts file? 2020-06-12T17:47:57 #kisslinux empty 2020-06-12T17:48:33 #kisslinux when i set the hostname in /etc/hosts on kiss there are no sendto calls in the strace output 2020-06-12T17:48:41 #kisslinux so something must be different 2020-06-12T17:49:04 #kisslinux Firefox uses NSS for DNS right? 2020-06-12T17:49:25 #kisslinux idk 2020-06-12T17:49:58 #kisslinux What happens in KISS with an empty hosts file? 2020-06-12T17:50:01 #kisslinux Does it match Arch? 2020-06-12T17:50:10 #kisslinux good question 2020-06-12T17:51:15 #kisslinux when i do the same host file structure in arch (127.0.0.1 HOSTNAME) there are no sendto calls 2020-06-12T17:52:44 #kisslinux okay so heres stuff: 2020-06-12T17:53:34 #kisslinux with empty hosts it lags 1-2 seconds 2020-06-12T17:53:37 #kisslinux Do you have a local DNS server running on Arch? 2020-06-12T17:53:45 #kisslinux with my hostname in the hosts file its instant 2020-06-12T17:54:01 #kisslinux its also instant in the arch chroot with no hosts file 2020-06-12T17:54:18 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/UkXgVmDjODAkhHvTcUrLbkbt > 2020-06-12T17:54:30 #kisslinux no, its on the lan 2020-06-12T17:54:42 #kisslinux * djt3[m]1 sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/alepVYCVIqHHKowrFPafLuSu > 2020-06-12T17:55:00 #kisslinux ssize_t sendto(int sockfd, const void *buf, size_t len, int flags, 2020-06-12T17:55:00 #kisslinux const struct sockaddr *dest_addr, socklen_t addrlen); 2020-06-12T17:55:26 #kisslinux buf contains the hostname and dest_addr is the dns server on kiss and NULL on arch 2020-06-12T17:55:36 #kisslinux This may be telling: https://wiki.musl-libc.org/functional-differences-from-glibc.html#Name-Resolver/DNS 2020-06-12T17:57:38 #kisslinux why would arch sendto null tho 2020-06-12T17:58:06 #kisslinux Hm 2020-06-12T17:58:52 #kisslinux ah ill check for this "The send() function is equivalent to sendto() with a null pointer dest_len argument" 2020-06-12T18:01:21 #kisslinux nevermind there are never any send calls 2020-06-12T18:14:13 #kisslinux Hello again guys! I don’t know why but I decided to install Kiss alongside my Arch installation. I have downloaded the files, chroot into the folder and inside internet works but not the dns... but outside chroot everything works fine! Olegario I have dije wrong??! 2020-06-12T18:14:56 #kisslinux What I have done wrong? * 2020-06-12T18:17:47 #kisslinux did you copy /etc/resolv.conf 2020-06-12T18:18:16 #kisslinux No... damn I miss that!! 2020-06-12T18:18:21 #kisslinux Sorry 2020-06-12T18:19:20 #kisslinux are you using the kiss-chroot script to enter the chroot? It will deal with these kinds of issues for you 2020-06-12T18:20:19 #kisslinux Yes I do; I did the installation this afternoon in a vm and it worked fine (with help :)) but now I decided to give it a go in my real hardware from my current arch installation 2020-06-12T18:24:14 #kisslinux Maybe is because my current arch has the network through systemd-networkd? 2020-06-12T18:25:57 #kisslinux works fine from an existing artix install with networkmanager for the network 2020-06-12T18:26:15 #kisslinux just to clarify did you do ./kiss-chroot /mnt 2020-06-12T18:26:42 #kisslinux I did ./kiss-chroot/mint/kiss 2020-06-12T18:27:30 #kisslinux ./kiss-chroot /mnt/kiss 2020-06-12T18:27:36 #kisslinux not sure then, make an artix bootable usb and try it if you cant get it working 2020-06-12T18:28:04 #kisslinux i doubt it would make a difference tho 2020-06-12T18:28:10 #kisslinux Sure I will do that :) I thought I could do it from arch but no problem :) thanks a lot! 2020-06-12T18:28:53 #kisslinux yeah you should be able to but i know for a fact it works from artix, usb and installed 2020-06-12T18:29:22 #kisslinux Just wondering... can it be because my current arch installation has an empty /etc/resolv.conf? (I’m saying on memory as I’m away from my computer now) 2020-06-12T18:32:06 #kisslinux That would probably do it 2020-06-12T18:32:53 #kisslinux I will do some testing and let you know later :) much appreciated your support! 2020-06-12T18:41:31 #kisslinux You never realize just how much you appreciate being able to easily remap keys until you have to he a corporate laptop running Windows 2020-06-12T18:41:41 #kisslinux The escape key is so far away :'( 2020-06-12T18:42:22 #kisslinux How do I set the format of the date command? 2020-06-12T18:43:15 #kisslinux Busybox doesn't seem to support things like `Y-%m-%d` and `date -D YYYY-MM-DD` doesn't work either 2020-06-12T18:44:16 #kisslinux you need a + before the format and %Y not Y 2020-06-12T18:44:52 #kisslinux date +%Y-%m-%d works 2020-06-12T18:45:36 #kisslinux I had the +, just didn't paste it in. And oh! Not sure how I missed that haha 2020-06-12T18:46:20 #kisslinux still doesn't document the existence of those... Doesn't seem to have a manpage so there's no help beyond date --help? 2020-06-12T18:46:35 #kisslinux https://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html 2020-06-12T18:46:55 #kisslinux it uses the strptime format so those options should work 2020-06-12T18:47:23 #kisslinux man strptime will also work if you have man-pages installed 2020-06-12T18:48:38 #kisslinux Oh, it does say "Use FMT (strptime format)". That meant nothing to me at the time so I didn't pay attention to it, thanks for the help! 2020-06-12T18:49:10 #kisslinux Must not have the man page available though, getting "man: No entry for strptime in the manual." 2020-06-12T18:49:16 #kisslinux mandoc is installed 2020-06-12T18:55:53 #kisslinux you also need to install the man-pages package from community 2020-06-12T18:57:53 #kisslinux mandoc just provides the macro language tools for mdoc, man-pages and man-pages-posix are needed to install the actual l files that you want to read 2020-06-12T18:58:56 #kisslinux Makes sense! Installing both of those now 2020-06-12T19:48:33 #kisslinux https://k1ss.org/wiki/software/man-pages 2020-06-12T19:48:46 #kisslinux And now it's documented. ;) 2020-06-12T19:55:52 #kisslinux :) 2020-06-12T19:56:37 #kisslinux by the way if there is anything i can do to help the KISS project just let me know, i have too much spare time. i mainly know c / c++ but im sure i could help with other stuff 2020-06-12T20:18:47 #kisslinux nice. a good one considering the subject has come up 2-3 times this week. 2020-06-12T20:58:06 #kisslinux Hello again! I'm back on my computer and now I have resolved the problem with the network. In case someone has the same problem, if installing from Arch using systemd-networkd and systemd-resolved the /etc/resolv.conf is empty and when doing kiss-chroot DNS will not work (but you can ping to 8.8.8.8 or any other IP) 2020-06-12T21:04:24 #kisslinux djt3[m]1: Will do! Thanks :) 2020-06-12T21:04:37 #kisslinux :) 2020-06-12T21:04:49 #kisslinux mcpcpc[m]: Exactly 2020-06-12T21:05:06 #kisslinux Anyone know of an opensource font that provides Egyptian hieroglyphics? All I can find is https://dn-works.com/ufas/ which doesn't appear to have an actual license 2020-06-12T21:13:10 #kisslinux GNU unifont is very extensive iirc. 2020-06-12T21:15:27 #kisslinux himmalerin: just curious, what do you use a hieroglyphic font for? 2020-06-12T21:18:34 #kisslinux dylanaraps: I'll take a look, thanks for the suggestion! 2020-06-12T21:19:12 #kisslinux ectlunya: Nothing, I just don't like seeing the unicode squares instead of what they're supposed to be when browsing around the internet 2020-06-12T21:29:12 #kisslinux Pushed a new package manager release which includes kiss-help (usable as 'kiss h' or 'kiss help'). This allows you to browse the documentation offline Examples: 'kiss help wiki/software/vim', 'kiss help install', 'kiss help package-manager'.. 2020-06-12T21:29:28 #kisslinux This will use $PAGER as well 2020-06-12T21:29:58 #kisslinux nice. 2020-06-12T21:30:24 #kisslinux Yeah 2020-06-12T21:30:33 #kisslinux Thanks! help is always welcome :) Happy to see this project as active! 2020-06-12T21:31:10 #kisslinux "Where are the man pages?" -> "Read: kiss help wiki/software/man-pages" 2020-06-12T21:31:23 #kisslinux Will be really handy 2020-06-12T21:32:07 #kisslinux I'll release a new chroot tarball tomorrow as well. This enables those installing KISS to run 'kiss help install' to have the guide right in front of them. 2020-06-12T21:32:55 #kisslinux much appreciated :) 2020-06-12T21:35:38 #kisslinux No luck with Gnu Unifont unfortunately, it's a nice bitmap-y font but doesn't cover hieroglyphs