libera/#devuan/ Monday, 2021-06-07

xrogaanSo I noticed on Chimaera, with xfce and elogind, xscreensaver isn't responsive when resuming from hibernation. I have to wait some 20 seconds before it prompts me with the unlock screen.01:03
Walex2xrogaan: that looks like some DNS timeout...01:17
xrogaanwhy would it make requests?01:18
Walex2xrogaan: is that system internet connected?01:19
xrogaanyeah01:20
Walex2xrogaan: it can make requests for a million reasons, e.g. to resolver the system name and or to connect to a Kerberos server  etc. etc. depending on what else is configured.01:20
xrogaanalright, but what does?01:21
Walex2xrogaan: a first check would be 'grep $(uname -n) /etc/hosts'01:21
xrogaanthat's my local hosts01:22
Walex2xrogaan: it is just just a guess. You can get quite y bit of info with 'xscreensaver -verbose'01:22
Walex2xrogaan: what does that command say?01:23
xrogaanthat I have to kill the one already running?01:24
Walex2xrogaan: 'elogind --verbose'01:24
Walex2xrogaan: what does the 'grep' say? Does it return a plausible line?01:25
xrogaanthere is no elogind01:25
Walex2xrogaan: for 'xscreensaver' yes you have to kill the one already running, or start a new X session on another console01:25
xrogaanthere are just loopbacks addresses in my hosts files01:26
Walex2xrogaan: you wrote above " with xfce and elogind, xscreensaver"01:26
xrogaanyes, 'elogind' doesn't exists as a software01:26
xrogaanthere is 'loginctl'01:26
xrogaanand elogind-inhibit01:27
Walex2xrogaan: also hibernation is know to cause issues, and in particular to networking.01:27
xrogaanxscreensaver-systemd: 01:31:11: uninhibited by "My SDL application" with cookie 40CD981301:32
xrogaanthat's kind of weird01:32
xrogaanI'd assume the xscreensaver-systemd is forcing xscreensaver to not "restore" after resume.01:33
xrogaanIt has 1 minutes intervals between the xscreensaver-systemd: 01:32:12: exec: xscreensaver-command -verbose -deactivate01:34
xrogaanI believe that comes from the steam client though01:41
xrogaanI disabled xfce's "lock screen when hibernate".01:57
xrogaanIt might be xfce that's badly configured and doesn't know how to unlock.01:57
UsLis devuan still using "flat-volumes = yes" in pulse audio daemon conf file, btw? I think the user friendly setting "flat-volumes = no" should be standard. Since devuan defaults to use PA anyway.11:52
schillingklausi avoid pulse wholesale, as it is also a redhatted beast11:54
humpelstilzchen[I don't even have the daemon installed11:57
UsLgranted, but as a default setting it should be "flat-volumes = no" I think. I recommended devuan to a friend and he was happy until kodi blew his ears out.11:58
UsLas he did a "default" installation just clicking yes to all. Like 97 % out there does.11:59
schillingklausi hate default installations12:02
UsLah, I see debian has a bug for it. From 2009... https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=54153812:03
UsLThat's funny.. Like they really can't be bothered with the plebs12:05
schillingklauspoettering can't get bothered with bug reports12:07
UsLeither can debian it seems.12:07
UsLperhaps devuan can illuminate the path to sanity12:08
UsLbut that would perhaps be a devuan without out PA at all12:09
schillingklaussince debian adopted systemd, its maintainers also adopted Poettering's attitude12:10
jiggieits poison12:14
UsLeven more the reason devuan should use flat-volumes = no. Found a rant: https://old.reddit.com/r/linux/comments/2rjiaa/horrible_decisions_flat_volumes_in_pulseaudio_a/ Some of the examples are pretty scary. Loosing some of your hearing because "poettering"...12:15
UsLoh well, I should maybe make a post about it so devuan maintainers can change it.12:16
Wonkauh, removing PA from devuan would also remove sound from Chromium and Firefox.12:19
schillingklausthere's apulse12:19
Wonkaok, didn't know about that.12:21
luna-is-hereapulse is not working reliably, though. I tried it for some time and it caused a lot of trouble.12:30
luna-is-hereI'd agreed that "flat-volumes = no" is a sane default.12:31
luna-is-here* should be.12:31
fsmithredflat-volumes = no is the default in Bullseye/Chimaera13:25
UsLfsmithred: that's good to hear! (about flat-volumes = no, I got disconnected). I explained it to my friend and he wondered about alternative audio mixers and I said I only knew about jack but that I hadn't used it.14:50
Katjeanyone had issues using a /31 address (ipv4) and the /etc/network/interfaces system ?14:58
szuttso you have only two addresses ? the broadcast address and the network ?15:02
GyrosGeierno, that has been special-cased15:15
GyrosGeierbut it depends on the IP stack if that special case is implemented15:15
GyrosGeierback when I was a regular on anonet, I used /31 networks for BGP peering and that was fine15:16
GyrosGeierbut IIRC I configured them with quagga15:16
GyrosGeierI don't see why it shouldn't work through ifupdown though15:16
masonInteresting: https://docs.netgate.com/pfsense/en/latest/network/cidr.html  "The use of /31 networks is a special case defined by RFC 3021 where the two IP addresses in the subnet are usable for point-to-point links to conserve IPv4 address space. Not all operating systems support RFC 3021, so use it with caution."15:47
masonKatje: GyrosGeier: ^15:47
Katjehad to specify the broad cast as 45.255.255.25515:47
Katjeworks now tho15:47
masonKatje: That's interesting and a bit weird. Be worth exploring whether it's intended in De*an. Having to specify a funny broadcast when the subnet doesn't have space for one would make me nervous.15:49
GyrosGeierthere shouldn't be a broadcast address on those networks at all15:52
GyrosGeierIIRC you can just leave it out15:53
masonhttps://datatracker.ietf.org/doc/html/rfc3021 agrees15:53
masonHm, no, I guess section 3.3 says to use 255.255.255.25515:53
masonKatje: ^ I'd try that for more potential correctness.15:54
masonand hence futureproofing15:54
Katjeit won't configure the device if you leave the broadcast out15:55
GyrosGeierow15:56
masonKatje: No, the RFC is evidently suggesting 255.255.255.255 as a broadcast.15:56
masonsection 3.3, talking about amending https://datatracker.ietf.org/doc/html/rfc264415:57
Katjemason: thanks16:20
Katjewill ifx16:20
masonKatje: Test anyway. It seems like it'd be the correct broadcast address based on what I linked, but that doesn't strictly mean it'd work. But it's worth testing.16:21
Katjewill do16:22
UsLwhy is lynx so hard to setup? I'm trying to set it to use a proxy but whatever I try it will not use it. I've set ~/.lynxrc to use http(s)_proxy:127.0.0.1/localhost:numbers/port to no avail. I tested what I guess is an old method of putting /etc/lynx-sites.cfg with the same parameters in lynxrc. Nothing works. Does anyone have some experience with this?16:47
Katjeexport http_proxy ?16:52
UsLwill that set it for all my stuff? I only want kynx to use proxy. Not wget or curl for example16:54
UsL*lynkx16:54
UsL...16:54
UsLor is there a better ncurses browser perhaps that makes sense.. I didn't think to look for that yet.16:55
schillingklausmaybe w3m16:56
UsLthanks. I'll look into it16:57
UsLseems like w3m only does if environment is set to it. I guess I can give up on this. I'm not too keen to set my environment to globally use a Tor exit node if I can't control what will use it if that environment variable is set.17:18
UsLmakes me mad that setting "http_proxy:http://your.proxy.com:8080 to C:\Program Files (x86)\Lynx - web browser\lynx.cfg" works great for windows users. Good for them. Is lynx made for windows perhaps.17:33
sadsnorkUsL, could you start w3m [or lynx] with "export http_proxy=blahblah && w3m" and then it only applies to that browser?17:36
UsLwell, that did somethng. But gave me: "lynx: Can't access startfile"17:41
sadsnorkohhh, is that because you need to specify the url on the command line?17:42
UsLI guess so. SO, that is perhaps not ideal.. I guess I could do a switch for the environment to set http_ https_ on and off. Seems like the viable thing left to do17:44
user__What's the latest security update about? Reading headlines, something about Debian updates?17:44
user__Reading lwn.net: SEVEN new kernels? Wow?17:45
user__Do they really maintain seven kernels in parallel?17:45
user__[yes they do?!]17:53
pitrissUsL: and how about creating alias in your shell config with "http_proxy=blahblah lynx" so it will always pass correct proxy variable just for that one command?18:20
UsLyes, thanks. I am investigating which method would suit me best. Aliases or setting a switch for environment or what not.  Well, the best would of course for .lunxrc do actually do what it claims here: https://lynx.invisible-island.net/lynx2.8.5/lynx_help/body.html#HTTP_PROXY but as that seems not to work for me in anyway or iteration...18:37

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