libera/#devuan/ Wednesday, 2023-12-13

fsmithred_eyalroz, 'chattr +i /etc/resolv.conf' after you make it the way you want, so that network-manager can't write to it.00:30
fsmithred_oh right, it's a symlink now00:31
rrqbrocashelm: there's wpa_gui from the wpagui package for totally using ifupdown .. get rid of the other ones :)01:44
brocashelmrrq: i'll check it out, ty01:45
brocashelmi know there was also dhcpcd-ui or whatever01:45
rrqhttps://www.devuan.org/os/documentation/install-guides/daedalus/network-configuration.html01:51
rrq... and "man wpa_action" is very good (better)01:54
rrqwell, I wrote the first one, so it's pretty good ;)01:55
Xenguyre: /etc/resolv.conf:  I remember many years ago realizing that various programs were messing with my settings in /etc/resolv.conf (which never used to happen)...03:15
XenguyI took a look at the program resolvconf, and it just made no sense to me, so after some research, I just went with uninstalling it, and using chattr to make the file immutable...03:16
XenguyLike, hands off weirdos03:16
XenguyStill works to this day, so I remain willfully ignorant of why they decided to touch that file dynamically03:16
XenguyIn the first place03:17
Besnik_bHello! I’m struggling with high processor temperatures, an AMD Phenom X6(?). I’ve changed the thermal paste 10 times in the last 15 months or so. I first thought my Arctic Silver(?) had gone dry and bought a new MX-6. After booting a new Devuan installation and opening mail, qjackctl, vlc and Firefox with 18 tabs but with umatrix enabled, from 44C it goes up to 55C degrees. I’m happy with that. I suspend the machine at nigh09:34
Besnik_bt and bringing it back in the morning yields 80C degrees!!! I just rebooted and opened my usual aplications and I see 52C degrees. Is there any known issues with Suspend?09:34
gnarfaceBesnik_b: not something i've heard of, but it also seems possible the sensor just isn't accurate for a few moments after resume...10:09
gnarfacei'd look around for some known issue but i'd maybe also try pointing a fan at it10:09
Besnik_bgnarface, I have a box with three big fans, one not connected and a Corsair liquid cooling for the processor, The two fans work, the liquid cooling is few years old…10:21
Besnik_bI’ve cleaned them.10:21
Besnik_bMaybe I should connect the third fan with a Y-split…10:23
linux-friend-123hey :) does anybody know how safe it is to replace sysvinit with runit? I have changed my mind after installation and don't want to have to do a full reinstall12:41
leitzhttps://dev1galaxy.org/viewtopic.php?id=610512:44
leitzNote that I have not tried that, just goog'd it.12:44
linux-friend-123thanks12:45
linux-friend-123he never replied maybe it destroyed his machine lol12:45
brocashelmyou don't have to do a full reinstall due to runit / sysvinit12:48
brocashelmi've been using runit for years and it's not bad12:48
linux-friend-123is it safe to just apt install runit then? or are there any other changes I need?12:49
brocashelmapt should automatically track dependencies if you run this command: apt install runit runit-init runit-services12:50
brocashelmpay close attention to the prompt; it should ask if you want sysvinit and its related packages removed for the init change to take effect (must reboot afterwards)12:51
brocashelmyou don't have to configure anything else beyond package management12:51
brocashelmwith runit-services, you'll be able to manage a couple of services with sv/runsv instead of service12:52
brocashelmrunit has been available since beowulf (devuan 3), so it's been well-tested over the years and should not disappoint12:54
linux-friend-123cool thank you! I will give this a go tonight :)13:01
brocashelmno problem13:05
brocashelmif you have any questions, just ask them here13:06
brocashelmthe transition to runit was pretty seamless, even back in the beowulf (when it went stable) days13:06
cousin_luigiSo, which init would you recommend?17:46
n4dirsysv seems like the best known one, in case you run into problems (in case you have questions). I use runit, but for no reason.17:49
rktaa17:57
rkta^H17:57
cousin_luigiYeah, I'll have to be conservative in this install.18:01
cousin_luigiBy the way, will I see differences between devuan and debian on a headless machine?18:01
cousin_luigiBoth using sysv18:01
n4dirprobably not, to put it different: i wouldn't expect it.18:02
Besnik_bgnarface, would a BSD kernel (thus installation) run cooler?18:02
n4dirin general i don't see much of a difference18:02
Besnik_b(and as consequence a BSD installation)18:03
n4dirdebian KfreeBSD probably isn't a thing anymore18:04
Besnik_bI meant a pure BSD installation…18:05
cousin_luigiThing is, I'm seeing weird routing problems on a debian machine. Granted, it has been updated a number of times and it runs custom scripts, so who knows. That's the reason why I wanted to try devuan18:05
Besnik_bOr a custom kernel?18:05
cousin_luigiNo, not in several years.18:11
cousin_luigibasically I want to use a non-default route for dnsmasq and I see absolutely no traffic with my old install.18:12
cousin_luigiBut it works flawlessly with debian+systemd. But the latter, in turn, has serious trouble with ifupdown.18:13
cousin_luigiI've tried ifupdown-ng too, which also broke. And it doesn't support hotplug.18:13
cousin_luigiSo I've tried installing the custom scripts package on a regular devuan, but it won't work properly and I couldn't understand why.18:14
fsmithred_cousin_luigi, do the interface names in the scripts match the names in the system?18:52
fsmithred_eth0 or enpcrap?18:52
cousin_luigifsmithred_: Oh no, the scripts merely set up tmpfs directories to have / mounted as ro19:00
cousin_luigithen copy back and forth on startup/shutdown.19:00
cousin_luigiMy concern is that I might have removed some essential package19:00
cousin_luigiOr that perhaps dnsmasq requires some systemd-dependent package to operate properly.19:01
cousin_luigiAnd after 4 in-place upgrades, I suspect crud may have accumulated.19:02
fsmithred_I'm not familiar with dnsmasq19:02
fsmithred_did you migrate from debian to devuan, or did you start with a devuan install?19:02
fsmithred_dnsmasq is not a forked packaqe.  Depends: netbase, dnsmasq-base, init-system-helpers (>= 1.18~), lsb-base (>= 3.0-6), runit-helper (>= 2.14.0~)19:05
fsmithred_Suggests: resolvconf19:05
cousin_luigiOh no, I haven't tested devuan as a router yet. The problem I had is on my old debian install19:11
cousin_luigiI'm installing devuan on a thumb drive to see if that makes a difference.19:11
cousin_luigiThen I wonder what it might be. People in #netfilter were puzzled that I couldn't see any hit in the RAW table either.19:12
hagbardIt seems that currently some firmware packages put their stuff in /lib, while others put in in /usr/lib/. Could get my machines to properly boot again with the help of a bunch of hard and symlinks, but oh boy is that ugly...19:29
hagbardSo should i just install the usrmerge package and then forget about the whole thing, or is there more to watch out for?19:30
hagbardWhat is the default for new devuan installations?19:30
fsmithred_default is still not merged19:35
fsmithred_If you choose expert install you will be asked if you want it or not.19:36
n4diri already forgot about the whole thing without having done anything. Is there something to think about?19:36
hagbardfsmithred_: thx19:37
fsmithred_n4dir, probably not.19:37
fsmithred_or not yet.19:37
n4dirokay, i would assume so19:37
hagbardAlso didn't care about the whole topic, until stuff started breaking today.19:37
n4dirwhat did break?19:38
fsmithred_hagbard, are you on daedalus?19:38
hagbardFirmware wasn't found during boot.19:38
hagbardyes19:38
gnarfaceBesnik_b: i couldn't be sure, but i would doubt it because in general they have less hardware support and power management is patently bad for server management so it's probably the last thing they bother with on hardware they do have some support for (at least judging by my brief foray into trying to put it on ARM devices)20:05
gnarfaces/server management/server stability/20:05
gnarfaceyou never know though, you might learn something trying either way20:05
gnarfacethe first thing i would want to do is make sure that's a real figure, not just some sensor hysteresis20:06
gnarfaceif it's really 80C while sleeping you'd be able to feel it with your hand20:06
Besnik_bThank you, Sir!20:06
gnarfacei would be radiating obvious thermals20:07
gnarfaceit would heat the room20:07
gnarfaceif the mobo is cold to the touch it's probably just sensor glitch20:07
gnarfaceif it's not... i'd point a fan at it20:07
Besnik_bI’ve touched one of the tubes, the one gets hot and I feel it above my body temperature for sure20:07
gnarfacehow hot though? 80C hot? to be sleeping it has to keep the RAM powered, but it shouldn't be that much power20:08
Besnik_bI don’t know… the readings was 80C… I’ll order a Y cable to split and feed the dormant fan first20:11
gnarfaceyou don't have a regular floor fan you can just point at it?20:11
Besnik_bThe case woud let me add 2 more fan on top and one to the bottom20:11
gnarfaceif pointing a box fan at the open case side doesn't make the apparent wake temperature budge i'd generally assume sensor glitch.  if it drops to 79C i'd worry.20:12
gnarfacefull disclosure; i never sleep my machines20:13
Besnik_bOh I see what you mean… silly me… no I don’t (there is a tall one around here though…)20:13
gnarfacethat would probably work20:16
gnarfaceit's just about creating enough airflow20:17
rwpA new-ish feature of htop allows F2 Setup -> Display options -> Also show CPU temperature, and Frequency.  It's useful to see real time temps and freqs if debugging this type of thing.20:17
Besnik_bShould I distrust “sensors”?20:17
gnarfacerwp: the issue is that it wakes up from sleep hot, but the mystery deepens that it goes back to normal almost immediately20:17
rwpDistrust?  Why distrust it?20:18
gnarfaceBesnik_b: it's fine, but there's separate hardware sensor drivers for every device, sometimes multiple, and you can't always trust them20:18
rwpI can't imagine why a machine would be hotter sleeping than not sleeping, unless someone has closed the laptop and put it in the bag with no airflow.20:19
gnarfacespecifically, you can't always trust the calibration data they're shipped with, which is sometimes incomplete or just wrong20:19
rwpWhich would lead me to wonder if sleeping is turning off fans but not reducing power from the cpu, then it would get hot from lack of airflow while still producing heat.20:19
gnarfaceyea, if it's really going to 80C at sleep, that's a problem that needs to be taken seriously, for sure20:19
DelTomixBesnik_b: If physically confirmed that the temp during hibernate is actually getting that high - it could be that with a liquid block there is a condition where it suspends, but cpu still generates some idle heat, if during suspend the water is not circulating, and the block on the cpu has no fins on it like regular heatsink it will build up20:19
gnarface...but it also suggests that it might not actually be sleeping right, so it might be a problem with that driver instead of the sensors...20:20
Besnik_bDelTomix, no fins.20:21
rwpThis has a water cooler and it is getting hot?20:21
Besnik_bYes20:21
gnarfacehmmm, the plot thickens20:21
fsmithred_Have you tried going in through ssh to make sure it's really asleep?20:22
gnarfaceheh, yea that might be worth a try20:22
Besnik_bDo I need ssh for a machine 10 inch away from my hand?20:22
DelTomixa regular fan+heasink will disspiate the idle temp to ambient, but a liquid block will not unless the fluid is circulating.20:22
fsmithred_not sure how to tell if it's really asleep by looking at it20:22
gnarfaceBesnik_b: it's just an easy way test. any network access should be sufficient to prove it's not actually asleep.20:23
gnarfaceBesnik_b: but with ssh you could also for example, check sensors20:23
rwpSome network cards will still answer to ping and wake-on-lan though.20:23
gnarfaceyes, but that's a hardware feature i've never seen enabled by default20:24
gnarfacewell, i guess i'm old but i usually had to change something in the bios and connect an extra cable to the network card from the motherboard20:24
gnarfacea laptop or something modern, i guess who knows?20:24
DelTomixeven if the machine is actually in suspend the cpu may be in a low power mode - which isn't enough to require fan active with a regular heatsink - but could still generate enough heat to build up in the liquid block case - since it accumulates20:25
rwpThe old NICs used to need the wire for WoL but for responding to ping that's all software no wire needed.20:25
gnarfacehmmm, interesting20:25
rwpIs there a way to keep the water cooler pumping all of the time?  Or at least cycling on and off at some low level?20:26
DelTomix^ that would solve it20:26
fsmithred_power it from another computer?20:26
* fsmithred_ hides20:26
DelTomixthere may also be BIOS settings for suspend mode20:28
Besnik_bThe readings from htop and sensors are the same. 63-63C degree right now20:29
Besnik_bDelTomix, there is a setting for suspend mode in BIOS, I chose S3, if I not mistaken20:30
InitSomethin@rwp have you experimented with any software like Coolero?20:30
InitSomethinit's on Flathub https://flathub.org/apps/org.coolero.Coolero20:30
DelTomixre S3: yes - thats it i forget which are which but you should be able to google what setting does what mode20:31
DelTomixI have a Phenom II 1190T and even with the stock cooler 63 was like max heat under load - but it has some funny behaviors in standby conditions. (I hever use suspend/hibernate either)20:32
InitSomethin@rwp note: coolero was moved to CoolerControl located https://gitlab.com/coolercontrol/coolercontro20:33
rwpInitSomethin, I have not played with coolero.  Never heard of it before.  I don't have anything with a water cooler though.20:35
Besnik_bDelTomix, the one in question is a Phenom too20:36
Besnik_bI bought the case and the liquid cooler to lower noise from the machine20:36
rwpWhat?!  GitLab wants me to sign in before I can see things there?!  Insert many swear words here.  Not happening.20:36
DelTomixyeah the stock cooler is gets like a get engine. :)20:37
DelTomix^get/jet20:38
InitSomethinGitlab wants you to log in?  are you on a strange network?20:38
rwpBesnik_b, Have you tried hibernate-to-disk instead of suspend-to-ram?  That would be a full power off state.  Should be no heat problem then.20:39
rwpInitSomethin, Yes.  It was forcing me to log in.  "(!) You need to sign in or sign up before continuing."  When trying the link you posted.20:39
Besnik_brwp, no, because of some bad memories under my previous installation. I might try it.20:40
rwpI use hibernate on my laptop quite often.  I have a real swap partition though.  To store the ram image.  Large enough for the entire machine state.20:41
Besnik_bDelTomix, It’s a Phenom ii x6 1100t, and I have an Nvidia 4GB RAM, 8GB Ram.20:41
rwpSince it is encrypted I do have to enter the decryption passphrase at boot time since it is a full power up boot which is not required for resume from suspend-to-ram20:41
Besnik_bI think I do have one too, real swap, rwp20:41
Besnik_brwp I’ll try this night, without applications left open and see how it goes…20:42
rwpFor hibernate config I will mention /etc/initramfs-tools/conf.d/resume with RESUME=/dev/... pointing to the swap partition so that it is in recent memory in case that information is needed.20:43
rwpThe most common reason I need it is that I have moved disks or virtualized a machine or whatever and the swap is now not on LVM where it was before and that must be adjusted.20:44
Besnik_bI’ll ping you, with your permission, if help is needed.20:44
rwpYou can always highlight my nick and my irc client is always connected.  That's no problem.20:45
rwpBut I might not be at the keyboard.  Like now, a skillet is heating up on the stove and it is calling my name.  "Bob...  You are hungry.  Eat Bobby, eat!" :-)20:46
rwpIf you do have problems with hibernate just ask them.  There are many here who would be helpful.20:46
Besnik_bThank you! And Bon appétit!20:47
rwpSometimes hibernate to disk is more reliable than suspend to ram because the graphics driver problems of resume from suspend are avoided.20:47
spine-o-saurusi lost my native resolution for my desktop on my excalibur installation23:09
spine-o-saurusafter i ran update i had to reinstall firmware-linux-nonfree but it still didn't get resolution23:10
brocashelmbesnik_b: i use openbsd. even with the best settings with apmd enabled, intel cpu temps are at least 8-12 C warmer than linux. this is due to the kernel not being as "advanced" at multitasking/hyperthreading/etc. when compared to linux, so power-saving settings do not come close23:13
Besnik_bThank you, brocashelm!23:16

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