libera/#devuan/ Saturday, 2023-02-11

onefangsystemdlete: needrestart is available on Devuan, I use it, works fine.  Restarts services, and tells you if you need to restart other things, or if you need to reboot.00:19
onefangFeatures:00:20
onefang - supports (but does not require) systemd00:20
onefang - fully integrated into apt/dpkg using hooks00:20
onefangAnd other features.00:20
systemdletedoesn't seem to be available on my chimaera system.00:21
onefangI'm using it on chimaera.  lol00:21
systemdleteso, which package is it part of, so I can install it too?00:21
onefangneedrestart is the package.00:21
systemdleteI tried apt install needrestart, but it comes back empty00:22
systemdlete(doesn't find anything to install)00:22
onefang3.5-4+deb11u1 (stable-security) is the version I have.00:22
systemdleteapt install needrestart doesn't work for me00:24
onefang 3.5-4+deb11u2 (stable) also available.00:24
onefangOdd.00:24
onefanghttps://packages.debian.org/bullseye/needrestart00:29
onefanghttps://lists.dyne.org/lurker/message/20221223.094016.f392eac7.es.html so I'm not the only one using it on Devuan.00:32
onefangYou get output like this -00:35
onefangRunning kernel seems to be up-to-date.00:35
onefang00:35
onefangThe processor microcode seems to be up-to-date.00:35
onefang00:35
onefangNo services need to be restarted.00:36
onefang00:36
onefangNo containers need to be restarted.00:36
onefang00:36
onefangNo user sessions are running outdated binaries.00:36
onefangThough if you do need to restart something, it'll tell you what.  And for services you get a dialog so you can decide to not restart some if you need to, then it restarts those you said yes to.00:38
systemdletehttps://pastebin.com/xisfaJW700:39
onefangchimaera main is where I got mine from.00:41
onefangI gotta pop out for a bit, before this next heatwave kicks in later today.00:45
systemdletehttps://pastebin.com/iQExsTs500:51
systemdletesomehow my sources.list had references to pkgmaster for one of the repos01:31
systemdletefixed that and now I can install needrestart01:31
JFaulkgolinux paging Golinux, come in golinux, cleanup on isle #offtopic in dev1 forums02:33
JFaulkor ralph, either is fine02:34
rwp+1 for needrestart which is very good!  I only ever use it in -b batch mode though.03:21
rwpIt's great in general but it is annoying when it wants to wall to users who have a bash that it thinks needs to be restarted.03:22
onefangThat is annoying, though usually it's the thing that bash is running that needs a restart.07:52
AfdalWhat does it mean when a Devuan desktop environment randomly and spontaneously closes everything and boots you to a display manager?08:11
AfdalIt's exceedingly rare but I've had this happen more than once now08:11
AfdalCompletely baffling to me what's causing it08:11
AfdalCould it be... a display driver crashing or something?  And kicking one to a display manager login is its failsafe behavior?08:12
onefangObvious questions first.  Which desktop environment?  Which display manager?  Which graphics card?  Which display driver?08:14
AfdalXfce and whatever the default display manager is08:14
onefangLess obvious question.  Did you check the X11 logs?08:14
Afdalthink it might be lightdm08:15
AfdalAMD RX56008:15
Afdalopen source drivers... I think08:15
AfdalWhere do I check my X11 logs08:15
brocashelmi got the same gpu. no issues here. using ceres08:15
brocashelmand i think devuan xfce ships with lxdm08:15
onefangI don't use xfce, so I can't help with that.08:16
brocashelmuser-specific xfce logs are usually in ~/.local/share/xorg08:17
brocashelmfor the rest of the system, check in /var/log08:17
Afdalhmm don't have that directory08:17
onefangThe X11 system logs should be in /var/log/Xorg.0.log08:17
Afdalhmm lotta gibberish in here08:18
AfdalWhat kind of thing might I be looking for...08:18
brocashelmhave you tried disabling the display manager and using tty, startx method?08:19
brocashelmdid you create x11 configs for your amd/radeon gpu?08:19
AfdalNo the former08:19
AfdalFor what purpose?08:19
AfdalAnd no, not sure what X11 configs for my gpu even are08:20
onefangAny lines that have (EE) near the beginning are errors, so they might be informative.  (WW) are warnings.08:21
Afdalhmm I don't have lines with either of those08:22
Afdaloh wait there's one08:22
Afdalno (EE)'s08:23
Afdal[     9.264] (WW) Falling back to old probe method for modesetting08:23
Afdal[     9.264] (WW) Falling back to old probe method for fbdev08:23
Afdalthere's these, but I don't think they're that suspicious08:23
onefangOnly (WW) I have is warning my a directory for a cyrrilic font doesn't exist.  I'm fine with that, I don't know the language.08:24
AfdalYeah I have that cyrrilic warning too08:24
AfdalWell let me ask this08:24
AfdalDoes this sound like a generalized X11 crash08:25
Afdalor a desktop environment crash?08:25
brocashelmwell, so you could see if it's still your desktop environment or your display manager is causing problems08:25
brocashelmIME, display managers are unreliable and never work as they should08:25
AfdalI don't even use my display manager anyway08:25
AfdalOnly time I ever see it is when something like this happens08:25
brocashelmthen it could be your desktop environment08:26
onefangIt's sunset on Saturday and so for this weekend I haven't done any weekending.  So I'll leave you in the hands of brocashelm and whoever else might pipe up.08:26
* onefang gets back to his music.08:26
Afdal{:08:26
brocashelmas for the gpu config files, i find they're helpful depending on your hardware or some other limitations to work around with them08:26
brocashelmdo you have anything under /etc/X11/xorg.conf.d?08:27
Afdalnope, empty08:27
brocashelmi wonder if it's some acpi-related error08:32
brocashelmwhat does this command say? pgrep -l acpi08:32
Afdal100 acpi_thermal_pm08:35
Afdal1436 acpi_fakekeyd08:35
Afdal1551 acpid08:35
AfdalWhatever those mean...08:35
brocashelmhow about: ps -eaf | grep acpi08:37
brocashelmjust to confirm if it's running08:37
AfdalWhat would confirm it?08:37
Afdalroot       100     2  0 00:08 ?        00:00:00 [acpi_thermal_pm]08:37
Afdalroot      1436     1  0 00:08 ?        00:00:00 /usr/sbin/acpi_fakekeyd08:37
Afdalroot      1551     1  0 00:08 ?        00:00:00 /usr/sbin/acpid08:37
Afdalafdal     3369  3357  0 00:37 pts/0    00:00:00 grep --color=auto acpi08:37
brocashelmif not, you can try to force it during the system boot by adding this to your grub line for the kernel you've selected (i.e. when you reboot): apci=force08:38
brocashelmlooks like it's running08:38
brocashelmhave you tested running devuan without a gpu, or a different gpu? and still the same errors?08:38
Afdalhmm08:39
AfdalHow would I do that...08:39
AfdalWithout pulling my GPU out08:39
brocashelmif it is the gpu, you might be able to manually configure it for xorg. archwiki has a basic guide on that08:39
brocashelmhttps://wiki.archlinux.org/title/AMDGPU#Xorg_configuration08:39
brocashelmthis section in particular08:39
AfdalI don't see why any of this would be necessary08:39
AfdalI've got a standard GPU with pretty standard settings08:40
brocashelmmaybe you could try seeing if it is the gpu or the amdgpu driver is not being loaded correctly08:41
AfdalYou know now that my memory is coming back08:41
AfdalI think I had this thing happen back on Ubuntu too08:41
Afdalyears ago08:42
AfdalExtremely rare08:43
brocashelmi think it could be some modprobe issue08:44
brocashelmhave you run sudo sensors-detect and reviewed all prompts to be sure?08:44
onefangMight also be a hardware issue.  Something's not quite up to spec, and fails sometimes.08:44
brocashelmgpu could be failing or not installed properly08:45
brocashelmwhat cpu are you using again?08:46
AfdalFX-835008:46
Afdalold AM3+ Piledriver CPU08:47
brocashelmi think the pairing might've been part of the problem, just checking around some bottlenecking sites08:50
AfdalMy CPU with my GPU?08:50
brocashelmyes08:50
Afdalseems sus...08:50
brocashelmi've used rx 560 with ryzen 5 3600 (am4) and had no issues08:51
brocashelmthen again, my rx 560 also works with i7-3770 (came out in 2013 iirc)08:51
AfdalI generally have no issues too08:51
Afdalthis is very, very rare...08:51
brocashelmmaybe it is some modesetting or modprobe error in your graphical session08:51
brocashelmsomething isn't properly configured08:51
Afdalhmm08:52
brocashelmi still recommend giving the amdgpu and radeon configs a try for xorg08:52
AfdalFrom the arch wiki?08:52
brocashelmyeah, there are some options you can choose08:52
AfdalI guess I'll have a look at that later...08:52
brocashelmhave you tried using a backported kernel?08:54
AfdalEh?  No...08:54
brocashelmassuming you are using stable and thus the non-backported kernel, you could try checking if your issues persist on a backported kernel...08:55
Afdallol yeah I mean08:56
AfdalI could...08:56
Afdalbut this is so incredibly rare08:56
brocashelmand if issues still persist, then we can go back to considering some hardware/gpu/cpu problems08:56
AfdalIt could never happen again in the next six months and I wouldn't really know if it's been solved or not08:56
brocashelmhmmm... yeah08:57
brocashelmi have had xorg crap on me with unhelpful error messages, but that was usually due to bad drivers that i reverted afterwards or got a fix for08:57
AfdalEvery time this happens I get scared that I've been pwned08:58
Afdaland someone is trying to phish for my user password08:59
brocashelmoh. there are tools like lynis if you are worried about security09:00
brocashelmbut it's usually not the case09:00
brocashelmjust some bad mismatch in hardware/drivers/modules/etc.09:00
brocashelmand as you said, your issue is very rare, so you might not know for sure if it's been fixed or not09:00
brocashelmyou can only try to apply workarounds and wait and see09:00
xisopi just did an apt-get upgrade which installed a newer kernel.. 5.10.0-21 from 5.10.0-9-amd6409:30
xisopas a result, i can no longer boot my system as mdadm is blocking it09:30
xisopi am unaware of an active raid in my system.. from what i can tell, i have 2 partitions on one driv.e. a boot and a root partition09:31
gnarfacethe old kernel might still be installed09:32
gnarfacecheck the grub menu09:32
xisopwell it is, it's the only way i can boot into this09:32
xisopmdadm: no devices listed in conf file were found09:33
gnarfacehmm09:34
gnarfaceis there a /etc/defaults/mdadm?09:34
xisopyes09:34
gnarfaceopen it in a text editor; see if it has a option to disable09:34
user24037hey, what is start_daemon -p $THIS $THAT $THEOTHER in /etc/init.d/cron ? that's not the /sbin/start-stop-daemon...hmm09:35
xisopgnarface: k, time to reboot. i09:35
user24037the variables i understand. but what is the command  start_daemon -p in /etc/init.d/cron around line 80. tyty :]09:37
user24037some kind of legacy thing? i notcied shellcheck has complaints about the script09:38
user24037i want to to run cron in its own network namespace. my isp blocks port 25.09:40
gnarfaceuser24037: they're defined at the top of the file starting around like 2010:01
gnarfacethe second question doesn't make sense, you should only need to communicate with cron locally10:02
user24037yes, the variables are definied at the top. those are fine. but what is 'start_daemon'? i don't find that in my path10:03
user24037thank you for the help10:05
user24037cron will run sendmail, but sendmail wont work with my default interface10:06
gnarfaceah, start_daemon is a shell function, something near the top is including a library of shell script functions too10:07
gnarfaceand in a default installation, cron is probably actually running the sendmail command-line emulation wrapper script from exim4, so if you need to make cron mail off the system from a different port besides 25 then you need to edit the exim4 configuration10:07
user24037oh, i knew this. start_daemon is sourced from  /lib/lsb/init-functions10:09
user24037tyty again10:09
gnarfacenote that you don't want to edit the exim4 config directly. it is auto-generated. you edit the file /etc/exim4/update-exim4.conf.conf then run update-exim4.conf (yes, those extra .confs aren't typos)10:10
gnarfaceif that doesn't let you do what you want, try "dpkg-reconfigure exim4-config" as root10:12
gnarfaceand if that still doesn't let you do what you want, try editing the /etc/defaults/exim4 file10:12
gnarfaceediting the generated config should be a last resort10:13
gnarfacepretty sure one of the first options will work though10:13
user24037thank you. i'll have to see what this is for bsd sendmail. ill have a look10:14
gnarfaceif it's actually sendmail and not just a exim4 script to make it look like sendmail, the config will be completely different10:15
user24037ye sendmail is my mta10:15
gnarfacesomething like dpkg-reconfigure sendmail might work10:15
user24037with my isp blocking port 25, it doesn't matter what source port i use.10:24
user24037my mta can't reach out on that network. but ye :] i'll just make another network for it10:25
user24037or ill try >_<10:33
onefangDoes your ISP block the SSL email port?10:54
user24037good thinking >_< it does not, and i can get the server's 220 SMTPD message.11:07
onefangbb|hcb suggested I use the timeout command for apt-panopticon, which I've been trying out since yesterday.  The docs say it returns a status of "124" if it had to TERM the process, but "128+9" if you used the -k option to KILL it if the TERM didn't work.  I'm getting 124 and 0 respectively.13:28
onefangThe "128+9" notation is odd, why not just say "137"?  Or is it implying it's returning a string somewhere, and the return status I'm checking isn't getting that?13:30
onefangOr maybe it's just that my test case isn't triggering the KILL option, coz the TERM option is actually working.13:31
onefangAh the KILL does send 137.13:34
phoggnotation like "127+9" is sometimes used to express a series of base exit codes plus offsets, to make their relationship with each other more clear. I wouldn't call it common, but it's not novel. It does just mean 137.14:58
RhineDevilI'm on devuan testing and plasma doesn't lock the screen after few minutes pass, what can I do?16:37
gnarfacenever used it, did you check the settings?16:43
RhineDevilgnarface: yeah I didn't find a clue about why happens17:11
RhineDevilin fact I didn't even find a setting properly saying "screen locks"17:12
gnarfacemaybe you need to install some optional package?17:13
RhineDevilgnarface: honestly I have no idea17:13
gnarfaceapt-cache search ^kde17:13
gnarfacemaybe?17:13
RhineDevilgnarface: little issue: it doesn't show packages who aren't installed17:26
gnarfaceapt-cache search certainly will17:26
gnarfacerun "apt-get update" once17:26
fsmithredSystem setting, Power Management, Energy Saving, Suspend Session, Automaticall... Lock Screen17:37
fsmithredRhineDevil, ^^^17:37
brocashelmi've had problems using plasma on ceres23:34
brocashelm(to rhinedevil's question above)23:35

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