Activity log for bug #2055239

Date Who What changed Old value New value Message
2024-02-28 04:12:36 Nobuto Murata bug added bug
2024-02-28 04:14:38 Nobuto Murata information type Private Public
2024-02-28 04:24:05 Apport retracing service tags amd64 apport-bug need-amd64-retrace noble amd64 apport-bug noble
2024-02-28 12:36:25 Renan Rodrigo ubuntu-advantage-tools (Ubuntu): status New Incomplete
2024-02-29 01:42:56 Nobuto Murata attachment added apt-terminal.log https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2055239/+attachment/5750457/+files/apt-terminal.log
2024-02-29 01:43:03 Nobuto Murata ubuntu-advantage-tools (Ubuntu): status Incomplete New
2024-02-29 09:42:06 Alberto Contreras ubuntu-advantage-tools (Ubuntu): status New Incomplete
2024-03-05 00:29:35 Nobuto Murata 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/system/apt-news.service and it's a static file managed by the package. Does the package maintenance script call systemd related hooks to reload the config whenever the package gets updated? $ systemctl cat apt-news.service # /usr/lib/systemd/system/apt-news.service $ dpkg -S /lib/systemd/system/apt-news.service ubuntu-pro-client: /lib/systemd/system/apt-news.service ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: ubuntu-pro-client 31.1 ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3 Uname: Linux 6.6.0-14-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass 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-256color XDG_RUNTIME_DIR=<set> SourcePackage: ubuntu-advantage-tools 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/cloud.cfg.d/99-installer.cfg, insufficient permissions REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'. uaclient.conf: contract_url: https://contracts.canonical.com log_level: debug 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/system/apt-news.service and it's a static file managed by the package. Does the package maintenance script call systemd related hooks to reload the config whenever the package gets updated? $ systemctl cat apt-news.service # /usr/lib/systemd/system/apt-news.service # APT News is hosted at https://motd.ubuntu.com/aptnews.json and can include # timely information related to apt updates available to your system. ... $ dpkg -S /lib/systemd/system/apt-news.service ubuntu-pro-client: /lib/systemd/system/apt-news.service ProblemType: BugDistroRelease: Ubuntu 24.04 Package: ubuntu-pro-client 31.1 ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3 Uname: Linux 6.6.0-14-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass 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-256color  XDG_RUNTIME_DIR=<set>SourcePackage: ubuntu-advantage-tools 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/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'. uaclient.conf:  contract_url: https://contracts.canonical.com  log_level: debug
2024-03-05 17:47:57 Grant Orndorff bug task added snapd
2024-03-10 09:44:44 Haw Loeung bug added subscriber Haw Loeung
2024-03-10 09:44:58 Haw Loeung bug added subscriber The Canonical Sysadmins
2024-03-13 09:05:20 Zygmunt Krynicki snapd: assignee Zygmunt Krynicki (zyga)
2024-03-13 13:30:58 Grant Orndorff ubuntu-advantage-tools (Ubuntu): status Incomplete Invalid
2024-04-26 23:14:12 Allen bug added subscriber Allen
2024-04-30 14:16:55 Paul White bug added subscriber Paul White
2024-04-30 21:01:42 Keith Myers bug added subscriber Keith Myers
2024-05-21 15:15:35 Phil O bug watch added https://github.com/systemd/systemd/issues/32959
2024-06-05 10:19:37 Graham Inggs bug added subscriber Graham Inggs
2024-07-17 18:30:53 Ilia Soloviev bug added subscriber Ilia Soloviev
2024-07-26 13:04:09 Grant Orndorff bug task added systemd (Ubuntu)
2024-07-26 14:39:14 Nick Rosbrook tags amd64 apport-bug noble amd64 apport-bug noble rls-nn-incoming
2024-07-31 20:00:09 Nick Rosbrook tags amd64 apport-bug noble rls-nn-incoming amd64 apport-bug noble systemd-sru-next
2024-07-31 20:00:27 Nick Rosbrook nominated for series Ubuntu Noble
2024-07-31 20:00:27 Nick Rosbrook bug task added systemd (Ubuntu Noble)
2024-07-31 20:00:27 Nick Rosbrook bug task added ubuntu-advantage-tools (Ubuntu Noble)
2024-07-31 20:00:35 Nick Rosbrook systemd (Ubuntu): status New Fix Released
2024-07-31 20:00:43 Nick Rosbrook systemd (Ubuntu Noble): assignee Nick Rosbrook (enr0n)
2024-07-31 20:00:46 Nick Rosbrook systemd (Ubuntu Noble): status New Triaged
2024-07-31 20:00:51 Nick Rosbrook ubuntu-advantage-tools (Ubuntu Noble): status New Invalid
2024-07-31 20:01:02 Nick Rosbrook tags amd64 apport-bug noble systemd-sru-next amd64 apport-bug foundations-todo noble systemd-sru-next
2024-08-05 17:58:52 Nick Rosbrook 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/system/apt-news.service and it's a static file managed by the package. Does the package maintenance script call systemd related hooks to reload the config whenever the package gets updated? $ systemctl cat apt-news.service # /usr/lib/systemd/system/apt-news.service # APT News is hosted at https://motd.ubuntu.com/aptnews.json and can include # timely information related to apt updates available to your system. ... $ dpkg -S /lib/systemd/system/apt-news.service ubuntu-pro-client: /lib/systemd/system/apt-news.service ProblemType: BugDistroRelease: Ubuntu 24.04 Package: ubuntu-pro-client 31.1 ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3 Uname: Linux 6.6.0-14-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass 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-256color  XDG_RUNTIME_DIR=<set>SourcePackage: ubuntu-advantage-tools 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/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'. uaclient.conf:  contract_url: https://contracts.canonical.com  log_level: debug [Impact] systemd may incorrectly mark units as needing a daemon reload, therefore unnecessarily printing the warning that a daemon-reload is needed for the changes to take effect. This is misleading to users, and particularly visible in cases like running apt update, since there is an apt hook (/etc/apt/apt.conf.d/20apt-esm-hook.conf) that starts two systemd services. [Test Plan] This bug can be triggered by running systemctl enable/disable on a non-existent unit. After that, calling systemctl start/status/etc. will show a false warning that the unit changed on disk. Hence, to test, simply: $ systemctl enable somethingthatdefinitelydoesnotexist.service $ systemctl status systemd-resolved.service $ apt update On an effected system, warnings will be shown when calling both commands after the "enable non-existent unit" step. [Where problems could occur] This patch fixes a previous commit by ensuring that the manager->unit_file_state_outdated flag is set *only* when some modifications succeeded, but the overall operation failed. In cases where everything fails, it is not necessary to set the flag. Since the patch is restricted to this area, any regressions from this patch would most likely also be related to the NeedDaemonReload property of units. [Other information] The patch is from upstream: https://github.com/systemd/systemd/pull/32610/commits/d69cba3bfffc7b1e3197e2a34b459db13b1e1cb7#diff-84bbf3361da4139a5620a035ebd24f50a0e4d4ece7952dc2d8b4325e6ebdf6e0L2320 [Original 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/system/apt-news.service and it's a static file managed by the package. Does the package maintenance script call systemd related hooks to reload the config whenever the package gets updated? $ systemctl cat apt-news.service # /usr/lib/systemd/system/apt-news.service # APT News is hosted at https://motd.ubuntu.com/aptnews.json and can include # timely information related to apt updates available to your system. ... $ dpkg -S /lib/systemd/system/apt-news.service ubuntu-pro-client: /lib/systemd/system/apt-news.service ProblemType: BugDistroRelease: Ubuntu 24.04 Package: ubuntu-pro-client 31.1 ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3 Uname: Linux 6.6.0-14-generic x86_64 NonfreeKernelModules: zfs ApportVersion: 2.28.0-0ubuntu1 Architecture: amd64 CasperMD5CheckResult: pass 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-256color  XDG_RUNTIME_DIR=<set>SourcePackage: ubuntu-advantage-tools 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/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions  REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'. uaclient.conf:  contract_url: https://contracts.canonical.com  log_level: debug
2024-08-06 03:41:51 Rodney Lorimor removed subscriber Rodney Lorimor
2024-08-06 13:57:41 Nick Rosbrook systemd (Ubuntu Noble): status Triaged In Progress
2024-08-06 13:59:25 Nick Rosbrook systemd (Ubuntu Noble): milestone ubuntu-24.04.1
2024-08-06 23:38:43 Brian Murray systemd (Ubuntu Noble): status In Progress Fix Committed
2024-08-06 23:38:46 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2024-08-06 23:38:48 Brian Murray bug added subscriber SRU Verification
2024-08-06 23:38:54 Brian Murray tags amd64 apport-bug foundations-todo noble systemd-sru-next amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble
2024-08-08 13:43:13 Nick Rosbrook tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-done verification-done-noble
2024-08-09 12:19:27 Łukasz Zemczak tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-done verification-done-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble
2024-08-09 13:39:33 Nick Rosbrook tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-done verification-done-noble
2024-08-21 15:45:35 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2024-08-21 15:46:07 Launchpad Janitor systemd (Ubuntu Noble): status Fix Committed Fix Released
2024-08-25 19:57:07 Paul White removed subscriber Paul White
2024-08-26 13:46:42 Nick Rosbrook ubuntu-advantage-tools (Ubuntu): status Invalid New
2024-08-26 13:46:48 Nick Rosbrook ubuntu-advantage-tools (Ubuntu Noble): status Invalid New
2024-08-26 13:46:58 Nick Rosbrook ubuntu-advantage-tools (Ubuntu): importance Undecided Low
2024-08-26 13:47:01 Nick Rosbrook ubuntu-advantage-tools (Ubuntu Noble): importance Undecided Low
2024-08-26 15:43:59 Grant Orndorff ubuntu-advantage-tools (Ubuntu): status New Invalid
2024-08-26 15:44:05 Grant Orndorff ubuntu-advantage-tools (Ubuntu Noble): status New Invalid
2024-09-02 12:48:43 Paul White bug added subscriber Paul White
2024-09-03 15:07:21 Grant Orndorff ubuntu-advantage-tools (Ubuntu): status Invalid In Progress
2024-09-03 15:07:26 Grant Orndorff ubuntu-advantage-tools (Ubuntu Noble): status Invalid In Progress
2024-09-03 15:07:31 Grant Orndorff ubuntu-advantage-tools (Ubuntu): assignee Grant Orndorff (orndorffgrant)
2024-09-03 15:07:35 Grant Orndorff ubuntu-advantage-tools (Ubuntu Noble): assignee Grant Orndorff (orndorffgrant)
2024-09-10 13:19:06 Alfonso Sanchez-Beato bug added subscriber Alfonso Sanchez-Beato
2024-09-10 17:12:40 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Noble): status In Progress Fix Committed
2024-09-10 17:12:43 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2024-09-10 17:12:54 Andreas Hasenack tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-done verification-done-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble
2024-09-10 17:15:05 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Jammy): status New Fix Committed
2024-09-10 17:15:16 Andreas Hasenack tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-jammy verification-needed-noble
2024-09-10 17:16:59 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Focal): status New Fix Committed
2024-09-10 17:17:11 Andreas Hasenack tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-jammy verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-focal verification-needed-jammy verification-needed-noble
2024-09-10 17:18:42 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Bionic): status New Fix Committed
2024-09-10 17:18:54 Andreas Hasenack tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-focal verification-needed-jammy verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-noble
2024-09-10 17:21:08 Andreas Hasenack ubuntu-advantage-tools (Ubuntu Xenial): status New Fix Committed
2024-09-10 17:21:20 Andreas Hasenack tags amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-noble amd64 apport-bug foundations-todo noble systemd-sru-next verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-noble verification-needed-xenial
2024-09-10 17:48:18 Launchpad Janitor ubuntu-advantage-tools (Ubuntu): status In Progress Fix Released