libera/#devuan/ Friday, 2023-10-06

rktaCan I somehow use startx and kill it after some seconds? I don't have a working touch pad or keyboard after startx. I want to debug it w/o the need to reboot everytime.08:38
gnarfacerkta: there's a few ways, yea08:38
rktaWould you tell me one?08:40
gnarfaceso, the traditional way, killing it by "ctrl+alt+backspace" has been disabled by default for some years, but you should be able to re-enable it somewhere in the menu that comes up when you run "dpkg-reconfigure keyboard-configuration"08:41
gnarfacethat should work unless your video driver has gone WAAAAY out to lunch08:41
rktaI don't have a keyboard after launching X.08:42
gnarfaceoh, well that makes it more complicated08:42
rktaI tried combinations of startx & kill ... but did not get it to work.08:43
gnarfacewell i'm not sure what value the exercise is, but you can try "at" to kill it on a timer08:44
gnarfacethere's also a way to launch Xorg while keeping the controlling terminal in a window in the Xorg instance08:44
onefangstartx; sleep 5; kill ...08:44
gnarfacei forget exactly how08:44
gnarface(and it might work in theory if the window has focus even if the rest of xorg is ignoring your keyboard)08:45
gnarfacereally though, you should check the Xorg log for errors (it might still be in /var/log but it's usually in ~/.local/share/xorg/ now)08:45
onefangAnother option is to ssh into the box and kill from there.08:45
rktaThe value is that I need to get X working again, because I should be working right now. :)08:45
onefangBut that might not be an option.08:46
gnarfaceit would help a lot to know what changed last, since there shouldn't be any good reason for it to stop working08:46
rktaonefang: What's the ... in your kill command?08:46
gnarface-9 [PID] [PID] ...08:47
onefangYou mentioned combinations, the ... would be those combinations.08:47
onefangor perhaps killall -KILL startx08:47
gnarfacedoes it help to kill startx after it's run? i thought you had to kill X08:48
rktaThe last changes I did was to do upgrades, I uninstalled two packages, which I already reinstalled and I rebooted. I have no idea right now.08:48
gnarfacewhich two packages?08:48
onefangDunno I don't use startx, and no idea off the top of my head exactly what X binary should be named there.08:48
rktabind9-dnsutils and bind9-host08:48
gnarfaceonefang: i think startx is just a wrapper script for xinit. the binary to kill though i think is called Xorg08:49
gnarface(i think it might sometimes have been called just X in the past, but i could be wrong)08:49
gnarfaceyou might commonly have to kill the window manager and several other child processes too though i think08:49
onefangYep, pstree tells me it's Xorg.08:49
onefangSoooo killall -KILL Xorg08:50
gnarfacerkta: grep the xorg log for the string (EE)08:50
gnarface"(EE)" just like that, case sensitive, without the quotes08:51
brocashelmmaybe also look into dpkg-reconfigure keyboard-configuration so you can check if the ctrl+alt+backspace is enabled to terminate x?08:51
brocashelmnvm, i see it was mentioned a few lines ago08:52
gnarfacesuspected i/o lock, possible auto-detection fail or bad xorg.conf...08:52
brocashelmwhat about seatd in this case?08:53
gnarfacerkta: which release, and are you using any xorg.conf customizations?08:53
rktaI started X again and it works now. I see some errors: http://0x0.st/HWx4.ee08:56
rktaI'm still on Chimaera and don't have a xorg.conf (other then maybe a system default)08:57
rktaI booted with an older Kernel, not sure if it is related. I will have to investigate later.08:58
gnarfaceif you use paste.debian.net i'll actually look at the errors08:59
gnarfacehave you mixed in any 3rd party packages or are they all from devuan's repos?08:59
rktahttp://paste.debian.net/1294176/08:59
gnarfacesometimes 3rd party packages cause non-obvious problems after regular updates09:00
gnarfaceyea, this is a smoking gun here (EE) systemd-logind:09:00
rkta3rd party is virtualbox and google chrome09:01
rktaAlso these timeouts and system is slow with Synaptics and Trackpoint look suspicious.09:02
gnarfaceyea, that's definitely not supposed to be happening, which makes me wonder if you have stuff in there that pulled in some debian packages that aren't fully compatible09:03
gnarfaceit could just be the old kernel, i couldn't really be sure09:03
gnarfaceany sort of package version mismatches might cause something like this09:04
rktaI'll do a dist-upgrade next week and will see if it happens again. If so, then try to pin it down.09:07
gnarfacesee if you can figure out exactly which all packages came from the 3rd party repos09:07
gnarfacethat repeating systemd-logind error, i don't think you're supposed to be seeing anything like that at all09:09
gnarfaceit's also possible that something else got removed too, i think09:10
gnarfaceas far as i know if you're using startx, systemd-logind shouldn't show up in the log at all09:13
gnarfaceit should only be there if you're using a graphical login and even then it should only show up once, to say it's disabling itself, as a (II) not (EE)09:13
rktagnarface: Here is a grep systemd of the log file. Could not post the complete log, it's to big. http://paste.debian.net/1294181/09:17
gnarfacerkta: hmm, do you think the failure case starts after it has resumed from sleep?09:21
gnarfacelike maybe it's fine after a cold boot until it goes to sleep for the first time?09:22
gnarfacethen... some driver goes out to lunch partway and then derails the thing09:22
gnarfaceit wouldn't be unprecedented09:22
gnarfacestatistically speaking though, 3rd party packages are the most likely culprit still09:23
rrqrkta: which version xserver-xorg-core do you have?09:23
rktarrq: 2:1.20.11-1+deb11u609:24
rrqdo you have the top part of Xorg log, where the deices are installed and their modules get loaded; which modules?09:26
rktaI think it's about something with timing. It seems random to me. But I don't think it's worth to debug more while I'm on oldstable.09:26
rrq it looks like something between Xorg and the devices is poweer toggling09:27
rktarrq: http://0x0.st/HWxF.log.old Complete log09:27
rrqpossibly if you uninstall xserver-xorg-input-libinput... either nothing will work or posssibly it gets better09:30
rrqneed to restart X09:30
rktarrq: will try09:31
rrqlooks like udev keeps adding your touchpad for some reason; that won;t happen without libinput, but I'm not sure if you then need to declare the inouts explicitly09:32
rrq(maybe it has a loose connection?)09:32
rktayeah, was thinking about an actual HW error09:33
rktabut, otoh, it works reliably now.09:34
gnarfacecheck the batteries?09:35
rktawhat batteries?09:39
onefangYou mentioned at the beginning that the track pad was not working.  That implies a laptop, which implies a battery.09:44
rktamy charger is plugged in09:45
buZzdevuan still has 2.36-9+deb12u1 , shouldnt we get 2.36-9+deb12u3 now?11:37
buZz(on daedalus)11:37
buZzaccording to https://www.debian.org/security/2023/dsa-551411:37
buZzhmmz, i dont get it, why doesnt my apt show it existing yet11:39
buZzwhile its on https://pkginfo.devuan.org/cgi-bin/policy-query.html?c=package&q=libc-bin&x=submit11:39
onefangIn chimaera that GLIBC_TUNABLES fix is available already.11:41
buZzso should be on daedalus too then? maybe my apt is broken11:41
buZzthis was a jessie install that i endlessly upgraded, maybe finally broke :D11:42
rrqglibc-source=2.36-9+deb12u3 is in daedalus-security, and libc6=2.36-9+deb12u3 as well11:43
buZzwelp, i declare it broken, then11:44
* onefang hands you a spanner.11:46
buZzi'll do a reinstall party this weekend perhaps :)11:48
brocashelmi got the package of libc6 version 2.36-9+deb12u3 from daedalus-security; everything is fine11:49
* onefang goes back to my update party.11:51
AEonFyrI recently discovered that Debian (bookworm) symlinks /bin to /usr/bin and Devuan (daedalus) doesn't. I'm assuming that is by design. Is there any explanation available as to why?17:02
fsmithredAEonFyr, google for usrmerge and you'll find plenty of info17:05
AEonFyrI did see some discussion when I was looking into it, but given Devuan is based on Debian, I wasn't sure if it is by design or a bug (or a work in process etc.). Is it intentional?17:09
fsmithredyes, there's even a question in the installer if you use expert install17:09
AEonFyrk, thanks.17:10
fsmithredwe resisted because it wasn't ready for prime-time. The dpkg devs had some complaints. I don't know if that was resolved.17:10
onefangOn the other hand, it works fine for some of us.17:10
fsmithredfwiw, a few years ago I installed ascii when it was still in testing and didn't notice the symlinks for a year17:11
fsmithredbut I've avoided the merge on subsequent installs17:11
AEonFyrI only noticed it because egrep & fgrep scripts are in /bin and not /usr/bin on my devuan boxen.17:14
fsmithredThe people most affected by the merge are those who don't use initramfs to boot.17:15
onefangIn my opinion there's generally too much "OH NOES!!!111!!!elevn" over this usermerge thing.  Use the symlinks.17:16
onefangWell no initramfs with a separate mount for /usr.17:16
fsmithredother problem is hard-coded paths in scripts17:17
onefangWhich symlinks fix.17:17
AEonFyronefang: Could you please clarify what you meant with "Use the symlinks"? After a bit of poking around I see a huge difference between the contents of /bin and /usr/bin. So I don't image you're suggesting simply ln -sf /usr/bin /bin, so was curious what you meant.17:54
onefangIf you are using the usrmerge then the contents of /bin get moved to /usr/bin and a symlink is made.  Same happens with /lib, /lib32, /lib64, /libx32, and /sbin.17:57
onefangThere is a package usrmerge that does all this for you.17:58
AEonFyrAah, ok, so usrmerge is a thing... I misunderstood it to be a policy or a proposal17:58
onefangIt's something Debian has done.17:59
ballsxdhello everyone! i was wondering how i could fix "Errors were encountered while processing: mpd, openrc"23:21

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