/srv/irclogs.ubuntu.com/2018/07/24/#ubuntu-server.txt

tomreynhow would you setup and manage networking on a single KVM based HV (no HA) with an IPv4 /28 and IPv6 /64 which you'll manage via CLI (libvirt-bin or similar) only?09:54
mnms_Hi.. looking for solid guide about hardening fresh ubuntu server, could you recommend something?11:04
blackflowmnms_: https://wiki.ubuntu.com/Security/Features    and    https://gist.github.com/ageis/f5595e59b1cddb1513d1b425a323db04    and employ AppArmor wherever possible. The second links a bit old, those aren't all security features available through systemd, so check its docs too.11:24
mnms_blackflow thx11:38
ahasenackrbasak: hi, is the importer stuck by any chance?12:25
ahasenackrbasak: https://git.launchpad.net/~usd-import-team/ubuntu/+source/autofs/tree/debian/changelog is at 5.1.2-3ubuntu2, rmadison shows cosmic at 5.1.2-4ubuntu112:25
rbasakLooking12:26
rbasakYes, the host was rebooted a week ago12:28
rbasakLooking into why12:28
rbasakThe logs have rotated out :(12:30
rbasakRestarted12:31
ahasenackjamespage: hi, isn't crmsh used quite a log in openstack xenial deployments?13:54
ahasenackI came across https://bugs.launchpad.net/ubuntu/+source/crmsh/+bug/1687095 and "crm cluster health" just can't work in xenial because of the missing dep, and I also added the uca for a bunch of versions and the bug remains13:55
ubottuLaunchpad bug 1687095 in crmsh (Ubuntu) "crm cluster health: NameError: global name 'parallax' is not defined" [High,Confirmed]13:55
jamespageahasenack: we do but I don't think I have ever used 'crm cluster health'15:33
jamespagewe don't hold crmsh in the UCA, so I'm not surprised that made no difference15:33
ahasenackjamespage: ok, thanks15:34
=== jdstrand_ is now known as jdstrand
ahasenackrbasak: are you aware of known issues doing release upgrades from trusty to xenial with a mysql server installed?17:29
nacciirc, there were a bunch of bugs filed when xenial came out17:30
naccbecause the config changed dramatically (again, iirc)17:30
ahasenacklet me paste something17:31
ahasenacksee if it rings a bell17:31
ahasenackhttps://pastebin.ubuntu.com/p/M2RVQdv56P/17:31
ahasenackthat bit about the version, looks like not all packages were upgraded yet17:31
ahasenackthere are some apparmor denied messages, but they look like the usual to me, that I have seen in other bugs already17:33
naccahasenack: trusty has 5.5.6017:33
naccahasenack: and precise as 5.5.5417:33
naccahasenack: i guess maybe the upgraded at some point in the past? dunno, hard to say17:33
nacci *think* that's the postinst from mysql-server?17:34
naccahasenack: which implies that it didn't stop the old one?17:34
naccstop/remove17:34
tomreyn5.5 to 5.7 involves innodb + utf-8 collation by default (for new DBs), and strict mode on by default, IIRC.17:34
ahasenackyeah, something like that17:35
naccahasenack: it feels faimilar, but i'm not 100%, i tihnk you'd need rbasak17:35
rbasakI've not seen that before17:38
rbasakThe postinst is running mysql_upgrade as expected, but the server daemon appears not to have restarted17:39
rbasak"start: Job is already running: mysql"17:40
rbasakDid it fail to stop previously?17:40
rbasakNeed reproduction steps I think. Given I've not seen it before, I'd want to rule out user misconfiguration first.17:41
naccahasenack: fwiw, per publishing history of mysql-5.5, that version was superseded in trusty around april 201717:42
naccactually january!@17:42
naccso i'd be likely to suspect pebkac17:42
ahasenackyeah, I got 5.5.60 when I created my test container17:43
rbasakSome customisation of the service locally perhaps, which prevents the maintainer scripts from being able to affect it.17:43
ahasenackrbasak: I don't see any messages about stopping mysql, or restarting17:43
rbasakI'd expect that to be earlier in the log17:47
ahasenackthere is this, though17:47
ahasenack180723 11:46:14 [ERROR] /usr/sbin/mysqld: Table './asterisk/freepbx_settings' is marked as crashed and should be repaired17:47
ahasenack180723 11:46:14 [Warning] Checking table:   './asterisk/freepbx_settings'17:47
rbasakAt least to see that the preinst i running, et17:47
ahasenackdon't know if that was just before the upgrade, or during17:47
ahasenackhttps://launchpadlibrarian.net/379751877/DpkgTerminalLog.txt dpkg terminal log17:47
rbasakI think it's fine to mark as Incomplete with our standard template.17:47
rbasakIf the user thinks it's a bug, they can provide reproduction steps17:48
ahasenackthat's usually hard with release-upgrade bugs17:48
rbasaklxd helps with that17:48
ahasenack"Restart services during package upgrades without asking?" <-- I wonder what he answered17:52
rbasakI think that relates only to libc6. Not sure though.17:54
rbasak(as in libc6's maintainer scripts)17:54
ahasenackoops17:56
v0lksmanhello all! installing apache2 on 18.04 but it seems I18:41
v0lksman'm missing something cause php7 doesn't want to execute when hitting index.php18:41
v0lksmanany hints?  seems apache2 comes pretty bare bones now and you have to manually enable all the mods18:42
v0lksmanahh poop....libapache2-mod-php...thought that was already in18:43
tomreynneither is php only a web scripting language nor can apache httpd be only used with php (and scripting/programming language enabling modules are generally not part of the apache httpd core), so no, it's not.18:48
sarnoldv0lksman: did you a2enmod php or whatever?18:51
v0lksmanI was just missing the mod...thought I had already installed it18:52
naccv0lksman: it depends on the version of ubuntu you're on, but on 18.04 it should do what you said19:09
DammitJimis there such a thing as a tomcat repo for ubuntu 18.04 ?19:39
naccDammitJim: probalby a ppa19:39
DammitJimI've been googling but can't find one19:39
DammitJimall the tutorials I see online now use wget to download the gz19:40
sarnoldif you're going to that much trouble you might as well maintain the one inthe archive :)19:42
DammitJimwhich trouble and what archive?19:43
nacc!info tomcat819:43
ubottutomcat8 (source: tomcat8): Apache Tomcat 8 - Servlet and JSP engine. In component universe, is optional. Version 8.5.30-1ubuntu1.2 (bionic), package size 43 kB, installed size 314 kB19:43
DammitJimI was looking for a ppa... and was trying to make sure I wasn't missing something since I can't find it19:43
naccthat one :)19:43
naccarchive = Ubuntu archive19:43
DammitJimoh, so there is no ppa19:43
sarnolddunno, I never looked ;)19:43
sarnoldthere is a package in the archive, but it's commuynity maintained19:44
naccDammitJim: i mean there can be PPAs of archive pacakges19:44
nacc!ppa19:44
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge19:44
sarnoldwhich might mean, in practice, no one maintains it.19:44
naccyou can search there --^19:44
sarnoldand if you have to build one yourself, it'd probably be less effort to maintain the one inthe archive, and let everyone benefit from your work :)19:44
tomreynDammitJim: so why are yuo looking for a ppa? is the version in ubuntu too old / new for your needs?19:46
DammitJimactually, you guys are right... man, the mind can screw you up if you don't learn how to control it19:47
DammitJimI have been googling how to install tomcat on ubuntu 18 and all I find are tutorials to install from source19:48
DammitJimI assumed that there is no way to say: apt-get install tomcat19:48
DammitJimwhoa19:48
tomreynyou can even choose from major upstream versions19:49
genii!info tomcat 919:56
ubottu'9' is not a valid distribution: artful, artful-backports, artful-proposed, bionic, bionic-backports, bionic-proposed, cosmic, cosmic-backports, cosmic-proposed, kubuntu-backports, kubuntu-experimental, kubuntu-updates, partner, precise, precise-backports, precise-proposed, stable, testing, trusty, trusty-backports, trusty-proposed, unstable, utopic, utopic-backports, utopic-proposed, vivid, vivid-backports, vivid-proposed, wily, wily-backports, wi19:56
genii!info tomcat919:56
ubottuPackage tomcat9 does not exist in bionic19:56
geniiOK so 8 and 7 still currently19:57
DammitJimI think it's 8.519:57
DammitJimhttps://bugs.launchpad.net/ubuntu/+source/tomcat8/+bug/171264520:02
ubottuLaunchpad bug 1662654 in tomcat8 (Ubuntu) "duplicate for #1712645 Please remove resteasy (3.1.0) from zesty-proposed" [Undecided,Fix released]20:03
DammitJimweird20:03
DammitJimtomcat 8 is end of life20:03
DammitJimoh, interesting.. the package is called tomcat8, but it's acually 8.5.3020:05
ScottETomcat 8.0 and 8.5 are not completely compatible, either - just to make things more fun20:21
* RoyK thinks tomcat and other java stuff should be left untouched20:23
DammitJimRoyK, I'm with you; however, I'm forced to touch it since our company uses it... it's truly a mess... to keep Ubuntu Version + Tomcat Version + Java Version + Grails Version compatible and supported (not EOL)20:41
ScottEIf that's not all bad enough, soon to use Java in a production environment will require either using openjdk or paying oracle for a commercial license.20:45
tewardstate your source?20:46
DammitJim+1 teward20:49
ScottEhttp://www.oracle.com/technetwork/java/eol-135779.html - "Beginning with Oracle Java SE 11 (18.9 LTS), the Oracle JDK will continue to be available royalty-free for development, testing, prototyping or demonstrating purposes."20:59
RoyKDammitJim: my condolences21:01
DammitJimlol21:02
DammitJimty21:02

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