The /etc/default/motd-news file is read by the /etc/update-
motd.d/50-motd-news script which is launched by motd-news.service.  It
is normal that setting the option in this file will not stop motd-
news.service from running - however, it makes the script a no-op that
does not access the network.

Are you seeing the motd-news.service access the network and make changes
to files when ENABLED=0 is set?  This is what is guaranteed by
https://ubuntu.com/legal/motd.

You are free to disable the timer service as well if that is your
preference.  The documentation tells users how to disable the service
without having to know systemd service interfaces.

** Changed in: base-files (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/2022825

Title:
  motd-news.timer trigger motd-news.service even if disable

Status in base-files package in Ubuntu:
  Incomplete

Bug description:
  Hello, guys, how are you?
  I notice motd-news.timer activate motd-news.service even when 
motd-new.service disable.

  I follow this doc's from UBUNTU:
  https://ubuntu.com/legal/motd

  /etc/default/motd-news has an ENABLED=1 setting that to 0 for disable.

  It's not working too…

  When you reboot the server and put
  sudo systemctl status motd-news.service

  Service look dead. (disable)
  but he got trigger by motd-news.timer after 10 - 20 minutes (screenshot):
  https://ibb.co/yXTpzGq

  if you look on the screenshot, you will see:
  TriggeredBy: ● motd-news.timer

  I can disable the motd-news.timer service, but i don't know if it will affect 
other services of UBUNTU.
  Anyway It's still a bug, even if i disable the timer service, it's not should 
be this way.

  Happened on 2 Different machines of UBUNTU 22.04 (Google Cloud
  Platform)

  Be happy for your recommendation before i disable the motd-new.timer
  with systemctl.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2022825/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to