[01:18] <spicey> hello , i have a question related to my vps, for which i choose for  ubuntu server 14.04.  i run 4  wordpress websites, for one i want to install a ham radio logbook plugin. I want to use a terminal based logbook, but i dont know where to put it: on my vps, or on my desktop pc? you can only add records to the logbook using the terminal. then the log file can be uploaded to the related wp plugin, so that the
[01:18] <spicey> logbook eventually will show on my website.
[01:20] <spicey> do i need to use my vps?
[01:21] <sarnold> probably you could run the software locally and copy just the data over to the vps
[01:22] <spicey> ah
[01:22] <spicey> what i thought but then i run into stuff like no mysql installed
[01:23] <spicey> does that mean i need to create mysql database for my desktop pc?
[01:24] <spicey> Requirements
[01:24] <spicey>     Perl, including Switch, DBI and DBD::MySQL
[01:24] <spicey>     MySQL server (3.23.23 or higher) and client
[01:24] <spicey> these are the requirements for the software
[01:24] <sarnold> woah
[01:25] <sarnold> mysql 3.23... just how long ago was this last updated?
[01:25] <spicey> i have no idea
[01:25] <spicey> lol
[01:25] <sarnold> I'd be hesitant to stick it on the public internet
[01:25] <spicey> ok that's clear
[01:25] <spicey> it won't be on a site google can find
[01:26] <spicey> well at least that's whaty i hope
[01:26] <spicey> you know what ill send your remarks to the ham who created this maybe he has an explanation
[01:26] <sarnold> it's shodan you have to worry about :)
[01:26] <spicey> shodan?
[01:27] <spicey> i dont know shodan
[01:27] <spicey> im just a beginner
[01:27] <spicey> it says 'or higher'
[01:27] <spicey> so higher won't hurt
[01:27] <spicey> higher never hurt :p
[01:28] <spicey> 3.23 or higher
[01:28] <sarnold> well here's some windows screenshots showing how to install mysql 3.23 on windows, maybe that will suggest the vintage software .. :) http://carme.cs.trinity.edu/thicks/Tutorials/MySQL-Install-Community-Server-3.23/MySQL-Install-3.23.html
[01:28] <sarnold> cute. http:\\www.mysql.com...
[01:29] <spicey> so ugly put that away
[01:29]  * spicey burns the page
[01:30] <spicey> is that mysql on windows... how weird
[01:31] <spicey> it makes me wanna puke
[01:31]  * spicey feels nauseous now
[01:33] <spicey> CLog is developed and tested on CentOS 7, with the included Switch, Perl, perl-DBI, perl-DBD-MySQL and MySQL. However, it should run on most UNIX/linux platforms. In some occasions you may have to change the perl path on the first line of the 'clog' file.
[01:34] <spicey> wtf i have to "change the perl path"
[01:34] <sarnold> spicey: oh good
[01:34] <spicey> really?
[01:35] <sarnold> yeah if the author runs it on something as recent as centos 7 then it's way less terrifying than I was envisioning ten minutes ago
[01:35] <spicey> ah okay haha
[01:35] <sarnold> the copyright on that page is from 2003.. and we have rather higher security expectations these days than we did back then
[01:36] <spicey> so there is hope?
[01:36] <sarnold> yeah
[01:37] <spicey> ok that's good
[01:37] <spicey> maybe i best send the ham who created the thing a mail
[03:20] <zhill29_> Disclaimer: I'm not currently diagnosing this. Just wondering if anyone has run into it. Was trying to setup zfs on an ubuntu server install (16.04-3) in raidz with 5 disks. Kept getting 2 disks saying they were busy, one at a time.
[03:20] <zhill29_> Was always /dev/sdg or /dev/sdf for some reason, never the other 3
[06:14] <lordievader> Good morning
[07:51] <Xandrov> Good evening. I'm having an issue getting a raid to re-mount after a power outage. Mount is saying it's unable to read the superblock. I was able to fix this before by stopping/restarting the raid with mdadm but that isn't working this time. Is anyone able to offer any suggestions? Please and thanks :)
[08:30] <lordievader> Xandrov: This might help you https://linuxexpresso.wordpress.com/2010/03/31/repair-a-broken-ext4-superblock-in-ubuntu/
[08:41] <rbasak> ahasenack: imported. They won't auto-update until I next upload to edge and restart he importer.
[08:41] <rbasak> (actually to beta)
[10:00] <ujjain> how do enable SSH on Ubuntu in Docker... systemctl start ssh -> system has not been booted with systemd as init system (PID 1). Can't operate.
[10:04] <blackflow> ujjain: docker is designed for single (master) process applications as PID 1, not really a VM-like env you can ssh into.
[10:05] <ujjain> Yeah I understand, but I am just trying to example a jenkins pipeline with ansible etc.
[10:05] <blackflow> then you'll have to run a process manager as pid 1, which can start sshd and whatever else, contrary to what it's designed to do.
[10:05] <ujjain> and I have no ability to create VM's, so figured to use a container. Normally we would manage VM's with it.
[10:05] <blackflow> why no ability to create VMs?
[10:06] <blackflow> there's also vagrant if you need to abstract VM creation for testing purposes
[10:06] <ujjain> because it would have to be done manually... more difficult during training.
[10:06] <ujjain> Yeah, but not everybody has vagrant installed here
[10:06] <ujjain> everybody does have docker... so me creating a dockerfile would be quickest
[10:06] <blackflow> it's just anotehr tool like docker is
[10:06] <blackflow> y'all are using it wrong tho
[10:06] <ujjain> but it's for a 1 hour training
[10:06] <ujjain> not for production use.
[10:07] <blackflow> then like I said, the docker would need to start a process manager as pid 1, with which you can start other services in that container. or just run sshd directly if that's the only thing you need?
[10:07] <blackflow> ujjain: which btw is not really ubuntu specific, and you'll find fare more help with it in #docker.
[10:07] <blackflow> *far more
[10:07] <ujjain> service ssh start is already working, but systemctl isn't ...
[10:07] <ujjain> it's an ubuntu image though.
[10:08] <blackflow> the problem is not ubuntu specific.
[10:09] <ujjain> how would I even autostart apache in an Ubuntu container? that'd be the same issue.
[10:09] <ujjain> apt-get install apache2, service apache2 start does work
[10:09] <ujjain> but no autostart
[10:10] <blackflow> "ubuntu container"? that's vague. which container tech? LXC, LXD, docker?
[10:12] <blackflow> ujjain: note also that systemd itself can containerize services that are locally installed, including using a chroot, or even with nspawn.
[10:13] <ujjain> CMD    ["/usr/sbin/sshd", "-D"] looks to be a fine solution
[12:23] <ahasenack> rbasak: thanks
[12:24] <ahasenack> rbasak: just curious, they won't auto-update because they need to be added to the white list, and that means a commit and snap update, is that it?
[12:25] <rbasak> ahasenack: right. I've done the commit, but the pipeline to get it to the auto importer machine as asnap
[12:25] <rbasak> as a snap involves manual steps
[12:25] <ahasenack> ok
[12:26] <ahasenack> rbasak: would you have some moments today to look at my outstanding MPs?
[12:26] <rbasak> Sure
[12:27] <ahasenack> maybe the sssd one first, since it's a fix for a ftbfs
[12:27] <ahasenack> thanks
[12:28] <rbasak> OK
[12:41] <rbasak> ahasenack: +1. Shall I push the upload tag?
[12:41] <ahasenack> rbasak: yes please
[12:41] <ahasenack> rbasak: I can dput
[12:42] <rbasak> ahasenack: pushed
[12:42] <ahasenack> thanks
[12:47] <rbasak> ahasenack: did you already ask me to push the upload tag for https://code.launchpad.net/~ahasenack/ubuntu/+source/libapache2-mod-perl2/+git/libapache2-mod-perl2/+merge/348780?
[12:48] <ahasenack> rbasak: I think I pinged after your EOD
[12:48] <ahasenack> and realizing that, added a comment to the mp
[13:10] <ahasenack> is lp timing out for somebody else?
[13:11] <blackflow> ahasenack: WorksForMe(tm)
[13:24] <rbasak> ahasenack: +1 for clamav. Shall I push that upload tag too?
[13:25] <ahasenack> rbasak: yes please
[13:25] <ahasenack> rbasak: let me check if I can upload, just a moment
[13:26] <ahasenack> rbasak: I can, so just the tag please
[13:26] <rbasak> ahasenack: tag pushed, thanks
[13:26] <ahasenack> cheers
[13:27] <coreycb> jamespage: i think conflicts might be too strict. murano-dashboard needs both python(3)-heat-dashboard installed as BDs to run unit tests.
[13:34] <coreycb> working around that with a heat-dashboard-common package
[13:55] <ahasenack> rbasak: I shouldn't mark https://code.launchpad.net/~ahasenack/ubuntu/+source/libapache2-mod-perl2/+git/libapache2-mod-perl2/+merge/348780 as merged until it lands in proposed, right? It's an SRU
[13:56] <rbasak> ahasenack: I agree. It's a mess whatever we do though since I have to push the upload tag.
[13:56] <ahasenack> assuming the answer is "yes", any ideas to get it off the list at https://code.launchpad.net/~canonical-server/+activereviews ?
[13:56] <rbasak> We could mark it as Approved perhaps?
[13:56] <ahasenack> works for me, could you please do that?
[13:56] <rbasak> Done
[13:56] <ahasenack> thx
[19:58] <kaleidoscope> hey guys
[19:58] <kaleidoscope> i need some help committing dns servers to resolv.conf via /etc/networking/interfaces
[19:59] <kaleidoscope> https://ptpb.pw/rrVf ;; i have this static conf in the interfaces file and the 'dns-nameservers' does not output to resolv.conf
[20:00] <teward> kaleidoscope: what version?
[20:00] <teward> and what *is* in /etc/resolv.conf currently?
[20:02] <kaleidoscope> teward: ubuntu 18.04 and currently resolv is using the systemd-resolve stub address (127.0.0.53), though that does work (pinging google outputs temp. resolv error)
[20:03] <teward> kaleidoscope: /etc/network/interfaces isn't used by default, netplan is.  are you sure you're configuring your networking in the right location?
[20:05] <kaleidoscope> teward: i believe so, i at least have static networking working as per my configuration
[20:05] <kaleidoscope> teward: if that's the case, i will move on to netplan as well
[20:08] <kaleidoscope> ah i see
[20:08] <kaleidoscope> it seems ubuntu does not use ifupdown anymore
[20:09] <teward> kaleidoscope: no, Netplan has taken its place
[20:09] <teward> we use systemd for things now
[20:09] <teward> so ifupdown has no more usefulness by default
[20:10] <kaleidoscope> gotcha, then i'll use netplan and hopefully that will resolve my dns issue. also, it's safe to disable the 'networking' interface, yes? then enable 'systemd-networkd' because netplan uses it as a renderer
[20:17] <teward> I don't know what you mean by the "networking" interface in this context
[20:17] <kaleidoscope> teward: ah sorry, i meant the 'networking' service, the one that utilizes ifupdown for connections
[20:42] <teward> kaleidoscope: not sure if it's safe or not, sorry I don't have all the info available
[20:46] <kaleidoscope> teward: it's okay, i went ahead and disabled 'networking.service' netplan is working perfectly with the same configuration.
[20:47] <teward> glad to hear it
[20:47] <kaleidoscope> but i now am running into another problem. it seems netplan is ignoring sysctl and assigning ipv6 to my NIC.
[20:47] <kaleidoscope> i can run sysctl -p to disable it, but i assumed this was done at boottime
[20:48] <kaleidoscope> is there any method to disable ipv6 via netplan? i run a vpn that only supports ipv4 and ipv6 opens a leak
[20:49] <kaleidoscope> sysctl.conf includes the following : https://ptpb.pw/ScDi : and is respected only when manually running sysctl -p
[20:49] <teward> you sure it's a publicly addressable v6?  it might just be a link-local address, and I don't think there's a way around that *currently*
[20:50] <teward> but don't quote me, I just disable all outgoing v6 via ip6tables (ip6tables -A OUTPUT -j DROP)
[20:50] <teward> (it's probably not the safest way to do that thonugh)
[20:59] <kaleidoscope> teward: i did some testing and yes, it can retrieve webpages via 'curl -6'. i believe link-local address starts with "fe80" and my main ipv6 addresses has my ISP's prefix. but thank you for the tip
[20:59] <teward> kaleidoscope: i'd just turn off v6 dhcp, and leave it as a link-local address then
[21:00] <teward> i think there's a way to do that but I don't remember it, I have it on my computer but not here (I'm on my phone here right now)
[21:00] <kaleidoscope> teward: see, that's what i saw as well, but does that only work for dhcpv6? i only use radvd for my gateway
[21:01] <cyphermox> kaleidoscope: accept-ra: no
[21:04] <kaleidoscope> cyphermox: awesome, that works perfectly, thank you
[21:05] <cyphermox> kaleidoscope: np
[21:09] <kaleidoscope> perfect
[21:10] <kaleidoscope> netplan is working and dns is working again (using resolved stub)
[21:10] <kaleidoscope> thank you teward for your help :)
[21:16] <cyphermox> kaleidoscope: great
[21:16] <cyphermox> kaleidoscope: if you have questions don't hesitate on #netplan too
[21:17] <kaleidoscope> cyphermox: ah, didn't know there was a netplan channel! thank you for that, i'll ask questions there if i run into networking problems again