💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-06-12.txt captured on 2021-12-17 at 13:26:06.

View Raw

More Information

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

2020-06-12T01:16:21 #kisslinux <Crestwave> dylan: Is there any reason to use `read -N1` over `read -d '' -n1`?
2020-06-12T01:24:17 #kisslinux <spacehare> my wifi interface (wlp2s0) isn't showing up in the output of `ip l`.
2020-06-12T01:24:23 #kisslinux <spacehare> any idea what might be the issue?
2020-06-12T01:24:36 #kisslinux <spacehare> I already have linux-firmware installed.
2020-06-12T01:25:02 #kisslinux <spacehare> And I'm pretty sure all the appropriate kernel stuff was compiled in.
2020-06-12T01:27:46 #kisslinux <E5ten> Crestwave: I can't think of one
2020-06-12T01:46:49 #kisslinux <mcpcpc[m]> spacehare: did you check dmesg for errors?
2020-06-12T02:00:38 #kisslinux <spacehare> I did, I didn't see anything suspicious.
2020-06-12T02:13:35 #kisslinux <konimex1> did you install the wifi kernel driver as module or baked in?
2020-06-12T02:14:02 #kisslinux <konimex1> something such as iwlwifi might need to be compiled as module, and manually modprobed
2020-06-12T02:14:33 #kisslinux <konimex1> 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 <dilynm> What does Networking Support>Wireless say is enabled?
2020-06-12T05:01:10 #kisslinux <dylanaraps> o/
2020-06-12T05:01:41 #kisslinux <KuchiKuu> o7 Ai Ai Captain!
2020-06-12T05:08:02 #kisslinux <dylanaraps> New package manager release: https://github.com/kisslinux/kiss/releases/tag/3.0.0
2020-06-12T09:57:49 #kisslinux <claudia02> hola
2020-06-12T10:08:50 #kisslinux <lhoqvso> Hello everyone :)
2020-06-12T10:10:01 #kisslinux <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> 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 <djt3[m]1> kernel panic with arch or kiss?
2020-06-12T10:13:39 #kisslinux <lhoqvso> with kiss in the KVM
2020-06-12T10:14:16 #kisslinux <djt3[m]1> did you make an fstab file? does it say failed to mount unknown block?
2020-06-12T10:14:48 #kisslinux <lhoqvso> Yes it says unable to mount root fs on unknown-block (0,0)
2020-06-12T10:15:01 #kisslinux <lhoqvso> But I did the fstab file... maybe wrong XD
2020-06-12T10:15:13 #kisslinux <djt3[m]1> no thats not it
2020-06-12T10:15:30 #kisslinux <djt3[m]1> you are missing drivers for your disk drive, make sure the required ones are enabled
2020-06-12T10:16:03 #kisslinux <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> 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 <djt3[m]1> sure is a good way to lean :)
2020-06-12T10:23:57 #kisslinux <lhoqvso> compiling kernel... I'm even excited:D
2020-06-12T10:38:53 #kisslinux <lhoqvso> 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 <djt3[m]1> hmm thats strange
2020-06-12T10:40:27 #kisslinux <lhoqvso> 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 <djt3[m]1> you sure you dont need to build in some firmware or something?
2020-06-12T10:42:24 #kisslinux <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> no... but I'm doing it now :)  I will read this carefully
2020-06-12T10:44:06 #kisslinux <lhoqvso> thanks a lot for your help
2020-06-12T10:48:29 #kisslinux <djt3[m]1> no problem, hope you enjoy using kiss
2020-06-12T10:51:54 #kisslinux <lhoqvso> I do not know still why... why I really do!
2020-06-12T10:52:26 #kisslinux <djt3[m]1> 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 <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> 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 <djt3[m]1> 🙂 glad to have helped
2020-06-12T11:55:49 #kisslinux <onodera> every package I unstall now prints `Converted all conflicts to choices (kiss a)`
2020-06-12T11:55:54 #kisslinux <onodera> even when there are no conflicts
2020-06-12T11:56:00 #kisslinux <onodera> @ dylan
2020-06-12T11:56:10 #kisslinux <spacehare> does anyone else have issues building kernel 5.4?
2020-06-12T11:56:16 #kisslinux <spacehare> I keep getting syntax errors.
2020-06-12T11:56:26 #kisslinux <spacehare> (with allyesconfig)
2020-06-12T11:57:01 #kisslinux <spacehare> stuff like "XXX undefined", etc.
2020-06-12T12:26:45 #kisslinux <dilynm> What specifically is undefined?
2020-06-12T13:16:15 #kisslinux <djt3[m]1> has anyone got luke smiths dwm build to work on kiss?
2020-06-12T13:44:37 #kisslinux <spacehare> dilynm: mostly stuff from "arch/x86/../../elf.h", e.g. `GElf_Shdr'
2020-06-12T13:44:51 #kisslinux <spacehare> there are a few other errors
2020-06-12T13:45:01 #kisslinux <spacehare> such as complains of control reaching the end of a non-void function.
2020-06-12T13:47:19 #kisslinux <spacehare> I wonder if it some files weren't generated properly? 0w0
2020-06-12T13:47:28 #kisslinux <spacehare> s/it/it's because/g
2020-06-12T13:49:49 #kisslinux <spacehare> ah
2020-06-12T13:50:07 #kisslinux <spacehare> libelf wasn't installed properly.
2020-06-12T13:50:16 #kisslinux <spacehare> reinstalling it fixed it.
2020-06-12T13:50:24 #kisslinux <spacehare> thanks anyway ;)
2020-06-12T13:51:50 #kisslinux <dilynm> Beat me to it
2020-06-12T13:56:42 #kisslinux <lhoqvso> 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 <spacehare> 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 <spacehare> I had initially assumed it was a compiler/toolchain issue
2020-06-12T13:57:33 #kisslinux <spacehare> I guess that's what happens when you make assumptions :)
2020-06-12T13:58:12 #kisslinux <dilynm> When things are undefined you generally just need to rebuild something or you're missing some library
2020-06-12T15:04:54 #kisslinux <dylanaraps> onodera: I can't reproduce. Send me output from kiss which shows this.
2020-06-12T15:05:11 #kisslinux <dylanaraps> Ah.
2020-06-12T15:05:16 #kisslinux <dylanaraps> I can reproduce.
2020-06-12T15:05:57 #kisslinux <dylanaraps> That's fine.
2020-06-12T15:06:01 #kisslinux <dylanaraps> It's just a message.
2020-06-12T15:12:06 #kisslinux <dylanaraps> onodera: Fixed here: https://github.com/kisslinux/kiss/commit/c6472156d760895302a8939550c76ec547086c72
2020-06-12T15:12:08 #kisslinux <dylanaraps> Thanks
2020-06-12T15:20:34 #kisslinux <E5ten> dylanaraps: kiss.1 is out of date (doesn't have d/download)
2020-06-12T15:20:53 #kisslinux <dylanaraps> Thanks
2020-06-12T15:23:40 #kisslinux <dylanaraps> Pushed the update to the repositories.
2020-06-12T15:23:42 #kisslinux <dylanaraps> Thanks
2020-06-12T15:24:29 #kisslinux <E5ten> 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 <dylanaraps> 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 <dylanaraps> The documentation is then all in one place. (This txt file is installed to /usr/share/doc/kiss)
2020-06-12T15:28:53 #kisslinux <djt3[m]1> @dylanar
2020-06-12T15:29:18 #kisslinux <djt3[m]1>  * @dylanaraps how come firefox takes so long to open on kiss? is there any workaround?
2020-06-12T15:29:34 #kisslinux <djt3[m]1> ive tried both esr and normal binary packages
2020-06-12T15:50:48 #kisslinux <dylanaraps> It opens quick on my machine.
2020-06-12T15:50:57 #kisslinux <dylanaraps> Does it print anything to the terminal?
2020-06-12T15:51:01 #kisslinux <E5ten> Aw but manpages are such a good thing
2020-06-12T15:52:53 #kisslinux <dylanaraps> 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 <E5ten> Ah fair enough
2020-06-12T15:59:45 #kisslinux <djt3[m]1> <dylanaraps "Does it print anything to the te"> no it doesnt, it just takes 10 seconds to appear. only tested on my laptop tho
2020-06-12T16:02:17 #kisslinux <dylanaraps> Opens in 3~ seconds here (with an SSD)
2020-06-12T16:02:55 #kisslinux <djt3[m]1> ah thats strange. im on an ssd as well
2020-06-12T16:03:24 #kisslinux <dylanaraps> Might be worthwhile running 'strace firefox'
2020-06-12T16:03:32 #kisslinux <dylanaraps> This may give us some insight as to what's going on.
2020-06-12T16:03:32 #kisslinux <djt3[m]1> 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 <djt3[m]1> cheers for the advice, imma try that
2020-06-12T16:07:14 #kisslinux <djt3[m]1> 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 <dylanaraps> On my machine, Firefox tries to open 3127 different files during startup.
2020-06-12T16:07:31 #kisslinux <dylanaraps> 1111 fail to open as they don't exist.
2020-06-12T16:08:13 #kisslinux <djt3[m]1> How did you count that?
2020-06-12T16:08:35 #kisslinux <dylanaraps> I did 'strace firefox >file 2>&1' and then used the following grep commands:
2020-06-12T16:08:47 #kisslinux <dylanaraps> Files in total: grep 'open(|stat(' ~/file | wc -l
2020-06-12T16:08:57 #kisslinux <dylanaraps> Not found:  grep ENOENT ~/file | wc -l
2020-06-12T16:09:21 #kisslinux <dylanaraps> You could just do 'grep -c .....' actually.
2020-06-12T16:10:03 #kisslinux <djt3[m]1> Yeah mine appears about the same
2020-06-12T16:10:30 #kisslinux <dylanaraps> 'strace -Z' may tell us something (print only syscalls that returned with an error code)
2020-06-12T16:10:47 #kisslinux <djt3[m]1> 66 percent of time is spent on futex with 12 percent in poll
2020-06-12T16:11:07 #kisslinux <dylanaraps> Interesting
2020-06-12T16:11:37 #kisslinux <dylanaraps> I have a lot of lines containing: FUTEX_WAIT_PRIVATE
2020-06-12T16:11:39 #kisslinux <dylanaraps> You mean these?
2020-06-12T16:12:03 #kisslinux <djt3[m]1> I got the summary with strace -c
2020-06-12T16:12:11 #kisslinux <dylanaraps> Ah
2020-06-12T16:12:31 #kisslinux <djt3[m]1> When watching the output it freezes on poll tho
2020-06-12T16:12:39 #kisslinux <dylanaraps> > 22.81    0.012454        6227         2           wait4
2020-06-12T16:12:40 #kisslinux <dylanaraps> > 20.17    0.011013           1      7071       128 futex
2020-06-12T16:13:33 #kisslinux <dylanaraps> These are the top two for me.
2020-06-12T16:13:59 #kisslinux <dylanaraps> And my total: 100.00    0.054597           2     25282      1742 total
2020-06-12T16:14:01 #kisslinux <djt3[m]1> Okay so my top one is usually poll, which gets called after sendto
2020-06-12T16:14:39 #kisslinux <dylanaraps> Have you tried safe mode?
2020-06-12T16:14:41 #kisslinux <djt3[m]1> My total is twice that at 0.127, 4, 27922, 6579
2020-06-12T16:14:53 #kisslinux <dylanaraps> (--safe-mode)
2020-06-12T16:15:03 #kisslinux <djt3[m]1> Its a fresh install and has happened across multiple different kiss installs
2020-06-12T16:16:28 #kisslinux <dylanaraps> Hm
2020-06-12T16:16:38 #kisslinux <dylanaraps> Do you have firefox-privacy installed?
2020-06-12T16:16:43 #kisslinux <dylanaraps> (I do for reference)
2020-06-12T16:17:30 #kisslinux <djt3[m]1> No I dont, and I've tested ESR as well
2020-06-12T16:17:56 #kisslinux <dylanaraps> Let me try without it.
2020-06-12T16:18:16 #kisslinux <djt3[m]1> Thanks
2020-06-12T16:18:25 #kisslinux <dylanaraps> >  31.31    0.013237           2      4911           brk
2020-06-12T16:18:30 #kisslinux <dylanaraps> > 20.17    0.011013           1      7071       128 futex
2020-06-12T16:18:39 #kisslinux <dylanaraps> > 100.00    0.054597           2     25282      1742 total
2020-06-12T16:19:02 #kisslinux <djt3[m]1> Ah there's definitely something up with the poll call then
2020-06-12T16:19:11 #kisslinux <dylanaraps> >   0.10    0.000056           0       817         1 poll
2020-06-12T16:19:15 #kisslinux <dylanaraps> My poll for reference.
2020-06-12T16:19:33 #kisslinux <dylanaraps> Which FS are you using? I'm using EXT4.
2020-06-12T16:20:44 #kisslinux <djt3[m]1> Ext4 as well
2020-06-12T16:20:50 #kisslinux <dylanaraps> It could be DNS? https://bugzilla.mozilla.org/show_bug.cgi?id=1189705#c8
2020-06-12T16:21:23 #kisslinux <dylanaraps> Try adding this to /etc/hosts (if it isn't already there): 127.0.0.1localhost.localdomainlocalhost
2020-06-12T16:21:42 #kisslinux <dylanaraps> Ah. Hang on. Tabs were dropped when I pasted.
2020-06-12T16:21:53 #kisslinux <dylanaraps> > 127.0.0.1 localhost.localdomain localhost
2020-06-12T16:22:14 #kisslinux <dylanaraps> ipv6: ::1localhost.localdomain localhost ip6-localhost
2020-06-12T16:22:22 #kisslinux <djt3[m]1> Thank you so much, passing KISS to the hosts file fixed it :)
2020-06-12T16:22:30 #kisslinux <djt3[m]1> <djt3[m]1 "Thank you so much, passing KISS "> *adding
2020-06-12T16:22:33 #kisslinux <dylanaraps> > ::1 localhost.localdomain localhost ip6-localhost
2020-06-12T16:22:41 #kisslinux <dylanaraps> Awesome. Will document this somewhere.
2020-06-12T16:23:28 #kisslinux <djt3[m]1> <dylanaraps "> ::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 <dylanaraps> Ah
2020-06-12T16:23:54 #kisslinux <djt3[m]1> Firefox was looking for KISS rather than localhost
2020-06-12T16:24:04 #kisslinux <dylanaraps> Interestingly, the default /etc/hosts file contains the line you just added.
2020-06-12T16:24:53 #kisslinux <dylanaraps> It's also fine in the chroot tarball.
2020-06-12T16:25:11 #kisslinux <dylanaraps> 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 <djt3[m]1> Oh, that's strange. I'd didnt modify anything, this is literally a fresh install
2020-06-12T16:25:41 #kisslinux <djt3[m]1> <dylanaraps "I wonder why it was left off of "> Not that I'm aware of
2020-06-12T16:25:59 #kisslinux <dylanaraps> What are you using for network?
2020-06-12T16:26:33 #kisslinux <djt3[m]1> 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 <dylanaraps> Alrighty
2020-06-12T16:26:50 #kisslinux <dylanaraps> Will see if dhcpcd touches it at all.
2020-06-12T16:27:03 #kisslinux <djt3[m]1> Cool
2020-06-12T16:28:11 #kisslinux <dylanaraps> Nope. I can't see anything in its source code related to the hosts file.
2020-06-12T16:29:05 #kisslinux <djt3[m]1> 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 <dylanaraps> Yes
2020-06-12T16:29:53 #kisslinux <dylanaraps> Root permissions are needed to modify it as well. What do you have running as root?
2020-06-12T16:30:39 #kisslinux <dylanaraps> Do you recall which tarball version you used to install KISS?
2020-06-12T16:30:49 #kisslinux <djt3[m]1> <dylanaraps "Do you recall which tarball vers"> whatevers on the wiki
2020-06-12T16:31:06 #kisslinux <djt3[m]1> the only thing i can think of is openssh, but i doubt that touched it
2020-06-12T16:31:09 #kisslinux <dylanaraps> Did you install KISS prior to May 11?
2020-06-12T16:31:45 #kisslinux <djt3[m]1> nope yesterday, and the previous install was about 3 months ago id say
2020-06-12T16:31:52 #kisslinux <dylanaraps> Alright
2020-06-12T16:32:06 #kisslinux <dylanaraps> The current tarball does contain the full file so we can rule a tarball issue out.
2020-06-12T16:33:18 #kisslinux <djt3[m]1> 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 <dylanaraps> What will be telling is if it reverts back to being incomplete.
2020-06-12T16:35:00 #kisslinux <dylanaraps> Try restarting sshd (you said you're using openssh) maybe?
2020-06-12T16:35:20 #kisslinux <djt3[m]1> i doubt it will because i have no services enabled, i just needed ssh for the window manager
2020-06-12T16:35:27 #kisslinux <dylanaraps> Ah
2020-06-12T16:35:35 #kisslinux <djt3[m]1> https://bin.snopyta.org/?fc807d3c828b8cc7#BU2iPmoBKpmwqzXxH4WJYPfwR73yj6v1dr89BiogjDPC
2020-06-12T16:35:41 #kisslinux <djt3[m]1> thats a list of installed packages
2020-06-12T16:36:00 #kisslinux <djt3[m]1> actually wpa supplicant is installed as well i didnt realise
2020-06-12T16:37:44 #kisslinux <dylanaraps> Can't find anything in the source code of dhcpcd, wpa_supplicant, openssh, busybox, etc.
2020-06-12T16:39:07 #kisslinux <djt3[m]1> deleting /etc/hosts and reinstalling baselayout results in a hosts file without KISS in it
2020-06-12T16:39:55 #kisslinux <dylanaraps> 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 <djt3[m]1> 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 <djt3[m]1> specifically just firefox opening
2020-06-12T16:41:04 #kisslinux <dylanaraps> Right
2020-06-12T16:41:22 #kisslinux <dylanaraps> We just need to figure out what caused the file to be incomplete.
2020-06-12T16:41:37 #kisslinux <djt3[m]1> https://github.com/kisslinux/repo/blob/master/core/baselayout/files/hosts
2020-06-12T16:41:43 #kisslinux <djt3[m]1> is that not intended?
2020-06-12T16:42:06 #kisslinux <dylanaraps> Yeah. That's what the file should contain.
2020-06-12T16:42:17 #kisslinux <dylanaraps> Mine matches this exactly.
2020-06-12T16:42:50 #kisslinux <djt3[m]1> yeah same, but the firefox issue was resolved by replacing "localhost" with "KISS"
2020-06-12T16:43:02 #kisslinux <dylanaraps> Oh.
2020-06-12T16:43:11 #kisslinux <dylanaraps> I see
2020-06-12T16:43:27 #kisslinux <dilynm> What's your hostname?
2020-06-12T16:43:33 #kisslinux <dylanaraps> KISS
2020-06-12T16:43:47 #kisslinux <djt3[m]1> yeah my hostname is KISS
2020-06-12T16:44:11 #kisslinux <dilynm> I mean like, where did you specify it
2020-06-12T16:44:26 #kisslinux <dilynm> Do you have an /etc/hostname?
2020-06-12T16:44:36 #kisslinux <dylanaraps> Nope
2020-06-12T16:44:53 #kisslinux <djt3[m]1> no i dont actually, the command hostname returns KISS
2020-06-12T16:45:03 #kisslinux <dilynm> Did you define it in your kernel config
2020-06-12T16:45:22 #kisslinux <dylanaraps> The init defines it during startup (if unset).
2020-06-12T16:45:33 #kisslinux <djt3[m]1> <dilynm "Did you define it in your kernel"> oh shit good point
2020-06-12T16:45:42 #kisslinux <dylanaraps> 'KISS' is the fallback if /etc/hostname doesn't exist.
2020-06-12T16:46:07 #kisslinux <dylanaraps> My kernel: CONFIG_DEFAULT_HOSTNAME="(none)"
2020-06-12T16:46:15 #kisslinux <djt3[m]1> CONFIG_DEFAULT_HOSTNAME="(none)"
2020-06-12T16:46:17 #kisslinux <djt3[m]1> yeah
2020-06-12T16:46:49 #kisslinux <dylanaraps> So, we both have the same default hostname '(none)' and we both _don't_ have /etc/hostname defined?
2020-06-12T16:47:16 #kisslinux <djt3[m]1> yep
2020-06-12T16:47:19 #kisslinux <dylanaraps> I'm using eiwd for networking though wpa_supplicant/dhcpcd also work perfectly fine.
2020-06-12T16:47:31 #kisslinux <djt3[m]1> same here
2020-06-12T16:47:47 #kisslinux <dilynm> 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 <djt3[m]1> that makes it seem like its specific to something of mine then, maybe something in the kernel config
2020-06-12T16:48:53 #kisslinux <dylanaraps> djt3[m]1: You mentioned ifconfig, how did you configure your interface exactly?
2020-06-12T16:49:06 #kisslinux <djt3[m]1> ifconfig enp0s31f6 up
2020-06-12T16:49:19 #kisslinux <dylanaraps> Thanks
2020-06-12T16:49:20 #kisslinux <djt3[m]1> and then dhcpcd enp0s31f6
2020-06-12T16:49:24 #kisslinux <dylanaraps> Yeah
2020-06-12T16:49:32 #kisslinux <dylanaraps> I doubt this caused the issue then.
2020-06-12T16:49:44 #kisslinux <djt3[m]1> thats strange then
2020-06-12T16:49:53 #kisslinux <djt3[m]1> it also does it offline with no network interfaces up
2020-06-12T16:50:30 #kisslinux <dylanaraps> Actually. ifconfig may read /etc/hosts. Let me look into this.
2020-06-12T16:52:05 #kisslinux <djt3[m]1> kk
2020-06-12T16:52:16 #kisslinux <dylanaraps> I wonder if creating /etc/hostname and populating it with 'KISS' will fix the issue.
2020-06-12T16:53:27 #kisslinux <djt3[m]1> Il l try
2020-06-12T16:53:55 #kisslinux <djt3[m]1> No it doesnt
2020-06-12T16:55:56 #kisslinux <djt3[m]1> 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 <dylanaraps> Ah
2020-06-12T16:58:02 #kisslinux <dylanaraps> 'hostname -f' gives me: hostname: KISS: Host not found
2020-06-12T16:58:34 #kisslinux <dylanaraps> Try rebooting after creating /etc/hostname.
2020-06-12T16:58:59 #kisslinux <dylanaraps> 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 <djt3[m]1> Ok
2020-06-12T17:01:49 #kisslinux <djt3[m]1> 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 <dylanaraps> Good question.
2020-06-12T17:03:09 #kisslinux <dylanaraps> brb
2020-06-12T17:03:12 #kisslinux <djt3[m]1> It might be something to do with me using my own DNS server
2020-06-12T17:04:08 #kisslinux <dylanaraps> Huzzah!
2020-06-12T17:04:17 #kisslinux <dylanaraps> It loads slowly with no network connected.
2020-06-12T17:04:29 #kisslinux <dylanaraps> connection*
2020-06-12T17:04:34 #kisslinux <djt3[m]1> Okay so its trying to lookup the hostname on the DNS server
2020-06-12T17:04:38 #kisslinux <dylanaraps> Yup
2020-06-12T17:04:48 #kisslinux <djt3[m]1> And unbound is slow so it slows down firefox
2020-06-12T17:04:48 #kisslinux <dylanaraps> It should be resolving locally though.
2020-06-12T17:05:15 #kisslinux <djt3[m]1> It isn't it calls sendto 192.168.1.10 my DNS server
2020-06-12T17:05:56 #kisslinux <djt3[m]1> Noon question but is DNS cached on kiss by default
2020-06-12T17:05:57 #kisslinux <dylanaraps> 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 <djt3[m]1> <dylanaraps "What I mean is that it should be"> Yup sounds like it
2020-06-12T17:06:40 #kisslinux <dylanaraps> KISS doesn't cache DNS by default (KISS does hardly anything by default).
2020-06-12T17:07:18 #kisslinux <djt3[m]1> Ah thought so, it must be unbound caching it the
2020-06-12T17:07:19 #kisslinux <djt3[m]1> Then
2020-06-12T17:07:29 #kisslinux <dylanaraps> OK
2020-06-12T17:07:42 #kisslinux <dylanaraps> This works for me: https://termbin.com/i4c7
2020-06-12T17:08:18 #kisslinux <djt3[m]1> yep that's what fixed it for me
2020-06-12T17:08:29 #kisslinux <dylanaraps> 'hostname -f' then works as well.
2020-06-12T17:08:35 #kisslinux <djt3[m]1> 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 <dylanaraps> Right
2020-06-12T17:08:46 #kisslinux <djt3[m]1> Great glad we sorted that
2020-06-12T17:09:14 #kisslinux <dylanaraps> 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 <djt3[m]1> Perhaps change the hosts file from local host to $HOSTNAME would be better?
2020-06-12T17:10:17 #kisslinux <dylanaraps> I was thinking that. Do you mean in an automated way?
2020-06-12T17:11:01 #kisslinux <djt3[m]1> Yeah
2020-06-12T17:12:48 #kisslinux <dylanaraps> Arch seem to do it manually: https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution
2020-06-12T17:13:12 #kisslinux <djt3[m]1> I'll look at my arch install now
2020-06-12T17:13:49 #kisslinux <dylanaraps> 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 <djt3[m]1> Actually my arch install also seems to look it up tf
2020-06-12T17:14:33 #kisslinux <ectlunya> it was a somewhat recent change to the install guide on arch
2020-06-12T17:14:41 #kisslinux <dylanaraps> Ah
2020-06-12T17:14:54 #kisslinux <djt3[m]1> But it works fine when there is no network
2020-06-12T17:15:03 #kisslinux <dylanaraps> Interesting
2020-06-12T17:15:19 #kisslinux <ectlunya> btw In my arch chroot firefox opens instantly
2020-06-12T17:15:30 #kisslinux <ectlunya> the chroot doesn't have anything in the /etc/hosts file
2020-06-12T17:16:13 #kisslinux <djt3[m]1> 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 <djt3[m]1> actually, my arch doesnt look up the dns when connecting, it just says recvfrom
2020-06-12T17:17:54 #kisslinux <dylanaraps> 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 <djt3[m]1>  * actually, my arch doesnt sendto up the dns when connecting, it just says recvfrom
2020-06-12T17:17:59 #kisslinux <djt3[m]1>  * actually, my arch doesnt sendto the dns when connecting, it just says recvfrom
2020-06-12T17:18:18 #kisslinux <djt3[m]1> 1 sec
2020-06-12T17:18:20 #kisslinux <ectlunya> how long does it take to open firefox now?
2020-06-12T17:18:53 #kisslinux <djt3[m]1> <ectlunya "how long does it take to open fi"> no time
2020-06-12T17:18:57 #kisslinux <djt3[m]1> actually i have an idea
2020-06-12T17:21:05 #kisslinux <djt3[m]1> 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 <dylanaraps> > They must begin
2020-06-12T17:21:09 #kisslinux <dylanaraps>        with an alphabetic character and end with an alphanumeric character.
2020-06-12T17:21:09 #kisslinux <dylanaraps>        Optional aliases provide for name changes, alternate spellings,
2020-06-12T17:21:09 #kisslinux <dylanaraps>        shorter hostnames, or generic hostnames (for example, localhost)
2020-06-12T17:21:13 #kisslinux <dylanaraps> https://man7.org/linux/man-pages/man5/hosts.5.html
2020-06-12T17:21:27 #kisslinux <dylanaraps> Seems to suggest that 'localhost' should be handled as an alias to hostname?
2020-06-12T17:21:38 #kisslinux <dylanaraps> Apologies for dodgy paste.
2020-06-12T17:22:01 #kisslinux <dylanaraps> It's not exactly clear is it?
2020-06-12T17:22:09 #kisslinux <djt3[m]1> killall firefox
2020-06-12T17:22:36 #kisslinux <djt3[m]1> that website freezes my firefox
2020-06-12T17:23:04 #kisslinux <djt3[m]1> nevermind it was just riot
2020-06-12T17:25:47 #kisslinux <dylanaraps> I think we just recommened that users make this change in the installation guide.
2020-06-12T17:26:16 #kisslinux <dylanaraps> Some distributions seem to follow our current "default" (Alpine, Void)
2020-06-12T17:26:53 #kisslinux <djt3[m]1> yeah guess so
2020-06-12T17:27:23 #kisslinux <dylanaraps> I'll make mention that the same steps are required any time the hostname is changed as well.
2020-06-12T17:28:28 #kisslinux <ectlunya> 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 <djt3[m]1> ah, just a sidenote running "ping localhost" on arch still contacts the dns server
2020-06-12T17:29:43 #kisslinux <dylanaraps> 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 <djt3[m]1> same with pinging the hostname
2020-06-12T17:30:31 #kisslinux <djt3[m]1> so it looks like its a firefox problem then?
2020-06-12T17:30:42 #kisslinux <djt3[m]1>  * so it looks like its a firefox with KISS problem then?
2020-06-12T17:31:56 #kisslinux <djt3[m]1> actually idk
2020-06-12T17:32:04 #kisslinux <dylanaraps> 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 <djt3[m]1> 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 <djt3[m]1> so i think its a dns problem then
2020-06-12T17:45:00 #kisslinux <dylanaraps> Added a section to the install guide: https://k1ss.org/install#6.0
2020-06-12T17:45:37 #kisslinux <dylanaraps> (Already pushed a commit for the broken boxes)
2020-06-12T17:45:55 #kisslinux <djt3[m]1> <dylanaraps "Added a section to the install g"> 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 <dylanaraps> Is this not simply related to not having an FQDN? What is Arch's default hosts file?
2020-06-12T17:47:57 #kisslinux <djt3[m]1> <dylanaraps "Is this not simply related to no"> empty
2020-06-12T17:48:33 #kisslinux <djt3[m]1> 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 <djt3[m]1> so something must be different
2020-06-12T17:49:04 #kisslinux <dylanaraps> Firefox uses NSS for DNS right?
2020-06-12T17:49:25 #kisslinux <djt3[m]1> idk
2020-06-12T17:49:58 #kisslinux <dylanaraps> What happens in KISS with an empty hosts file?
2020-06-12T17:50:01 #kisslinux <dylanaraps> Does it match Arch?
2020-06-12T17:50:10 #kisslinux <djt3[m]1> good question
2020-06-12T17:51:15 #kisslinux <djt3[m]1> 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 <djt3[m]1> okay so heres stuff:
2020-06-12T17:53:34 #kisslinux <ectlunya> with empty hosts it lags 1-2 seconds
2020-06-12T17:53:37 #kisslinux <dylanaraps> Do you have a local DNS server running on Arch?
2020-06-12T17:53:45 #kisslinux <ectlunya> with my hostname in the hosts file its instant
2020-06-12T17:54:01 #kisslinux <ectlunya> 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 <djt3[m]1> <dylanaraps "Do you have a local DNS server r"> 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 <djt3[m]1> ssize_t sendto(int sockfd, const void *buf, size_t len, int flags,
2020-06-12T17:55:00 #kisslinux <djt3[m]1>                const struct sockaddr *dest_addr, socklen_t addrlen);
2020-06-12T17:55:26 #kisslinux <djt3[m]1> buf contains the hostname and dest_addr is the dns  server on kiss and NULL on arch
2020-06-12T17:55:36 #kisslinux <dylanaraps> This may be telling: https://wiki.musl-libc.org/functional-differences-from-glibc.html#Name-Resolver/DNS
2020-06-12T17:57:38 #kisslinux <djt3[m]1> why would arch sendto null tho
2020-06-12T17:58:06 #kisslinux <dylanaraps> Hm
2020-06-12T17:58:52 #kisslinux <djt3[m]1> 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 <djt3[m]1> nevermind there are never any send calls
2020-06-12T18:14:13 #kisslinux <lhoqvso> 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 <lhoqvso> What I have done wrong? *
2020-06-12T18:17:47 #kisslinux <ectlunya> did you copy /etc/resolv.conf
2020-06-12T18:18:16 #kisslinux <lhoqvso> No... damn I miss that!!
2020-06-12T18:18:21 #kisslinux <lhoqvso> Sorry
2020-06-12T18:19:20 #kisslinux <ectlunya> 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 <lhoqvso> 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 <lhoqvso> Maybe is because my current arch has the network through systemd-networkd?
2020-06-12T18:25:57 #kisslinux <djt3[m]1> <lhoqvso "Maybe is because my current arch"> works fine from an existing artix install with networkmanager for the network
2020-06-12T18:26:15 #kisslinux <djt3[m]1> just to clarify did you do ./kiss-chroot /mnt
2020-06-12T18:26:42 #kisslinux <lhoqvso> I did ./kiss-chroot/mint/kiss
2020-06-12T18:27:30 #kisslinux <lhoqvso> ./kiss-chroot /mnt/kiss
2020-06-12T18:27:36 #kisslinux <djt3[m]1> not sure then, make an artix bootable usb and try it if you cant get it working
2020-06-12T18:28:04 #kisslinux <djt3[m]1> i doubt it would make a difference tho
2020-06-12T18:28:10 #kisslinux <lhoqvso> 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 <djt3[m]1> 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 <lhoqvso> 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 <dilynm> That would probably do it
2020-06-12T18:32:53 #kisslinux <lhoqvso> I will do some testing and let you know later :) much appreciated your support!
2020-06-12T18:41:31 #kisslinux <dilynm> 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 <dilynm> The escape key is so far away :'(
2020-06-12T18:42:22 #kisslinux <himmalerin> How do I set the format of the date command?
2020-06-12T18:43:15 #kisslinux <himmalerin> 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 <ectlunya> you need a + before the format and %Y not Y
2020-06-12T18:44:52 #kisslinux <ectlunya> date +%Y-%m-%d works
2020-06-12T18:45:36 #kisslinux <himmalerin> I had the +, just didn't paste it in. And oh! Not sure how I missed that haha
2020-06-12T18:46:20 #kisslinux <himmalerin> 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 <ectlunya> https://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html
2020-06-12T18:46:55 #kisslinux <ectlunya> it uses the strptime format so those options should work
2020-06-12T18:47:23 #kisslinux <ectlunya> man strptime will also work if you have man-pages installed
2020-06-12T18:48:38 #kisslinux <himmalerin> 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 <himmalerin> Must not have the man page available though, getting "man: No entry for strptime in the manual."
2020-06-12T18:49:16 #kisslinux <himmalerin> mandoc is installed
2020-06-12T18:55:53 #kisslinux <ectlunya> you also need to install the man-pages package from community
2020-06-12T18:57:53 #kisslinux <ectlunya> 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 <himmalerin> Makes sense! Installing both of those now
2020-06-12T19:48:33 #kisslinux <dylanaraps> https://k1ss.org/wiki/software/man-pages
2020-06-12T19:48:46 #kisslinux <dylanaraps> And now it's documented. ;)
2020-06-12T19:55:52 #kisslinux <djt3[m]1> <dylanaraps "And now it's documented. ;)"> :)
2020-06-12T19:56:37 #kisslinux <djt3[m]1> 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 <mcpcpc[m]> <dylanaraps "https://k1ss.org/wiki/software/m"> nice. a good one considering the subject has come up 2-3 times this week.
2020-06-12T20:58:06 #kisslinux <lhoqvso> 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 <dylanaraps> djt3[m]1: Will do! Thanks :)
2020-06-12T21:04:37 #kisslinux <djt3[m]1> :)
2020-06-12T21:04:49 #kisslinux <dylanaraps> mcpcpc[m]: Exactly
2020-06-12T21:05:06 #kisslinux <himmalerin> 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 <dylanaraps> GNU unifont is very extensive iirc.
2020-06-12T21:15:27 #kisslinux <ectlunya> himmalerin: just curious, what do you use a hieroglyphic font for?
2020-06-12T21:18:34 #kisslinux <himmalerin> dylanaraps: I'll take a look, thanks for the suggestion!
2020-06-12T21:19:12 #kisslinux <himmalerin> 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 <dylanaraps> 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 <dylanaraps> This will use $PAGER as well
2020-06-12T21:29:58 #kisslinux <mcpcpc[m]> nice.
2020-06-12T21:30:24 #kisslinux <dylanaraps> Yeah
2020-06-12T21:30:33 #kisslinux <lhoqvso> Thanks! help is always welcome :) Happy to see this project as active!
2020-06-12T21:31:10 #kisslinux <dylanaraps> "Where are the man pages?" -> "Read: kiss help wiki/software/man-pages"
2020-06-12T21:31:23 #kisslinux <dylanaraps> Will be really handy
2020-06-12T21:32:07 #kisslinux <dylanaraps> 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 <lhoqvso> much appreciated :)
2020-06-12T21:35:38 #kisslinux <himmalerin> No luck with Gnu Unifont unfortunately, it's a nice bitmap-y font but doesn't cover hieroglyphs