libera/#devuan-dev/ Sunday, 2024-01-07

rrqthough, despite the stupidity of the notion, it really is just a choice (and fundamental change) of how debian developers now a) install files and b) refer to them from scripts and programs. They really *need* to install programs at one path and then use them from another.. otherwise they can't sleep in the night.00:06
rrqobviously they do this back-assed; moving the programs first and then sort out references... (maybe just so it should be some breakage on the way to show how important they are)00:12
rrqbut really: how invested in particular pathnames are you or Hurd? Does it matter that much?00:16
rrqit's just "code"00:18
fsmithredAs I understand it, all the commands will be found if you have the merged usr symlinks.00:40
fsmithredI think they did it just to prove that they could make us do it the new way.00:41
rrqyeah; good way to reduce trust in debian as software platform00:49
* rrq ot00:49
fsmithredok, back on topic...01:11
fsmithredkernel install is still failing for 6.6.9 on one system. Error is wiht initramfs-tools.01:13
rrqdue to some /usr/... path I guess01:16
fsmithredI added set -x to /etc/kernel/postinst.d/initramfs-tools and /usr/share/initramfs-tools/hooks/lvm201:16
fsmithredwant to see the output? (say yes)01:16
rrqyes :)01:17
fsmithredthere's a weird lookiing path in it01:17
rrqtry https://paste.rrq.au if you like :)01:17
fsmithredhttps://termbin.com/kj2v01:18
fsmithredI can't copy/paste01:18
rrqright https://paste.rrq.au is my transfer.sh site01:18
fsmithredlook for lines with mkinitramfs that start with cp01:18
rrqyou'll need set -x in /usr/share/initramfs-tools/hooks/lvm201:20
fsmithredI did01:20
fsmithredmaybe it's the /lib/udev... but I have merged usr in this system.01:21
rrqmissing 69-lvm.rules ?01:22
rrqor hmm maybe it requires them missing and they are not01:23
rrq(no; seems like it wants to copy them into that temp dir)01:23
fsmithredit's not in /etc01:24
rrqOOM ?01:24
rrqin /var/tmp01:24
fsmithrednot in /lib01:25
fsmithredonly thing in /var/tmp is mkinitramfs_<some-letters>01:25
rrqwhere is 69-lvm.rules ?01:26
rrqmaybe lvm is half configured? or left residue when removed?01:27
fsmithredin the lvm2 package, but not the one I installed, I guess01:27
fsmithredI'm trying 'aptitude reinstall lvm2'01:27
fsmithredthis will take a couple minutes01:27
fsmithrednow hooks/dmsetup is failing01:29
rrqdome /usr/.. moved path I guess :)01:30
fsmithredI need to purge one kernel so this goes faster01:30
fsmithredshouldn't matter if I have the symlinks, should it?01:30
rrqno, it shouldn't. only if you got the stupid-links recently set up and that process lost stuff01:31
fsmithredlost stuff?01:32
fsmithredThey couldn't write a script that copied everything over?01:33
rrqwell, that would be one way for not finding it now; there is no telling what the kiddies can do01:33
fsmithredreinstall gave me 69-lvm.rules01:34
fsmithredso I guess I need to reinstall dmsetup01:34
fsmithredto find out the next one that's missing01:35
rrqyeah; good way to reduce trust in debian as software platform01:36
fsmithredI'm not seeing what the error is now. Didn't save it in a file and the console is spammed with Warning: behavior of -n is non portable01:40
rrqyes, it's the01:40
fsmithredand the first part of the output gets lost in the console. shift-pgup works for a couple time and then I scroll up into previous commands. First output is lost.01:41
fsmithredalso, when I quit my pager (less) the file I was looking at is still in the console.01:41
rrqyes, it's the "cp" maintainer (Michael Stone <mstone@debian.org>) who's got another good idea01:41
fsmithredphone01:41
rrq(could possibly be upstream cp I guess)01:44
fsmithredback. I think the problem is fixed.02:15
fsmithredcp is the problem?02:16
fsmithredI think I fixed it by reinstalling lvm2 and dmsetup02:17
rrqat least we haven't got them to be systemd-sed and systemd-cp yet02:18
fsmithredno boot. cryptsetup still can't find any devices02:19
fsmithredlol, coming soon, I'm sure.02:19
rrqyou have an error from cryptsetup? ...and/or can you flash the script that is failing?02:21
fsmithredcryptsetup says it can't find device - uuid it shows is the right luks partition.02:21
fsmithredyou want a picture?02:21
rrq:)02:21
rrqno02:21
fsmithredI can do that. It's in a vm.02:21
fsmithredok, say more02:22
rrqadd "console=ttyS0" to the boot command line, and then start it on the command line (as you already do I guess)02:22
rrqthat'll make noise in that terminal02:22
fsmithredok02:23
fsmithredI think I have a button for that option02:24
fsmithredsome key combination to see the console in my terminal?02:25
fsmithredwell, that screen (host computer) seems to be locked up02:26
fsmithredcrytpsetup: Waiting for encrypted source device UUID=blah...02:27
fsmithredGave up waiting for root filesystem02:27
onefangYou can get qemu to dump the console in real time to the terminal you started it from.  It abuses virtual serial ports.02:29
fsmithredyeah, that's what I was trying to do.02:29
fsmithredmore message...02:29
fsmithredALERT! UUID=(a different uuid) does not exist. Dropping to a shell.02:30
fsmithredinitramfs02:30
fsmithredoh, maybe a resume file02:30
fsmithredno02:30
fsmithredthere's no swap partition02:30
rrqyou'll need "-serial mon:stdio" for console to terminal maybe02:36
fsmithredyeah, I think I need both02:37
rrqso this is encrypting before lvm mastering or lvm first?02:38
* rrq needs to make lunch here so will be intermittent02:39
onefangI use " -serial pipe:/tmp/guest && cat /tmp/guest.out"  Don't think the linux kernel needs to know in this case.02:41
fsmithredno lvm02:41
fsmithredI'm gonna paste a few lines here02:42
fsmithredBegin: Mounting root file system ... Begin: Running /scripts/local-top ... [    4.572242] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE i>02:42
fsmithred[    4.573865] device-mapper: uevent: version 1.0.302:42
fsmithred[    4.574620] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com02:42
fsmithredcryptsetup: Waiting for encrypted source device02:42
fsmithred    UUID=8f10bf6f-5c5c-440e-96af-8bd90e2f69dc...02:42
onefangOh wait kernel has " console=tty0 console=ttyS0,115200n8"02:42
onefangSo I get both.  B-)02:42
fsmithredsome of that line got cut off02:43
fsmithredCONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.02:44
rrqmmm maybe inspect the initrd for /usr/... anomalies02:53
rrqlike hardcoded /usr/something in the init scripts02:53
fsmithredit's working now03:00
fsmithredI reinstalled lvm2 and dmsetup and I guess that supplied the missing files03:00
fsmithredwait a minute03:01
fsmithredI started to boot and walked away. I might have booted 6.503:01
fsmithredyeah, I'm in 6.5. So I can check initrd03:01
fsmithrednot right now03:01
fsmithredIs there a reason why /etc/init.d/elogind is not executable in my ceres?13:07
fsmithredThis is in the one that user can run startx and get to wm13:07
fsmithredOn another ceres, elogind is executable. That's the system that won't boot 6.6.9 kernel. Boots with 6.5 but I can't start X as user or as root. Permission error.13:25
rrq"not executable" as in file mode x missing?13:34
fsmithredcorrect13:44
fsmithredand that's the one that works13:44
fsmithredI just tried removing the x on the broken system and it didn't help13:44
fsmithredactually had to boot live-iso to fix it. After entering login name and password, the cursor moves down a fdew lines and then nothing hapens.13:45
rrqmight be unrelated? perhaps you trialled starting with disbaled elogind at some point?13:45
rrqstartx13:45
rrq(before installing seatd)13:46
fsmithredI've been running starx with elogind disabled just fine on 6.6.9 kernel on the system that was debootstrapped13:46
fsmithredwhat would that do?13:46
rrqseatd provides user access to input devices13:46
rrqfor Xorg13:46
fsmithredyeah, I'm not the one who disabled elogind on the working system13:47
rrqas alternative to using elogind13:47
DPAIt also handles the vt switching, I thionk.13:47
DPAAnd access to the /dev/dri/ cards13:47
fsmithredmmdebootstrap onto existing encrypted partition, added only a few things,13:47
fsmithredoh, maybe I removed elogind on that system and it disabled itself?13:47
rrqsounds odd13:48
fsmithredthe broken system was installed from devuan live ceres that I made and then it broke with the last upgrade13:50
fsmithredstarted that one back in June and it's been working until the new kernel 5,5,913:51
fsmithredI extracted initramfs from both systems and compared them in meld. I saw no significant differences in config files.13:53
fsmithredand both had merged usr13:54
rrqthere are times when debian updates of forked packages suprecedes the forking, and installing/upgrading (accidentally) at then is usually a problem13:57
fsmithredin that case, all up-to-date installs should have the problem, right?14:01
fsmithredI got it so that root can startx, but I can't use mouse on desktop.14:01
rrqprobably yes14:01
rrqwith seatd?14:02
fsmithredyes14:03
fsmithredwell, full xfce desktop and everything that goes with it. elogind, pkit, and I think seatd is installed, too14:03
rrqany Xorg log complaint14:04
DPADo you have xserver-xorg-input-libinput installed?14:04
fsmithredI'll check. booting now14:05
fsmithredyes14:06
fsmithredopen /dev/dri/card0 No such device14:07
fsmithredsorry No such file or directory14:07
fsmithredsame for fb014:08
rrqbut those pathnames exist as normal?14:08
fsmithredthere is no /dev/dri14:09
rrqso no graphics ?14:10
fsmithredroot can see the desktop14:10
fsmithredlightdm did not show up even when it was running14:10
fsmithredI disabled it14:10
fsmithredso more files got lost when I ran usrmerge?14:11
DPAThat sounds like either udev not working, or the modules for the kernel not being found.14:11
fsmithredI had to reinstall lvm2 and dmsetup to recover a couple of lost files14:13
fsmithredmaybe I need to reinstall xorg?14:13
fsmithredor maybe reinstall all the packages?14:13
rrqeudev at least14:13
fsmithredhm, I did that, then init 1, then log in as user and startx14:16
fsmithredcursor hangs, then I hit ctrl-c and then some output came up like it was going to start X.14:17
fsmithredIt's responding slowly.14:17
fsmithredtimeout in locking authority file14:17
fsmithredunable to connect to xserver. Connection refused.14:18
DPAMissing files could also be caused by hard drive problems.14:18
fsmithredqemu14:18
fsmithredI'm gonna have to stop, and I probably won't be able to work on this at all in the next week.14:20
fsmithredI'm reinstall xorg, xinit and every package with 'xserver' in the name.14:51
fsmithredalso reinstalled elogind libpam-elogind and policykit-1-gnome - no help15:10
fsmithredoh, something did help there. I can now boot the 6.6.9 kernel in the broken system. Cryptsetup no longer cries about not finding the source device.15:12
fsmithredand user can startx.15:13
fsmithredI re-enabled lightdm, rebooted and login screen comes up - again and again every time I log in.15:16
fsmithredI'm done for now15:17

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