=== chris14_ is now known as chris14 [11:40] how to use u2f for sudo over ssh, I tried this https://neilzone.co.uk/2022/11/using-a-yubikey-or-other-security-key-for-sudo-via-pam/ but 'sudo -i' still works without asking for the key [12:26] does pam_u2f.so check for the presence of a Yubikey? [13:40] JanC, should I see this in auth.log? there is nothing about u2f there [13:43] I don't know, I don't use or have a Yubikey [13:44] just wondered, as it wouldn't see a *remote* USB device obviously [13:46] do you have this working locally? [13:47] that would allow you to compare [18:23] hi, ubuntu server installer keeps crashing again and again. I can't install after selecting partitions... [18:24] seems like the setup script is exiting with "returned non-zero exit status 100." [18:31] irgendwer4711: which installer exactly? can you get a full log? [18:32] tomreyn: 22.05.1 [18:33] i'm guessing that's the subiquity version? [18:33] yes [18:33] which ubuntu server version are you installing? [18:34] 22 [18:34] 22.04.0 LTS? [18:35] yes [18:35] I found some interessting part in log: https://paste.mozilla.org/ZAPTkceJ [18:35] https://paste.mozilla.org/ZAPTkceJ/raw < raw view [18:36] sorry [18:36] no worries, i'm just trying to make it easier for anyone reading this chat later on. [18:37] "apt-get update" failed. most likely a mirror issue [18:37] check the journal for apt errors [18:38] ok, I went into shell and tried myself. there was an error with internet, so opened firewall and accpted connections without proxy, but that didn't helped [18:39] journal or install log? [18:39] journal [18:39] both are good, but apt errors usually show up in the journal [18:39] with grep? [18:40] however you like. I usually just do "journalctl -b | less" and search around [18:41] I didnt find any interessting [18:41] you may need sudo depending on how you're logged in [18:41] I am already root [18:42] gotcha. well if there's a crash you can submit a bug report and I can take a look later [18:43] using "ubuntu-bug subiquity"? [18:43] there's been a few bugs with "apt-get update" and the culprit is usually something like a bad ISO download, bad installation media, or a bad mirror [18:43] cpete_: would be nice, because I want to install my new server :-) [18:44] I used installers reporting tool [18:44] oh i forgot that exists [18:44] tomreyn: hopefully soon that should collect enough information, but it's a good start in lieu of a crash file. if you have a crash file you can do "apport-cli -c /var/crash/" and it will pick up more useful information [18:45] so that tool didnt report that? [18:49] I think those go to a separate place than launchpad, I can try find those on Monday [18:50] 2062984 [18:51] so later is when? :-D [18:51] that's a bug id for launchpad, but it appears to be hidden: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2062984 [18:52] yes a private report [18:53] I assigned you now [18:53] I see the bug, bugs are easier [18:54] and you too [18:54] hmm. Could you attach "sudo journalctl -b > syslog.txt" ? [18:55] I could do anything while power is on and this box is running ;-) [18:56] done [18:56] looks like the 'apt-get update' run is against the locally mounted cdrom source [18:57] oh yes, it is an usb stick with an iso [18:58] I used usb-creator-gtk [18:59] that should be fine, i think, as long as it was written successfully and properly (i.e. the installer media isn't broken, or the data didn't get stored properly for some reason) [19:00] cpete is the one qualified to debug this, though, not i. ;) [19:00] :-( [19:01] my point is i'm just a random volunteer, he's probably part of the server team. [19:01] hmm not the errror I expected. the md5 checks ran okay too. sorry but this'll take more time than I have now to properly debug [19:02] subiquity team :) [19:02] oops :) [19:02] maybe the problem is mdraid === dbungert1 is now known as dbungert [19:04] irgendwer4711: if you got another spare stick, keep this one around for more debugging, and create a new one now to try to work around it. [19:06] personally i prefer balena ether (GUI) for creating bootable usb sticks from ISO files, because it verifies the data was successfully written. [19:07] or cmp to compare from a shell [19:07] tomreyn: I could boot via pxe [19:08] whatever floats your boat! [19:09] I tried that before and that didnt work. but I had bios problems. had to boot into efi ... [19:12] oh hm, strange. maybe the iso wasnt complete [19:13] it is 1,5GB and I am download a new one with 2GB [19:16] could be that, or maybe the http proxy name you provided was not resolvable [19:17] I can open that iso. [19:17] no, this iso is on my server, I put it there for netboot [19:18] there are checksum files for all .iso's [19:18] my now downloaed iso has 125022addbe20d3a9e3b71e04653f67b [19:19] and the md5sum of my smaller iso, I cant find with google [19:22] looks like the links to the checksums were removed off the download page again... [19:24] yes, so I try to check my isos now [19:24] ah, no, there they are, once you started the download, with javascript on, you can click on "verify your download" and it will show the checksums [19:25] i.e. here https://ubuntu.com/download/server/thank-you?version=22.04.4&architecture=amd64 [19:25] the smaller file I got from there: https://people.canonical.com/~mwh/20220523/ [19:25] indeed that file has 1.3GB [19:25] those are dialy builds, which can be broken [19:26] also outdated , from 2022 [19:26] sorry :-( [19:26] I added info to report [19:28] now you see why i was trying hard to establish which installer / iso you were using initially. ;) [19:31] damn I spend 4 hours on that [19:33] itrying new iso with netboot [20:01] ahh got to the package selection screen now :-) === dbungert1 is now known as dbungert [20:13] tomreyn: setup is done. server ready :-) === ajfriesen6 is now known as ajfriesen [20:31] irgendwer4711: glad you got it sorted. [20:32] irgendwer4711: how did you end up with the iso from https://people.canonical.com/~mwh/20220523/ in the first place? [20:32] search with google [20:33] heh [20:33] because canonica sites showed my 24.04 only [20:34] you mean this? https://ubuntu.com/download/server [20:35] I dont know. I searched for the small netboot installer. [20:35] oh, this could be a good hint for those working on making things easier to find. [20:36] I used it for decades [20:36] today this was my first install with the new installer [20:36] i think it no longer exists [20:36] yes [20:37] btw the new installer is "rubbish". I have to download a big ISO??? baaaad! [22:12] If you're complaining about having to load the iso into memory, consider yourself fortunate. ;) [22:30] One of my next goals with early-commands is to rewrite parts of the installer in order to "fix" some templates and behavior.