/srv/irclogs.ubuntu.com/2021/03/26/#ubuntu-server.txt

=== zenlinux9 is now known as zenlinux
=== JanC_ is now known as JanC
lordievaderGood morning07:13
remhazeFirst kernel panic of my young life, should I have to make a wish ? \o/11:28
utkarsh2102remhaze: should be a tradition already; please do!12:35
remhazeActually I cry, but maybe later12:35
remhazeSo I expose my problem here if someone have an idea.12:50
remhaze(ubuntu-server 20.04) I got kernel panic on my VPS, I reboot into rescue mode, I can't found any log about kernel panic in /var/log/. I tryed to do some command, but a lot end by this error : /lib/libcrypt.so.1: version `XCRYPT_2.0' not found12:52
=== afoo is now known as avu
andolremhaze: What about "journalctl -t kernel"13:17
remhazeOnly UFW logs..13:22
peetaurmany machines log that unattended-upgrades ran and had nothing to do, when there is something to do...but it didn't do `apt-get update` so it didn't know. What's with that ...shouldn't it obviously do that? is that a bug, or intentional (:D)? Can I configure it to always run before?13:48
Ussatwat ?13:50
peetaur2021-03-26 06:06:43,872 INFO No packages found that can be upgraded unattended and no pending auto-removals13:51
peetaurand then lookat `apt-cache policy openssl` and it shows no new package...then apt-get update and it's there and then unattended-upgrade will actually install it13:52
UssatNot sure, I dont use unattended-upgrades13:52
peetaurI have it enabled for security-only ...and it failed at that in 18.04; I haven't seen this problem in 16.04 or before13:52
peetaur16.04 had lots of ways for it to disable itself or miss the kernel (the meta package sometimes goes missing) which I solved, but it wouldn't log that it ran and do nothing13:53
Ussatis the openssl fix out already ?13:53
peetauryes it was out yesterday13:53
peetaurI manually put it on all public facing machines since unattended-upgrades only runs once a day...and today I figured unattended-upgrades would do them, but only did a few because it didn't apt-get update13:54
peetaurs/them/the rest/13:56
rbasakpeetaur: what does "apt-config dump|grep Update-Package-Lists" say?14:06
rbasakShould be: APT::Periodic::Update-Package-Lists "1";14:06
rbasakThen "apt-get update" runs when apt-daily.timer fires I think (see "systemctl status apt-daily.timer")14:06
peetaurrbasak: APT::Periodic::Update-Package-Lists "1";14:07
peetaurhttps://bpa.st/6MYQ14:08
peetaurin this case, you can see the apt-cache policy shows the new package, but it's not installed... the apt-get update ran at some point automatically, but not before the unattended-upgrades ran14:09
peetaurthere are also many cases where `apt-cache policy ...` doesn't show t he .9 package14:09
rbasakHypothesis: your mirror didn't see the update when apt-daily.timer last ran, but something else has run "apt-get update" since.14:11
rbasakMaybe look at timestamps in /var/lib/apt/lists vs. systemctl status output for apt-daily.timer?14:11
rbasakThere's also /var/log/unattended-upgrades/14:12
rbasakYou can run "sudo unattended-upgrades" by hand if you want14:12
rbasakIncluding with "--dry-run".14:12
rbasakAh14:13
rbasakThere's also apt-daily-upgrade.timer14:13
rbasakMaybe those ran out of order?14:13
peetauryes unattended-upgrades by  hand works well if I first did apt-get update14:13
rbasakI suspect you're noticing an ordering thing, and that's something that hasn't been thought about too hard because the goal of unattended-upgrades is to get it done "soon" without a particular deadline.14:14
rbasak(it's also insufficient without something like checkrestart if you're thinking about the OpenSSL CVE)14:16
peetaurdoes this actually say the last run time? https://bpa.st/ZOCA14:19
rbasakSorry, I'm not following a link to a pastebin site I don't recognise14:20
rbasakYou might find the "pastebinit" command helpful14:21
peetaurhere's again with the upgrade timer too https://bpa.st/DUSA14:21
peetaurthat's bpaste.net ...it's the simplest best I know14:22
peetaurand for whatever reason they went with the fad of butchering the url so it has a shorter less sane domain name14:22
peetaurwhat pastebin do you want? I don't want to use a cli one for this14:23
rbasakpaste.ubuntu.com please14:24
peetaurhttps://paste.ubuntu.com/p/xWzwY3xFCf/14:27
rbasakMaybe journalctl -u apt-daily.timer (and apt-daily-upgrade.timer)14:29
peetaurhttps://paste.ubuntu.com/p/yx4djYkmDT/14:33
peetaurdecember?14:33
peetaurdoes this actually log runs of the timer, or just when the timer is running(waiting)14:34
rbasakI think you're right. It's not runs of the timer.14:34
rbasakI'm not sure how to get that14:34
peetaurso since the problem is related to systemd, for which there are no solutions (anything you configure is still not trustable), the solution is to reimplement it ...and done15:13
=== j is now known as jess
=== Napsterbater is now known as Guest61945
=== Napsterbater_ is now known as Napsterbater
=== Napsterbater is now known as Guest1613
=== Napsterbater_ is now known as Napsterbater
=== Napsterbater_ is now known as Napsterbater
=== remhaze_ is now known as moimoimoi
=== rfm_ is now known as rfm

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!