libera/#devuan/ Sunday, 2024-05-19

brocashelmany tips on replacing rsyslogd with busybox-syslogd?04:21
gnarfaceno, does it fail or something?04:22
gnarfacealso, why?04:23
brocashelmsince it's a part of busybox and i'd like to explore that avenue more04:27
gnarfaceare you using busybox?04:27
systemdleteI think busybox syslog does not support rsyslog's features04:28
systemdlete(but maybe that isn't important for your case, idk)04:28
brocashelmno, but i'd like to switch over to it eventually04:29
systemdletedancing around rsyslog's shortcomings and defects and poorly-documented features, I've been able to make rsyslogd do what I want.04:30
rustyaxesyslog-ng <306:30
systemdleteI would make the jump to syslog-ng, but from what I've been reading online, it seems it has not had the uptake compared to rsyslogd.  Not sure if that's a good reason; after all, here we are using devuan...06:45
systemdletewhile the rest of the world has marched on into systemd blindly and obediently06:45
systemdletealso, syslog-ng seems to have a propriety feel to it, judging by the syslog-ng.com web page.06:47
systemdlete(sure, there's a link to their open source version, but still...)06:47
systemdleteI've looked at the docs and even experimented with syslog-ng a bit, and the architecture is--in my opinion--superior to rsyslog's.  I would not deter anyone from migrating to it.06:49
systemdleteupdate:  That VM that I disabled 3D on is still without a desktop freeze. HOpefully, I do not speak too soon.06:54
systemdleteI might be filing a bug at vbox...06:54
systemdlete(they do warn that it is experimental, though a user would not think that by the lack of a warning in the GUI)06:55
user24037i need to replug my keyboard/mouse switching between ttys after pm-suspend. what's up with that?09:04
user24037started happening with daedalus09:09
rrquser24037: you may need to elaborate on your use case. "switching ttys" sound like you are running multiple DEs concurrently.09:50
rrqor does it concern console ttys?09:50
user24037you've got it i think. i mean that i run $ startx on tty1 and tty2 and switch between them.10:38
user24037i3wm is the desktop10:38
rrqnon-root user I guess? different users? elogind or seatd ?10:46
rrqusing pm-suspend on command line? on tty1/tty2 or separate?10:48
rrqone major change for daedalus (from chimaera0 is that X11 now includes device access via "seat mediation" .. not sure if that plays in here11:18
user24037same non-root user;; the elogind service is running;; pm-suspend from within either desktop11:22
user24037thanks for the questions and help by the way. i'm not sure about where in the stack the problem lies either11:23
rrqperhaps at USB level the devices gain new bus addresses on resume without the driver(s) being told that the old address have become invalid... does suspend involve shifting out the xhci module(s) ?11:26
rrqwhat happens if you suspend from tty3 console ?11:31
rrqmy thought line for that is simply to remove the X11 "stack" from the suspend/resume activity11:33
user24037everything just works suspending from tty3 console (^^;11:36
rrqgood.. at least there's a possible workaround .. but it doesn't solve it11:37
user24037when it doesn't work it persists in not working; i have to replug with every change indefinitely11:38
user24037ya man! good read!11:38
rrqI suppose the next step would be to use seatd rather than elogind for X11 input mediation, to see if the issue remains11:40
rrqbtw did you configure /etc/elogind/logind.conf wrt sleep?11:42
* fsmithred is testing on a spare laptop11:44
fsmithredIt still works after pm-suspend here. Ran startx as same user twice, tty1 and tty2. elogind is installed. No display manager.11:45
fsmithredwhat else can I do to break it?11:46
rrqUSB kb+mouse?11:46
fsmithredyeah, I'll try that in a couple minutes. Need more coffee.11:46
rrqI think that's an important colour in this painting... because USB devices do change bus address upon resume; though I would have thought udev kicks in to do magic about that11:47
rrqit seems the OP effect is that the X11 in focus doesn't get told to renew its input devices11:48
rrqthough hmm X11 should be told about the new devices and act upon that... hmm11:50
rrquser24037: you use udev (from eudev) I assume? and you don't have ay Xorg.conf declaring inputs?11:51
fsmithredhaving trouble testing here - usb keyboard didn't work in the laptop12:00
fsmithredback soon12:02
fsmithredback12:08
fsmithredafter suspen, then I switched to the other display and the keyboad did not work there. The laptop trackpad and keyboard did work.12:09
fsmithredshit12:09
fsmithredafter suspend, the keyboard worked12:10
fsmithredbut only on the display that I used to suspend.12:10
rrqsame with both elogind and seatd ?12:11
fsmithredI didn't try removing elogind12:11
fsmithredoh yeah, replug fixed it when it was dead.12:12
rrqit's sufficient to install seatd since it is the preferred mediation12:12
rrq(I think :)12:12
fsmithredbrb12:14
rrqUSB kb working on first X11 and not second is odder than OP's issue (not working on first and thus cannot switch to check second)12:18
fsmithredadding seatd seemed to fix it. I could not remove elogind without major destruction.12:18
fsmithredDid anything interesting happen while I was gone?12:19
rrqnope12:19
rrqok; first indication would be that this issue hides in the Napoleon soup of elogind12:20
fsmithredhm, the laptop that failed already has seatd installed (and elogind)12:22
rrqor might possibly be due to some dbus messaging race (which the seatd option also avoids)12:22
rrqand it used seatd?12:23
fsmithredhow do I know which it is using?12:24
rrqcheck Xorg.0.log ... it makes noises unless seatd is used12:24
rrqwhen opening the graphics device12:25
rrq(i.e. when it initializes)12:25
fsmithredyeah, it says it used seatd12:26
rrqok. perhaps you can try with seatd stopped ?12:27
rrqrestarting all X1112:28
fsmithredI had to reboot to get the usb keyboard to work on console12:34
rrq(that's new)12:36
fsmithredok, now the usb keyboard does not wake it up from suspend12:37
fsmithredbut laptop keyboard does wake it up, and then usb key works on both displays12:38
fsmithredthat's with elogind turned off12:38
fsmithredshit, no it's not.12:38
rrq:)12:39
fsmithredelogind-daemon is running.12:39
fsmithreddisabling elogind in sysv-rc-conf didn't do what I wanted it to do12:39
rrqand seatd ?12:39
fsmithredoh, I turned off seatd, not elogind12:40
fsmithredyeah, seatd not running12:40
fsmithredshould I reverse those?12:40
rrqright, so apart from wakeup the usb keyboard works fine when elogind is used.. yes try it with seatd and without elogind (though with seatd, elogind is shadowed for X11)12:42
* rrq needd to go .. back later12:44
fsmithredI'll leave notes12:44
fsmithredSlow logging in - takes a long time to get the prompt after giving password, also takes a long time for second desktop to come up.12:46
fsmithredwith seatd running and elogind disabled, usb key does not wake it up from suspend. Laptop key does and then usb key works. I use usb key to switch back to first desktop and keyboard works there to type text in terminal, but then ctrl-alt-f2 does not switch back to second display.12:49
fsmithredTime for breakfast.12:49
CueXXIIIyou could use chvt remotely to switch between different virtual consoles and thus x sessions13:14
rrqfsmithred: is it a very recent daedalus install? and specifically which kernel?14:26
user24037rrq: eudev is installed and my xorg.conf https://pastebin.com/Hhak7k8H14:32
soolapimohello, I'm running Ceres and since yesterday I've been having problems upgrading packages due to signatures not being verified anymore. I think that gpg or something broke? I saw that I had to restart the daemon to use it again after an update14:33
soolapimothis is what I'm facing: https://paste.debian.net/plain/131739114:33
soolapimoAnyone knows how can I "force" this update without verification so that it gets back on track?14:34
rrquser24037: that xorg.conf seems "harmless" wrt this issue. I guess you should test also without that xorg.conf, but probably will not make a difference.14:38
rrqcould you share your Xorg.0.log ? eg via https://transfer.rrq.au (or whereever)14:40
rrqas you maye have seen, fsmithred has got some similar USB keyboard issues...14:42
rrquser24037: btw how do you trigger resume? does it wake by a USB keyboard key press?14:43
rrqspecifically how it looks directly at resume when the USB keyboard fails ... you might capture that by copying it on the same command line with pm-suspend (with semi-colon) ... and then maybe show the additional log after replugging the keyboard14:56
rrq.. or just the latter; the full log immediately after having replugged the keyboard14:58
rrqsoolapimo: apt-get has --allow-unauthenticated which might help you15:04
rrquser24037: there's updated xserver-xorg-core in daedalus-security that might help (unless you are using that already)... (I have a vague memory that it came about due to a USB keyboard issue)15:08
fsmithredrrq, 6.1.0-18-686 on asus EEE installed last August.15:16
rrqversion of xserver-xorg-core ?15:17
fsmithred2:21.1.7-3+deb12u2devuan115:18
fsmithrednot the one in daedalus-security15:18
rrqok; could you install from daedalus-security to see if the isue remains? it's that package abd15:19
rrqxserver-common15:19
fsmithredupgrading now15:19
fsmithredalmost half way there15:25
CueXXIIIsoolapimo: you could try apt -o Acquire::AllowInsecureRepositories=true update15:29
fsmithredonce again, it looks like I will have to reboot to get the usb keyboard to work in console. Going through 'init 1' is not enough.15:33
rrqmmm that's not X11 issue15:35
fsmithredok. after restarting eudev and repluging the keyboard, it works. Had to do both.15:37
fsmithredshould I bother with x11 tests?15:37
rrqafair, the USB keyboard issue got resolved by commit b813afc2b, leading to package version devuan/2%21.1.8-1devuan2 .. and eventually rolled into that devuan-security version15:38
rrqperhaps we hear from user24037 if the issue remains with devuan-security those pacakges15:40
fsmithredok, after suspend, usb keyboard works on both desktops (:0 and :1) but only after I use the laptop keyboard to wake it up.15:41
fsmithredthat's with both elogind and seatd active15:41
rrqfair enough I think; wakeup is something closer to h/w while userland (and Xorg)  remains suspended15:43
* rrq bedtime15:43
fsmithredsleep well15:44
user24037$ startx now is busted. can't change tty afterward;; the xorg.log file contains @^17:51
user24037saw that seatd and libseat1 are running in an older log that had ASCII text17:51
user24037Desktop starts but can't get input registering17:57
fsmithreduser24037, what was the last change you made to the system?18:01
fsmithredrrq is sleeping now. Leave some notes for us.18:02
fsmithredI'm going outside18:02
user24037xserver-xorg-input-libinput got removed (^^; pardon18:06

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