libera/#devuan/ Thursday, 2024-07-25

onefangSo I often see this log entry - "unbound: [3932:0] info: generate keytag query _ta-4f66. NULL IN", any one have a clue what it means?  What's the point of a commonly presented unintelligible log message?01:20
onefangIt was almost once an hour this morning.  lol01:20
gnarfacei have no insight other than it seems to be coming from a unbound, a dns resolver i don't use, and it's class "info" which means you probably also have fairly verbose logging enabled for it01:23
gnarfaceso maybe it's not actually something you're even supposed to be seeing01:23
onefangYep, unbound the DNS resolver, and default logging rules.01:23
gnarfaceis it always _ta-4f66, or does that number change?01:24
onefangAlways _ta-4f66 this morning.01:26
gnarfaceit comes up in several search results, you aren't the only one asking about this01:27
onefangSame yesterday morning.01:27
onefangIt was annoying enough this morning to trigger me to bitch about it BEFORE looking it up myself.01:28
gnarfaceseems to be related to DNSSEC, maybe a system time issue?01:28
onefangI run an NTP client.01:28
gnarfacewhen you run ntpq, then type in "peers" at the prompt, make sure the entries have * in front of them01:29
onefangThis is on my real hardware now, switched Deadulas from the test VM to be my daily driver now.01:29
onefangWell again, default setup for NTP, haven't looked at it yet.01:30
gnarfacethey changed from ntp to ntpsec, and there is a mistake in the default config file if you are only polling one server, it will just not use it01:30
onefangActually I switched to chrony this time, but still default setup.01:30
gnarfaceyou can tell because it will have + or nothing in front of the entries when you list the peers01:30
gnarface(this hit me too on upgrade to daedalus in several places)01:31
onefangJust double checked, ntp not installed, chrony is instead.01:31
gnarfacehmm, dunno then01:32
gnarfaceeyeball check of the time looks accurate? for DNSSEC to fail it'd have to be off by like 5 minutes01:32
onefangThu 25 Jul 2024 09:33:00 AEST01:33
gnarfacemaybe that's not even what was happening here, but it seemed to be an accepted suggestion in one of the search results...01:33
onefangMatches what it says on my phone.01:33
onefangMy phone is Android and does use NTP.01:33
gnarfaceshould be right01:34
onefangAccording to the timestamp I posted that at 09:33:09, so about right it took me 9 seconds to copy paste that.  B-)01:34
rwponefang, Here are the BIND docs on Trust Anchor telemetry, which is what you are seeing unbound logging: https://kb.isc.org/docs/aa-0152802:24
rwpThe corresponding unbound documentation is less than satisfying: https://unbound.docs.nlnetlabs.nl/en/latest/getting-started/configuration.html02:25
rwpThe executive summary is that the log entry you cited "info: generate keytag query _ta-4f66. NULL IN" is a normal event using KSK-2017 (key ID 20326).  I only see a couple of those a day logged in my log files.02:31
onefangThanks gnarface and rwp.  Good to know I can not only ignore them, but tell logcheck to ignore them as well.02:35
* onefang moves onto whatever the next annoyance to fix will be. Ah the joys of upgrading by installing from scratch and going over all the configs again. Though I still compare them to the old ones, and sometimes just copy things.02:37
onefangToday's annoyances I promised myself would be tmux, which ironically always does change their config in incompatible ways, except for this upgrade.  So today I promised myself I'll work on the tmux annoyances that where always there.  PROGRESS!  lol02:42
rustyaxeive not changed my tmux config file in 10 years, still works :P02:55
onefangGuess I was just unlucky and tried to use the config options that would change.02:56
rustyaxeSeems so :(02:56
Xenguyonefang, When I upgrade from Beowulf to Chimaera my tmux.conf broke, and I had to fix it03:19
XenguyI have a sample file somewhere; let me know if that might be helpful03:19
XenguyTheir format changed IIRC03:20
XenguyOr they stopped supporting their old format finally03:20
onefangThis is an upgrade from Chimaera to Daedulas, the only tmux upgrade that didn't break on me.  Beowulf to Chimaera broke on me to, but I fixed that long ago.03:21
onefangRight now my tmux problem is that after you tell it to split a pane by a certain percentage, then change the size of your terminal window, the percentage is lost and one pane holds onto what ever number of lines it had after the percentage split, the other just grows.  I'd rather the percentages persisted.  Alas "change the size of your terminal window" includes from the very beginning, when you haven't ac03:26
onefangtually atteched to the tmux session yet in a script.  Then it assumes 80x24, and I never see the requested percentages at all.03:26
onefangRace condition I think.03:27
XenguyNext time I'll ask you to specify the problem first  : -P03:37
onefangI wasn't asking for help with that specific problem.03:38
onefangGot it half sorted, it is a race condition.  If I adjust the timing of my commands, it works.  But I don't want to fix it that way, there's reasons why the commands are in that order.03:39
onefangAh sorted, the docs where not clear.03:41
onefang"tmux new-session -d -x - -y -" the '-' bit after the -x and -y tell it to use the current size of the terminal, not it's built in default size, or specifying a fixed width and height with -x and -y.  The docs mentioned '-', but wasn't clear where to put it.03:43
onefangNaturally once you have attached to the tmux session, it'll pick the smallest terminal size amongst those attached to it, but by then the percentage size calculation has already converted into lines / colums based on tho original size.03:45
adhocthey each get a '-' ?03:45
onefangYep.03:45
onefangYou could probably have a '-' for one, and something else for the other.  Didn't try that, not my use case.03:46
rwpI have had to chase tmux configuration changes but it was specific tmux commands which changed.04:37
rwpThough tmux paste has changed behavior generally and it used to work better and now the paste select preview is much worse.  I should look again because I stopped using it.04:38
rwpIt looks better now.  It's now defaulting to the most recent copy.  Which is good.  I can verify that in a previous version (still have one running) it chooses the oldest copy by default.  Which is terrible.04:42
onefangOK, think I have several annoyances solved now, in tmux and other things.  Only way to be sure is to reboot though.  So, BRB.05:54
adhocrebooting solves all manner of ill's.06:27
adhocexcept fixing your MBR06:27
rwpShould we be worried that onefang left to reboot and has not yet returned?06:43
fluffywolfprobably.  lol06:52
onefangWell got most of the way there, after much tweaking.06:55
onefangOne remaining problem I think is just plain unsolvable, so I'll drop that.06:55
onefangOne more tweak, one more BRB.07:48
onefangOK, good enough now.  B-)08:19
* onefang relaxes for the rest of the day.08:20
dvbsthello, i tried the upgrade from devuan 4 to devuan 5 yesterday and now i cant log in due to the screen being frozen with the message "[  84.814904] Bluetooth: hci0: Opcode 0x2037 failed: -22". even if i open up another virtual terminal, then i can see the login tty for few seconds, but then this message writes on it, clears the screen, and then its only that message again15:01
rrqhave you tried "single user" boot? ... adding an S to the boot line15:12
rrqor else adding "init=/bin/sh" to the boot line?15:15
rrqor else boot upa live iso for forensics15:17
dvbstsorry, my internet went off, i cant see the messages15:18
rrqbest option is to use a live iso15:20
dvbstye but what do i do on it15:20
rrqfigure out what happened on the prior boot up15:21
dvbstit recovers journal15:21
dvbstenters stage 115:21
dvbststarts udevd15:21
dvbstsynthesizes initial hotplug events15:21
dvbstwaits for /dev to be fully populated15:21
dvbstiwlwifi fails all over the screen15:21
dvbstbluetooth hci0 fails15:21
dvbstsets up keyboard15:21
dvbststarts boot logger15:21
dvbstcleans up temporary files15:21
dvbstloads kernel modules: lp, ppdev, parport_pc15:21
dvbststarts remaining crypto disks15:22
dvbstchecks file systems15:22
dvbstcomplains that the current boot sector and its backup are different15:22
dvbstmounts local filesystems15:22
dvbstmounts swap15:22
dvbstcleans up temporary files15:22
dvbststarts apparmor something15:22
dvbstsets kernel variables: sysctl15:22
dvbstconfigures network interfaces15:22
dvbstdoes dhcprequest (this takes a while)15:22
dvbstcleans up temporary files15:22
dvbstsets up alsa15:22
dvbstruns X15:22
dvbstrunit leaves stage 115:22
dvbstrunit leaves stage 215:22
dvbstrunsvchdir: default: current15:22
dvbstsets up console font and keymap15:22
dvbststarts uuidd and virtlogd15:22
dvbstfails to start avahi15:22
dvbststarts bluetoothd, connection manager, dundee, libvirtd, ofonod, saned (it complains that theres no avahi)15:22
dvbstscreen clears15:22
dvbstthen the login tty appears15:22
dvbstsystem writes to it: ok: run: dbus: (pid 2011) 0s15:22
dvbstsame line again15:22
dvbstok: run: elogind: (pid 2004) 0s15:22
dvbstthen it repeats the things from avahi to ofonod, same order15:23
dvbstscreen clears15:23
dvbst[  84.814904] Bluetooth: hci0: Opcode 0x2037 failed: -2215:23
dvbstthis is what happens15:23
rrqok. I don't know runit. I'm sure someone else might do though.15:24
dvbstwhen i was updating, it did say that avahi is now abandoned and people need to rewrite the scripts15:26
dvbstbut i thought that i waited so long with the upgrade that it is tested15:26
rrqmaybe you can disable most of the start up? how does runit pick which things to start/15:29
dvbstiirc then there is stuff in /etc/sv/ and /var/service/ but ive never played around with it and i dont want to break more things15:32
dvbsti have the default runit + lxqt setup, never done any configuration to it, and i just followed the steps on https://www.devuan.org/os/documentation/install-guides/daedalus/upgrade-to-daedalus15:33
rrqok.. you'll need to hang on until there's a runit wiz around15:35
rrqbut in general the forensic is likely to be to disable almost everything and then add them back one by one until you run into the problem again15:35
dvbsti mean the only thing that seems to be stopping me from using my system normally is the bluetooth daemon15:36
dvbstand i dont even use bluetooth, so im fine with just removing it completely15:37
dvbstbut youre right, lets wait for someone who knows what theyre doing15:37
frewHello, I'm using antix, but devuan is pretty close, so can I ask for help please?16:16
djphfrew: sure, you can ask for help about devuan in the devuan channel ...16:17
frewI have a quistion about sysvinit16:18
frewhttps://www.linuxquestions.org/questions/linux-newbie-8/long-dhcpdiscover-on-eth0-using-wlan0-4175739668/16:18
rwpfrew, Unfortunately if you are asking about networking and WiFi then the init is probably not really associated strongly.  Different systems do network completely differently.  I don't know how Artix/Arch does networking but I imagine it is doing things completely different.17:00
rwpAnd in Devuan there are several choices for handling WiFi and networking.17:00
rwpFor regular networking the usual traditional choice is "ifupdown" which is the standard choice for wired networking.17:01
rwpFor WiFi most unfortunately the, it pains me to say this, best (very painful), is NetworkManager.  Which presents a mobile laptop GUI for WiFi.  And it will handle wired networking.17:02
rwpBut there is also "connman" too.  Or one might do it manually.  Or there are other possible ways too.17:02
rwpAlso in Devuan/Debian there is a choice between "auto" which is a synchronous boot time setup and "allow-hotplug" which is an event driven on-event setup.17:03
rwpNot knowing anything about Artix/Arch I am not sure how any of this will apply there.17:04
rwpBut if you install Devuan then we would have a common basis for helping you! :-)  Good luck!17:04
frewantix is debian based, and it uses some devuan repos and sysvinit as a main init, that's why I'm asking here17:07
rwpI thought antix was arch based.  No?  Okay.  Then what I said would apply.  But I have a work meeting for the next hour now and must focus on it.17:09
Xenguyfrew, For Wifi networking, have a look at this page:  https://www.devuan.org/os/documentation/install-guides/daedalus/network-configuration.html17:11
frewrwp, you mixed up with aRtix)17:12
XenguyI used the 'Using ifupdown' section for Wifi on my laptops...17:12
XenguyOnce it's set up properly it works great, and I just can't stand connman or NetworkManager17:13
XenguyNow I don't have to deal with either of them ever again : -)17:13
al1r4dfrew, sorry, i cant help you17:33
al1r4d¯\_ (ツ) _/¯17:34
al1r4dWell you can use devuan networking config and paste to your system17:34
al1r4dhttps://www.antixforum.com/forums/topic/antix-vs-devian/17:35
al1r4dhmm17:35
masonrwp: I'd posit that ifupdown is Just Fine for wifi.19:47
masonrwp, frew: https://bpa.st/SP6Q19:49
masonIn that example, "some network" will be connected in the case that both "some network" and "some other network" are available at the same time, based on the listed priority.19:50
rwpmason, I have used ifupdown for wifi and it is very good for a non-mobile wifi connection to an access point that is always the same.20:15
rwpFor a mobile device it's tedious and a pain to have to manually scan for the SSIDs and then update the wpa_supplicant.conf file with the passphrase for them.  Certainly possible.  I ran my laptop that way for a year.  But it's tedious.20:16
rwpI have myself since returned to using the GUI, meaning I am now running NetworkManager on my laptop for wifi.  And I really, really, really dislike NetworkManager.20:17
rwpI should go back to using connman which is okay.  It's just got this very unusual user interface model.20:17
Xenguyrwp, You don't have to wpa_gui takes care of the wpa_supplicant.conf management pretty seamlessly.20:19
XenguySo it works just fine for laptops (which is all I use these days) and public wifi for example20:20
rwpwpa_gui?  Is that new?  I guess I will need to try it.20:21
XenguyI found connman very intrusive, so very glad to have the ifupdown option20:21
Xenguyrwp, It's documented here:  https://www.devuan.org/os/documentation/install-guides/daedalus/network-configuration.html20:22
rwpIf wpa_gui handles the scanning and selection and passphrase part of the problem then that covers all of my tedious complaints about it otherwise.20:22
XenguySee the first section of the document; wpa_gui is mentioned in one of the config examples20:22
Xenguyrwp, Yep, does the scanning, stores the passphrase etc.  Works for me, and I use between a half a dozen and a dozen public wifi instances20:23
rwpThis is all very good information.  I'll take it out for a test drive later.  I would be much happier if I were not using NetworkManager.20:24
rwpFor about a year I was using a StarLabs StarLite laptop with only a manual wpa_supplicant configuration.  And 95% of the time it worked excellently!  Because 95% of the time I was routinely visiting the same WiFi SSIDs repeatedly.  Once configured then it worked without any interaction.20:25
rwpBut 5% of the time I would visit a new location and need to set up a new SSID and that was when the tedious nature appeared.20:25
rwpThat StarLite laptop battery started swelling and popped the keyboard up where I needed to remove the battery from it for safety and stop using it.  Unfortunately the battery is currently unavailable.20:26
XenguyI feel exactly the same way, and I'm very happy that rrq came up with this method and documented it.  I used to use the one that relied on Python 2, and it worked fine up to Beowulf, but disappeared in Chimaera.20:26
rwpI shopped for and returned to using a Thinkpad again.  And there was much rejoicing because the keyboard on the StarLite was not to my liking.  Truly awful I would say but I know someone else who liked it well enough.20:26
rwpI previously used wicd for python2 and really was quite happy with wicd.  But...  python2.  I am really shocked and surprised that no python person has ported it to python3 yet.  Makes me wonder what makes it so difficult.  I assume because it must be write only code inside of it.  But then I did say python so I repeat myself.  :-)20:28
rwpI do really like how reliable and fast nfs2 reboots.  So nice.20:31
Xenguywicd, that's the one (I'd already forgotten the name ; -)20:36
djphman, i miss that one.20:36
Xenguyrwp, My /etc/network/interfaces is very simple:  https://bpa.st/3J7A20:36
XenguyThat does everything I need to use the documentation/ifupdown method for public wifi20:37
rwpThat must also be including wpa_gui too to fill in the ssid scanning and selection and passphrase stuff.20:38
XenguyYes, and /etc/wpa_supplicant/wpa_supplicant.conf looks like this (only the first 3 lines are needed, wpa_gui takes care of adding the wifi networks): https://bpa.st/EOUA20:40
XenguyThe only other requirement is that the user needs to be added to the 'netdev' group (for access to wpa_supplicant.conf I think)20:40
XenguyIdeally the latter file should be chmod'd to 600 if it contains any private passwords20:41
rwpThanks for the examples.  I'll convert my Daedulas laptop over to it and drive it around that way.  And there will be much rejoicing!20:43
XenguyEnjoy the freedom from connman/NM : -)20:45
frewI didn't get the point, but isn't all that you need to do to connect to a public wifi is edit a little "interfaces" conf? why you should use wpa_gui? ps: asking for future20:51
frewand thanks for ifupdown mention, finally discover how network should be configured normally in linux20:53
rwpifupdown has been the standard in Debian systems for decades.20:54
frewonce, sysvinit was a main init20:55
rwpfrew, So you take your laptop mobile to the library and connect to the library wifi.  The poster on the wall says it is PublicLibrary345 or PubLib765 and the passphrase is "readbooks".  That information must be entered into the wpa_supplicant.conf file by some method before wpa_supplicant will know that it should connect to that SSID with that passphrase.20:56
rwpThen you take your laptop mobile to your friends house.  You ask your friend the name of the house WiFi.  It is KeepOut3 and "Go Away Now".  That information must be edited into the wpa_supplicant.conf file.20:57
rwpYou take your laptop to a coffee shop and don't see anything up on the wall announcing it.  Probably it will be obvious.  You scan for access point SSIDs.  You see one called "The Human Bean WiFi".  The coffee shop name is The Human Bean.  You make an assumption and look up the phone number.  You enter that SSID and phone number and connect to it.20:59
rwpUsing a GUI to scan and select and enter passphrases is much easier than running the commands to do so manually.  Though you can certainly run the commands manually too.21:00
frewYou can reboot) But ok, I get the point. "wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -B && dhclient wlan0" works but it's inconvenient obviosly21:02
rwpfrew has left but starting wpa_supplicant and dhclient are the easy non-tedious parts.  Which were not the parts of scanning, selecting, passphrasing, that I was calling out.21:40
golinuxPeople come and go but do they talk of Michelangelo?21:47
golinuxSorry couldn't resist. :D21:47
masonClearly you dared.21:48
golinuxHehehe . . .21:49
golinuxA shout-out to T. S. Eliot21:51
rrqrwp: with Xenguy's setup, you let wpa_supplicant run dhclient, by virtue of the "iface default" block22:34
rrq.. and there's also a "wpa_cli" command/program to operato on the configuration from the command line (complemntary to wpa_gui)22:35
rrq(but I agree about using gui is helpful when roaming)22:37
paculinoHas anyone made a gui to setup the wpa_supplicant + dhclient route?22:38
gnarfacedon't all the gui network tools do that, basically?22:38
paculinonetwork manager didn't work that way for me22:39
gnarfacei guess there aren't many choices, i think most people do use network-manager... i don't though. wicd was popular around here but it didn't make it into daedalus22:40
rrqwpa_gui is not very new but useful. possibly "man wpa_action" is a reasonable entry point22:40
masonpaculino: If you're not stuck on it being a GUI, there's always "iwlist wlan0 scanning | grep ESSID"22:42
masoniwlist is from the "wireless-tools" package.22:43
paculinoOh, I was just curious. I set mine up last winter22:43
gnarfacebut frew was right, you can just put the wifi config into /etc/network/interfaces directly, you don't need any other crap. you might want to change the permissions on the interfaces file to not be globally readable after you've got your wifi password in it, but it should work fine with the regular ifupdown tools if you get the field names right... you just can't store multiple "location profiles" in there, you have to22:43
gnarfaceuse comments and hand-editing22:43
gnarfacebut it definitely works22:44
masongnarface: Gets more complex if you regularly connect to a few networks. For that including stuff in wpa_supplicant.conf eases the pain. Enables automatic selection.22:44
gnarfacewell, the wpa_supplicant config itself has completely redundant capacity in this regard, but you are not actually required to even touch it22:44
rrqwith Xenguy's setup you can well have multiple location profiles22:44
rrqfor me it was a matter of reading the collection of man pages22:45
rrqand trialling a bit22:45
masonWon't his throw timeouts if ethernet isn't plugged in?22:46
rrqmaybe; I was referring to the wifi set up22:48
rrqwhich consists of a link level setup tied to the interface and one or more location setups, including a default one, for location profiles22:49
rrqmost people would only have the "default" network level setup22:51
rrqs/have/need/22:51
gnarface(i just comment out the ethernet lines when i'm not using them)23:00
masongnarface: Maybe consider the mii-tool trick I use. I can't take credit for it, but it only tries to bring up ethernet if there's a link.23:04

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