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

=== nolan__ is now known as nolan_
=== cpaelzer__ is now known as cpaelzer
lordievaderGood morning07:57
hwpplayer1lordievader : Good morning08:01
lordievaderwaveform:08:01
lordievaderWhoops, I meant 👋08:01
RepoxHello. I'm having some issues with Ubuntu 18.04 and netplan (apparently). After doing some package updates on my server, network is now unreachable. I don't have much experience with netplan and now my hosting provider stopped responding as they "don't provide software support". I've been down for the past three hours, sadly.09:47
=== nolan__ is now known as nolan_
lordievaderIf you don't have experience with netplan you can ditch it for something you do know.10:05
RepoxI wasn't aware. Can I just disable it? ifupdown isn't installed currently, and because I can't get online I can't install that package.10:07
kiokomanRepox: you can still create/modify /etc/network/interfaces and reboot/restart networkmanager10:23
Repoxkiokoman I tried adding /etc/network/interfaces and wrote a manual config and did systemctl restart systemd-networkd, but I still can't reach the network?10:25
weedmici wrote a user creation programme that prompts the details for netplan10:27
kiokomanRepox: check with -> ip address <- if it's configured10:29
kiokomanor try ro reboot10:30
deadromhi11:11
deadromin 18.04, what's the preferred method to create regular full backups for bare metal restore to a network storage?11:12
deadrom...of the OS11:16
qman__deadrom: rsync12:56
lordievaderOr a frontend of rsync: dirvish13:00
rbasakahasenack: how's the MySQL my_bool change looking? Do you have any remaining packages that need fixing?13:10
ahasenackrbasak: I'm https://bugs.launchpad.net/ubuntu/+source/zoneminder/+bug/1859295working on the zoneminder runtime issues now,13:11
ubottuLaunchpad bug 1859295 in zoneminder (Ubuntu) "zoneminder 1.32.3-2build1 does not work with MySQL 8" [Undecided,New]13:11
ahasenackrbasak: maybe take a look at clickhouse?13:12
ahasenackthese are the two remaining ones (clickhouse and zonemindeR)13:12
ahasenackrbasak: for clickhouse, I have these notes: "clickhouse: my_bool typedef wasn't enough, it failed elsewhere now. Check LP #1840938"13:12
ubottuLaunchpad bug 1840938 in clickhouse (Ubuntu) "Please remove clickhouse from the release pocket" [Undecided,Fix released] https://launchpad.net/bugs/184093813:12
rbasakahasenack: OK, I'll loock at clickhouse13:15
ahasenackrbasak: my build attempt from the ppa: https://launchpad.net/~ahasenack/+archive/ubuntu/mysql8-my-bool-removal/+packages?field.name_filter=clickhouse&field.status_filter=published&field.series_filter=13:16
cgianyone here who has setup a mongodb cluster recently?13:59
cgiWhen I do IP whitelisting - how secure is that to outside attacks? I am trying to run a dabase with 3 local machines, only accessible to 192.168.*14:00
UssatHow positive are you that no bad actor will ever have one of those ip's ?14:02
tomreyncgi: i would not want to run mongodb or any database on a system with an internet connected network interface without a firewall. but YMMV, in the end it all comes down to "how sensitive is this data", and what's your effort / benefit evaluation?14:32
rbasakI would say that it's not just your data at risk, but your entire system.14:32
rbasakPlus your hosting/connection if a system is compromised and use for abuse14:33
rbasakused for abuse14:33
rbasakeg. spam14:33
tomreyngood point14:37
cgitomreyn, if the port is closed for outside IPs - how does one attack it?14:47
tomreyncgi: in the scenario you described, the port would not be closed to ingress traffic from the internet (unless there would be an additional firewall between the host and the internet)14:50
tomreyncgi: should vulnerabilities become known which allow for circumventing source IP address based ACLs, or should software lack such in the first place (mongodb is well known for having had this specific issue), then (or should i say in general) you'll better have network segemntation in place.14:53
alfatauhi everybody. I'm planning to install a new ubuntu 18.04 server edition. Actually I'm running an old 12.04 that has been out of support since 2017. Can you advise me some free very-concise-and-practical documentation to basically learn the main differences and advantages between "legacy" administrative tools and newest one (e.g. ifconfig vs14:55
alfataunetplan, apt-get vs snap, ...). My target is to have an overview of what's new and why some tools have been replaced. Then I'll deepen each new tool when needed. thank you in advance14:55
tomreyncgi: scenarios where you rely just on ACLs (but network connectivity is enabled FROM ANY) can also still be subject to traffic amplification attacks, potentially brute force attacks.14:55
tewardrbasak: re: your reply on 1743592 today - I think it's too late in the cycle to consider that change - if only because there may be automated log parsers that are not configured properly for this (fail2ban for instance) which will detect a v6 IP and use ip6tables which might not catch the v4 traffic properly.15:02
tewardI think any major fundamental change to the nginx logging mechanism in the default setup like this needs to happen way earlier in the cycle.15:02
tewardand not 3 days before FF15:02
teward(my two cents as the nginx maintainer)15:03
tewardwhich is why I had said in the bug that we should consider that as a 20.10 change15:03
tewardi don't want to have to go fixing fail2ban, etc. this late in the cycle15:03
tewardi don't disagree it's a 'good solution' but this close to FF and this late in the cycle I think it's too late to contemplate changing default logging format for IPs.15:04
rbasakteward: fail2abn is a good shout15:04
rbasakThough I would argue that this is what feature freeze is for - to stop changing things like default log formats, so other tooling can have bugs in their parsing fixed, etc15:04
rbasakI don't disagree with you though - it's an important consideration. I remain on the fence15:04
tewardgood point, I don't disagree, but i'm still hesitant making this the default 3 days before FF, and because I use F2B in many environments where nginx runs, I'm reallllllll hesitant to make this change until I do heavy-duty testing in a dev environment15:05
tewardso I think for 20.04 I'm going to say "Let's defer the discussion of this change to 20.10, until we do more in-depth testing on how this will affect f2b and others we're aware of that parse logs for security purposes"15:05
tewardbecause I'm realllllllllllllll hesitant changing that this late in the cycle (even though it's not FF< that's still 3 days away...)15:06
tewardnot opposed ot the discussion for 20.10 and beyond, but fully opposed to making that change for 20.04 at the moment15:06
teward'cause I want to see what F2B does with that change in place from a logging perspective - it might "just work" or it might barf hard, but I want to make sure stuff "works" for the LTS :P15:06
tewardrather than introduce a change and scrable to fix F2B and other Universe items (though I don't think their autopkgtests will catch it)15:07
rbasakI understand15:07
tewardgranted, I have no true say in it, but I'm thinking it's better to err on the side of caution :p15:07
rbasakYou absolutely do have a say15:08
rbasakIt'll be a collective decision15:08
tewardforgive E:FailToMakeSense, I'm not caffeinated yet.15:08
rbasakBut your opinion does weigh in15:08
tewardE:BusyMorning15:08
tewardglad to know it does :)15:08
=== hggdh-msft is now known as hggdh
=== nolan__ is now known as nolan_
cgiis there a good place to install redis 5 for ubuntu 18.04LTS?22:22
pragmaticenigmacan you be more specific in your question cgi?22:22
pragmaticenigmadefine "good place" for us22:23
cgipragmaticenigma, I can install from source. Is there a better way to get redis 5?22:23
pragmaticenigma!info redis22:25
ubotturedis (source: redis): Persistent key-value database with network interface (metapackage). In component universe, is optional. Version 5:4.0.9-1ubuntu0.2 (bionic), package size 3 kB, installed size 70 kB22:25
pragmaticenigmacgi, redis v5 is already available in the repositories... no need to install from source22:26
pragmaticenigmacgi, "sudo apt-get install redis-server" should get you up and running22:26
cgipragmaticenigma, 5:4.0.9-1ubuntu0.2 - which version is that 4.0.9? or 5.x?22:28
tomreynupstream 4.0.922:32
cgitomreyn, is there a place I can get 5.x redis for ubuntu 18.04LTS?22:34
tomreyncgi: possibly, but not in ubuntu22:35
tomreyni believe in your ability to run a web search22:35
pragmaticenigmacgi, Also, you can wait a couple months as redis 5 will be available in Ubuntu 20.0422:36
cgipragmaticenigma, is 20.04 an LTS coming out in april?22:41
tewardcgi: yes22:43
pragmaticenigma!YY.MM | cgi22:44
ubottucgi: Ubuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle22:44

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