Comment 13 for bug 2055046

Revision history for this message
Heinrich Schuchardt (xypron) wrote :

After installing ubuntu-pro-client 31.2 I have still file /etc/logrotate.d/ubuntu-advantage-tools on my Ubuntu 24.04 riscv64 system and the logrotate service still fails with

logrotate[3532]: error: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage.log

# dpkg -s ubuntu-pro-client
Package: ubuntu-pro-client
Status: install ok installed
Priority: important
Section: misc
Installed-Size: 1075
Maintainer: Ubuntu Developers <email address hidden>
Architecture: riscv64
Source: ubuntu-advantage-tools
Version: 31.2

# ls /etc/logrotate.d -lat
total 60
drwxr-xr-x 2 root root 4096 Mar 5 08:38 .
drwxr-xr-x 111 root root 4096 Mar 5 08:36 ..
-rw-r--r-- 1 root root 144 Feb 16 13:18 cloud-init
-rw-r--r-- 1 root root 270 Feb 14 15:37 ubuntu-pro-client
-rw-r--r-- 1 root root 130 Oct 10 06:34 btmp
-rw-r--r-- 1 root root 248 Oct 10 06:34 rsyslog
-rw-r--r-- 1 root root 270 Oct 10 06:34 ubuntu-advantage-tools
-rw-r--r-- 1 root root 209 Oct 10 06:34 ufw
-rw-r--r-- 1 root root 145 Oct 10 06:34 wtmp
-rw-r--r-- 1 root root 126 Oct 9 13:45 apport
-rw-r--r-- 1 root root 173 Aug 2 2023 apt
-rw-r--r-- 1 root root 120 Jul 7 2023 alternatives
-rw-r--r-- 1 root root 112 Jul 7 2023 dpkg
-rw-r--r-- 1 root root 91 Mar 23 2023 bootlog
-rw-r--r-- 1 root root 235 Jan 8 2023 unattended-upgrades

Shouldn't 31.2 remove the duplicate file? Wouldn't we fix 24.04 before any SRU?