libera/#devuan/ Wednesday, 2024-01-03

Freshmanyep everything grate after upgrade00:00
Freshmanwith only sed holded back00:01
Freshmanhow report it?00:05
Freshmanwhich portal?00:05
fsmithredbest would be to test it in debian and then report to debian00:05
fsmithredbugs.debian.org00:05
Freshmanthx. so devuan bugs flows to debian? are there own bugtracker?00:07
Freshmanor it is about devuan independent bug?00:08
fsmithredbugs.devuan.org is for packages that we forked00:08
fsmithredyou can tell those because "devuan" is in the version00:08
Freshmani see. thank you00:09
fsmithredbut it would not be good to report a bug to debian and then find out it's only a bug on devuan.00:09
rrqsomewhat likely "sed" is now installed at /usr/bin/sed and that that causes brekage00:09
fsmithredThey don't care and they'll just get angry.00:09
fsmithredoh, that would make a difference. Should there be some script that fails and leaves a note in syslog?00:10
fsmithredshould/is00:10
fsmithreddinner. bbl.00:10
fsmithredI'm upgrading my ceres VM now and will get the new version of sed. I'll see where it goes, what happens when I boot, and what happens if I make the proper symlink.01:00
fsmithredoh this will take more than an hour01:03
Freshmaninteresting01:22
Freshmanwhich kind of VM do you use?01:23
rustyaxeSpent an hour trying to figure out why my ttyS0 was getting hijacked.. Thanks brltty...01:44
brocashelmi think it was documented somewhere, but how to prevent getty-run from littering tty1 with service scripts? i just want a non-DM interface to log in01:46
brocashelmi use runit btw01:46
brocashelmshould i look somewhere in inittab or rc.d configs?01:47
onefangWhy not use tty2?02:04
al1r4dMorning ☕02:04
brocashelmbecause tty1 is #1 ofc02:06
brocashelmtoo lazy to ctrl+alt+f202:07
brocashelmmaybe i'll go back to a dm, but use something simpler like xdm or wdm so that it doesn't really get in the way of my settings (lxdm is a no)02:08
fsmithredbrocashelm, /etc/sysctl.conf to control verbosity of messages02:49
fsmithredalso, I think booting with 'quiet' turns off console messages02:50
fsmithredFreshman, I'm using qemu at the moment. Sometimes vbox. Upgrade is not done.02:50
fsmithredalmost...02:52
fsmithredOh, cool! I have modules for three kernels in /lib/modules and one for the latest kernel in /usr/lib/modules. Is it safe to reboot into the new kernel? (Tell me or wait and I'll tell you.)03:00
brocashelmfsmithred: just uncomment this line? kernel.printk = 3 4 1 303:00
fsmithredwow, I don't recall what the numbers mean03:00
brocashelmthat's what the refracta ISOs came with03:01
brocashelmi'll check03:01
fsmithredyeah, that's what the comment says03:01
brocashelmhttps://www.kernel.org/doc/html//v5.12/core-api/printk-basics.html03:02
brocashelmi'm checking here03:02
brocashelmso it would be KERN_ERR (3), KERN_WARNING (4), KERN_ALERT (1), and back to KERN_ERR (3)?03:03
brocashelmjust uncommented and rebooting now03:04
fsmithredNope. Ceres does not boot after upgrade. Cryptsetup cannot fine any devices.03:04
brocashelmlame03:05
brocashelmok, the messages are gone. thanks03:06
fsmithredI'm installing usrmerge now03:12
fsmithredmy current autremove list it pretty big.03:12
brocashelmgood luck03:13
fsmithredit's just a test VM03:14
brocashelmtrue, but it's a pain to work with, last i checked03:15
fsmithredI'm expecting to learn new ways that the system is broken.03:15
brocashelmthinking of experimenting with that on a ceres vm soon03:15
brocashelmnewer kernels are definitely altering stuff03:16
brocashelm6.4 and 6.5 aren't finding my iptables/firewall for ufw when i run a lynis audit (even though firewall is active), and swap is never being used (even after setting vm.swappiness = 95 and using the machine for days/weeks with browsing and videos in between)03:17
fsmithredudev rules file for gphoto exists in two places and installing usrmerge fails03:19
fsmithredit says I can run /usr/lib/usrmerge/convert-usrmerge until it completes without error.03:21
fsmithred...after fixing the problem03:23
fsmithredand then it complains the same about libsane03:23
fsmithredso I probably need to move /lib/udev/rules.d into oblivion.03:23
fsmithredok, I had to move all of /lib/udev and run /usr/lib/usrmerge/convert-usermerge again and that fixed it.03:27
fsmithredThe big autoremove list was misleading. Same packages were also being installed.03:27
rjp19atesevenhappy happy joy joy?03:29
fsmithredreboot in new kernel fails again because cryptsetup can't find devices03:33
fsmithredreboot to old kernel boots, but now I can't type to log in to slim.03:35
fsmithredI booted with live-iso and can chroot the system but I can't run update-initramfs.03:49
fsmithredin chroot I installed sysv-rc-conf and turned off slim in runlevel 3, then booted the installed system to runlevel 3. I can type commands.03:55
fsmithredran update-initramfs -u -k all03:56
fsmithredrebooted and new kernel (6.6.0-9) still fails on cryptsetup trying to find devices. Boot old kernel (6.5.0-4) and I can't type to log into slim.03:59
fsmithredboot old kernel to runlevel 3 (no slim) and startx fail with a bunch of xorg errors04:02
fsmithredI'm done for the evening.04:03
gnarfacefsmithred: i probably can't help with whatever you were trying, but just a quick sanity check, did you bind mount /proc, /sys, /dev, and /dev/pts in the chroot first?04:34
rwpfsmithred, Could you make effective testing use of a chroot?  It's a reduced set but things go much faster that way.  (Remember to install /usr/sbin/policy-rc.d with an exit 101 to keep it from starting daemons on the upgrade.)05:31
Freshmanfsmithred cool08:30
Freshmanbtw 'sed' is the first time i holded smth for stability08:31
Freshmanand there's no bug reports on debian08:33
fsmithredstartx fails with segfault. Here's Xorg.0.log: https://termbin.com/k79k12:01
fsmithredgnarface, yes I did the bind mounts.12:02
fsmithredrwp, I'm not sure I understand what you want me to do.12:03
fsmithredFreshman, sed is not the problem with your system. usrmerge is the problem.12:03
ykk0tMy devuan 5.0 netboot.iso boots into a blank screen. I downloaded from two different mirrors and checked the SHA256 on the last one and everything seems to be in order. I'm attempting to boot from an USB stick and I burned the ISO with Rufus. I used the very same program for Debian, Mint and Gentoo and they worked so I don't think it's the culprit.12:06
ykk0tWhat gives?12:06
Freshmanfsmithred, wow. the job you made12:11
Freshmanwhat if i check this package on my sys?12:12
fsmithredI installed lightdm, and ps shows that it's running after booting up, but I'm stuck on console.12:12
fsmithredwhat package?12:12
Freshman'usrmerge'12:12
fsmithredas far as I can tell, that's a good way to fuck up your system12:13
fsmithredyou can try it - you have backups12:13
freshmanoh yeah. didn't tell but i already fucked up my system yesterday. deleted some python lib which draged timeshift as well^^12:14
djph"oops"12:14
freshmanthe python lib whuch was in problem candidate listl)12:15
fsmithred[  1296.442] (EE) xf86OpenSerial: Cannot open device /dev/input/event112:15
fsmithredPermission denied.12:15
freshmanso no internet, no timeshift, no gui)12:16
freshmanthanks to rescue mode)12:16
gnu_srs1Seems like debian is fucking up more stuff due to usrmerge. E.g. libtool has hardcoded paths to /bin/grep and /bin/sed, and sed is now at /usr/bin.12:17
rrqfsmithred: which xserver-xorg-core version ?12:17
freshmanfsmithred, usrmerge is not installed in the sys and wasn't12:17
fsmithred /dev/input/ only has mice, mouse0 and mouse1  no event*12:17
rrq(you may need seatd installed)12:18
fsmithredI think I have seatd12:18
fsmithredoh, installing seatd now12:18
gnu_srs1Works only on a  merged /usr system. What to do project-wise (if one don't want to install usrmerge)?12:19
fsmithredxserver-xorg-core 2.21.1.1012:19
rrqthat's debian's version12:20
rrqwill require systemd12:20
fsmithredoh, our version isn't ready yet?12:20
fsmithredno, it's ours. 1devuan112:20
u-amarsh04gnu_srs1 I have been trying to catch when packages move the installed binary from /bin to /usr/bin (like sed just recently) then immediately after aptitude runs, add a symbolic link e.g. /bin/sed to /usr/bin/sed12:21
fsmithredsorry, still running on first cup of coffee12:21
fsmithredis there some reason the devs don't use 'command -v' instead of hard-coding stuff?12:21
rrqok. so then input access is facilitated either bmo elogind (and stuff) or by seatd12:21
u-amarsh04I posted in dev1galaxy.org about sed in the hope of reducing grief for others12:22
fsmithredI do have elogind12:22
rrqand dbus-x1112:22
u-amarsh04if/when coreutils does the same thing I'll have to do a lot of work manually after booting from a rescuedvd12:22
fsmithredI have dbus-x1112:25
rrqmmm the elogind facilitation is of course rather complex, but essentially xorg uses dbus to talk to the elogind  daemon for opening the input devices, and pass on opened file descriptors... there would be some authorization thingy involved; policykit or consolekit I think12:29
rrqalso, the user need to own the /dev/ttyN involved12:29
rrqwith seatd started, xorg will rather try its facilitation; but if not started, it'll try logind facilitation... and if neither is available it will want to run a "vt-bound" seatd for itself12:33
rrqin the latter case, the same user will run seatd and will then need rw access to the device nodes12:34
fsmithredoh yeah, I should try statx after installing seatd12:34
fsmithrednope. segfault again.12:35
fsmithredany other logs I should save?12:35
rrqmaybe an strace of xorg ... edit /usr/bin/Xorg and prefix the start with "strace -f -o /tmp/my.x.log"12:37
rrq(after "exec")12:38
fsmithredok12:38
rrq.. then look for "/bin" paths without "/usr" prefix :)12:40
fsmithredthere are two 'exec' in an 'if/else' - should I do both?12:42
rrqprobably best; I guess the last one is the ine used (you don;t have a /usr/lib/xorg/Xorg.wrap ?)12:43
fsmithredI have Xorg and Xorg.wrap12:44
fsmithredand now I have strace, so it'll work better12:44
fsmithred:)12:44
rrq:)12:45
fsmithredit didn't create the log12:45
rrqhmm it bypasses .. the actual binary is /usr/lib/xorg/Xorg ... needs more involved wrapping12:46
rrqlike: mv /usr/lib/xorg/Xorg{,.real}12:47
rrqecho "exec strace -f -o /tmp/myx.log /usr/lib/xorg/Xorg.real" > /usr/lib/xorg/Xorg12:48
rrqchmod a+x /usr/lib/xorg/Xorg12:48
rrq# end12:48
rrqpossilby that script should have an initial #! line I suppose12:48
fsmithredit has shebang12:49
rrq? in /usr/lib/xorg/Xorg  (not /usr/bin/Xorg)12:49
rrqI expected /usr/lib/xorg/Xorg to be an ELF binary12:50
fsmithredoops. I did /usr/bin/Xorg12:51
fsmithredfixing it now12:51
fsmithredok /usr/lib/xorg/Xorg is binary file12:53
fsmithredscrolling up to re-read...12:53
fsmithredI did edit the right file.12:53
rrqyes; messing with /usr/lib/xorg/Xorg is plan B, since plan A didn;t work12:54
rrqthus move it to Xorg.real, then make that (previous) Xorg be a script12:55
rrq.. and add "$@" (with the quotes) to the end of that echo-ed line btw12:55
fsmithredI can't type curly braces - using vnc12:57
fsmithredmv Xorg Xorg.real?12:58
rrqyes (in /usr/lib/xorg)12:58
fsmithredyeah12:59
rrqmaybe we should continue on pm .. leaving space for others...12:59
fsmithredok13:03
[-_-]anyone using wayland?13:44
freshmanthere are wayland on my system, but they somehow together with X14:48
n4dirwhen i installed KDE i had that too14:49
n4dirif i dpkg -l | grep -i wayland, i sure get a massive list. This installation has never seen KDE, not sure why all that is there. Nor what exactly it is, probably libs14:50
masonfreshman: Taking one random example from my local system, where I don't use Wayland: 'aptitude why libwayland-dev' says it's because of libgtk-3-dev16:39
joerg*-dev is harmless16:50
joergit's just a "you COULD..."16:51
joergAIUI16:52
freshmanmason, i see16:54
freshmani decided to migrate of X to Wayland. installing it and some manipulations ended by nothing.16:56
freshmanas i used to think it do function but still X is required16:57
freshmanthere are talks about Wayland as alternative, that's why i decided to try16:57
masonfreshman: I have no interest in Wayland. If it's ever feature-complete I'll consider it.17:05
mason...if and only if X completely rots away first.17:05
jonadab /w 3518:41
fsmithredfreshman, fwiw I installed usrmerge on daedalus VM and then upgraded to ceres, and it's working ok with the new kernel.19:01
fsmithredI don't have a full desktop system installed - just window manager and a few other things. Also, this happens to be a no-dbus system. That might make a difference.19:01
fsmithred6.6.9 kernel19:01
Besnik_bgnarface, during my attempts to add swap to my Devuan, the machine died. I tested the PS and was dead. Probably that made the cooler stop and the CPU temperatures raise. So I had to built a new machine and here I am under UEFI now… :)20:10
mathewSo... If i install the nvidia-driver with "apt install nvidia-driver --no-install-recommends"! The installation runs through. However, the driver is not loaded during boot and loads the xorg nouveau driver... It seems, that critical packages are not installed correctly using the said method.20:40
n4diri belong to the ones who avoid installing without Recommends. Might be worth a try in that case, but i doubt it is the source of the problem20:41
mathewIs it a good idea to install every recommended package but "nvidia-persistenced"? That would be my next try i guess.20:47
mathewis there some "-exclude" like option for apt?20:48
n4dirif it was me i'd install it and then remove it, assuming i understand your case correct20:49
n4dirremove it right away.20:49
mathewThe problem is that apt does not run through and exits with error code 1 forcing me to run "apt install --fix-broken" which again ends in error code 120:50
mathewi can only remove nvidia by running "dpkg -r nvidia*" then20:51
n4diryou would need to pastebin the command and the full output20:51
n4dirapt- shouldn't exit with error code.20:51
mathewok i like to show you! :-)20:51
n4dironce at it show you sources list(s)20:52
fsmithredn4dir, do you have an xorg.conf for nvidia?20:52
fsmithredyou don't need nvidia-persistenced and it generally block installation20:52
n4dirno, mainly because i don't have nvidia. You probably mean him20:52
fsmithredoh, sorry20:53
fsmithredmathew, ^^^20:53
n4diri am busy for a few minutes, mathew , bu the info will be good to troubleshoot anyway20:53
mathewhttps://paste.debian.net/1302965/20:55
n4dirfsmithred: ^^ looks like all gets installed ok, but then the installation process fails with update-initramfs.20:56
n4dirmathew: i think i understand, it gives what you said it would give, but i wouldn't know the problem behind.20:57
n4diryour idea, install Recommends but exclude that package, sounds like a good idea though20:57
fsmithredyou have to exclude Recommends and add the ones you want20:59
fsmithredapt --no-install-recommends install nvidia-driver nvidia-whatever...20:59
fsmithredbut not nvidia-persistenced20:59
mathewThis is what i did know: https://paste.debian.net/1302966/21:00
mathewbut maybe i have to run through every recommended package by hand just to exclude this troublemaker "nvidia-persistenced". but i will reboot and see if it maybe works now21:01
n4dirthere is also that trick to quickly set the output to English, so it is more easy for others to understand the idea. mathew21:02
n4diri don't know how the trick is, but it is straight forward.21:02
n4dirtime for the Sauerkraut ...21:03
mathewn4dir: lol. sorry for the sauerkraut. i do not know how to change the language but will look it up. sadly the driver did not load. i will know try to install every package by hand while using --no-install-recommends21:05
n4dirmathew: well, most of the times folks will understand the output anyway. The basic info is the same. Just makes it a bit more easy21:06
mathewyes, absolutly!21:06
fsmithredI think you only need to install nvidia-driver and nvidia-settings with --no-install-recommends and you'll get what you need.21:12
Nietzfsmithred: question about nvidia driver21:14
Nietzcomes with nvidia-persistenced, but this can be uninstalled without breaking.21:15
Nietzdo you know how/if persistence mode matters?  ive been trying to get to the bottom of it21:15
fsmithredI don't know the details. Description says it saves the state.21:16
fsmithredI stopped using nvidia when the last video I looked at showed up like a tile mosaic on my desktop after a reboot.21:17
Nietzsomething about useful for no video setups21:17
Nietzso availability is not affected as compute-only device21:17
Nietznvidia should die but I still dont have the money to replace my old GTX 1650 super21:18
Nietzmby not should die . . . i have used their drivers a lot  apologies21:18
Nietzdo you use nouveau?21:19
fsmithrednvidia should share their sources so someone can fix it21:19
fsmithrednouveau on one machine (beowulf) no problems21:19
Nietz^ that's what i meant to say21:19
Nietzok, I used to play more steam games, but my card doesn't have ray tracing so it's silly at this pt21:19
mathewThis is what i did now: https://paste.debian.net/1302972/  (Please excuse the sauerkraut, setting LANG=en did not change the language of my konsole) But sadly the driver does not load. Running nvidia-smi tells that it failed to communicate with the driver. Also in /var/log/boot there are error regarding nvidia :-(21:20
mathewI will try again if i have new infomation. for now i just life with the nouveau driver. devuan already runs great with it.21:20
n4dir"please excuse the sauerkraut". ha ha ha21:21
mathewfsmithred, Nietz. You both are absolutly right about nvidia. i got my gtx1080 so cheap that i could not say no... shame on me21:21
fsmithredLC_ALL=C <command>21:22
fsmithred^^^ mathew21:23
mathewfsmithred: LANG=C works! thx21:23
tavastiHello! I have trouble with enabling GPU rendering in my devuan. I can get one error with devuan packaged bleder, but actually I would want to use more recent blender version. Now I am not sure where to report bugs...22:13
tavastiI have Vega 64 card, and I get:22:13
tavastiCompiling HIP kernel ...22:13
tavastihipcc -Wno-parentheses-equality -Wno-unused-value --hipcc-func-supp -O3 -ffast-math --amdgpu-target=gfx900 -I /usr/share/blender/scripts/addons/cycles/source --genco /usr/share/blender/scripts/addons/cycles/source/kernel/device/hip/kernel.cpp -o "/home/tavasti/.cache/cycles/kernels/cycles_kernel_gfx900_77944C4F96BD4E71230409B7F1F7F920"22:14
tavastierror: unhandled SGPR spill to memory22:14
tavastimore recent blender versions give Failed to load HIP kernel from '/data/tavasti/NoBackup/blender-4.0.2-linux-x64/4.0/scripts/addons/cycles/lib/kernel_gfx900.fatbin' (Shared object initialization failed)22:14
freshmanfsmithred, you mean you could fix the bug (with sed and usrmerge)?22:20
fsmithredno, freshman, I mean that the whole usrmerge mess is the cause of the problem22:32
freshmanok. but you said that system was working well22:35
fsmithredyeah22:35
fsmithredread again. Different system.22:36
fsmithredtry 'apt -s remove dbus' to get an idea of what you would lose.22:36
fsmithredalso, it's possible that something is broken and I haven't found it yet.22:37

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