Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

These are the kinds of packages that get uninstalled immediately, and then configured in my config-management to remove on sight. Debian luckily doesn't do crap like this.


I mentioned it in another comment but this functionality is included with the "base-files" package:

  $ sudo apt remove base-files
  ...
  WARNING: The following essential packages will be removed.
  This should NOT be done unless you know exactly what you are doing!
    base-files bash
  ...
  You are about to do something potentially harmful.
  To continue type in the phrase 'Yes, do as I say!'
   ?]
Have fun with your broken system after removing that!

The best you can do is disable it (and hope it isn't silently re-enabled later):

  $ sudo systemctl disable motd-news.timer


Please open a bug with canonical asking for motd to be moved to oss own package.


Like this unfixed one from 2018, asking that removing execute permission from the script disable the attempts to run it, do you mean?

* https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/18...


You should investigate presets.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: