[Bug 2022825] Re: motd-news.timer trigger motd-news.service even if disable
Steve Langasek
2022825 at bugs.launchpad.net
Fri Aug 4 21:33:00 UTC 2023
> Its not working , and modt keep getting errors when i run commend
"systemctl status"
I cannot reproduce this. What was the exact error?
Every Ubuntu Desktop system by default has /etc/update-motd.d/50-motd-
news and /lib/systemd/system/motd-news.timer installed, but does not
have /etc/default/motd-news so it is disabled by default, and no one is
reporting problems with units being in an error state.
I have tested in an Ubuntu 22.04 lxd container, which also has
/etc/default/motd-news by default; changing it to ENABLED=0 and running
'systemctl start motd-news.timer' does not result in any error state.
Nor does rebooting the system.
** Changed in: base-files (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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
More information about the foundations-bugs
mailing list