Warning: The unit file, source configuration file or drop-ins of {apt-news,esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Zygmunt Krynicki | ||
ubuntu-advantage-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I recently started seeing the following warning messages when I run `apt update`.
$ sudo apt update
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
...
apt-news.service for example is in /lib/systemd/
$ systemctl cat apt-news.service
# /usr/lib/
# APT News is hosted at https:/
# timely information related to apt updates available to your system.
...
$ dpkg -S /lib/systemd/
ubuntu-pro-client: /lib/systemd/
ProblemType: BugDistroRelease: Ubuntu 24.04
Package: ubuntu-pro-client 31.1
ProcVersionSign
Uname: Linux 6.6.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 28 13:06:35 2024
InstallationDate: Installed on 2024-01-08 (51 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240104)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
UpgradeStatus: No upgrade log present (probably fresh install)
apparmor_logs.txt:
cloud-id.txt-error:
Failed running command 'cloud-id' [exit(2)]. Message: REDACTED config part /etc/cloud/
REDACTED config part /etc/cloud/
REDACTED config part /etc/cloud/
REDACTED config part /etc/cloud/
livepatch-
uaclient.conf:
contract_url: https:/
log_level: debug
tags: | removed: need-amd64-retrace |
description: | updated |
Changed in snapd: | |
assignee: | nobody → Zygmunt Krynicki (zyga) |
Hello, Nobuto,
First of all, thanks for reporting this issue.
We did changes to the apt news service file - we added the apparmor profiles and systemd security config there - and no, we didn't reload it by default, which may be causing those warnings.
However, I could not reproduce this behavior. Do you have steps to reproduce it on a fresh system?
I will bring this to the team.