libera/#devuan/ Friday, 2022-11-11

gnarfacehmm, although now that i look at mine that doesn't seem to be true anymore00:01
gnarfacenevermind that00:01
gnarfacejust make sure they're all from the same release00:01
Nrmlgnarface: here it is https://paste.debian.net/1260299/00:10
Nrml(sorry for the delay, was installing/configuring pastebinit)00:10
Nrmlgnarface: looks pretty mixed to me00:10
gnarfaceyea that might be normal now, i've got nothing sorry00:12
Nrmlno problem ;-)00:12
gnarfacei would try a whole different fresh install of something on another SD card to see if it's the software00:12
NrmlI will check for apt-cache policy of each one just in case00:12
gnarfacei can't imagine how it could not be the software but i'm out of ideas00:12
NrmlOK, thanks for the great help anyway. Your idea to plug/unplug them with the X server running and then checking Xorg.0.log actually gave me good clues00:14
NrmlI will try and pursue them next00:14
e3d3My custom key bindings (xmodmap & setxkbmap) are reset to to defaults when I connect my new USB mouse & keyboard. How can I prevent this ? (Devuan Chimaera)00:51
gnarfacethe first thing that comes to mind is you could alter the udev rule to call xmodmap and setxkbmap again on hotplug, but i would think there should be a window manager configuration you could use instead that would be smart enough to propagate the config across devices00:55
e3d3I've found it in my XFCE main menu "Removable drives & media", tab "Input devices". I never thought about looking there. Thanks.00:59
gnarfaceno problem00:59
e3d3There I'll call xmodmap & setxkbmap again. Thank you for this simple & quick solution.01:00
Nrmlgnarface, I just kludged it into working. Got a minute to have a look?01:06
gnarfacesure01:06
NrmlSo, pursuing the messages on the Xorg.0.log file which were generated only when the mouse or keyboard were unplugged and replugged with the server running, I focused on this one:01:07
Nrml         (EE) client bug: Invalid path /dev/input/event301:08
NrmlWhat I did was to run `startx` under strace (ie, `strace -f -s 1024 -o /tmp/startx.strace startx`) do the unplug/replug thing, and then look at the file strace produced.01:10
NrmlI found the point where the message got write()n, then backtracked from there, looking for a cause.01:10
NrmlAnd here's what I found:01:10
Nrml28636 newfstatat(AT_FDCWD, "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/input27/event3/uevent",01:11
Nrml0x7fefff2a18, 0) = -1 EACCES (Permission denied)01:11
NrmlSo I checked the path and indeed it was rwx for root only at this exact directory: /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/01:12
NrmlSo I did this: `sudo chmod g+rX,o+rX /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/`01:12
NrmlWith that, it became rX for everyone, as expected01:12
Nrmlthen I ran `startx` again, and IT WORKED!   In fact, I'm typing this in X right now.01:13
NrmlSo, why I think this is a kludge:01:13
Nrml1) /sys is a 'dynamic directory' generated/maintained automatically by the OS. So after my next boot (or sooner) my permission setting will be gone.01:14
Nrml2) I think I just opened a security hole in the system (not sure it's a good idea to let anyone access these directories/files)01:15
gnarfaceit shouldn't be like that, something is wrong01:16
Nrml3) I also think this is NOT the root cause; the root cause is whatever is causing the permission to be wrong (and perhaps the owner/group? both were 'root')01:16
gnarfacemaybe you can fix the udev rule but that doesn't explain why it happened if it wasn't already happening01:16
Nrmlgnarface: my thoughts exactly ;-)01:16
NrmlSo it's udev the responsible for generating/maintaining the /sys directory? Or does it just meddles there (with permissions, etc) after the fact?01:17
rrqnote that /sys typically is a mount of sysfs which essentially is a filesystem API for the kernel01:20
rrqudev maps /sys into dev nodes under /dev01:20
Nrmlrrq: that's more or less what I thought01:20
Nrmlrrq: so the X server should not be messing with /sys but rather with /dev?01:21
rrqright01:21
gnarfaceNrml: no i think the kernel is making them, but i thought it'd obey udev for the /dev/input nodes, and these should match01:21
Nrmlcrap01:21
gnarfaceNrml: the primary cause i'd expect for this by the way could only be a kernel change01:21
Nrmlhummrmrmr01:22
Nrmllemme check when I upgraded the kernel01:22
Nrml-rwxr-xr-x 1 root root   217854 Sep  6 05:41 config-5.15.6501:22
gnarfaceand it would seem like a bug but i could imagine a xorg library version mismatch maybe could cause the same thing01:22
gnarfaceit's above my skill level01:23
NrmlSeptember 6th and this machine is powered off and then back on every day01:23
rrqX11changed (some years ago) in its input handling .. from dev nodes to soemthing mroe dynamic.. I'm  ot on top of it all01:23
rrqot = not01:23
Nrmlthe fact is that the X server is indeed trying to access (and accessing!) stuff directly under /sys01:24
Nrmlwhich it should not, right?01:25
Nrml(I say 'fact' because that's totally unambiguous in the strace output)01:25
rrqI remember having to install xserver-xorg-input-kbd for some setup to get a funcitoning keyboard01:25
rrq(it still swaps characters around... or maybe that's my fingers)01:26
Nrmlaha01:27
Nrmlcheck this out:01:27
Nrml28636 newfstatat(AT_FDCWD, "/dev/input/event3", {st_mode=S_IFCHR|0660, st_rdev=makedev(0xd, 0x43), ...}, 0) = 001:27
Nrml28636 readlinkat(AT_FDCWD, "/sys/dev/char/13:67", "../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/01:27
Nrmlinput27/event3", 1024) = 15301:28
Nrml28636 newfstatat(AT_FDCWD, "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/input27/event3/uevent",01:28
Nrml0x7fefff2a18, 0) = -1 EACCES (Permission denied)01:28
Nrmlthis is what the X server did up to and including the error01:28
NrmlSo it seeems to read the link *content* from /dev/input AND THEN parsing it into a /sys path01:28
Nrmlthis looks totally irregular to me01:29
gnarfacethat is more or less how i was guessing it happened, it's just that the /sys one's permissions should match...01:29
gnarfacethey should be the same thing basically01:29
gnarfaceand i'm suspecting that somehow in your case it's not but i can't imagine why01:29
Nrmlgnarface: would udev be the responsible for setting the permissions in /sys?01:30
gnarfacelike i said, it's never mismatched for me so i'm not sure i guess01:30
gnarfacei would have assumed the kernel reads them from udev01:30
gnarfaceor provides udev some sort of hook to push them in01:31
gnarfacewhich udev are you using? systemd-udevd or eudev?01:31
Nrmlgnarface: so in your case, what are the owner/group/perms of /dev/input/event3 and /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/input27/event3/uevent, or the equivalent in your system?01:31
Nrmlgnarface: eudev, of course ;-)01:32
Nrml(no fucking systemd here, thank you ;-))01:32
Nrmldpkg -l eudev01:33
gnarfacei wouldn't know how to find the matching path so i can only assume this01:33
Nrmlii  eudev          3.2.9-10~chimaera1 arm64        /dev/ and hotplug management daemon01:33
rrqthat "uevent" is the kernel's event record for that device; it is read by udev, which creates the corresponding /dev node and sets its permissions01:33
Nrmlgnarface: can you please post a `find /dev/input -ls` from your system with X running?01:34
gnarfaceNrml: do you have these packages? xserver-xorg-input-evdev  xserver-xorg-input-kbd  xserver-xorg-input-libinput  xserver-xorg-input-mouse  xserver-xorg-input-all?01:34
Nrmlrrq: so udev would not change owner/group/perm in /sys?01:34
rrqcorrect01:34
Nrmlrrq: ouch01:34
gnarfaceNrml: no, i will not post that, but i have a lot of them, and they're all 0660 root:input except the ones i've made custom udev rules for01:35
Nrmlrrq: so my X server (or some library or module or whatever in it) is going rogue when trying to access /sys instead of /dev/input?01:35
Nrmlgnarface: OK01:36
gnarfacesome are event*, some are mouse*, some are js*, and one called just mice... some of these are legacy and i think some are extraneous ones i just didn't delete from an old udev bug01:36
Nrmlgnarface: here it's all 0660 root:input too, in /dev/input -- not so in /sys/*01:36
rrqthe perm on that "uevent" should be 64401:36
Nrmlrrq: ls -l /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/input27/event3/uevent01:37
Nrml-rw-r--r-- 1 root root 4096 Nov 10 20:51 /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2.1/1-1.2.1:1.0/0003:093A:2510.0015/input/input27/event3/uevent01:37
Nrmlrrq: so it is01:37
gnarfaceNrml: i have /sys/ accesses in my Xorg.0.log too just no errors about them01:37
Nrmlbut no "rx" permission on the directory needed to get there01:37
Nrmlin /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/ to be precise, it was 0700 root:root01:38
gnarfaceNrml: do you have all these packages? xserver-xorg-input-evdev  xserver-xorg-input-kbd  xserver-xorg-input-libinput  xserver-xorg-input-mouse  xserver-xorg-input-all?01:39
Nrmllet me check them packages01:39
Nrmlgnarface: nope, just xserver-xorg-input-all and xserver-xorg-input-libinput. The other 3 (xserver-xorg-input-evdev, xserver-xorg-input-kbd, xserver-xorg-input-mouse) are not installed01:40
gnarfaceat some point i had to add uhid and uinput to /etc/modules to keep my steam controller and roccat mouse working but this isn't chimaera01:40
NrmlI remember installing xserver-xorg-input-evdev, but it didn't help so I uninstalled it01:40
NrmlDo you think I should install them all?01:41
gnarfacethey take up so little space it can't hurt01:41
gnarfacei thought the /dev/input/event* nodes specifically needed the evdev one01:41
NrmlI will install, reboot and retest, then come back here01:41
Nrmlgive me a few minutes please01:42
gnarfacetry to modprobe uhid and uinput before you start xorg again too01:42
Nrmlback01:51
Nrmlunfortunately no go: installing the missing 3 packages did nothing01:51
Nrmlwill try the modprobe thing now01:52
Nrmlgnarface: nope, modprobbing the two kmods before running `startx`  also didn't change anything01:56
Nrmlonly chgrp input /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/ && chmod g+rX /sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/ fixes it01:57
Nrml(so far)01:57
Nrmlfolks, gotta go for the night. thanks everyone, specially gnarface and rrq, for the assistance01:57
Nrmlhave a great evening y'a;;01:58
Nrml*y'all01:58
* Nrml waves01:58
perrierjouethello all04:04
perrierjouettesting waters here04:04
perrierjouethow is the community ?04:04
perrierjouetI am systemd vaccinated :) almost 6 month free of the systemdeases04:05
debdogthe community is surprisingly silent tonight04:08
fredthat systemd-torrentclient is rly nice04:08
rwpHello perrierjouet. Welcome to the community! Social chatter is welcome in the #devuan-offtopic channel.04:08
perrierjouetI was wondering is the package updates are often ? for example big package like gcc are updated easily ?04:10
rwpBig packages like gcc upgrade very easily.  One of the easier packages actually.04:11
rwpAs far as how often Stable only receives security upgrades or otherwise important upgrades.  Stable won't get new major versions of gcc.04:12
rwpThe daily upgrade suite is Unstable which gets upgrades as often as maintainers upload them.04:12
rwpHowever Unstable, the daily upgrade suite, is as the name implies sometimes unstable, sometimes broken.  Some assembly required.04:13
fred(ceres ftw)04:14
perrierjouetthanks04:14
fredus someone on here using nala instead of apt?04:14
bb|hcbperrierjouet: If you want to check a particular package: https://pkginfo.devuan.org/04:15
ham5urgIs it possible to trick Gnome to hibernate instead suspend the laptop? I hate when users forget about the battery and corrupt the filesystem.17:23
PoundFoolishHello. I am installing Devuan 11 Chimaera from a thumbdrive. I am in the "Software selection" portion and my question is why is the option to choose LXDE not present as it is in the tutorial?19:26
PoundFoolishOther desktop environments are present. Perhaps LXDE support been removed from the installer since the tutorial was written?19:27
PoundFoolishStrangely the option is present when installing Debian Bullseye, upon which Chimaera is based.19:30
fsmithredPoundFoolish, it should be there. It'll be a few hours before the person who makes those isos is awake.19:33
PoundFoolishI promise it is not there. ;) https://i.imgur.com/pHVlsNy.png I will wait some hours. No problem.19:37
fsmithredI'm sure you're right. I just started tasksel in a terminal.19:37
golinuxPoundFoolish: From https://www.devuan.org/os/:19:39
golinuxDesktop Environments19:39
golinuxDefault: Xfce19:39
golinuxAlternate: Cinnamon, KDE, LXQt, MATE19:39
golinuxOthers: available post-install19:39
fsmithredIthought we added it in beowulf, but I don't have a beowulf live-iso to test.19:40
golinuxSo LXDE is only available post-install. I have no idea why . . .19:40
fsmithredand I can't download anything big19:40
PoundFoolishMy mistake. I thought the process under Devuan would be functionally equivalent to Debian- and as I mentioned the user's screenshots did show LXDE in the menu to be checked.19:40
fsmithredbecause in ascii, lxde didn't work right'19:40
fsmithredPoundFoolish, some of the udebs for the installer have been forked.19:40
PoundFoolishIn the "Install Devuan with LXDE tutorial". Shame that the features I like are always first for the chopping block.19:41
fsmithredWe left lxde out deliberately, but I thought we added it when it started working right again.19:41
fsmithredproblem was with polkit stuff19:41
golinuxWell, when it gets figured out, www needs to be aligned with reality . . .19:42
fsmithredinstall system without desktop, before you install the bootloader you can open a console and install task-lxde-desktop then return to the installer19:42
PoundFoolishwill try it. worst case i can always nuke the partition and try gentoo or void. If I am to futz about configuring the desktop environment I may as well get elbows deep and really break some stuff.19:44
PoundFoolishno clue how to get into a console from the bootable installer "execute a shell" seems like the obvious choice but when I do that, "install task-lxde-desktop" gives "install:not found".19:50
PoundFoolish"We left lxde out deliberately" is this decision documented anywhere?19:51
PoundFoolishfeels like I am getting too far off the path the Devuan installer expects me to take.19:52
PoundFoolishMaybe I will try getting an older install media for Devuan and updating after install.19:53
PoundFoolishmy goal is to find a linux distro based on debian without systemd that makes it possible for me to use the LXDE desktop environment without jumping through too many hoops.19:56
PoundFoolishYou see how this seems a little sketchy, right? https://sourceforge.net/projects/devuanlxde/19:58
PoundFoolish@fsmithred, maybe you were envisioning a fancier installer than I am using. Neither does ALT+F2 to get to a console recognize the "install" command.20:01
golinuxPoundFoolish: Are you on a laptop?20:11
PoundFoolishI am installing it on a thinkpad, yes.20:12
golinuxIf yes, maybe this thread is relevant? https://lists.dyne.org/lurker/message/20221107.100215.8ba8af49.en.html20:12
* golinux wanders off to tea20:12
PoundFoolishDoubtful it is relevant. It seems to me that the console where "install" ought to be entered is the console of environment that is being installed, but the only console I can access during the actual install process is a limited one that does include the "install" command or similar package management commands.20:14
PoundFoolish*does not include20:14
PoundFoolishAnyway since I am just trying to find something that will work I will probably use the equivalent Debian installer and circle back at a later time to see whether Devuan has reenabled LXDE. In principle I like the idea of not using systemd but in practice the choice disables LXDE, which I really like.20:16
PoundFoolishI am not in XFCE as the complainant in that exchange is, in any case. I am in the Devuan text-based installer, as seen in this screenshot: https://i.imgur.com/pHVlsNy.png20:18
PoundFoolishReading the forums gives me the impression LXDE may have been cut based on systemd entanglements so maybe it is not as easy as just apt-getting it. Hope Devuan can regain support for LXDE at a future date- imho it is the best desktop environment. Thanks for your help, #devuan.20:39
djphgolinux: what kinda tea?20:44
eyalrozDidn't LXDE transition to Qt at some point? Or was the project forked?20:50
chomwittin chimaera trying to install qalculate-gtk i get you have held broken packages. what does that mean ?23:22
fsmithredchomwitt, try 'aptitude -s install qalculate-gtk' and you will get some options.23:24
fsmithredlibqalculate20 : Depends: libqalculate20-data but it is not going to be installed23:25
chomwittfsmithred, so you get the same message ?23:27
fsmithredyeah, with 'apt install'23:27
fsmithredaptitude gives more info and some solutions23:27
fsmithredwell, one of the solutions is not to install the package. Other is to install the -data package with it.23:28
fsmithrednot sure why that doesn't happen automatically23:28
chomwittok . there is  no need to worry about sth then. i'll try aptitude23:28
fsmithredoh, it's a version problem23:28
fsmithredthere are newer versions in backports23:32
chomwitt$ sudo apt-get install qalculate-gtk/chimaera-backports   also fails23:34
chomwittshould i backport using aptitude ?23:34
fsmithredInstall the following packages:23:34
fsmithred1)     libqalculate20-data [4.2.0-1~bpo11+1 (stable-backports)]23:34
fsmithredthat's one of the suggestions from aptitude23:35
chomwittok that was installed23:35
fsmithredfrom backports?23:36
chomwittyes and then also  qalculate-gtk was installed23:36
chomwittall from backports23:36
fsmithreddoes it work?23:37
chomwittfsmithred, thanks! although i am curious about the reason of the failed attempt23:37
chomwittyes! it works23:37
chomwittboth from backports23:38
fsmithredprobably someone screwed up the version dependencies23:38
chomwittok23:38
chomwittshould i post an issue somewhere ?23:38
fsmithredcheck debian bug reports. It might already be known. We don't fork any of those packages.23:39
chomwitthttps://tracker.debian.org/pkg/qalculate-gtk23:41
chomwitti dont see a stable package of qalculate-gtk  in debian23:41
chomwittand no bug is reported for that package23:43
fsmithredoh, right.23:43
chomwittso there is no stable version ?23:44
fsmithredI don't see one23:47
fsmithredif you look through bug reports and changelogs, you might find an explanation23:48
chomwittwhy $ sudo aptitude install qalculate-gtk  didnt display a more simple error like 'package not found' ?23:51
phoggI tried the daedalus netinst about a month ago and kept hitting problems with the keyring install. Anyone know if that's working now? (I am pulling the current netinst to try it anyway)23:59

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