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

nemohttps://news.ycombinator.com/item?id=27649342  HN systemd flamewar00:32
nemobasically00:32
masonBetter in #devuan-offtopic00:41
parabyt1can someone please explain to me what mechanism is causing my laptop to suspend when i close its lid?01:19
parabyt1i have removed xorg and everything graphical related via apt purge * etc etc01:19
parabyt1i want to use the laptop as a small server in my closet with its display closed01:19
pedaloparabyt1: if i recall correctly it's handled by elogind, edit /etc/elogind/logind.conf and make it HandleLidSwitch=ignore01:21
rwpparabyt1, What is your Desktop Environment?  These days the DE is the main handler for power events.01:38
rwpI'm not fond of that though since it means every DE is different and unique.  No single place to document it.01:39
rwpparabyt1, If using XFCE then open the start menu and go to Settings, then Power Manager, and the dialog there has settings for action on lid close.01:46
parabyt1i am using no desktop or have xorg installed01:50
parabyt1pedalo, i will take a look at logind.conf thank you01:50
rwpparabyt1, Does "or have xorg installed" mean that you don't have X installed?  That's fine.  Just clarifying.01:51
rwpI look on my Beowulf laptop and I don't have elogind installed.  I don't have that file on my system.01:52
parabyt1no xorg installed01:52
parabyt1perhaps its a bios option01:52
rwpMaybe.  But I think not likely.  I also often work on the Linux virtual console screens.  I think it would be something different.01:53
rwpPossibly something in the ACPI subsystem.01:53
masonparabyt1: With no X, you want to look at pm-utils01:53
parabyt1ah thanks mason i will take a look tomorrow01:53
parabyt1just annoying i want the display closed01:54
rwpparabyt1, Also look to see if you have acpi-support-base and acpi-support installed.  Look for /etc/acpi/events/lidbtn action setting.01:54
rwpI don't want the laptop to suspend or hibernate on lid close either as I will be using it logged in with ssh to other systems.01:55
parabyt1in my instance the old laptop is used for tvheaddend01:56
rwpI do want the display to turn off with the lid closed though.  But that's it.01:57
parabyt1i have made notes of everything i have been told here, i will have the afternoon free tomorrow i will take a good hard look at it01:57
rwpI am actually logged into my laptop and typing here from my desktop.  Therefore: rwp@angst:~$ cat /proc/acpi/button/lid/*/state -> state:      closed01:57
parabyt1fantastic rwp is that cause you made the modification or is that working like that stock?01:58
rwpparabyt1, Good luck tomorrow.  The problem isn't that there is a way this is happening.  The problem is that there are several possible ways this is happening.01:58
parabyt1thank you rwp01:59
rwpHonestly this particular machine has a long history, it was installed as Debian Jessie, therefore I don't remember now.01:59
rwpIt's Beowulf now but I look in my etckeeper git logs and find /etc/systemd/logind.conf modified in 2017 for HandleLidSwitch=ignore as pedalo suggested.02:01
rwpBut for me /etc/systemd/logind.conf is modified and I don't have /etc/elogind/logind.conf nor elogind nor logind installed.02:01
pedalostrange, i have it on my devuan laptop02:02
rwpMine was installed as Debian Jessie, upgraded to Stretch, upgraded to Devuan Beowulf.02:03
rwpSo likely the difference between having a version installed and having upgraded to the version.02:03
rwpIn these last two releases I haven't been as rigorous as I normally am for "normalizing" an upgrade to what would be in a pristine installation.  I've been slack.02:04
parabyt1iv had a few beers but iw ill take a look now as i see there is curiosity here02:09
Xenguyrebooted the kernel and no wireless connection over wifi, great02:24
Xenguyno fucking clue, and back on the wired connection02:25
XenguyActually it was connected, but no DNS02:25
rwpXenguy, Check /etc/resolv.conf for where your DNS is getting resolved.  Is it something local?  Or does it point to your WiFi Access Point router?02:28
parabyt1okay02:28
parabyt1i tried <pedalo> parabyt1: if i recall correctly it's handled by elogind, edit /etc/elogind/logind.conf and make it HandleLidSwitch=ignore02:28
parabyt1that worked02:28
parabyt1thanks everyone for your help02:28
parabyt1rwp, the above solution worked02:28
rwpparabyt1, Excellent!  Thanks to pedalo for the correct solution! :-)02:29
rwpXenguy, Just two days ago I was helping an older couple of friends in person in the physical world and their machine was okay but their router had flaked out.02:30
rwpI power cycled their router and then everything returned to normal functioning.02:30
rwpparabyt1, pedalo, I need to see why I don't have elogind installed.  Though obviously I haven't been missing it...02:31
Xenguyrwp, I rebooted before visiting familiar public wifi, and the problem began, hoping things will just work themselves out02:32
pedalorwp: that may be because you upgraded and never made a clean install02:33
rwppedalo, Used to be that I was very aggressive at comparing upgrades to pristine installations and manually ensuring that they converged.  But I have been lax about doing that the last couple of releases.  Lack of motivation due to much of the vitriol.  But Devuan's optimism is doing good and is motivating me again.02:34
rwpXenguy, I would still start at /etc/resolv.conf and see where it is pointing.  Track through DNS problems starting there and seeing where it leads.02:35
rwpA time honored workaround hack has been to forcibly place a known good nameserver in that file (possibly making it temporarily immutable to hold it) while working through problems.02:36
XenguyYeah, immutable already, and pointing to unbound, not sure what the trouble is02:37
XenguyWorking fine before the reboot02:37
rwpDo you have any custom configuration in /etc/unbound/unbound.conf.d/* ?  (I do so I wonder...)02:38
XenguyDon't believe so02:38
rwpIt's possible for public WiFi to block DNS queries on port 53 domain from clients.  I have seen that before.02:38
Xenguyhuh, well it'll all come out in the wash I'm sure02:39
rwpI mean from clients to the global Internet.  Allowing them *only* to their own nameservers.02:39
rwpWhen they are trying to capture and corral users into a pen and keep them from escaping it.02:40
rwpWhen I am on those networks then I will typically use 'sshuttle --dns -r myserver.example.com 0/0" in order to tunnel my dns out through my own servers.02:41
flingwill not lxd get packaged any time soon?09:24
rwpfling, Since the release is mostly frozen preparing for release it won't happen before the next release happens.09:24
flingrwp: sure but will it happen after the release? :D09:28
rwpfling, Here is the ticket tracking the progress of it.  https://bugs.debian.org/76807309:29
rwpReading it shows a long tale of problems with trying to package it.  Since 2014!09:30
flingthere are all these nasty bundled deps09:31
flingatleast no sqlite replication pacth needed anymore09:31
flingand no extra patches for raft, and libco, libco also not a dep anymore09:32
flingbut all this filtry go cruft!09:33
flingrwp: so not going to happen any time soon right? :D09:33
flingcan I help packaging somehow?09:33
flingI did a bunch of gentoo ebuilds including lxd09:33
rwpfling, It seems that you should be able to install it as a snap.  https://linuxcontainers.org/lxd/getting-started-cli/#snap-package-arch-linux-debian-fedora-opensuse-and-ubuntu09:36
flingrwp: is not snap considered illegal on devuan?09:36
rwpCertainly not illegal.  Meaning unlawful.  I doubt there is a law against it.09:37
rwpBut perhaps problematic if it is entangled with systemd.  Which it might be.  I don't know.09:37
rwpIn any case good luck with your journey fling.  It is much too late for me to be awake now.  Past time for me to sleep...09:38
flingOk, I will try, it feels dirty09:38
flingrwp: thanks, good night.09:39
tpefreedomhi17:15
fsmithredif you have a question, ask it. If you want to socialize, check out #devuan-offtopic.17:17
junicchiwhy there is no mysql5 in official repositories17:51
zguprobably replaced by mariadb17:52
golinuxrwp: For your future reference: https://pkgmaster.devuan.org/bannedpackages.txt  snapd seems to be on the list19:37
rwpThanks golinux.  Bummer!  But not surprising.19:37
golinuxBut then that grid is very cryptic to me because the definition of the controls quickly scrolls off-screen and I can't remember which column is which19:38
golinuxI much preferred the old "analog" presentation19:39
golinuxrrq is just too clever . . .19:39
rwpRight.  And covering multiple releases is also conflating.  I would prefer to have one file per release.19:39
golinuxLeft an interesting link for you and GoatAvenger ihbOT19:41
golinuxin OT19:41
jyrihi, has anyone dealt with trying to get a bluetooth headset working? I run to a problem that Pulseaudio needs oFono and that needs ofono-phonesim to get it working but we don't have the phonesim package available20:45
jyrishould I just ditch PulseAudio and go with the Alsa way?20:47
nixpipejyri, this might be controversial here, but try pipewire20:47
nixpipeit's basically the wayland of audio nowadays20:47
jyrithanks, I'll have a look20:49
golinuxjyri: Or try apulse20:58
golinuxhttps://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=apulse20:59
golinuxMuch simpler solution.20:59
zguor pipewire maybe?21:23
jyridoes anyone have a working bluetooth headset in Devuan? :D21:33
jyrialsa seems to require bluez-alsa package and pipewire pipewire-pulse packages, both nonexistent :)21:35

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