/srv/irclogs.ubuntu.com/2020/10/13/#ubuntu-server.txt

jayjoI'm finally having some success with installing pfsense - I can see the interfaces now, which is very exciting. I have this ASCII art error that is mentioned in this question, where everything displays as q's. Is that a common mistake? https://serverfault.com/questions/95328302:33
jayjocould that have to do with what console I chose when installing pfsense? There were four options, ansi, vt100, xterm, and cons25w03:02
jayjoI did try most of them, the only one I had success with was vt100 although it was not right. The others were even more wrong. Do I need to connect to the VM a certain way in order to use the console correctly this way?03:02
jayjoMy attempt: `virt-install --virt-type kvm --name pfsense --vcpus 2 --hvm --disk format=raw,readonly=on,path=/home/jayjo/pfSense-CE-memstick-serial-2.4.5-RELEASE-p1-amd64.img --disk /home/jayjo/kvm/images/pfsense.qcow2,bus=virtio,size=10,format=qcow2 --network bridge=br_wan --network bridge=br_lan --graphics none --noautoconsole --os-type linux --os-variant freebsd11.3 --boot hd --autostart`03:08
cpaelzerrbasak: let me re-check the bug ref04:54
cpaelzerarr, yes it referred tot he former SRU04:54
cpaelzerI ahve a correct bug but youare right the ref was wrong04:55
cpaelzerrbasak: https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1892266/comments/705:00
ubottuLaunchpad bug 1892266 in open-vm-tools (Ubuntu Focal) "open-vm-tools 11.1.5 has been released" [Medium,In progress]05:00
lordievaderGood morning06:05
=== JanC_ is now known as JanC
zetherooI am seeing this https://pastebin.com/E3wWjWdL logrotate error from a couple systems and am trying to get the mysql-server logrotate file to look at /root/.my.cnf for credentials but can't seem to figure it out11:05
zetheroothe mysql-server file looks like this https://pastebin.com/yx5cH0dk11:07
zetherooand I see it's referring to /etc/mysql/debian.cnf for creds, but there's no password in there and it says "# Automatically generated for Debian scripts. DO NOT TOUCH!" in the header of the file.11:08
=== franksmcb_ is now known as franksmcb
zetherooregarding my question about logrotate and mysql-server ... did I miss anything? (had an Internet drop-out :/ )12:50
TJ-zetheroo: I don't see any chatter since your client disconnected12:51
zetherooTJ-: ok thanks12:58
jayjoI'm trying to run freebsd (pfsense) in a KVM+qemu VM but I keep getting a kernel panic after a couple of minutes of operation. "Fatal trap 9: general protection fault while in kernel mode" - could this error be because of my virtualization type selected? This is what I used: https://bpa.st/UBNQ , could it be the --virt-type or --hvm paramaters?14:37
jayjomy very simple netplan for completeness: https://bpa.st/PZTQ - otherwise a fresh ubuntu server installation14:40
tewardjayjo: I think you need the standard ISO format not the memstick instance14:57
tewardjayjo: I've had no problems installing pfSense in QEMU-KVM via virt-manager when using their full ISO and not their memstick image14:58
tewardfor the Sense installer15:00
tewardjayjo: from the pfSense download page:  "The CD Image (ISO) Installer is used to create a CD/DVD version used to install on virtual machines or systems with a CD/DVD drive."15:01
tewardso you're using a VM, use the CD/DVD ISO first15:01
tewardjayjo: that said, pfSense support is in #pfsense ;)15:05
jayjoThat was my initial attempt, but I was trying to install using the serial console, so I had switched to the memstick.15:05
tewardthe memstick needs to be written to a disk first - it's not designed for direct-boot use15:06
tewardif you're working with VMs, you'd need the ISO, but again you need #pfsense for support with pfSense ISOs, etc.15:06
tewardthat's a bit beyond the scope of here ;)15:06
jayjoThanks for your help - I wasn't sure if it was how I was setting upt the VM. I'm learning a lot but this is rather new still. I'll go to #pfsense15:06
tewardjayjo: they may have the better solution to boot to the serial console, but I don't know if you're going to be able to in qemu-kvm.  Might need to run it with VGA mode on a VNC server mode and then VNC into it remotely, but not sure that'll solve your problems either15:08
tewardi did just boot the latest ISO in qemu-kvm though (GUI, but...)15:08
jayjoI have seen after doing some research that most users are using virt-manager on their workstation and connecting to their server to provision pfsense, then it is still using VGA. I went for the serial method first because this is a small headless machine, but I'm going to try the ISO with VNC now15:13
tewardjayjo: just going to point out I was able to use the memstick + serial to work with it, your command was missing some bits to complete though  (virsh is how I connected to the console) as for kernel panics I can't help you there.15:39
tewardooop nope confirmed your iissue jayjo but that's not an Ubuntu issue that's a Sense issue15:42
tewardmight be just the memstick installer15:42
tewardoop no i lied15:48
tewardit booted then hardcrashed15:48
tewardi think the memstick installer is at fault here15:48
tewardyeah 100% the memstick installer15:49
tewardrbasak: can you get someone on the server team (or yourself) to help with testing to reproduce an issue?16:10
tewardwith nginx16:10
teward(focal 20.04)16:11
sdezielteward: I'm not from the server team (nor Canonical) but I'd be happy to help if I can16:16
tewardsdeziel: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1897561 i need replicated with stock NGINX - user in #ubuntu was reporting they get a hard-fail with nginx from the repos straight https://paste.ubuntu.com/p/xz5TCj428K/ but it's an underlying perl issue16:16
ubottuLaunchpad bug 1897561 in perl (Ubuntu) "libperl.so.5.30.0 causes nginx to segfault" [High,Confirmed]16:16
tewardif we can confirm it's a problem, then we may be able to kick someone into actually handling this more rapidly with a fix16:17
tewardbecuase if all new nginx installs fail 20.04 with Perl like this, and we didn't know this before, then we're a little bit SOL here16:17
tewardsdeziel: the core problem here is perl / pcre is used for the regex matching on things that's core for location matching16:18
tewardso if that doesn't work nginx won't work16:18
sdezielteward: the steps to reproduce are missing from the LP16:18
tewardsdeziel: this i know supposedly it happens completely16:18
tewardsdeziel: ah, small caveat, Mibix who reported this in #ubuntu and lotuspsychje pinged me about upgraded in place 18.04 -> 20.0416:19
tewardi wonder if THAT is causing some perl library problems16:19
rbasakI don't know where to start with that, sorry.16:21
rbasakNeed steps to reproduce in the bug, as sdeziel says16:21
rbasakSomebody actually affected should be able to provide those16:21
rbasakAnd we can't make progress without that16:21
sdezielteward: in a fresh focal container, nginx-core doesn't even pull in libperl5.3016:21
rbasak(or at least we can't be expected to make progress)16:21
tewardto be fair I think they have leftovers from an old install16:21
sdezielteward: ldd /usr/sbin/nginx shows no perl16:21
rbasakI could guess and try and investigate, but I'm not inclined to work on it that inefficiently!16:21
tewardsdeziel: yeah i'm not sure what they've got that's causing that16:22
tewardexcept they did an 18.04 -> 20.04 install16:22
tewards/install/upgrade in place/16:22
lotuspsychjewe need an apport collect on that bug too16:22
sdezielmaybe they have libnginx-mod-http-perl from nginx-extra?16:23
tewardrbasak: does libpcre rely on libperl?16:23
tewardsdeziel: ooh good point16:23
teward*checks that*16:23
rbasakI would comment on the bug with a template blurb asking for steps to reproduce, version information, etc, and mark Incomplete and not worry about it until more information arrives16:24
tewardnope, E:NOREPRO16:24
rbasakBut I won't interfere with whatever teward wants to do16:24
tewardrbasak: well I can't repro it on 20.04, but i am mainly asking if someone can repro it stock16:24
tewardwhich I can't16:24
teward18.04 -> 20.04 could be a factor for a failure case though16:25
tewardin which case I need more disk space :P16:25
rbasakI'm not interested in trying to reproduce it until the reporters tell me how they expect me to reproduce it. Sorry!16:25
tewardyep16:25
rbasakIf more people were marked as affected I'd try harder16:25
teward:P16:27
tewardrbasak: well, lotuspsychje poked me so :p16:27
sdezielI think you've done your due diligence ;)16:27
tewardyep16:27
=== benpro8 is now known as benpro
teward*throws a banana peel at lotuspsychje*16:27
lotuspsychjelol16:27
lotuspsychjei just forward the users to the right direction16:28
tewardlotuspsychje: aka "not me" when they don't provide steps to reproduce16:31
lotuspsychjeyeah, there's a lot of bugs needing pre-fixes and thats what we do with our little team in #ubuntu-bugs-announce16:33
lotuspsychjepushing them with more info/steps/apport-collects towards the devs16:33
tewardyep16:33
tewardthe only thing I can't rule out is libpcre is linked to libperl but that's beyond my knowledgeset too16:34
tewardif it is then it's possible libperl segfault is something before libpcre16:34
lotuspsychjeteward: is this useful? https://trac.nginx.org/nginx/ticket/183117:03
teward*waits for slow Trac to load*17:03
tewardlotuspsychje: yeah that's related, see http://mailman.nginx.org/pipermail/nginx-ru/2019-June/062292.html too (Russian, you'll have to translate to English, which my system does by default)17:04
tewardlotuspsychje: it's missing full config output for us to debug though (`nginx -T`)17:05
lotuspsychjenot handy, but at least we know its an existing bug right17:06
tewardyep17:08
tewardhttps://trac.nginx.org/nginx/ticket/2044 was the recent Ubuntu bug filed in Trac about it, pointed at 1831 which pointed at Perl17:08
tewardbut without minimum reproducible examples (not provided ANYWHERE) it's going to be hard to trace17:09
tewardit also looks like it's specific to `reload` calls not restart calls17:09
tewardwhich is... odd17:09
tewardhmm... still ERR:NOREPRO17:10
tewardbtu the ones i'm seeing are 18.04 complaints17:10
sdezielteward: got a reproducer17:10
tewardsdeziel: share minimum examples please17:10
tewardunless it's on a bug i'm not on17:10
sdezielteward: I'm updating the bug ATM17:11
tewardsdeziel: the Perl bug?17:11
sdezielhttps://bugs.launchpad.net/ubuntu/+source/perl/+bug/189756117:11
ubottuLaunchpad bug 1897561 in perl (Ubuntu) "libperl.so.5.30.0 causes nginx to segfault" [Undecided,Incomplete]17:11
tewardyeah i'm subbed to the bug :P17:13
sdezielteward: done17:15
sdezielon the second reload, it sigsev17:15
lotuspsychjenice work sdeziel17:16
sdezielit was a collaborative effort ;)17:17
lotuspsychje: )17:17
tewardsdeziel: wait, so it only happens on multiple reloads? o.O17:26
sdezielteward: that's my experience so far and also matches what the reporters seem to imply17:26
sdezielFYI, I haven't linked to the upstream bug found by lotuspsychje but I think it's indeed the same problem17:27
teward4th reload triggered on my side17:28
tewardsdeziel: what's interesting is it does NOT happen on a 'restart' of nginx17:28
tewardonly on the active live reloads17:28
tewardwhich... is interesting17:28
tewardat least until you try and restart it too many times...17:30
tewardOct 13 17:29:32 focal-tester systemd[1]: nginx.service: Start request repeated too quickly.17:30
lotuspsychjesdeziel teward the bug filer did his apport-collect17:30
jayjomaybe I should just let sleeping dogs lie... but, do you suspect writing or converting the memstick data to a qcow2 https://askubuntu.com/a/853273 would solve the memstick needing to write to disk problem? I've done a little more reading on the differences between ISO and the flash data with the link shared yesterday, https://wiki.osdev.org/El-Torito22:20
jayjoeven if that proves fruitless, I'm still working on the VNC virsh connection. But first I'm just trying to get access set on my workstation with WOL. Does the default ubuntu vnc server have preferred clients? I have a macbook to test with on my LAN22:21
jayjoteward: ^ :)22:21

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