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

tewardRoyK: i think i found the problem... this workstation has an nvidia card in it and has drivers installed for the ability to utilize the GPU for some data processing.  I think that Failed to Build and caused the issues.01:17
tewardor that the version of the kernel or something exploded it, it *looks* like it's OK now but not sure...01:17
tewardwe'll see if this fixes it *yanks out the graphics driver while in the older kernel*01:18
RoyKteward: hehe02:04
tewardaaaaand it still explodes.  I'll just say "Screw It" and nuke it and put 16.04 on it, then containerize the 18.04 instances (or Virtualize them in my VMware cluster instead, depending on what resources I need)02:12
=== rchavik_ is now known as rchavik
RepoxHello. Unfortunately, I'm in need of installing a very old version of PHP, a large site that currently uses PHP 5.1 and the size of the system makes it almost an impossible task to update. Is it possible, in any way, to install that old a version of PHP?07:03
kstenerudrepox: You could try creating an lxd or docker container that's based off an older version of the OS which has packages for that version od PHP07:23
zzarrHello!07:58
zzarrI'm responsible for a server that keeps crashing about 30-40mins every night or so, is there a way to monitor the status of the machine in order to see if it's a hw issue or something else?08:01
zzarrI should say it's a VM the company rent from another company so I don't have access to any BIOS or such08:06
mfoxnox, hi. re: systemd in xenial-proposed. i see you verified the pending LP bugs, cool.  anything else i should be doing other than leaving you alone and waiting (hm, and because it's sytemd, the #days in proposed criterion is like, more than the usual 7 days?)  thanks :)12:12
ahasenackgood morning12:33
ahasenackkstenerud: I see you grabbed the fetchmail bug, correct?12:46
kstenerudahasenack: yes, but I'm hitting a git ubuntu build bug12:50
ahasenackwhich one? :)12:50
kstenerud10/24/2018 05:29:23 - ERROR:stderr: awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory12:50
kstenerud  awk: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory12:50
kstenerud 12:50
ahasenackok12:51
ahasenackI did some snap reverts to fix that12:51
ahasenacklet me show you what I'm running12:51
ahasenackcore        16-2.35.5             5742  beta      canonical✓  core12:51
ahasenackgit-ubuntu  0.7.4+git107.2aadcff  438   edge      canonical✓  classic12:51
rbasakThat should have been fixed in edge a while ago.12:52
rbasak(edge git-ubuntu with any core snap)12:53
ahasenackkstenerud: can you try the above revisions12:53
ahasenack?12:53
kstenerudumm not sure how to do that. There's nothing to revert to12:53
ahasenackkstenerud: check the revisions first, use snap list --all12:53
kstenerudgit-ubuntu  0.7.4+git16.0a79cbc  391   stable    canonical✓  classic12:54
kstenerudthat's all there is12:54
ahasenackkstenerud: switch to the edge channel for git-ubuntu12:54
rbasakSwitch to edge and that should be sufficient I think.12:54
rbasakExcept for this new build-source regression :-/12:54
kstenerudhow do I do that?12:54
* rbasak should fix that12:54
rbasakkstenerud: snap refresh --classic --edge git-ubuntu12:54
ahasenackkstenerud: check arguments for snap refresh12:54
rbasak(with sudo probably)12:55
ahasenack^that12:55
ahasenackrbasak: no ping from smoser yet?12:55
rbasakNo. I'll revert.12:55
ahasenackkstenerud: if you get git-ubuntu r439, there is another bug, you have to revert to r438 then. I ssume that is still available in the store, and not just locally12:56
kstenerudahasenack: I can only revert to 43912:58
ahasenackkstenerud: have you tried snap revert --revision=438 git-ubuntu ?13:00
rbasakI've pushed the revert and fired off a build. I should be able to fix edge in about half an hour if the build succeeds.13:00
kstenerudcannot find revision 43813:00
ahasenackkstenerud: ok :(13:00
ahasenackkstenerud: I guess use the traditional way for now. Create the container, scp the git tree there, and build there13:00
kstenerudok13:00
ahasenackor sbuild, or any other of the common tools to build packages in a pristine environment13:00
ahasenackkstenerud: did you reproduce the fetchmail ssl problem with gmail?13:01
kstenerudyup13:01
ahasenackcool13:01
kstenerudahasenack: git ubuntu build and build-source both fail. Is there another way to build?13:06
ahasenackkstenerud: create a container, scp/rsync the git tree there, cd into it, run "sudo apt-get build-dep ./" to install build dependencies, and then run "dpkg-buildpackage -us -uc -S" for source, and sans the -S for binaries13:07
ahasenack-us -uc is to not debsign it,  you can omit those if you want to sign13:07
kstenerudbleh13:27
kstenerudbuilddeps:./ : Depends: libgssglue-dev but it is not installable13:27
ahasenackdid you run apt-get update?13:28
kstenerudoh right13:28
kstenerudhmm13:32
ksteneruddpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../fetchmail_6.3.26.orig.tar.{bz2,gz,lzma,xz}13:32
SJrUh... I noticed this morning that MySQL was dead in the water. Before it shutdown systemd in journalctl says "Starting Daily apt download activities", then "Stopping MySQL Community Server"... Then mysql shutsdown then systemd says "Stopped MySQL Community Server" and then it says reloading a bunch of times, does it and is complete.13:38
SJrWhat is the best way to turn that off? Do I just kill app-daily.timer, app-daily-upgrade.timer?13:39
wrmade a NTP server config https://paste.ee/p/glq8t#9epWVpo4XpxTPHodZQSQqoghZwOLePeo is this accurate?13:51
ahasenackkstenerud: you can fetch the upstream tarball via git ubuntu: git ubuntu export-orig13:55
ahasenackor install ubuntu-dev-tools and use "pull-lp-source -d <package> <ubuntu-release>"13:55
ahasenackthat will download the source package which will contain the orig tarball, and -d is to not extract it13:55
ahasenackSJr: that's from unattended-upgrades, a package13:56
ahasenackSJr: it has config options in /etc/apt/apt.conf.d/*13:56
ahasenackSJr: you can blacklist packages there, for example, and adjust many other settings13:56
ahasenackSJr: or remove it entirely if you prefer, of course13:57
rbasakSJr: that was a MySQL security update. You should probably be updating these. If there was a problem with the update, let's fix that :)14:35
* RoyK thought mysql was replaced by mariadb14:42
compdoci though only maria could use mariadb14:43
ahasenackrbasak: my samba bionic sru upload was correctly rejected because it missed this: https://pastebin.ubuntu.com/p/VBS6vz7Jtv/14:48
ahasenackrbasak: can I just fix, push the tag and upload again, or do we want to review this change?14:48
ahasenack"Rejected by Brian Murray: No Launchpad-Bugs-Fixed in the changelog / .changes file."14:49
ahasenackit's correct in cosmic14:50
rbasakahasenack: I don't think I need to review that. I think self-approving that kind of thing is fine.14:51
ahasenackrbasak: ok, I'll update the upload tag as well14:52
ahasenackrbasak: is the snap published yet?14:55
rbasakI'd left Jenkins running. Let me see if I can upload it now.14:57
rbasakIt's ready, publishing now.14:57
ahasenackkstenerud: ^that snap should work wrt build{,-source}14:58
ahasenackr440 I suppose14:58
rbasakUploaded, just waiting for the store now. It's usually a minute or two.14:59
rbasakYeah I see it'll be r440 if it is approved14:59
rbasakRoyK: nope.15:03
rbasakRoyK: both are packaged and available in Ubuntu.15:03
rbasakMySQL is in main.15:03
rbasakMariaDB is in universe. It gets looked after by a volunteer.15:04
rbasakahasenack: kstenerud: fixed git-ubuntu published in edge.15:09
ahasenacknice15:09
rbasakI shouldn't have hesitated yesterday to revert. Sorry.15:09
ahasenackDownload snap "git-ubuntu" (440) from channel "edge"                                                                                                                                                              -15:10
ahasenackDownload snap "git-ubuntu" (440) from channel "edge"                                                                                                                                                              -15:10
ahasenackDownload snap "git-ubuntu" (440) from channel "edge"15:10
ahasenackops, sorry15:10
ahasenackcopy & paste of terminal lines that have progress status is bound to be a mistake15:10
SJrrbasak, how would I fix that, submit a bug to the package maintainer?15:46
rbasakSJr: start by identifying whether it's a problem on your local system first please.15:50
rbasak(I am the maintainer)15:50
SJrAh well I'm not sure rbasak, just to make sure, I'm using MySQL Community 5.7.24 (not Maria DB, which is the default in Ubuntu). I don't see anything in the logs, other than systemd shutting it down. I don't see any attempt at starting it back up.16:40
SJrThe only log entry in the mysql unit is that systemd is stopping it, apt-daily doesn't mention anything. The apt log, just says mysql-server and mysql-server-core were changed.16:42
SJrIt started right back up, when started mysql up without incident, and the shutdown was clean.16:42
rbasakSJr: MariaDB is not the default on Ubuntu.16:43
SJrI found a stack overflow post about this with no real answer.16:45
SJrhttps://askubuntu.com/questions/1037285/starting-daily-apt-upgrade-and-clean-activities-stopping-mysql-service16:45
rbasakSJr: you could try downgrading and then trying an upgrade manually to get an idea of what might be going wrong. Or indeed just "apt-get install --reinstall mysql-server-5.7" might reveal any problems.16:45
rbasakThe upgrade absolutely will stop and start the service. That part is expected.16:45
rbasakYou shouldn't need to manually restart it though.16:46
SJrYeah that part I expect to, but the stack over flow post is complaining about it not being restarted.16:46
SJrHrm running that apt command says "AUtomatic maintenance of MySQL server daemon disabled. Packaging maintainer scripts detected a case that it does not know how to handle and cannot continue configuring MySQL. Automatic management of your MySQL installation has been disabled to allow other packaging tasks to complete, For more details, see /etc/mysql/FROZEN"16:47
SJr"In this particular case, an incompatible downgrade attempt has been detected. This can be resolved in one of two ways..."16:49
rbasakAh16:50
SJrI'm not sure what it is detecting, apt says: "Unpacking mysql-server-5.7 (5.7.24-0ubuntu0.18.04.1) over (5.7.24-0ubuntu0.18.04.1) ..."16:50
rbasakThat's your problem. It's not a bug in the package - your system has a broken installation caused by switching from MariaDB to MySQL.16:50
SJrI dunno if I would say it's a bug in the package per say, but this is less than ideal. Basically a working mysql installation will get stopped without incident, and then upgraded, and then just not restarted for reasons that have no visibility in the system logs and aren't apparent looking at that folder.16:52
SJrThis kind of failure, should not upgrade the package and just leave it stopped.16:53
rbasakI agree it's not ideal.16:57
rbasakWe started doing it this way because we didn't think the situation was enough to warrant breaking users systems by failing the maintainer script.16:58
rbasakThe intention was to leave the system alone rather than mess with it.16:58
rbasakShutting down the daemon first is obviously not desireable.16:58
SJrThe error reporting is not great either, the status of the mariadb packages was rc (removed but config files present), I have purged those packages, and yet it still won't install.17:00
SJrIs it time to bust out strace to see what it's looking at17:00
rbasakIt's because your database in /var/lib/mysql isn't clean. It's likely been modified by MariaDB (internal schema upgrade to MariaDB-specific things) in a way that MySQL can't necessarily understand.17:01
SJrYet mysql has run without issue for months17:01
rbasakYou should treat your databases as corrupt and recover them as if MySQL encounters something that MariaDB did you might get undefined behaviour.17:01
rbasakDepends on what queries you run.17:01
rbasakOr a future security update might cause it to fail, etc.17:02
rbasakYou might even be getting bad query results without realising.17:02
SJrHow many heuristics are there that you are checking? This seems unlikely, I'm 80% confident I completely nuked this directory during the switch.17:05
rbasakYou definitely didn't, because it's the mismatching /var/lib/mysql/*.flag files that are stopping the maintainer scripts from touching it.17:08
rbasakThat's the only heuristic.17:08
SJrThere are no files in there.17:09
SJrwith *.flag17:09
rbasakOh17:09
rbasakThen you need to remove /etc/mysql/FROZEN17:09
SJrThere is an old directory called /var/lib/mysql-5.7 that might be left over garbage.17:09
rbasakMismatching *.flag enters the frozen state. You have to remove FROZEN to get out of it. This is documented in the message.17:09
rbasakI don't believe the packaging will touch that.17:10
rbasakI forgot about the latching behaviour, so I was wrong about "definitely" above, sorry.17:10
SJrOh so yes, FROZEN is very old actually.17:11
rbasakOnce you've removed FROZEN, I'd run the reinstall again just to check that the maintainer scripts will no longer complain. Note that they'll try to touch the database for the first time in a while, so depending on the previous state you may get an attempted schema upgrade etc, so watch out for your data (have backups etc).17:12
SJrIs there anything to write a bug report about or improve it? For instance actually log something in systemd? Not do unattended upgrades if you are frozen?17:13
SJrThe stack overflow post number one suggestion is to disable automatic updates.17:13
SJr:)17:13
rbasakI think there are improvements that can be made, yes, so please feel free to file a bug.17:15
rbasakI think the essence is that once in frozen mode, after a reboot the daemon may still start, and upgrading will stop it.17:15
rbasakAnd secondarily that it didn't log the message where you expected to find it.17:16
SJrSo the bug gets filed on launchpad against the mysql-server-5.7 package?17:17
rbasakYes, thanks!17:19
rbasakPlease could you also explain in your report where exactly you looked for the logs (ie. where you expected to find the note)?17:19
rbasakThat'll help inform where to put things.17:19
rbasakFor example using logger to dump to syslog (which should end up in the systemd journal I think) that we refused to start the daemon should be really easy to do, if that would have worked for you.17:20
SJrYeah also for your edification you should know that much of my config is actually managed by ansible with explicit stops and starts of services around installation and upgrades.17:21
SJrI remember maria having some weird issue that I didn't want to deal with and then being in hell for an hour while I switched.17:22
rbasakIn that case consider using mysql-server-core-5.7 only, without mysql-server-5.7.17:22
rbasakThat'll give you full control. You'll get the binaries only.17:22
rbasak(though in case of security update you'll have to take care of restarting the service yourself)17:22
rbasakI don't understand how you got MariaDB accidentally. It's not the default.17:23
rbasakThough also, if you're using ansible, then redeploy your server when you make a major change, please!17:23
SJrI didn't accidentally get it, I thought I should get with the times and use it, so I tried it and there was some small problem I didn't want to deal with.17:25
rbasakOh, I see, thanks.17:25
SJrIt's a good tip knowing about mysql-server-core-5.7, because yeah I found ansible is really going against the grain with a lot of ubuntu and interacts weirdly.17:26
rbasakMySQL development is still active, FWIW. The next Ubuntu release may have MySQL 8.0 if all goes well.17:26
SJrInteresting, well in 5 years when I upgrade this server off 18.04 I can finally partake :)17:31
SJrIs there a reason launchpad doesn't let me select mysql-server-5.7 as a bug and only mysql-5.7?17:39
rbasakOh, sorry, yes.17:40
tewardSJr: because mysql-server-5.7 is a binary package created from the mysql-5.7 source package17:40
teward^ that's why17:40
rbasakRight :)17:40
tewardso filing against mysql-5.7 on Launchpad is the correct thing to do.17:41
teward*hands rbasak the "You forgot to mention that" card*17:41
SJrThank you rbasak, and teward, I would not have figured this out at all without your help :)17:41
rbasakNot just that but I confirmed the wrong thing earlier. It even felt wrong to me at the time but I couldn't figure out why, so I concluded it was right :-/17:42
rbasakSJr: you're welcome. Thank you for the report. It will help us improve things for all users.17:42
naccmdeslaur: you might also want to chime in on https://answers.launchpad.net/ubuntu/+source/php7.0/+question/675535, if you have a moment17:46
mdeslaurnacc: ack, done17:49
naccmdeslaur: thanks!17:49
Epx998any one else reporting issues with cosmic in vmware?18:00
tomreynEpx998: someone else had trouble with it in #ubuntu today.18:02
tomreynvmware workstation though, but i guess it boils down to the same thing regarding vmware tools?18:02
SJrBug submitted, rbasak: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/179976318:13
ubottuLaunchpad bug 1799763 in mysql-5.7 (Ubuntu) "Frozen MySQL-Server does everything fine except security updates don't restart" [Undecided,New]18:13
sarnoldheh, love the launchpad id :)18:15
Epx998tomreyn: not sure, i cannot get thru the install.  Though I have esxi on a desktop upstairs and had no issue.  baremetal on another chassis and vmwar+dell resulted in failed deployments18:17
rbasakSJr: thanks!18:17
rbasakSJr: what a short IRC nick you have! :)18:17
SJrToo short for freenode?18:18
rbasakToo short for your Launchpad ID :)18:18
munsking_does anyone here use the nextcloud snap? i can't figure out how to change the https port18:20
munsking_on ubuntu server 18.04.118:20
munsking_this is also the first time i've used snaps18:21
naccmunsking_: `snap info nextcloud` -> contact: https://github.com/nextcloud/nextcloud-snap18:21
naccyou'd want to file an issue there, or look through their docs, etc.18:21
sarnold"If you'd like to change the HTTP port (say, to port 81), run:"18:21
sarnoldneat18:21
sarnoldnext line in the README includes https port :)18:22
munsking_nacc: thanks a ton, that's exactly the info i need, my own fault for not looking at github18:22
sarnoldnacc: does that also include where to file bugs?18:22
naccsarnold: i assume so, based upon it being the contact line18:22
naccthere are a ton of issues filed :)18:22
munsking_20 different guides and not a single one mentioned it18:22
naccmunsking_: `snap info...` is the first place i'd go to for any given snap18:23
sarnoldnacc: thanks, i've just seen a fair number of complaints about snaps just filed on any old random package on launchpad and wondered where to send people18:23
naccsarnold: yeah, it's a per-snap thing18:23
tomreynhttps://docs.snapcraft.io/configuration-in-snaps/51018:23
tomreynmunsking_18:23
naccyep, that's what's referred to on github as well18:24
munsking_yea, i'm sorry, i should have RTFM, i usually do...18:24
tomreynlooks like it's documented then.18:24
munsking_thanks a ton though, all of you18:24
naccmunsking_: not a problem! snaps are not obvious until you are used to them :)18:26
munsking_how do snaps update? are they "included" with apt update/upgrade ? or does it have its own manager?18:27
naccmunsking_: their own manager, they updated on a periodic timer18:27
naccmunsking_: iirc, it's a systemd timer, and it fires in some semi-random offset N times a day, where N might be 4 ?18:27
naccI can't recall for sure18:27
naccmunsking_: you might want to ask that in #snappy18:27
munsking_nacc: oookay, automatic or does it require user input? if it's automatic it sounds a bit too windows-y18:28
munsking_nacc: alright, i'll have a look18:28
naccmunsking_: automatic fully18:28
munsking_ouch18:28
naccmunsking_: with snaps, you are trusting the upstream to know when you need updates18:28
nacc(at least, that's how i see it)18:28
naccit looks like it's part of the snapd systemd service18:28
munsking_nacc: this might have been a mistake, windows broke all my trust for auto updates, maybe snaps can restore some of it18:29
naccmunsking_: tbc, snaps are more confined than windows updates. They aren't OS updates, but applications.18:30
sdezielaren't snap shipping a full OS (16.04?) too?18:31
munsking_nacc: true true, but still, configs might break, or defaults might be the opposite of what i need, and this nextcloud is live and public, not just some internal thing.18:31
munsking_i'll check if i can disable or delay it or something18:31
munsking_or maybe it just works18:32
munsking_ok the https stuff worked :D thanks!18:37
nacc_munsking_: well, that's what CI is for upstream. Again it's a trust model :)18:45
nacc_sdeziel: you mean the core snap? yes, but that's only used by other snaps18:45
sdezielnacc_: hmm, I though that each snap bundled one which would have explained why vlc's snap weights 555M18:46
=== sarnold_ is now known as sarnold
sdezielnacc_: I can't read, vlc's snap weigths 204M, still a bit high for just a media player, I always though there was more to it18:46
munsking_nacc_: i'm forced to be a windows admin at work, i assume you can guess where my trust is ;) to be fair, in the ~6 years i've been linux (main OS at home, several webservers) my trust in linux has never been broken (only the trust in my own abilities lol)18:47
Epx998is it possible to rebuild the squashfs and kernel with the vmtools already added?18:48
nacc_Epx998: anything is possible :)18:50
nacc_sdeziel: it depends on the type of snap, tbc18:50
nacc_sdeziel: vlc is confined, so it relies on the core snap for the base OS interface18:51
sdezielnacc_: I came to the conclusion I should read more on snaps :)18:51
nacc_sdeziel: the reason for the bloat is all of the dependencies are shipped in the snap18:51
nacc_sdeziel: yeah, it's a very different way to do things, tbh18:52
=== albert23` is now known as albert23
=== kees_ is now known as kees
plmHi all20:33
plm$ sudo losetup -P /dev/loop0 rootfs.img20:34
plmlosetup: rootfs.img: failed to set up loop device: Device or resource busy20:34
plmAnyone know why this error? I just boot my ubuntu host and try that.20:34
plmA information. Yesterday I updated my ubuntu host 16.420:35
TJ-plm: something already on loop0 ("losetup -a" )20:36
plmTJ-: $ losetup -a20:37
plm/dev/loop0: []: (/var/lib/snapd/snaps/pycharm-community_85.snap)20:37
plm/dev/loop1: []: (/var/lib/snapd/snaps/core_5662.snap)20:37
TJ-plm: use "losetup --show --find --partscan rootfs.img" and it'll pick a free loop for you20:37
geniiOr possibly rootfs.img is in use20:37
plmTJ-: with "losetup --show --find --partscan rootfs.img" works =D20:38
TJ-plm: you can reduce those options to "--show -f -P"20:38
plmTJ-: right =D20:38
plmTJ-: $ sudo losetup --show --find --partscan rootfs.img20:39
plm/dev/loop220:39
plmTJ-: now I just use '/dev/loop2' on my mounts/umount options,right?20:39
TJ-plm: well, if there are partitions, no. You'd use /dev/loop2pX where X is the partition number20:40
TJ-plm: If I recall correctly the partition nodes are under /dev/mapper/20:41
plmTJ-: I just substitute loop0 by loop2:20:42
plm$ cat mount.sh20:42
plmsudo losetup -P /dev/loop2 rootfs.img; sudo mount /dev/loop2p1 /target; sudo mount --bind /etc/resolv.conf /target/etc/resolv.conf; sudo mount --bind /proc/ /target/proc/; sudo chroot /target /bin/bash20:42
plm$ cat umount.sh20:43
plmsudo umount /target/proc; sudo umount /target/etc/resolv.conf; sudo umount /target; sudo losetup -d /dev/loop220:43
plmTJ-: ^20:43
plmand that works20:43
plmTJ-: are there a way to change name of bash$ when go to chroot? Becouse I always do 'df -h' to know if I'm in a chrooted or not. Any idea?20:51
sarnoldthe ubuntu default PS1 value knows how to show you schroot names: $ echo $PS120:53
sarnold\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$20:53
sarnoldbut if you don't use schroot then I think it won't help much20:53
sarnoldanyway you can fiddle with PS1 as you need20:53
plmHi all21:33
dxchi guys, I'm trying to remove the livepatch notification from my 18.04 LTS Server MOTD22:02
dxcI've already edited /etc/default/motd-news and set enabled=022:03
dxcis there anything else I should do?22:03
dxcI've removed the script from /etc/update-motd.d/ too22:03
tewardRoyK: sarnold: turns out (thanks to #ubuntu-kernel for helping!) it was traced to a firmware/microcode problen23:09
tewardupdated the BIOS in my Z400 workstation and the kernel started working23:09
dxcanyone have any idea about my issue? :o23:10
dxctried restarting and that didn't do it23:11
dxc¯\(º_o)/¯23:12
nacc_dxc: you only want to not display the livepatch info?23:12
dxcCorrect.23:13
dxc* Canonical Livepatch is available for installation. < that wohle bit23:13
dxcI did it on some other machines23:13
dxcBut I can't remember how I did it, and I can't find the guide online that I followed23:13
dxcso I tried bruteforcing it...which didn't seem to work :p23:14
nacc_i think setting it to enabled=0 was incorrect, that would disable all of the updates, aiui; but it sounds like you are saying that it still is displayin the info23:14
dxchttps://patdavid.net/2018/08/ubuntu-ssh-ads-motd/23:15
nacc_dxc: right, that would remove all of it, which isn't what you said you wanted to do, but let's move past that23:15
dxcin my motd, I see the welcome message, the documentation links, the sysinfo, then the livepatch crap, then the packages that can be updated/security updates23:17
dxcI want to remove the livepatch stuff, I've already nuked the news part23:17
dxcbasically, this is how it looks now23:18
dxchttps://paste.ubuntu.com/p/Yf9scTbm3R/23:18
dxchttps://paste.ubuntu.com/p/ZsqVDKRsf2/ this is how I want it to look23:19
nacc_dxc: i don't know, it seems like removing that /etc/update-motd.d/ file would have been sufficient23:24
dxcyeah.23:25
dxcI tried setting it to -x first23:25
dxcdidn't work23:25
dxcremoved it23:25
dxcrebooted23:25
dxcetc23:25
dxc:D23:25
nacc_dxc: is there anything odd about your config? those files all result in generated content in /run/motd.dynamic  aiui23:27
dxcnot really, no..23:28
dxcI mean, its a bog-standard DO droplet23:28
dxcusing it as a mailserver23:28
dxc...23:32
dxcomfg23:32
dxc:|23:32
dxcI fixed it23:33
dxclmao23:33
dxcI was chmod'ing the wrong file :V23:33
dxcit works now, I'm an idiot, is it friday yet23:34
dxcthanks nacc_ o/23:35

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