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

william-longrwp: I'm not sure what chest does, I just copied it from the sshd file; the Artix wiki said it was part of runit, so I guessed00:47
rwpIIRC chpst is used by Artix in the same way that runas or doas is used elsewhere.  But the file is run as root:root from runit already.  Then chpst is asked to change user to root:root.  Which is basically doing nothing.  I don't think it is needed.00:49
gnarfacethough, that said, there's a really good argument against running a webserver as root, so maybe using it but changing to a different group and user would be wise00:51
william-longMaybe. Though I've heard that only root can bind to port 8000:52
rwpI expect darkhttpd would need to start as root and then darkhttpd would be switching itself to a non-root user such as www-data which is the typical user for it.00:52
gnarfaceah, yea, probably00:52
onefangYou need to be root to bind to any port under 1000.00:53
joergor get some capabilities00:54
joergCAP_NET_BIND_SERVICE "Bind a socket to Internet domain privileged ports (port numbers less than 1024)."01:00
onefangAh I did type then delete "or 1024 I forget which".  lol01:16
rwpWe knew what you meant.01:16
user45788Hi guys07:46
user45788After debootstrap, btw how you remove the LID notebook close to shit shutdown the whole planet and galactic devuan system ??? Systremd alike foe07:47
rwpIt depends upon what you installed but most likely /etc/elogind/logind.conf needs HandleLidSwitch=ignore set.07:50
blizzowI've installed Daedalus with cinnamon on a Lenovo X1 Extreme. Whenever I close the lid, the suspend light gives me the slow fade in and out. When I open the lid though, it boots from scratch.19:54
blizzowI have set the BIOS to linux s3 suspend. Installed all the thinkpad/non-free firmware I can find.19:55
blizzowAnyone have ideas on how I can get suspend to work?19:56
gnarfaceyou sure that when you open the lid it's actually booting from scratch? if it had suspended to disk ("hibernate") the resume process would look very similar19:56
gnarface... it also would have taken a lot longer to initiate, so it might have been possible to interrupt it prematurely19:56
gnarfaceit also might have tried to initiate hibernate then failed due to insufficient swap space19:57
gnarfaceanyway, the first thing i would do is make sure you have acpid, pm-utils, and task-laptop installed, then start calling the pm-suspend and pm-hibernate scripts directly to make sure they both work and i knew what the behavior looked like19:59
blizzowYeah, I'm just closing my lid and get the soothing pulse light. When I open, BIOS shows up.19:59
gnarfaceif it was resuming from hibernate, you'd still see the bios19:59
gnarfaceit would look almost exactly like a full natural boot up except that when it completed, whatever programs you were running will still be running20:00
blizzowHrm, I did tasksel to do laptop support, apparently acpid was not installed.20:00
gnarfacecinnamon might have its own settings for whether to sleep or hibernate on lid close20:01
gnarfacethere's also a text file somewhere...20:01
gnarface /etc/elogind/logind.conf maybe? only if you're using elogind though20:02
gnarfacefor hibernate to work, note that your swap partition needs to be at least as large as your physical ram20:02
gnarfaceanyway, you should have pm-suspend and pm-hibernate on there somewhere you can call each of them manually to test, make sure they're working that way first then figure out the lid switch secondarily20:04
gnarface(they'll need to be called as root i think)20:05
gnarfaceblizzow: any luck?20:26
blizzowNo luck after installing acpid and running sudo pm-suspend. Stuck in a meeting now so further testing will have to wait.20:28
gnarfacesudo pm-suspend did what? nothing? error?20:30
gnarfacewhen you get the time, try to find an error in /var/log or dmesg20:30
rwpIf I am debugging these things I run a terminal with "tail -F /var/log/syslog" so I can see what is being logged in real time, and then trigger a suspend and watch it happen, then resume and see what is being logged.20:36
rwpOn my x201 and x220 Thinkpads there is a Fn+Sleep key combination.  On my x270 it is Fn+4 to trigger sleep.  And of course command line pm-suspend otherwise.  (Why Fn+4?  No idea. But that's the Lenovo documented but unlabeled key combination for it.)20:37
dan9erHello, trying to update over Tor using devuan*.onion. Looks like http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion is down, can it be removed from the rotation?21:18
gnarfacefsmithred: do you deal with the Tor stuff? ^^^21:22
DelTomixI think the tor stuff on infra needs some maintenance, I was planning to look over that soon if no one else wants to handle it21:26
debdogblizzow: I had to alter /etc/elogind/logind.conf as gnarface mentioned. since chimaera setting acpi doesn't work anymore.21:29
dan9ersorry, internet died21:34
debdogdeadly bite by danger noodle on interweb21:35
dan9er😒21:36
debdogdan9er: see topic for link to chanlog to see if you missed something21:36
dan9erik, I'm ok21:37
dan9eranyway21:37
dan9erDelTomix: iirc someone set up some sort of testing monitor for Debian mirrors on its round-robin list21:37
debdoghttp://veritas.devuan.org/apt-panopticon/results/Report-web.html21:38
dan9erYeah that's it21:39
dan9erOh it's the Devuan one, cool!21:40
dan9erThere's probably some existing work in Debian to add onion service support to apt-panopticon21:42
dan9erThat's all from me rn21:49

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