/srv/irclogs.ubuntu.com/2020/07/31/#ubuntu-server.txt

=== tds1 is now known as tds
=== StathisA_ is now known as StathisA
=== Napsterbater_ is now known as Napsterbater
=== Napsterbater is now known as Guest24862
=== Napsterbater_ is now known as Napsterbater
UssatSo, I know this is Ubuntu Server, but just a FYI, if anyone has RHEL / Centos Servers, DONT PATCH NOW:  https://pastebin.com/uGgCmVsQ14:47
tomreynUssat: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/188950915:39
ubottuLaunchpad bug 1889509 in grub2 (Ubuntu) "grub boot error : "symbol 'grub_calloc' not found" [High,Confirmed]15:39
UssatNIce15:39
UssatYa I have put off all patching untill confirmed fixes15:39
AmadexHellou :D17:31
rangergordUssat, if that package had been a snap, it would have auto-updated and you'd be screwed18:42
rangergordstuff like this is a great example were complaining about inability to disable automatic updates of snaps18:43
rangergordfrankly it's almost insulting for Canonical to insist on this18:43
oerheksone can schedule snap updates.18:43
rangergordyou mean defer for a short period of time18:44
rangergordcan I tell it "don't update this package unless I tell you to?" No.18:44
rangergordto me, a snap == rolling distro. LTS stops having any meaning.18:45
oerheksyes; refresh.hold: delays the next refresh until the defined time and date18:45
rangergordcan I set that date to 2030? When I followed the discussion on launchpad, the dev insisted it's their philosophy not to let you defer by more than a couple of weeks.18:46
oerheksseems like you are just parrotting18:46
rangergordI'm parroting the Canonical dev working on snapd18:47
rangergord(one of them)18:47
DammitJimsince what LTS version did we make apt the standard instead of apt-get or do I have that backwards?20:28
sarnoldapt is the new front-end20:28
oerheksboth are valid.20:29
DammitJimsarnold, since when? I'm trying to come up with standards at my office as to what we should use but I also don't want people to get confused20:29
DammitJimwe still have Ubuntu 16 servers20:29
oerheksapt is just superiour.20:29
DammitJimwhat I'm starting to run into is apt is more robust and has more options20:29
sarnoldDammitJim: apt is better for interactive use; apt-get is better for scripted ues20:29
DammitJimis apt-get looked down upon?20:29
DammitJimour scripts all use apt-get20:29
sarnoldDammitJim: apt upgrade is far safer than apt-get dist-upgrade, and handles more conditions than apt-get upgrade20:29
oerheksThe reality is that the first stable version of apt was released in the year 2014 but people started noticing it in 2016 with the release of Ubuntu 16.0420:29
DammitJimand that was one of the things I was going to ask my team to start changing20:30
oerhekshttps://itsfoss.com/apt-vs-apt-get-difference/20:30
DammitJimso, if I said.. hey guys, from now on (now that we finally put to sleep the last Ubuntu 14 server) we are using apt instead of apt-get, I won't run into any inconsistencies, right?20:30
oerheksnope, you are fine.20:30
oerhekswhen some dependensie issue pop up, apt install -f20:31
DammitJimwhy did you feel you needed to make that last comment about apt install -f?20:31
oerhekssee apt vs apt-get, apt-get does not solve those issues on that level20:32
DammitJimwhat? apt-get still has a lot more functionalities to offer than apt? (per the link)20:33
DammitJimhhhmmmm... maybe I should stick with apt-get and not complicate things20:33
oerheksno, but an interesting conclusion20:34
oerheksyou have no need to edit your scripts now, indeed20:34
DammitJimok, thanks!20:34
sdezielsarnold: the link from oerheks says that 'apt-get dist-upgrade' is replaced by 'apt full-upgrade'. Being an all time user of apt-get dist-upgrade, I'd like to know which replacement is better and for what reasons ;)20:50
sarnoldsdeziel: hah, good question. I'm sure someone here's told me once before what full-upgrade does that's better than dist-upgrade but I've forgotten :(20:53
sdezieldang... it's OK20:54
sdezielthx20:54
Ussatrangergord, re: snaps, I rip them totally out of all my installs21:04
oerhekswithout snapd, no livepatch for you.21:06
Aison0Why is isc-dhcp-server accessing the ldap server? I have many of those messages: audit: type=1400 audit(1596185703.828:9389): apparmor="DENIED" operation="connect" info="Failed name lookup - disconnected path" error=-13 profile="/usr/sbin/dhcpd" name="run/slapd-inetserv.socket" pid=97436 comm="isc-worker0000" requested_mask="wr" denied_mask="wr" fsuid=110 ouid=021:43
sarnoldAison0: wild guess, is your nsswitch configured to do lookups for something through ldap?21:45
sdezielAison0: is this when dhcpd starts up?21:45
Aison0Aison0, yes21:45
Aison0I'm using nssswitch to lookup ldap user/groups21:45
Aison0sdeziel, no, it happens regularly. dmesg is completele spamed with the message above21:47
sdezielAison0: hmm, I'd probably strace dhcpd's PID around the time those audit messages/Apparmor failures get logged21:49
sdezielI can't think of anything obvious that would explain why dhcpd would do LDAP lookups21:50
sdezielAison0: maybe pastebin your nssswitch.conf?21:50
Aison0https://paste.ubuntu.com/p/CTBgmGF5tR/21:51
sdezielhosts:          files dns ldap21:51
sdezielthat's possibly why it's trying to reach out to LDAP21:52
sdezielpotentially trying to do a reverse DNS lookup or something21:52
Aison0hmm21:59
sdezielor potentially trying to resolve forward DNS from the config?21:59
sdezielstrac'ing should tell you22:00
Aison0damn connection...22:24
sarnoldAison0: the last we saw was: < Aison0> hmm  and you might have missed: < sdeziel> or potentially trying to resolve forward DNS from the config?  < sdeziel> strac'ing should tell you22:26
Aison0thx22:26
Aison0I disabled ldap for hosts22:26
Aison0maybe that's it22:26
sarnoldany success?22:26
sdezielcould also be used for the networks and aliases lookup. I honestly don't know what those are :/22:27
=== RoyK^ is now known as RoyK

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