libera/#devuan/ Tuesday, 2022-09-13

dan9er[m]Did anyone see my message from last night? I heard Matrix->IRC was broken00:33
dan9er[m]Oh, ok these messages didn't relay to Matrix: http://reisenweber.net/irclogs/libera/_devuan/_devuan.2022-09-12.log.html#t2022-09-12T07:39:3400:43
dan9er[m]Apologies rwp00:44
rwpdan9er[m], No worries. Everything happens in its own time on its own schedule.02:14
golinuxWe have nothing to do with matrix02:32
dan9er[m]Yo rwp I've looked at /etc/resolv.conf. There is a search line with `ht.home` on it, that matches the router's URL so I think thats good07:28
dan9er[m]There's 7 nameserver entries, I won't post exact IPs however I can reverse DNS them (on the borked laptop) via mtr(8) so I can figure out what they are07:30
dan9er[m]Quad9 IPv4 primary, Quad9 IPv4 secondary, Router (suspected, no hops), ISP IPv6 primary, ISP IPv6 secondary, Quad9 IPv6 primary, Quad9 IPv6 secondary07:33
dan9er[m]s/Router/Router IPv6/07:34
gnarfacedo they all work? like, can you request a name lookup of a 3rd party domain through each of them directly?07:35
dan9er[m]I mean normally running dig(8) works just fine07:37
dan9er[m]`$ dig google.com` works fine07:37
gnarfaceyea but it doesn't use them all at once07:37
gnarfaceif just one is bad you'd have to test each of them to find it07:37
dan9er[m]What does dig do differently?07:39
dan9er[m]dig can query DNS just fine but not ping or any other app07:40
gnarfaceyou can't ping google.com?07:40
gnarfaceyou sure?07:41
gnarfacetry it right now07:41
onefangdig @9.9.9.11 google.com07:41
dan9er[m]Not via that domain name. I can ping IPs (9.9.9.9, 8.8.8.8, 1.1.1.1, etc.) just fine07:41
dan9er[m]aaand I just opened the manpage for dig, it uses resolv.conf by default07:42
onefangWhich is what the @ in my command is for, tell it to use that specific DNS server.07:42
gnarfaceare you able to ping the ip that dig gives you for google.com?07:42
dan9er[m]Yep07:43
onefang9.9.9.11 is the Quad9 one I use.07:43
gnarfacedig gives you a ipv4 address for google.com?07:44
dan9er[m]Yes, ipv407:45
dan9er[m]It's supposed to return ipv6?07:45
gnarfaceno, just doing sanity checks07:45
gnarfacedoes ping show you the ip it's trying to use?07:45
gnarfacetry "ping -n google.com"07:45
onefangTry that dig command I suggested, but go through all the IPs of the name servers in resolv.conf.  See if they all return proper results.07:46
dan9er[m]gnarface: Nothing for 1min, then it gives up with `ping: google.com: Temporary failure in name resolution`07:48
dan9er[m]Same as without `-n`07:49
gnarfacevaguely rings a bell about a bug a long time ago, not sure exactly what though07:49
onefangdan9er[m]: Are you trying what I suggested?  lol07:50
gnarfaceyes, do this sanity check^07:50
gnarfacethough i'd expect intermittent failures if it wasn't all of them07:50
gnarfacei vaguely recall this may have happened once to someone with a partially-upgraded system07:50
gnarfacesome sort of library version issue or something07:51
gnarfacenormally everything will use resolv.conf and spec behavior is to try the first nameserver then failover to the next after a timeout, then repeat until its out of nameservers07:51
dan9er[m]onefang: I just did, they all returned different IPs though I think that's because google is doing DNS load-balancing bs. Lemme try example.com instead07:51
gnarfacesome stuff tries to load-balance by picking a nameserver off the list at random07:52
gnarfacebut everything should be using /etc/resolv.conf as the primary source of nameservers unless /etc/nsswitch.conf says otherwise07:52
gnarfacebut the vague memory in my head about a bug related to this i think involved some library version issue preventing ping from finding any resolvers07:53
gnarfaceif you need a second opinion you can try traceroute07:53
dan9er[m]I did the `dig @` thing with example.com, everyone agrees that it's 142.251.39.11007:55
onefangFunny, I get 93.184.216.34.07:56
dan9er[m]Actually why is my router and ISP DNS servers in my resolv.conf? I thought I set everything to Quad907:56
dan9er[m]Oh uh whoops read wrong number from screen07:56
onefangYeah if using Quad9, it's usually coz you DON'T want to use your ISP.07:57
dan9er[m]s/142.251.39.110/93.184.216.34/07:57
gnarfaceif you're using your router for dhcp then it would also be giving you its own dns servers07:58
gnarfacethe default behavior of all the dhcp clients is to clobber the resolv.conf file07:58
gnarface(few plastic toy routers assigned by ISPs give you enough control over the dhcp service to override their dns servers, it's a good argument for running your own dhcp server)07:59
dan9er[m]Yeah but Quad9 IPv6 is on the bottom, below my router and ISP07:59
onefangI was offline when dan9er[m] and rwp originally discussed your problem, so that's all the advice I can give, since I dons't know what your actual problem is.07:59
dan9er[m]onefang: http://reisenweber.net/irclogs/libera/_devuan/_devuan.2022-09-12.log.html#t2022-09-12T06:44:4308:00
onefangYou are in good hands with gnarface anyway.  B-)08:01
dan9er[m]NetworkManager might just be being stupid08:01
gnarfacewe've pretty much gone through all my ideas too though, i'm starting to wonder if it's a install issue08:01
gnarfacenetworkmanager is a struggle for me too, i try to avoid it08:02
dan9er[m]Hm looking at nsswitch.conf, `hosts` is set to `files mdns4_minimal [NOTFOUND=return] dns`08:03
dan9er[m]It had worked a while ago, maybe an update busted it or I removed a recommended/suggested package I shouldntve08:05
gnarfacehosts:          files dns08:09
gnarfacetry just setting it to this08:09
gnarfaceno idea what that other crap is08:09
gnarfacei really wish i remember what that issue i ran into before was, but i think it may have only affected ping, so that might be something you can search by08:10
onefang"files" means to use the /etc/hosts file.08:10
onefangThough my memory of that might be wrotg.  lol08:10
onefangAs wrotg as my typing.08:10
gnarfaceyes, that's accurate, but i don't know why mdns anything would be on a linux system, and i have no idea what this does: [NOTFOUND=return] but i can only assume it means it gives up before trying dns08:11
onefangThat was my guess to.08:11
dan9er[m]mDNS is multicast DNS08:17
gnarfaceoh, not msdns08:17
gnarfaceyou using it for something?08:17
gnarfaceremoving that and the [NOTFOUND=return] thing would be a good deductive test08:18
gnarfaceseeing anything on that line besides "files dns" is distinctly weird to me08:19
dan9er[m]Aha, reading nsswitch.conf(5) mappage, `[NOTFOUND=return]` indeed makes it give up if not found. the default is `continue`08:20
dan9er[m]So what the fuck put that there08:20
onefangThat's one reason why I use etckeeper, it helps to answer such questions.08:21
onefangIn case you don't know, etckeeper autamotically puts /etc into git and commits after every apt change.08:22
dan9er[m]yeah def installing that after this08:22
onefangSo you have to manually commit anything you change yourself.  And it shows you if something changed behind your back.08:22
dan9er[m]Doing a `apt search mdns` shows libnss and avahi stuff installed08:25
gnarfaceavahi is another one i generally avoid08:25
onefangMe to.08:26
dan9er[m]I'm gonna purge those and see if that unfucks my nsswitch08:26
onefangBut too many other things depend on it being installed, so I just don't run it's daemon.08:26
gnarfacein general avahi has also presented itself as a frequent culprit on the list of "changing stuff behind your back that shouldn't change" offenders08:26
onefangReminds me, I was surprised that nVidia stuff got updated the other day, I don't run any nVidia hardware.  Chromium depends on the nvidia-settings libraries.  Pffft08:27
gnarfaceactually depends on them or just recommends them?08:27
onefangDepends.08:28
gnarfaceyuck08:28
dan9er[m]Yep purging set `hosts` back to `files dns`08:32
dan9er[m]Looking at APT log, it appears libnss-mdns package is the culprit08:33
onefangThat makes sense.08:34
gnarfacedoes ping work right now though?08:34
dan9er[m]no... lemme try restarting08:34
gnarfacehmm, restarting shouldn't be necessary for this i don't think...08:35
gnarfaceunless something else was wrong too, but restarting might not help either, then08:35
gnarfaceis this a fully updated chimaera install?08:35
dan9er[m]yep08:36
dan9er[m]I should remind that if I tether through the phone, it works just fine08:37
dan9er[m]s/the/my/08:37
dan9er[m]After restart, still not working08:37
dan9er[m]what the shit08:37
gnarfacewhat if you try with traceroute instead?08:38
dan9er[m]Same thing08:38
gnarfacemaybe the router is blocking icmp?08:38
gnarfaceoutbound?08:38
gnarfacehmm, no it would get a namelookup still before failing then08:39
gnarfacehmmm....08:39
gnarfaceyou think google is blocking your pings? how many domains did you try to ping?08:40
dan9er[m]I'm now pinging example.com08:40
gnarfaceoh, and it doesn't work either?08:40
gnarfacemake sure you got all your updates08:41
gnarfacecould be an issue with ping itself, like i said i remember running into something like that08:41
dan9er[m]Can't ping suckless.org, example.com, duckduckgo.com, or matrix.org08:43
dan9er[m]And now APT stopped being able to get DNS .-.08:43
dan9er[m]i'll just edit sources with IPs08:44
gnarfaceyou don't have to do that08:46
gnarfaceyou can just override the domain's ip in /etc/hosts08:46
gnarfacetemporarily08:47
gnarfaceand you shouldn't have to restart the whole machine for it to take effect, though you might have to restart some programs08:47
gnarfacelike firefox08:47
gnarfaceif stuff can't even find the right ip by using the hosts file then you have something deeper wrong with the install for sure08:49
gnarfacemissing or mismatched packages possibly08:49
dan9er[m]hosts worked, and my system is fully up to date08:49
gnarfacehmm, so possibly a network issue08:50
gnarfaceyou using a firewall or something?08:50
gnarfacenote that dns may exhibit only partial functionality if you can't reach the server with both tcp and udp08:52
gnarfaceoh08:52
gnarfacesomething else just came to mind, might not be the issue but you might not be using the dhcp client you think you are08:53
gnarfacethe kernel has a built-in dhcp client too now, and in some weird cases i remember it taking precedent over for the userspace one08:53
gnarfaceand it could use something other than resolv.conf, i don't remember08:54
dan9er[m]idk, didn't install any firewall packages08:54
dan9er[m]I gotta go sleep09:14
Necrodiverhello everyone, i have an issue that i cant seem to fix, so im on a desktop live iso of devuan just to back up files and things.09:22
NecrodiverI tried to update refracta earlier, Im on Ceres. It was giving me an rsync error. I restarted my computer, and then it didnt load into the login screen, it dropped me to tty, and it didnt recognize anything. it said (none) login:09:24
Necrodiveri tried do to starx and it didnt work09:24
Necrodiverstartx09:24
NecrodiverI dont have the logs because i cant get back into my original installed os09:25
Necrodiveri honestly dont want to have to do a full reinstall if i dont have to09:25
Necrodiverhttps://dpaste.org/6pHBQ09:27
Necrodiverheres the paste of what the error was originally09:28
Necrodiverif i need to go into vim and change some settings that will fix it, i can find the file through the live session since the hdd is mounted09:39
hagbardI'd start with using the live system do have a look at the logs from the original system. Without finding an actual error message somewhere, it won't be possible to figure out what's wrong.09:47
Necrodiverwould that be i nthe rsyslog file?09:49
Necrodiverive never had to look in these logs before so i have no idea where they are located09:52
hagbardI think the problem of not beeing able to login is entirely unrelated to rsync. rsync is for syncing files over network, and is not related to login.09:55
hagbardlogs are in /var/log09:55
hagbardI'd start with looking at /var/log/boot09:55
Necrodiverokay ill look there hold on10:05
Necrodiverhttps://dpaste.org/YcDNL10:08
Necrodiverthis was the last boot record since i have left my pc on for a few days10:10
Necrodiverany idea as to what might be the issue?10:25
Necrodiveri noticed one thing, in the sept 13th log, it doesnt load /dev/sdb1,10:31
Necrodiverand sdb1 is where my home directory is installed, as i have a separate boot and home hard drives10:31
Necrodiverhttps://dpaste.org/tszOL10:35
Necrodiverheres the paste from september 4th10:36
unixbsd_hello10:36
unixbsd_is chimaera either :  Bullseye (11;) or  Bookworm (12;) ?10:36
Necrodiverbullseye10:37
Necrodiverbookworm is testing, aka daedelus10:37
unixbsd_thank you knindly very much10:38
Necrodiverand just for reference later, Ceres is unstable10:38
unixbsd_is there  atable of equivalence on wikipedia=10:38
unixbsd_?10:38
unixbsd_and ascii ?10:39
Necrodiverthat much i dont know, i started using refracta at refracta 10, which was buster iirc10:40
onefanghttps://www.devuan.org/os/releases has the table.10:40
unixbsd_thankm you !"!!!10:41
gorskiHi guys. Can I have latest chimaera netinstaller iso and where from? I can not find it as rebuilt keyrings. Only old versions. Thanks.11:47
Necrodiverwhy not just sudo dpkg -i keyring? Its not that hard12:03
drizztHi guys !12:17
drizztfound a BIG CRITICAL upgrade issue in repositories, which reders systems unbootable12:18
drizztnew lsb-base packeage is now "empty"12:18
drizztlsb-base_11.2_all.deb -> lsb-base_11.3_all.deb12:19
drizztlsb-base_11.3 does not provide /lib/lsb/init-functions anymore12:20
drizztbut /lib/init/rc (and many many more init scripts) include it12:20
onefangI guess this is in unstable or testing, coz stable (chimaera) has 11.1.12:21
drizztother init scripts have not been updated regarding to this update12:21
drizztonefang: yep12:21
drizztthat's where dev happens :)12:21
drizztunstable12:21
drizztso please revert repository index to reference lsb-base_11.2_all.deb12:22
onefangOne of the other Devuan devs will have to look into that.12:23
rrqit's a debian issue12:24
Necrodiverso THATS why i cant boot my pc12:24
onefangAh someone mentioned that on the mailing list to.12:25
Necrodiverhere are my boot logs12:25
onefang"It seems like Debian is moving the file to sysvinit-utils."12:25
Necrodiverhttps://dpaste.org/tszOL12:25
Necrodiverfrom sept 4th12:25
Necrodiverhttps://dpaste.org/YcDNL12:25
Necrodiverthis is from today12:25
Necrodiverthe one thing i noticed when looking through them is that in the sept 4th log, it was reading /dev/sdb112:26
drizztyep, did updates one or two days ago and it was still lsb-base_11.2_all.deb12:26
Necrodiveri updated today12:26
Necrodiverand yes im on ceres12:26
drizztNecrodiver: you can use /lib/lsb dir from any other system if you have one at hand12:26
drizztthat fixes the proble12:26
drizztproblem12:26
drizztor force lsb-base_11.2_all.deb12:27
Necrodiverso copy the lsb dir from a different pc and drop it there?12:27
drizztwhich should still be around12:27
drizztNecrodiver: yep12:27
Necrodiverim on a live iso right now12:27
Necrodiverjust so i could back up my pc12:27
Necrodiverlike all the important stuff12:27
drizztdid it, and works (at least for all my arm64 systems, but that's a -all package, should be arch independent12:28
Necrodiverim on 64bit12:28
Necrodiverso it should be okay12:28
drizztand it contains only two text files, so it is12:28
Necrodiverokay so from the live boot12:28
drizztyup12:28
Necrodiveris there a way i can force the old file?12:28
drizztyes12:29
Necrodiveri can access the drive and everything so12:29
drizztusing apt and pinning12:29
drizztpin the version to 11.2 for lsb-base12:29
Necrodiverokay let me look in the lsb directory real quick12:29
drizztdo not have the syntax at hand though12:30
Necrodiverso ill have to look that up12:30
drizztlib/lsb disapeared during update12:30
Necrodiverboy i was ready to give up and do a fresh reinstall12:30
drizzt/lib/lsb/ dir12:30
Necrodiveryou saved me a lot of time12:30
drizztfell on it this morning on an embedded system I'm tunning12:31
drizzttested on a few others, and found the problem12:31
Necrodiverhmmm12:32
Necrodiveri went into lib, dont see an lsb anywhere12:32
Necrodiveris it a hidden folder?12:32
drizztit even creates update problem for some packages12:32
Necrodiveryeah i couldnt update exim412:33
Necrodiverit was giving me an rsync error12:33
drizztNecrodiver: /lib/lsb dir got removed by update12:33
NecrodiverOoooooh12:33
Necrodiverthats why12:33
Necrodivernow i get it12:34
drizztyou need to get it from lsb-base_11.2_all.deb or from the one on a system you did not upgrade yet12:34
Necrodiverwhere would the lsb-base deb file be located?12:34
Necrodiverugh debians direct download pages are all set to 11.3 for sid12:37
Necrodivermother fuck12:37
drizzthttp://fr.deb.devuan.org/merged/pool/DEBIAN/main/l/lsb/lsb-base_11.2_all.deb12:38
drizztwget it12:38
drizztthen dpkg -x lsb-base_11.2_all.deb12:39
drizztthen dpkg -x lsb-base_11.2_all.deb .12:39
drizzt(need a target dir)12:39
drizztor dpkg -i lsb-base_11.2_all.deb12:39
drizztmight be better12:39
Necrodiverbut if im on a live boot12:39
Necrodiverit would install it directly to the liveboot system right/12:40
drizztthen -x to extract content to curr dir12:40
drizztand copy (cp -a) or move to /lib of target system12:40
Necrodiverso with -x after the file put the target dir and itll install directly there12:43
Necrodiverokay extracted to the file into lib12:44
Necrodiverlets restart my pc and see if this werks12:46
Necrodiverif not, ill be back on liveboot12:46
Necrodiverlol12:46
Necrodiverso drizzt, it didnt work12:53
Necrodiverit still dropped me to tty12:53
Necrodiverand didnt recognize my home dir at all12:53
Necrodiveri did a smart check on the drive, it passed12:54
Necrodiverjsut in case12:54
Necrodiveri installed the lsb-base directly to the lib folder too12:54
Necrodiverjust like you said12:54
Necrodivermaybe theres something in the code of the init file there that needs to be changed?12:55
Necrodiveri have my boot drive and home dir on separate drives so maybe theres something to that?12:55
drizztnope, have it so here too12:57
Necrodiverhmmm12:57
Necrodiveri wonder what happened then12:58
Necrodiveri did exactly as you instructed12:58
Necrodiveri tried to do startx to force start an x session in tty, said it couldnt connect to network12:58
drizztyou must have /lib/lsb/init-functions and maybe /lib/lsb/init-functions.d/00-verbose12:59
Necrodiverahhhh13:00
drizztI do not have /lib/lsb/init-functions.d/00-verbose on each system (got it on those I fixed, and file is in lsb-base_11.2_all.deb13:00
Necrodiveri see what happened13:00
drizztgot to go13:00
Necrodiverlooks like i made a booboo lol /media/devuan/d743f327-2148-49aa-a384-aaea8459dcd6/lib/lib/lsb/13:01
drizztI'll be back in about 2 or 3 hours, sorry13:01
djphNecrodiver: oops.13:01
* Necrodiver smacks head13:02
Necrodiveri didnt realize it created a new /lib dir inside of /lib lol13:03
Necrodivergood thing i checked the path13:03
djphyep13:03
Necrodiverokay just to double check13:04
Necrodiverthe lsb dir should be in /lib13:05
Necrodiverthe directories i have listed there are lib (the one i dont need because i screwed up), live and lsb13:05
Necrodiverfor l13:05
Necrodiverand it should be the same directory as the /bridge-utils13:06
Necrodiverdont wanna screw this up again13:06
Necrodiverlol13:06
Necrodiverwell ill give it a try this time, hope it werks13:07
Necrodiverlol13:07
Necrodiverif not ill bb again on live boot13:07
Necrodiverit worked13:10
Necrodiverwoohoo13:10
Necrodiversomethings weird though, my volume icon has a no sound mark on it but the sound works13:11
Necrodiverbtw thanks drizzt, i know you arent here right now but i wanted to at least say thank you13:16
Necrodivernow i just need to figure out why i have the volume at 100% but it says the sound is muted13:22
onefangBetter than the other way around.13:24
Necrodivertrue13:28
Necrodiveri aint complaining its just weird13:28
drizztback15:50
drizztfor the volume part ... I don't know15:50
Necrodiverwb15:50
Necrodiveryeah i dont know either, sound works so i dont care15:50
Necrodiverlol15:50
drizztI have some urgent work which stacked up while I was away .. and I already lost more time on this than I had for today :(15:51
Necrodiverdamn15:51
Necrodiverthat sucks15:51
drizztf**k systemd15:51
Necrodiverlol15:51
drizztand all it's side effects ...15:51
Necrodiverwork requires you to use that garbage?15:51
drizzt"Ho, it's not used on my system, it can be safely removed for everyone ..."15:52
Necrodiver...15:52
drizztno, I do not use systemd15:52
drizztbut this is a side effect of debian dropping sysvinit ...15:52
Necrodiverdebian outright dropped it?15:53
Necrodiverwtf15:53
Necrodiveri didnt know that15:53
drizztand it's dev being "mono-culuture"15:53
Necrodiverso debian itself is going systemd only going forward?15:53
Necrodiverthat sucks15:53
djphdidn't they outright drop it a while back, hence devuan?15:53
drizztI do not even know if it's still possible to boot a debian without systemd15:54
Necrodiveri thought the devuan thing was because of systemd implementation, not dropped sysvinit15:54
Necrodiverand the way they implemented it15:54
djphwell, I mean there were a number of reasons.  I'm probably mixing things up a tick15:54
drizztit was because of "single init" position of debian, and replacing single init "sysvinit" by "systemd"15:54
Necrodiverah15:55
Necrodiveri thought debian was using multiple inits15:55
drizztbut replacing init is a long term task, and I think they still have bits from place to place15:55
Necrodiverim newer to linux only been using it like 3 or 4 years15:55
drizztthis obviously is one15:55
Necrodiveryeha thats lame15:56
Necrodiverlike, debian is one of the first distros. Debian should be the first to be all about open use of various init systems15:57
Necrodiverthey dont abide by the philosophy very well lol15:57
djphor y'know simply not being another flavor or RedHat15:58
Necrodivertrue15:58
Necrodiverlol15:58
Necrodiverthe problem is now that poettering is working for microshit, even MORE reason for "protest" distros like devuan15:59
djphbut we might be diverging from the channel's topic; given the "opinion" nature this seems to be taking (so, chanops might tell us to go to #devuan-offtopic)15:59
drizztit used to be "the universal OS" ... it is not anymore :(15:59
drizztyep16:00
Necrodiverokay i joined off topic we can take the convo there16:00
drizztwell I do not really have time for it :(16:00
Necrodiverawww16:00
Necrodiverwell me and djph can16:00
Necrodiverlol16:00
Necrodiverim just gonna go to the convenience store and grab something to drink and a snack16:01
Necrodiverill bb in a few minutes16:01
drizztI'll stick here for some time in case someone needs help with this issssue, but I really should concentrate on my pile of work16:01
buZzthats how we're all here ;)16:06
buZzbtw there's #devuan-offtopic for just social stuff16:06
dan9er[m]gnarface: At this point I'm thinking of flashing an installer USB, nuking NetworkManager and then reinstalling from that USB as an APT source16:40
gnarfacei can't tell you if it'll work or not, but it's worth a try if you have a backup16:41
sxpertgood afternoon16:51
sxpertI am trying to upgrade an old debian 9 to ascii16:52
sxpertat some point the upgrade bombs in update-initramfs with "E: /usr/share/initramfs-tools/hooks/udev failed with return 1."16:53
sxpertI did some digging and it fails at the line "copy_exec /sbin/udevd     /sbin16:53
sxpertI did some digging and it fails at the line "copy_exec /sbin/udevd     /sbin"16:53
gnarfacethis is probably covered somewhere, like in the release notes or something like that16:54
gnarfacei forget what the issue is but maybe if you upgrade udev to eudev first it'll help16:55
sxpertit looks like /sbin/udevd is a symlink which copy_file doesn't grok16:58
sxpertno, that comes up right when I upgrade to eudev16:59
gnarfacei don't think they should be symlinks17:02
gnarfacethey're not symlinks in the eudev package i have on ceres anyway17:03
sxperthah17:03
sxpertlrwxrwxrwx 1 root root     12 Apr  6  2018 udevadm -> /bin/udevadm17:03
sxpertlrwxrwxrwx 1 root root     26 Mar 12  2016 udevd -> /lib/systemd/systemd-udevd17:03
sxpertI have those 217:04
sxpertthe udevd one points to nowhere17:04
gnarfaceoh, well that's definitely a problem17:05
sxpertshould this be a file or a directory with stuff inside ?17:06
gnarfaceudevd should be a binary17:08
gnarfacethe symlink to udevadm is correct17:08
sxpertI restored the snapshot and I indeed have a binary17:09
* sxpert copies17:09
sxpertreplacing the symlink with the original binary worked17:12
sxpertlets try going forward now17:13
sxpertso that's a case that should be checked17:22
AlexLikeRockgood morning17:37
KittyWhat do people recommend for wifi management on devuan?18:41
Kittywicd used to be my goto, but doesn't work any more18:41
Necrodiveri stopped using wicd and moved to connman18:42
Kittythat just works, thanks!19:07
fluffywolfI use wicd.19:15
rwpconnman seems to be the natural heir apparent for wicd.19:24
Necrodiveri remember when i switched to unstable and wicd stopped working, it was the first thing a friend recommended me19:24
Necrodiverhasnt failed me19:24
buZzwicd is python2 alas, and no dev wanted to port it19:27
fsmithredI found connman to be a pain in the neck if there are two routers in the house. I switched to network-manager.19:37
drizzthostapd (router) and wpa-supplicant (clients), and a few lines in a shell scripts, works for all home needs19:44
drizztmight sound "old geek", but works accros updates, changes, abandonware, ...19:45
drizztlearning and understanding is always better than "simple" gui ...19:45
Necrodivertrue19:46
Kittytrue19:48
Kittythis is for my work laptop.19:48
Kittyso I also have a trade off of hours spent setting up shiny new laptop vs hour not worked19:48
drizztin most cases you do not switch between more than one or two wifi networks19:49
drizztgui tools are usefull if you switch network often19:49
drizztif you use a single one, or two, then maintaining the tools takes more time than learning and doing the configuration once19:50
drizztI stopped using gnome for this ... fed of having to reconfigure everything every 6 months because the devs did not think that my setup was worth supporting anymore ... every 6 months19:51
KittyI haven't used gnome in well over a decade19:52
drizztgot a working and stable config of fvwm which I did not need to "redo" for about 12 years ...19:52
KittyI use evilwm19:53
Kittysame config since at least 200419:53
drizzttook me three days in the beginning, (but I did a lot of customizations)19:53
drizztlearning "raw" tools is never a waste of time19:53
fluffywolfI find wpa_supplicant to be utterly horrdendus to interface with directly, and would much rather use another program to do it for me.19:53
drizztthe choice of the ****vm is up to you, but you get the idea :)19:54
fluffywolfI only do it when I get a barebones install and need to get it on wifi to download more packages.19:54
KittyI got my new work laptop today19:55
drizztwpa-supplicant is mainly a config file and a few commands to "mount" the network19:55
Kittyand took the list of packages from the old one, and just installed them all (yay for xargs)19:55
drizztKitty ???19:55
drizztwhy re-install ???19:55
drizztLinux is not windows ...19:55
drizztI haven't installed a linux for years19:56
Kittyit was the fastest way to bootstrap the new box19:56
Necrodiversure you coulda done it with a few command in terminal19:56
Kittyoh I did do it in the terminal...19:56
fluffywolfbbl, lunch over, back to the salt mine.19:56
drizztnon, the fastest way is to take a copy of your rootfs on an USB key, which you should have ahndy anyway in case something goes wrong19:56
Necrodiverspeaking of which19:57
Necrodiverjust in case i should probably make a snapshot of my hdd19:57
Necrodiverthen put it on a usb drive19:57
Kittyusb stick would mean asking CISO for permission to use an usb stick. and the nightmare issues of FDE19:57
drizztmiam time19:57
___usedThe xargs+package name list install method only works well if the list is ordered, deps 1st. Ime.21:46
golinuxHow can I throttle the size of my .xsession-errors22:02
golinux?22:02
golinuxIt is currently over 15 MB22:03
golinuxI forget it's there and it just balloons.22:03
phogghave fewer errors? You can truncate the file any time you like. You could even logrotate it22:06
Necrodiverwhat does the exim4-base package do? It says something for mail but i dont use thunderbird or mutt or anything so do i really need it?22:07
golinuxphogg: Mostly GTK errors from the theme22:08
peterrooneyNecrodiver: on most systems, exim delivers system-generated mail to root or appointed user account.22:15
Necrodiveris it really a necessary package though?22:17
Necrodiverbecause the way i read it on the debian package page, it isnt, but the way you describe it sounds like it is22:17
debdoggolinux: you could write a script which is run on shutdown/reboot to check its size and if it exceeds $VALUE delete it.22:21
debdogand, thanks for reminding me, mine is at > 600 MB right now22:21
debdogdue to my setup I'll have to add that to my ~/.bash_profile22:23
phogggolinux: if you don't care to look at it just truncate the file now and then, if you do care then logrotate it so the max size is manageable22:26
debdoggood idea!22:31
debdogwhere does truncate snip the file, top or bottom? there does not seem to be an option for that.22:33
peterrooneyNecrodiver: root getting mail about system events via exim is, it turns out,  entirely optional22:33
Necrodiveroof lol22:33
peterrooneyit kinda makes sense, linux does loads of things (eg embedded) where mail would never ever get checked22:36
Necrodiverso i could delete it or not, basically22:43
drizztexim is indeed optional22:43
drizztin fact, "all userspace is optional, save for a single process, usually called init" (even if you can call it anything else)22:44
Necrodiverlol22:45
drizztI already built embedded systems with only a single usefull process (though I kept some userspace from busybox for easier debug/check)22:50
drizzt(though this is out of devuan scope, which did not exist at this time)22:52
Necrodiverah22:53
dan9er[m]erm gnarface you might want a load of this22:55
dan9er[m]So we know `$ ping example.com` doesn't work22:55
dan9er[m]I installed strace to get more output on that22:56
drizztwhat is "mandatory" in a distribution is only mandatory from the distribution's packagers' point of view. It's their job : build a set of packages so that it creates something usable from their point of view22:56
dan9er[m]`$ strace -o trace.log ping example.com` gives `ping: socket: Operation not permitted`22:57
drizztwhich sometimes happen to be also some other people's point of view22:57
dan9er[m]but `# strace -o trace.log ping example.com` works just fine!22:58
dan9er[m]BUT `# ping example.com` doesn't!!22:58
dan9er[m]wtaf22:58
dan9er[m]`# ping example.com` gives temp. failure in name resoulution22:59
drizztdan9er[m]: strace adds some timings, but that seems weird22:59
dan9er[m]My network issue just refuses to be debugged23:02
fsmithreddan9er[m], user can't run ping anymore. I guess someone decided it's a security issue.23:04
fsmithredrun 'dpkg-reconfigure iputils-ping'23:04
fsmithredinstall that package if you don't have it.23:04
dan9er[m]I recall that I did do get/setcap to run ping as non-root23:06
dan9er[m]But still, that was way before this issue23:06
dan9er[m]And also it's not just ping that can't use DNS23:06
debdoggolinux, phogg: truncate removes the end of files. for logs which start at the top that's worthless. for now I stick with deleting it at a certain size. that way at least it (mainly) holds the messages.23:09
phoggdebdog: when I say truncate I mean '> ~/.xsession-errors' which throws away all data23:10
phoggdebdog: I did suggest logrotate as an option, which allows all manner of policies23:10
drizztdan9er[m]: your '#' didn't mean that you where running both commands as root ?23:10
dan9er[m]fsmithred: Hm after running `# dpkg-reconfigure iputils-ping` nothing changed. It changed /bin/ping's cap from `cap_net_admin,cap_net_raw=ep` to just `cap_net_admin`. Still can ping as non-root to external IPs but DNS still borked23:11
dan9er[m]drizzt: `$ sudo strace -o trace.log ping example.com`23:12
debdogphogg: haha, my bad, I thought you actually meant the truncate command (I have no clue what '> ~/.xsession-errors' does. logrotate, will have a look, in case it's not too complicated...23:14
rwpgolinux, debdog, Every so often I do like the others here have mentioned and "> ~/.xsession-errors" to truncate mine to zero.23:14
fsmithredthat works like that?23:15
fsmithredredirect nothing?23:15
rwpThe ">file" redirects the output of the command line to the file.  Which creates the file if it does not exist.  Truncates the file if it does exist.23:15
rwpAnd if there is no command on the command line then the redirection is still done.23:15
drizztls /proc/sys/net/ipv4/|grep icmp23:15
golinuxI have always just deleted it and it respawns23:15
dan9er[m]Woah hello, I tried `$ sudo strace -o trace.log ping example.com` again and now that no longer works, getting temp. fail in name res.23:16
rwpThere was an obscure shell on True64 or some such that I haven't seen in 30 years that would produce an error.  Some some of us pedants use ": > file" where : is the noop true command.23:16
dan9er[m]Alright time to look in the trace23:16
drizztyou have a set of files from kernel that control icmp capabilities ... though I do not know what you should have there or what to send in23:17
rwpdan9er[m], Note that the ping command traditionally is setuid-root in order to work.  But of late OS-people have decided to switch to Linux capabilities instead.23:17
drizztdan9er[m]: temp. ??23:17
debdogrwp: still don't understand entirely. where would I put that '> ~/.xsession-errors'?23:18
rwpdebdog, I just do that when I think about it from the command line.23:18
rwpMy ~/.xsession-errors file is 1.8MB at the moment.  So I must have thought about it within a few weeks.  Too soon to do it again.  So I haven't automated it.23:19
debdogahh, so it can be done anytime23:19
dan9er[m]drizzt `ping: example.com: Temporary failure in name resolution`23:20
fsmithredwtf, I can ping example.com. I had no idea it was real.23:20
rwpX had an open file handle to that file descriptor and the file handle is open until you exit X.  Truncating the file will bring it to zero.  New output from X or any of the children application programs of X will write to that file.23:20
rwpI think X keeps the file open.  Not sure.  It might re-open it at times.  I don't know.  But truncating it to discard the contents is always safe.23:21
phoggdebdog: the advantage of logrotate is that anyone out there is probably already familiar with it. If you don't know it then it's less helpful. '> file' is shell code that, in effect, makes a file of size zero (even if the file already existed)23:21
rwpYes.  example.com, example.net, and example.org are all real domains.  Intended to be used for all documentation purposes.23:21
drizztwhat do you have in /etc/resolv.conf23:22
rwpSo annoying when people write something silly as an example and use ping mydomain.com and the owners of mydomain.com get the traffic.  Use example.com instead!23:22
fsmithredmy resov.conf?23:23
drizztget IP from another way, and ping IP directly23:23
fsmithrednameserver127.0.0.123:23
rwpfsmithred, I think the resolv.conf question was for dan9er[m].23:23
fsmithredah, ok23:23
debdogphogg: thanks! slowly I begin to understand23:23
drizztfsmithred: no, dan9er[m]23:23
drizztsorry23:23
fsmithredI'm using unbound.23:23
rwpfsmithred is running a local caching nameserver.  (as I am too, also unbound)23:24
drizztping 93.184.216.3423:24
drizzt(IP of example.com)23:24
debdogmy first entry in .xsession-errors is of May 2015. which proofs I never remember.23:24
rwpdan9er[m], I didn't read all of the scrollback but what is in your /etc/resolv.conf file?  And what is "ls -l /bin/ping" (is it setuid?) or is it "getcap /bin/ping" (/bin/ping cap_net_raw=ep)?23:25
dan9er[m]drizzt: generated by NetworkManager, `nameserver` entries as follows `9.9.9.9`, `149.112.112.112`, `2620:fe::fe`, `2620:fe::9`23:25
rwpdan9er[m], You are using an external nameserver starting with the quad-9 one.  Only the first three are ever used.  But no errors if you have more.23:26
rwpdan9er[m], Can you ping it?  "ping -c3 9.9.9.9" ??23:26
* rrq has heard that some ISP block port 53 traffic23:27
rwprrq, That would be pure Evil(TM).  But I have been on captured-portal networks before that did that.  I usually tunnel around the blockage.23:28
dan9er[m]rwp: `$ ls -l /bin/ping` gives `-rwxr-xr-x 1 root root 77432 Feb 2 2021 /bin/ping`; `# getcap /bin/ping` gives `cap_net_raw=ep`; and I can ping any external IP just fine23:29
dan9er[m]And also dig works just fine23:29
rwpdan9er[m], Then you are using the new style Linux kernel capabilities allowing cap_net_raw=ep instead of setuid for ping.23:29
rwpBut note that when you "sudo strace -o trace.log ping example.com" that uses sudo to become root, and then as root it does things as root instead of using the capabilities.  So the behavior will be slightly different.23:30
rwp"You are in a maze of twisty little passages all different."23:31
dan9er[m]`sudo ping example.com` doesn't work either, same temp. fail in name res23:31
drizztbeacome really root and test23:32
drizztsudo su -23:32
rwpdan9er[m], Bizarre problem!23:32
drizztto get rid of all user rights possible problems23:32
dan9er[m]drizzt: same shit23:33
drizzt(I hate sudo, it's almost always badly used)23:33
rwpI would try the "sudo -i" thing too.  (sudo -i is effectively sudo su -)23:33
dan9er[m]I have an strace of a `$ ping example.com` invocation that I can paste, if anyone is able to grok it23:33
drizztthen, this israther a DNS problem23:33
rwpdan9er[m], Never know until we try. Please send us a paste bin URL for it.23:33
dan9er[m]One sec lemme get it off my problem laptop23:34
rwpdrizzt, Put me in the "I like sudo" camp.  But I also use "su -" a lot too.  They are different.  Both are useful individually.23:34
rwpdan9er[m], Oh!  You have to sneakernet it.  Sorry!  It might not be useful.  I was assuming you had it otherwise online.23:35
drizztrwp that's the point23:35
drizztsudo is useful for what it's designed to : give some rights on some commands to some users23:35
rwpdan9er[m], Also I am still unclear...  Can you ping by IP address directly?  Is the problem only DNS host name lookup?  Or is IP routing also broken?23:36
dan9er[m]Well not sneakernet! Local IPs work. I have Syncthing (but I guess netcat would work too)23:36
rwpdrizzt, I might also say, sudo is useful to give full rights to some users.  (Restricting commands (which I also do) has proven more tricky for people.)23:36
rwpdan9er[m], So...  LAN IPs work.  Do WAN IPs work?  If not then that sounds like a default route problem.23:37
rwpLAN connectivity is always direct peer to peer across the LAN.  But WAN IPs are routed by the router, usually using the "default" route.  "ip route show"23:38
rwpAnd depending upon things "ip -6 route show" for IPv6 networks.  Which will be used preferentially if configured.  And should be configured these days.23:39
dan9er[m]rwp: https://hastebin.com/ivuvumuyal.strace23:39
dan9er[m]Any IPs work, but not domain names23:41
rwpdan9er[m], ping's libc resolver module code tried to connect to 9.9.9.9 (line 158) 149.112.112.11 (line 164) 2620:fe::fe (line 170) and all failed.23:41
dan9er[m]And presumably anything that uses libc resolver23:42
dan9er[m]Does dig(8) do something different?23:43
rwpAnd everything pretty much uses the libc resolver module.23:43
rwpdig might.  I don't know.23:43
dan9er[m]Any idea why that would fail?23:43
rwpI am still suspecting something wrong at the network level below the DNS level.  I think if the network worked then DNS would work.23:44
dan9er[m]selinux?23:46
rwpI am also despising of avahi and mdns and see mdns4_minimal in your /etc/nsswitch.conf file.  I would be inclined to "apt-get purge libnss-mdns" double check /etc/nsswitch.conf and then try dns lookups again.23:47
dan9er[m]Oh I purged that a while ago23:47
rwpThe libnss-mdns postinst script installs that "mdns4_minimal [NOTFOUND=return]" part and purging it will remove it.23:47
dan9er[m]It's gone23:48
rwpGood!  I have had problems with it.  And by design it does things that I don't think are good to do.  For one it is trusting.  And I have no trust.23:48
rwp(I was going to say I have no trust in my soul.  But I do trust people.  Some people.  But I don't trust everyone sight unseen.)23:49
dan9er[m]dnsmasq-base is installed23:50
rwpdnsmasq-base won't interact at this point.  It's pulled in if you have containers anything.23:50
rwpThis is a real stumper.  I would be inclined to download the refracta live boot image.  Boot it.  And see if the live image is okay or not.23:52
rwpThe live image should work out of the box okay.  And if it does then you know something is definitely wrong in your current installation.23:53
dan9er[m]I actually installed through the live image23:53
rwpAnd if the live image fails to work then that is also useful information.  Then it is something about your network.  Your router.  Or something in there.23:53
dan9er[m]Cause this is a Surface Laptop 1 and the KB doesn't work without a patched kernel. Needed `toram`23:54
rwpThen you have the image available to boot.  Good.  I would try that.  Unless others have a better idea.  Try the live boot and test it for network IP connectivity and DNS functionality.23:54
rwpSorry.  KB is what in that context?  I am unfamiliar with the Surface laptop.23:54
dan9er[m]Keyboard23:55
dan9er[m]And btw, dnsmasq-base is installed as a recommendation for network-manager. I don't have docker or the like23:55
rwpThen I think you can safely purge dnsmasq-base.  If something else needs it then it can pull it back in.  Simplifying is always good.23:56
rwpFor example, libvirt kvm uses dnsmasq-base for a local NAT default network for the virtual machine network.23:57
rwpSoo....  That keyboard problem is nasty.  Does that mean you have to bootstrap yourself using only the touchscreen?  Gack!23:58

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!