/srv/irclogs.ubuntu.com/2019/08/21/#ubuntu-server.txt

lordievaderGood morning06:16
seven-elevenwhy does the SSH host key change if I restart cloud init?07:44
lordievaderProbably to prevent many hosts from having the same host-key.07:47
seven-elevenwhy not create a unique instance and have persistent host keys for the instance on reboot07:52
seven-elevenif you create an instance you can give it persistent host keys until it is destroyed; is it not a security risk to have changed host keys all the time, now you can't know if it's a MITM or still the first host you connected to07:58
seven-elevencloud init should simply check if the host keys are present already and if the host keys are using the same encryption as specified in cloud init08:00
seven-eleveni rechecked, on reboot the host keys are persistent, only if you delete the instance it's not08:02
seven-eleventhats fine :)08:02
mwhudsonseven-eleven: cloud-init has a bunch of per-instance things and a bunch of per-boot things08:33
mwhudsoni'd assyme ssh host keys are per-instance but i haven't checked...08:33
seven-elevenmhm08:54
seven-elevencan I write a cloud init configuration like in example B or does only example A work? http://dpaste.com/32ZTZ1Q08:54
seven-elevenI'm not sure if I can split up the dictionary in two parts08:55
seven-eleveni created a sha-512 password with this command https://unix.stackexchange.com/a/260195 and added the hash to cloud init's user: passwd directive. when the instance is started the password is not accepted. http://dpaste.com/015W9V209:12
seven-elevenno matter what I the password is not picked up by cloud init, i did it the same way as in these examples https://cloudinit.readthedocs.io/en/latest/topics/examples.html09:50
seven-eleven+try09:50
cpaelzerrafaeldtinoco: rbasak: wooooot I think I cracked ufw/iptables for mysql813:03
cpaelzerthe reason it only triggers from autopkgtest's build-needed is the way users are set up for the build13:03
cpaelzerfix is available and currenlty running tests13:03
cpaelzerand this was a real issue that would have got into eoan, so the UFW test did well13:04
cpaelzerrbasak: if you maybe could take a look at https://code.launchpad.net/~paelzer/ubuntu/+source/iptables/+git/iptables/+merge/371575 ?13:09
loptaWhen I try to install 19.04 in a VM that I made for it, I get "An error occurred during installation".  I'm going to see whether I find find out more in the full log...13:10
loptaLooks as though "Some index files failed to download".13:11
cpaelzerlopta: is the error reproducible?13:12
cpaelzeror could it be a one off network issue that made e.g. apt fail?13:12
loptacpaelzer: For me, yes.  This is my second attempt.13:12
lopta(in two days)13:12
* cpaelzer is installing from iso ...13:12
* lopta nods13:13
cpaelzerlopta: which one do you use http://releases.ubuntu.com/19.04/ubuntu-19.04-live-server-amd64.iso ?13:13
* lopta nods13:13
* lopta has another go, this time opting not to update the installer.13:17
loptaNo. Same thing.  18.04.3 installed without errors but that doesn't have the version of mono-complete that my application software seems to need.13:21
loptaI wonder whether I can install 18.04.3 and the somehow update to 19.0413:21
cpaelzerlopta: anything special on install?13:28
cpaelzeror jsut enter/enter/...13:28
loptaEnter... Enter, mostly.  Is 32G enough disk space?13:29
cpaelzerI have 5G13:29
cpaelzerupdate of new installer worked ... going on13:29
loptaI wonder whether our network is blocking something that 19.04 needs that 18.04 didn't.13:31
cpaelzerinstall is running, I see various curin info steps13:31
cpaelzerat which step did yours fail lopta ?13:31
cpaelzerlopta: mine seems mostly complete already, it is at "downloading and installing security updates"13:35
cpaelzerlopta: installed just fine for me13:39
loptacpaelzer: I wiped the VM.  Let me try it again...13:46
cpaelzerahasenack: rbasak: kanashiro: ahve you seen builds complete but not end recently?13:47
cpaelzerI have a PPA which took linger tan expected and they seem complete but staying in building state13:47
cpaelzere.g. https://launchpad.net/~paelzer/+archive/ubuntu/bug-1840872-duplicatehotplug-1840745-amdssbd/+build/1744903913:48
ubottuError: launchpad bug 17449039 not found13:48
ahasenackcpaelzer: I have not seen that13:48
cpaelzerI'll give it another 15 minutes, but then cancel and restart them13:48
* cpaelzer doesn't want to waste resources13:48
cpaelzermaybe asking the LP team if they know why the completion isn't picked up13:49
ahasenackufw failed to build, did you kill it?13:54
cpaelzerin the bileto ticket?13:55
cpaelzerno I just did a no change rebuild to enforce the tests agin13:55
cpaelzerahasenack: ^^13:55
ahasenackbileto, yes13:55
cpaelzerah13:55
ahasenackgot an email13:55
cpaelzeryeah I still have some dbeug on it which makes no sense13:56
ahasenacklike I do for every single bileto ticket13:56
cpaelzerwill resolve it13:56
cpaelzermy inbox is useless until I get som eauto-sorting onto the "stuck in proposed mails"13:57
cpaelzertruns out transitions are so noisy in your inbox you don't see anything else13:57
rbasakI've been considering /dev/null'ing them13:57
rbasakIt's be nice to set an expiry on a procmail rule. I guess I can arrange that but I'm not sure of a recipe.13:57
rbasakI'd have test it etc.13:58
tewardrbasak: i just shunt half the emails i receive for things that dont' concern me to a junk mailbox xD13:59
tewardrewrite:destination at my mail gateway, it goes to a different account :P13:59
rbasakI have a mailbox called "notme" for that.13:59
teward... unlike tsimonq2 who lets all his messages through and doesn't delete/cleanup them and has an inbox the size of Texas right now14:00
* teward runs tsimonq2's email for them, hence how he knows this14:00
rbasak=INBOX [Msgs:49434 Flag:1001 Post:6 804M] :-/14:00
tewardSimon's up to 1.1GB right now, at least when you factor in the indexes, etc.14:01
tewardand that's just their ubuntu-changes folder :P14:01
tewardbut meh14:02
* teward goes to dig into why Xenial doesn't like latest NGINX builds for some reason14:02
* lopta wipes his virtual disk again14:03
* lopta has another go at installing Ubuntu Server 19.0414:10
loptaWish me luck!14:11
=== Napsterbater is now known as Guest93798
=== Napsterbater_ is now known as Napsterbater
loptacpaelzer: The first package that failed to fetch was Commands-amd6414:16
lopta"lzma_read: Read error (5)14:16
lopta"14:16
=== logan_ is now known as logan-
loptaFinal line says "finish: cmd-install/stage-curthooks/001-configure-apt/cmd-in-target: FAIL: curtin command in-target14:19
loptaStderr: ''14:19
loptaI was really hoping to use Ubuntu Server for this job.14:21
cpaelzerlopta: atm I can only say that it worked for me and that I don't see an obvious item to attack with the error messages14:25
cpaelzerOdd_Bloke: ^^ do these messages mean something to you from a curtin POV ?14:25
loptaIs there a command to upgrade from 1804 to 1904?14:26
cpaelzeryeah14:26
cpaelzerlet me fetch a good link14:26
cpaelzerunfortunately askubuntu has maintenance atm :-)14:26
Odd_BlokeThat doesn't ring any bells, but I'm not hugely experienced with curtin yet.14:27
cpaelzerlopta: https://help.ubuntu.com/lts/serverguide/installing-upgrading.html maybe as a start14:27
Odd_Blokemwhudson or rharper may be able to help more.14:27
cpaelzerlopta: since 18.04 is a LTS it won't prompt you to upgrade until 20.04 is released14:27
cpaelzerbut you can change the config to do it14:27
cpaelzersudo do-release-upgrade -d14:28
cpaelzerwhic hwill tell you to edit /etc/update-manager/release-upgrades14:28
rharperOdd_Bloke: lopta it looks to me like an apt update failed, network connection or sometimes the archive isnt available; we see transient failures during apt installs on our nightly testing some times;14:29
cpaelzer-d is for devel relase, which in your case you done't need/want14:30
rharperlopta: does it fail the same way each time ?14:30
loptarharper: Ye14:30
loptas14:30
lopta"Upgrades to the development release are only available from the latests supported release"14:31
rharperand you know networking on the device works ?14:31
loptaAh, thanks14:31
cpaelzerlopta: you don't want/need -d14:31
loptarharper: yes14:31
loptaLooks like it's getting Disco Dingo...14:33
cpaelzerwhich is 19.0414:33
rharperit sure looks like a networking issue;  you could try offline install, https://bugs.launchpad.net/subiquity/+bug/1750819 ; http://cdimage.ubuntu.com/ubuntu-server/bionic/daily-live/20190801/14:33
* lopta nods14:33
loptaWell, let's see whether this upgrade process works.14:38
loptaNope.  Kernel panicced on reboot.14:43
lopta"...not syncing: No working init found"...14:44
* lopta resorts to a desktop install...14:49
loptaWell that's unfortunate.  My mouse isn't working.14:54
lopta...and I can't seem to tab around.14:55
loptaSuppose that's an issue for another channel though.14:55
loptaLet's try 1904 on bare metal.15:25
runelind_qmy landscape on-premise installation hasn't run update_security_db.sh in a week :(15:35
runelind_qwhen I try to manually run the script, it just stops with exit 115:35
runelind_qhrm, it may be getting somewhere after the umpteenth restart ;p15:39
runelind_qheh yep, it works now15:51
runelind_qyou may go about your business.  Move along, move along.15:51
loptaInterestingly (to me) 1904 installed nicely onto bare metal.16:10
lopta...not sure what's up with my VM16:10
loptaAlright. It's lunchtime.16:15
runelind_qso I kinda screwed up when I installed this server, creating an mdadm mirror on a pair of 8GB sata DOMs for the OS install.  Predictably, space is getting pretty tight.  What's the best way to get bigger disks in there without reinstalling?  Clonezilla?16:25
ahasenackadd more disks, raid1 them too, and mount /usr on them?16:44
ahasenackor whatever is your biggest space consumer16:44
ahasenackis this a vm?16:44
runelind_qno, physical server16:46
ahasenackwas just curious about the small disk16:47
runelind_qI had some sata DOMs that I thought would be cool to use.16:47
runelind_qbut they're too small.16:47
lopta\o/18:18
lordcirthrunelind_q, perhaps you could break the mirror, replace the other drive, rebuild, replace the first one, and expand?18:24
runelind_qthat is an option, yeah.18:33
leftyfbI'm trying to pivot_root on ubuntu 16.04. I only have systemd and dbus-daemon left and can't seem to restart either of them to get them onto the new root. systemctl daemon-reexec doesn't seem to do anything for systemd. Any signals I give to the dbus PID seem to just kill the machine completely. Any ideas?18:39
leftyfbactually, I was able to kill and restart the systemd service. So now it's only dbus I'm trying to get off of the /oldroot18:44
runelind_qI don't believe the sata DOMs have serial numbers written on them, so I'll have a 50/50 chance of picking the right one when I fail/replace it.18:49
loptaApparently our application is up and running on Ubuntu Server 1904.  I'm impressed at how smoothly the installation goes on bare metal.19:06
loptabrb, coffee++19:23
mwhudsonlopta: did you figure out what was going on in the vm?21:03
mwhudsonlopta: i'm glad it worked on bare metal :)21:03
loptamwhudson: I'm not sure exactly.  This'll do until I leave and someone accidentally switches it off. ;-)21:04
lopta"Hey, why'd all our telemetry stop?!"21:04
mwhudsonhaha21:05
mwhudson"we've all ready the google sre manual, that's good enough right?"21:05
loptaWell originally I asked for a VM on the ESXi cluster but the IT manager got very angry at the suggestion so I just told him "Don't worry about it. I'll take care of it myself".21:16
lopta(and BCCd his temporary boss)21:17
loptaDoes (can) Ubuntu Server put the screen to sleep after a set period of no keyboard activity?21:27
compdocI think it does21:28
loptaThanks.21:30
loptaWe'll see what it does overnight.21:30
loptaBy!21:30
loptae*21:30
V7Hey all22:29
V7Postfix shows in syslog:  warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory22:30
V7Already did https://unix.stackexchange.com/a/74491/13335322:30
V7What could this be?22:31
V7Figured out22:33
V7In main.cf changed unix:/var/run/opendkim/opendkim.sock to unix:var/run/opendkim/opendkim.sock22:33

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