/srv/irclogs.ubuntu.com/2020/02/07/#ubuntu-server.txt

ruben23hi guys any idea my key in data on crontab -e, after some tiem suddenly dissapear and its empty, any idea what might be the issue00:54
=== bpsecret- is now known as bpsecret
cpaelzercoreycb: interesting - that should only be a problem for the UCA backport since Bionic has python3.6 and not an issue for the 3.8 in focal right?06:05
lordievaderGood morning07:09
albechMy apache webserver crashes randomly during graceful restarts: https://paste.ubuntu.com/p/dQsr6mgzvD/09:38
kiokomanalbech: you are not alone https://stackoverflow.com/questions/54213685/apache-seg-fault-krb5int-key-delete-assertion-destructors-setkeynum-1-fail https://krbdev.mit.edu/rt/Ticket/Display.html?id=886309:50
albechkiokoman: yeah i saw that one, but no solution :/09:51
kiokomanwe need to wait i suppose -_(O_O)_-09:52
albechguess so.. thanks anyway09:52
albechmeanwhile.. i may write a script that checks if its down and do a hard restart09:53
tomreyngeez using RT as a bug tracker is a really bad idea09:58
tomreynalbech: please make sure you file a bug agains tthe relevant package in ubuntu if this hasn't been reported against ubuntu on launchpad, yet10:00
albechtomreyn: working on just that right now10:01
tomreynis this backed by a "snap" (snapcraft.io) package? "mod_fastcgi/mod_fastcgi-SNAP-0910052141"10:01
tomreynalbech: great, make sure you use the "ubuntu-bug" command so log files are added, too10:01
tomreynalternatively use "apport-collect BUGID" on the affected system after filing the report.10:02
CrummyGummy Hi! Have any of you seen a problem where an IP address gets changed on a container with dhcp and the old routes remain?11:26
CrummyGummyMaybe some netplan wierdness but the containers now have old source addresses attached to the routes and it's messing up my networking.11:27
CrummyGummyI'm not really even sure why the ip addresses are changing anyway tbh.11:27
CrummyGummyhow does Netplan control dhcp anyway?11:37
CrummyGummydoes it run dhcp-client?11:37
rbasakIt configured systemd-networkd or Network Manager.11:41
rbasakThey take care of DHCP as necessary.11:41
rbasakconfigures*11:41
friendlyguyhi there! i am struggeling with a ubuntu vm where /boot has 0 free space left11:56
friendlyguyits 18.04, but it has been release upgraded several times11:56
lordievaderfriendlyguy: How large is your `/boot` and how many kernels/initramfs-es are on there?11:57
friendlyguyboot is 236mb11:57
friendlyguyabout 9 of them11:58
lordievaderYeah, that is rather small.11:58
friendlyguyautoremove doesnt work11:58
lordievaderEspecially for that number of kernels.11:58
friendlyguyyup, its default from the setup11:58
friendlyguynever changed it11:58
lordievaderManually remove the kernels except for the last and in use ones.11:58
friendlyguyi just assumed that the size would make sense back then11:58
lordievaderFor a couple of kernels (<=3) it is fine.11:59
friendlyguyokay, i check with uname -a which kernel version i run and delete all others in boot?11:59
friendlyguywhere can i specify the number of kernels to hold there?11:59
lordievaderRemove the packages.11:59
friendlyguyis this usually done with "autoremove"?12:00
ducassefriendlyguy: use dpkg -P to remove them12:00
lordievaderIf only `linux-image-generic` (or however Ubuntu calls the package) is installed this should happen automatically.12:00
friendlyguyi have a couple of vmlinuz files, a couple of initrd files, a couple of config files12:00
lordievaderfriendlyguy: Only if the versions are not explicitly installed.12:01
friendlyguyi never installed a version "manually", only ever ran upgrades12:02
friendlyguyso... do i delete the files that do not match with the kernel version, or do i uninstall them with dpkg -P?12:03
lordievaderfriendlyguy: What is the output of `dpkg -l|grep linux-image`?12:03
friendlyguyhttps://paste.ubuntu.com/p/HHQrsMxkvw/12:05
lordievaderfriendlyguy: `sudo apt purge linux-image-4.{15.0-5{5,8},4.0-154}-generic`12:08
lordievaderWhatever is left of those other 9 minus 4.15.0-60 need to be removed manually.12:08
ducassefriendlyguy: use dpkg12:19
friendlyguyback again12:22
friendlyguyokay, lets try that12:22
friendlyguyargh, cant copy paste any more... brb12:22
friendlyguyokay, that failed because of unmatched dependencies12:24
friendlyguyhttps://paste.ubuntu.com/p/3F4yKPRDCv/12:25
friendlyguywhen i do the --fix-broken i get this: https://paste.ubuntu.com/p/WgsM7tbQFg/12:28
friendlyguyback in half an hour... need to eat somethign12:28
lordievaderfriendlyguy: Are you mixing repos?12:37
=== Wryhder is now known as Lucas_Gray
coreycbcpaelzer: yes that just affects bionic with python 3.613:22
friendlyguylordievader: erm... not intentionally13:40
friendlyguyhow can i verify that? check the sources.list?13:40
lordievaderYes, and the contents of `/etc/apt/sources.list.d/*.list`13:42
friendlyguyhttps://paste.ubuntu.com/p/PXcX8vc7CB/13:42
friendlyguythats what i have in the sources.list13:42
friendlyguyi dont remember editing it though13:42
friendlyguyoh, there are a bunch of config in the sources.list.d folder13:43
friendlyguydeb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main13:47
friendlyguythats the only one in the sources.list.d that isnt commented out13:47
friendlyguyah, xenial looks old... shall i get rid of it?13:49
friendlyguyah, i just noticed thats a repo for php versions13:50
friendlyguyall others were disabled during migration to trusty/xenial/bionic13:57
lordievaderYour sources look sane.13:57
lordievaderAre there updates available?13:57
friendlyguyyup, but cant install: 0 space left on boot14:01
lordievaderHrmm14:06
lordievaderWell, guess (re)moving old kernels is the easiest way around this.14:06
friendlyguyremoving as in delete it from the filesystem without using a package manager, right?14:11
lordievaderYes14:18
friendlyguyokay, let me try that14:25
coreycbjamespage: sahid: all the current backport failures will get fixed up once pandas gets to bionic-updates. I'll push on that monday.14:25
friendlyguyokay, cleaned all that stuff... (there even was a 3.3 kernel around)14:28
friendlyguyso... shall i update now, or try to "autoremove" or... whats the best way to continue?14:29
friendlyguythe --fix-broken?14:29
lordievaderYes, update. And then remove/purge the old kernel packages.14:41
friendlyguymy guess is that this will fill up boot right away again14:42
friendlyguy(i guess we both meant update == upgrade14:43
friendlyguy)14:43
sahidcoreycb: ack thanks14:43
lordievaderfriendlyguy: Install the available updates, yes. (I know apt calls this upgrade)14:54
friendlyguylordievader: wont let me... i need to run the fix-broken first: https://paste.ubuntu.com/p/VRpnzZfqp6/15:03
lordievaderHrmm, do that first then 😉15:04
friendlyguylets c if that works or if i run out of space again15:05
friendlyguy~200mb free space on boot15:05
friendlyguy APT had planned for dpkg to do more than it reported back (78 vs 82).15:08
friendlyguy   Affected packages: initramfs-tools:amd6415:08
friendlyguybut apart from that it went through nicely15:08
friendlyguy60 mb space left15:09
friendlyguyrunning a autoremove now to get rid of old entries15:09
friendlyguyokay, so far so good. rebooting to switch to the new kernel now...15:10
friendlyguyyay, that did work :)15:14
friendlyguyrunning a upgrade now15:14
friendlyguybtw, kernel now is 4.15.0-76-generic15:15
friendlyguyoh boy... now it looks like things go south15:23
friendlyguyhttps://paste.ubuntu.com/p/6QwFrZyDnD/15:26
friendlyguytried to install the old kernels again and fille boot up again15:26
friendlyguyi cant figure out why15:27
friendlyguyeverything looked good after the autoremove... until i ran the "apt upgrade"15:28
friendlyguyi guess there is a old package somewhere with dependencies to a very very old kernel15:28
friendlyguybut still, why would it pull multiple old kernels?15:29
friendlyguyfrustrating15:29
friendlyguylordievader: got an idea for me?15:29
itsame"gzip: stdout: No space left on device" ?15:40
itsamealways a bit situation to be in =X if you have a bood cd you could move things around a bit after a backup (making boot a bit bigger)15:43
sdezielfriendlyguy (if you come back), I sometimes resort to truncating a vmlinuz and initrd when I'm *sure* they are not needed anymore. To truncate: "> /boot/vmlinuz-$FOO"15:46
itsameaptitude why <packagename> <- helps to figure what causes a package to be installed15:47
sdezielby nuking a bunch of unused initrd, you should reclaim a good chunk of space15:47
itsameinteresting, one of the older version kernels is installed because it provides aufs-dkms on my machine, which is also provided by the newer version, but i guess the way the dependecies resolves causes it to still be flagged as required15:54
itsame((vaguely described xD))15:55
itsamesdeziel: you think that can be seen as bug? i wonder somehow15:57
sdezielitsame: dunno, I was just trying to give some cues to friendlyguy on how to deal with his out of space problem on the rootfs15:59
itsamei think about it some more later and when i get around to it file a bugreport i guess16:02
rbasakbryce: CI passed on https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+merge/378744, ready to go. No major rush. Monday would be fine - I've got other bits to get on with.17:38
bryceok17:38

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