Public bug reported:
Logrotate does not start due to misconfigured Ubuntu Pro:
$ sudo systemctl status logrotate | cat
× logrotate.service - Rotate log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static)
Active: failed (Result: exit-code) since Mon 2024-02-26 15:10:44 CET; 9s
ago
TriggeredBy: ● logrotate.timer
Docs: man:logrotate(8)
man:logrotate.conf(5)
Process: 85798 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf
(code=exited, status=1/FAILURE)
Main PID: 85798 (code=exited, status=1/FAILURE)
CPU: 69ms
Feb 26 15:10:44 workstation5 systemd[1]: Starting logrotate.service - Rotate
log files...
Feb 26 15:10:44 workstation5 logrotate[85798]: error: ubuntu-pro-client:3
duplicate log entry for /var/log/ubuntu-advantage-license-check.log
Feb 26 15:10:44 workstation5 logrotate[85798]: error: found error in file
ubuntu-pro-client, skipping
Feb 26 15:10:44 workstation5 systemd[1]: logrotate.service: Main process
exited, code=exited, status=1/FAILURE
Feb 26 15:10:44 workstation5 systemd[1]: logrotate.service: Failed with result
'exit-code'.
Feb 26 15:10:44 workstation5 systemd[1]: Failed to start logrotate.service -
Rotate log files.
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055046
Title:
ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-
license-check.log
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2055046/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs