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