Closed metrax closed 1 year ago
Hello there!
Thanks for kind words and the alternate strategy :)
FYI it is not needed to remove /var/lib/ubuntu-advantage/messages/motd-esm-announce
as the directions in the MOTD section of the document ('Remove ESM MOTD Spam') will prevent the file from being read regardless of if using real ua or fake ua package. Please give those steps a go and let me know if that doesn't resolve it
I did it with a fresh installation again, followed exactly the instructions and this is the result:
The message still persist.
Ahhh, I see. I think I actually directed you to the wrong part of the instructions based on where that spam is showing in the motd order. Did you also try the part 3: Remove Dynamic MOTD Spam?
If that doesn't work, I'm wondering if you could help me hunt down where it is coming from. (I'm not seeing that spam on my VM, maybe because I'm testing with desktop vm instead of server vm -- I might have to set one of those up, too.) Can you please run each of the scripts in /etc/default/motd-news
and let me know which one outputs the spam?
Ah nevermind, I see that this is coming from 88-esm-announce
and the stock script doesn't provide any way to disable it! (Ugh, ubuntu!). This is quite unfortunate for systems that require/wish to have ua installed, but as I don't see any workaround other than manually modifying /etc/update-motd.d/88-esm-annouce
I will integrate the delete step you proposed
Updated, thanks again for the report
After install fake-ua, this message stays back in the motd, if ua already downloaded this message:
Please add:
rm /var/lib/ubuntu-advantage/messages/motd-esm-announce
To the removal instructions.
Thanks for these great instructions :-)