libera/#devuan/ Monday, 2022-09-05

ballsystemlordThanks!00:00
dan9er[m]Erm I didn't clear the EFI partition, I think I should've01:00
dan9er[m]I installed Devuan without touching the EFI partition, but it appears Windows' bootloader is still there01:02
dan9er[m]And complaining it can't find Windows01:03
dan9er[m]error code 0xc0000225, Windows/system32/winload.efi missing01:08
dan9er[m]cause I installed Devuan, you dolt01:08
dan9er[m]Why is WBM appeearing, where's grub01:08
dan9er[m]lemme try starting over01:09
dan9er[m]this time i'll delete the efi part and make a new one01:11
fsmithredyou installed devuan in bios mode with windows still there and set for uefi boot?01:13
fsmithredif you're keeping windows, you should probably just do uefi boot for linux01:13
fsmithreddan9er[m], you should not need to wipe the efi partition, and that might even be a bad thing to do01:14
dan9er[m]fsmithred: I wiped Windows, i'm not doing dual boot01:15
dan9er[m]And the installer the first time round found the EFI partition, so I installed in UEFI mode01:17
dan9er[m]So why is WBM here and not Grub01:18
dan9er[m]fml01:18
fsmithrednot sure01:21
fsmithredgrub usually takes over the boot on uefi with no problem01:22
fsmithredbut uefi implementations are rarely to spec. And MS probably does some nasty things on purpose.01:22
dan9er[m]Ech screw it, I'm wiping EFI. If that breaks stuff I have MS' recovery image to reinstall Windows01:23
dan9er[m]unless EFI can't be restored like that?01:24
dan9er[m]fsmithred: If I delete the EFI partition and make a new one, and that ends up breaking everything, would using a Windows 10 recovery image fix that or would the damage be deeper01:27
fsmithreddan9er[m], I think it's possible to brick some motherboards if you wipe efi partition.01:29
fsmithredmaybe do some research at rodsbooks.com01:29
fsmithredyou should be able to boot legacy/bios without removing efi partition.01:30
dan9er[m]I don't think this thing has legacy boot01:39
dan9er[m]There's no option in UEFI settings to enable/disable it01:39
dan9er[m]Well i'm gonna try installing without touching EFI part one more time01:40
fsmithreddo uefi install.01:40
fsmithredthe correct grub is already installed in the live isos01:41
fsmithredtime for dinner. back in a little while.01:41
joergrelated? https://www-heise-de.translate.goog/hintergrund/Bootloader-Signaturen-per-Update-zurueckgezogen-Microsoft-bootet-Linux-aus-7250544.html?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en-US&_x_tr_pto=wapp02:09
joergread carefully, there's risk to lose your data on windows and even to brick your device by messing with EFI02:11
joergfor the headline, there's a german idiom "ausbooten" which means knock out02:12
triodehello, I had the topic problem earlier with two servers, but I just build a new VM with Chimaera, and have the same issue, but the fix does not seem to solve it. After the fix I get: https://pastebin.com/RV3GgVWm02:19
triodeNote that the fix seemed to work earlier. Not sure what I am doing wrong this time.02:19
triodeanytime I go to install _any_ package, it tells me that it is not  missing, has been obsoleted, or02:20
triodeis only available from another source02:20
dan9er[m]fsmithred: Did the install again, WBM still booting instead of grub02:22
fsmithreddan9er[m], you booted uefi?02:23
fsmithreddan9er[m], take a look at this. You might have a similar situation. (mobo only recognized bootloader named windows)02:25
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=1502:25
dan9er[m]fsmithred: Yeah that's mentioned here as well https://www.rodsbooks.com/linux-uefi/02:35
dan9er[m]I think MS, being cunts, did that on purpose02:35
golinuxPredictable . . .02:36
dan9er[m]but how would updating grub work?02:37
joerghttps://www.reddit.com/r/buildapc/comments/o8a0o4/bricked_my_machine_with_secure_boot_i_think/02:38
fsmithreduh, it's been a couple years since I've read the stuff from edbarx.02:38
fsmithredI'm not sure, but it looks like every time you get a newer version of grub, you'd have to copy grubx64.efi again.02:41
fsmithredbut that doesn't happen very often.02:41
Soltishe following signatures were invalid: EXPKEYSIG BB23C00C61FC752C Devuan Repository (Amprolla3 on Nemesis) <repository@devuan.org>03:19
SoltisWTF?03:19
fsmithredsee channel topic for link to fix03:19
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=521303:21
SoltisNo, the "WTF" is how something fundamental like "being able to upgrade packages" was permitted to break at all.03:21
SoltisThe fix is comparatively obvious.03:22
SoltisParticularly because the "fix" is essentially to bypass the security in question entirely, which kinda defeats the point.03:23
fsmithreddownload the package and check the sha256sum before installing with dpkg.03:24
SoltisYes, there are ways to authenticate it.03:24
SoltisThe point is that the suggested fix - which I already knew about - bypasses that. The alternative is more secure, but a pain in the ass.03:25
SoltisBut the real problem is that having upgrades fail is the sort of thing that makes anyone who runs modern systems tend to run screaming into the night.03:28
SoltisI don't think much of those sorts, but they're unfortunately common.03:29
dan9er[m]Yeah Soltis kind of has a point, how did that happen03:36
se7enLetting you all know03:43
se7en  The following signatures were invalid: EXPKEYSIG BB23C00C61FC752C Devuan Repository (Amprolla3 on Nemesis) <repository@devuan.org>03:43
se7enFrom apt03:43
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=521303:43
fsmithredsomeone put a one year expiration date on the signing key03:43
se7enAnd they didn't extend?03:44
fsmithredand no automatic renewal or reminder03:44
dan9er[m]lol03:45
dan9er[m]I mean Oculus made that fuck up once as well03:45
se7enAt least it's not as bad as publishing the private apt-signing key with the intention of making it "Open Source"03:46
se7enWhich I have witnessed first-hadn03:46
se7ens/hadn/hand03:46
brocashelmthere are already two negative reviews on dw just because of the keyring thing03:46
dan9er[m]se7en: wtf, are they morons03:48
se7enThey were Chinese03:48
se7enAnd yes03:48
onefangrwp: I just woke up, and I'm still in weekend mode.  Is there still a problem?03:53
golinuxDamage control03:58
onefangI was asking specifically about what rwp tagged me about while I slept.04:05
rwponefang, I am still at this moment seeing this from the mirrors: https://paste.debian.net/plain/125277804:56
rwpIf I switch to pkgmaster then of course everything works perfectly.  So it is something not in sync with the mirrors.04:58
AfdalWhat is the simplest way to check if a grep output is empty in a BASH script?04:58
rwpAfdal, To see if a grep has matched then use grep -q PATTERN, as in "if grep -q PATTERN FILE; then ..."04:58
rwpAnd "if ! grep -q PATTERN FILE; then ..." for a non-match.04:59
AfdalBasically whatever it is grep spits out when it finds nothing.  Which doesn't appear to be null or nothing...04:59
rwp"if ! grep -q PATTERN FILE; then ..."05:00
onefangI do have a TODO item to add more key checking to apt-panopticon.  Could you do me a favour and check the various DNS-RR mirrors please?  Or at least try to figure out which mirror is giving you that response?05:01
AfdalI don't really wanna run an extra bash action just to check if grep is failing or not.  I'd rather check if the output is OK or not and do nothing if it's fine05:01
rwponefang, I can do that.  I have been afk all day or I would have done that already.  It was 32 miles on the bicycle and just got back to my door.05:01
onefangThanks.  I'm still catching up on lots of stuff from last week.05:02
dan9er[m]fsmithred, I finally got GRUB working! Had to manually add it to UEFI boot options with `efibootmgr`: https://www.rodsbooks.com/efi-bootloaders/installation.html#register05:05
dan9er[m]also, uh, recreating EFI partition on Surface Laptop 1 turned out fine05:06
abklxde or kde? which better?05:11
onefangDefine "better".  Also, not a Devuan support question, please ask it elsewhere.05:12
AfdalLXDE is da bomb05:12
abkonefang: Good point. (It was not a request for support, just a request for opinion. But indeed is off-topic.)05:14
abkAfdal: Thanks! :)05:14
AfdalKDE does some cool stuff but I've personally never felt like the added bloat justifies it for me05:15
brocashelmall comes down to personal preference. lxde is more suitable for low-powered machines, while kde plasma is more modern and uses more resources (but about the same as xfce nowadays)05:15
AfdalOn the other hand people often take for granted exactly all the things LXDE can do just because it ignores one of the most unique features of Openbox by default05:15
onefangDefine "modern", and again, do it elsewhere.  #devuan-offtopic perhaps.05:16
rwponefang, Well... This is bizarre. For me ALL of the mirrors report BADSIG. https://paste.debian.net/plain/125278406:56
rwpWhich can't be. So the problem must be a hang state on my own system06:56
rwpHowever I saw others earlier reporting the same problem. So I don't think it is only me.06:56
onefangAnd yet people are also saying the suggested fix works for them.06:59
ltsI did the wget->dpkg -i method and it works for me, though I'm a bit worried no new updates have yet come since that. rwp, make sure that "apt show devuan-keyring" actually shows 2022.09.04?07:01
onefangI'll poke at it tomorrow, when I get back to work.  In the mean time, others feel free keep poking at it to see if you can nail it down.  Thanks.07:03
adhocrwp: I just ran that and all the repos report ok, no BADSIG07:03
rwpSwitching to pkgmaster then works for me.  Switching back to deb.devuan.org results in BADSIG again.07:03
rwpAnd yet I have another system which should be identical and it works with deb.devuan.org okay.07:05
rwpData makes no sense to me yet.  I'll keep poking at it for a while...07:05
ltsIs that system chimaera or beowulf?07:05
rwpBoth of the ones I am looking at are beowulf.07:05
ltsAnd "apt show devuan-keyring" shows version 2022.09.04 on both?07:06
onefangThat is very odd.07:06
rwpYes.  2022.09.04 on both.07:06
rwpAgreed.  Very odd.  I'll start comparing /var/lib/apt and /var/cache/apt and things like that...07:06
onefangThanks for looking at it.07:06
rwpOH!  The bad latched case is using an apt-cacher-ng proxy and the other one is not.07:07
onefangAHA!07:07
rwpI saved a before copy of /var/lib/apt/lists and then walked it through pkgmaster and then back to deb without the apt-cacher-ng proxy configured.07:16
rwpThings work on the latched bad machine now.  So that's good.  I diff and see this.07:16
onefangSo all good now?07:16
rwpFiles /var/tmp/badsaved/lists/deb.devuan.org_merged_dists_beowulf_InRelease and /var/lib/apt/lists/deb.devuan.org_merged_dists_beowulf_InRelease differ07:16
rwpLooking at the diff of those I see that the signature and file hashes of various indexes are different.07:17
rwpAnd in particular the proxied file has "Valid-Until: Sun, 11 Sep 2022 00:15:29 UTC" which I don't know what that indicates but it is different from the now live copy.07:18
rwpYes, all good, as far as you should be concerned.  But maybe a clue that apt-cacher-ng is not handling the updates correctly.07:18
rwpAnd maybe it was also the problem with the other person who was having this same problem earlier in the day.07:19
rwpBecause apt-cacher-ng has latched onto the previous file and if I add it back into the system then I get the BADSIG version of the files again.07:19
rwpThe trivial way for me to fix things here, and lose my test case, is to purge apt-cacher-ng and re-install it.  Because that flushes the cache entirely too.07:20
bb|hcbrwp: rm /var/lib/apt/lists/deb.devuan.org* will help you07:20
onefangSoooo apt-cacher-not-good.  B-)07:20
rwpbb|hcb, Actually if I do that and then update again the bad files just return immediately.  So...  Not quite. :-)07:21
bb|hcbThe other thing that prevents apt from working is having both the old and new key in /etc/apt/trusted.gpg.d/07:22
bb|hcbapt uses the first key it sees and does not reach to the updated one07:22
rwpThe etckeeper git log shows that apt/trusted.gpg.d/devuan-keyring-2017-archive.gpg was deleted and apt/trusted.gpg.d/devuan-keyring-2022-archive.gpg was added.07:24
rwpIt actually thinks they were renamed because the contents are similar.07:24
rwponefang, Sorry for the false alarm. All of the proxies have problems. apt-cacher-ng sucks the least of all of the proxies I have tried.07:24
rwpI don't know what it is about caching proxies that makes it such a hard problem but all of them have problems.07:25
onefangNo worries.  At least you have found yet another thing we can ask people to check if they are still having issues.07:25
onefangI've not looked at caching or proxies since last century, when I was paid to work with squid.07:26
rwponefang, I have a suspicion.  I suspect that at least one of the mirrors doesn't update/sync correctly.07:40
rwpAnd if a cache proxy looks at just the right moment then it can snapshot an inconsistent view of the archive.  And having that snapshot it hangs onto it.07:40
rwpBecause as I examine the remains of the problem I see that the http HEAD says the file I have is still valid.  When there is actually a newer version of the file upstream.07:41
onefangThat's what apt-panopticon is for.  If you can figure out a use case it isn't testing that it should, lemme know please.07:41
onefangAh, might be some mirror isn't using --delete to it's rsync.  Thought i told them all to do that.07:42
onefangObviously oapt-ponopticon can't test download ALL packages every ten minutes from all mirrors.  lol07:42
rwpAlso involved is the web server the mirror is using to distribute the files.  Because the different servers form the HEAD response differently.07:42
rwpExample of what I am talking about: https://paste.debian.net/plain/125278507:43
rwpThat is a HEAD saved for deb.devuan.org/merged/dists/beowulf-backports/InRelease and could have been from any of the mirrors.07:43
onefangAnd some mirrors somehow fail the URL sanity test, I'm not even sure how you configure that to fail.  lol07:43
rwpIt says it is still valid.07:43
rwpYet the file hashes in the current file from pkgmaster are different.07:44
rwpIt's a crazy situation whatever the real root cause of the problem.  My brain hurts.  It's almost midnight here.  I am up early tomorrow.  Good night all!  Thanks for the help! :-)07:45
onefangThank you for your help.  I'll poke at it tomorrow.  G'night.07:46
* onefang goes back to not working.07:46
GoatAvengerrwp, onefang, I had sig check fail on apt update as well09:18
GoatAvengermanually downloading key-ring update seemed to fix, though I was still on 2017-10-0309:18
eyalrozI have a suggestion about the cinnamon panel configuration in daedalus. Not sure if it's a suggestion for Devuan, Debian or the upstream so I'll just make it here.10:32
eyalrozUntil chimaera, the default panel button title has been the window title10:33
eyalrozbut this has changed with daedalus,10:34
eyalrozand now the default is the application name10:34
eyalrozwhich I find to be a bad idea.10:34
eyalrozNaturally, people can change this, but it's not trivial to figure where this is done10:35
eyalrozIt's in System Settings | Applets | Grouped Window List10:40
eyalrozand you can't easily get to it by right-clicking the panel/launcher10:40
userrHi. I have troubles during install Chimaera 4.0 to obtain deb.devuan.org rep key. It seems to be expired. It is unable to update/upgrade after installation finished. This started last Saturday.10:58
gnarfaceuserr: known issue, solution in /topic10:58
userrThanks.10:59
ltsI wonder do the installation images still contain the old key11:00
userrI downloaded ISO few hours ago and the issue still exist.11:01
userrIs there plan to upload rebuilt ISOs?11:02
eyalroz@gnarface: About that link...11:30
eyalrozI suggest editing the first post so that the instructions are easily copy-pastable into a terminal,11:30
eyalrozrather than having the 1.-2.-3. list11:30
eyalroz... wait, never mind, I'm an idiot, the copy-pasting doesn't carry the numbers.11:31
Guest82Hi. Just trying to make fresh install of Chimaera 4 but mirror servers have problems with keyrings. Could someone advise? Thank you.11:41
ltsGuest82: topic has the solution11:41
Guest82Topic ok. But what about fresh install? I would like to connect server during installation process. Is it possible or after install finish I have to follow the topic?11:43
eyalrozgce108: Maybe you could switch to a terminal during the installation and make similar keyring changes11:49
eyalrozOh,, I meant that for Guest82, but he left.11:49
NeonLichtYou can switch to another TTY (ALT-F2 or F3) and install the .deb package there.11:50
NeonLichtMe too, LOL11:50
JorilAnyway judging by #devuan-dev new ISOs are on the way12:06
mikkel-revLooking for ideas: I've tried to netinstall Devuan on a disk with LVM on luks. I boot from libreboot(grub), but it says my passphrase is wrong. Booting from the grub command line yields same result. I have tried to set up the disk and install twice. The keymap is correct. What should I try?15:20
fsmithredmikkel-rev, this is a guess based on a different problem: try using only lower-case letters in the passphrase. You can change it after the install. I'm basing this on an experience I had trying to install over wireless - the installer didn't like special characters in the wireless password.15:27
mikkel-revfsmithred, I was unsuccessful again. I tried to set the password to the lower case letter a16:12
mikkel-revAny ideas for when the bootloader says the passphrase is wrong ?16:13
fsmithredI don't have any other ideas right now. I do a lot of encrypted installs and have not run into this. Maybe something with your character set?16:13
fsmithredare you doing the automatic partitioning for lvm or are you doing it all manually in the installer?16:14
rrqis it a case of a spurious control-M ?16:14
fsmithredwhat's that?16:14
rrqthat's when the password includes a final ^M (the old windows' line ending)16:15
rrqtry ending the inputs with ^J rather than Enter; when defining the password as well as when unlocking16:17
mikkel-revI don't know of this. I sometimes hit enter after input in the installer. Are you saying that the hotkey ctrl + J does the same thing, and I should use it?16:23
mikkel-revfsmithred, I'm doing it manually16:25
rrqhttps://en.wikipedia.org/wiki/Newline16:35
mikkel-revlet's have a look16:35
rrqctrl+j = LF = \n (unix)  and ctrl-M = CR = \r (unix)16:38
mikkel-revctrl-M = ctrl+M ?16:40
rrqyes16:40
rrqduring boot, the keyboard "Enter" might send CR+LF = \r\n = ^M^J while the reading s/w only recognizes LF = ^J = \n16:41
mikkel-revi can see ctrl and j changes line in terminal. i will try it16:41
mikkel-revI have found out that grub doesn't recognise ctrl+j or ctrl+m. I will try to do the install again withuout using the enter key16:58
mikkel-revno. it still doesn't work. I also tried to do the netinstall with regular debian, and the same thing happens.18:07
mikkel-revCould it be that something other than PBKDF2 key derivation function is used in the installer?18:08
golinuxMaybe file a bug with Debian18:08
mikkel-revI have found the solution. The version of grub hosted on the ROM chip that is packaged with libreboot only supports the PBKDF2 key derivation function. After I wrote the following, it worked:19:32
mikkel-revcryptsetup luksConvertKey --pbkdf pbkdf2 /dev/sdX19:32
mikkel-revIn other words, it wasn't an issue with devuan at all19:32
golinuxThanks for the followup info.  :)19:37
fsmithredmikkel-rev, is that the same as specifying --type luks1 when you create the encrypted volume?20:04
fsmithredor I guess --type luks2 in your case.20:05
mikkel-revfsmithred, I think the default for --type luks2 is the argon2i key derivation, not pbkdf220:58
fsmithredthanks21:03
relaxed_guyeyalroz: at least in the console available at the netboot, apt-get is not available. So is impossible to update the keyring.23:37
eyalrozrelaxed_guy: :-(23:38
relaxed_guywell that's the meaning of «critical bug». ha.23:38
relaxed_guyI guess that, for the time being, one can install debian using the netboot (with, for example, LXDE), and afterwards migrate to devuan as specified in https://www.devuan.org/os/documentation/install-guides/chimaera/upgrade-to-chimaera23:50

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