[Bug 2098245] [NEW] logrotate appears to be started too early
Owen
2098245 at bugs.launchpad.net
Thu Feb 13 09:55:59 UTC 2025
Public bug reported:
On boot I see a message that logrotate has failed to start. service
logrotate status shows:
× logrotate.service - Rotate log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static)
Active: failed (Result: exit-code) since Thu 2025-02-13 09:43:30 GMT; 4min 4s ago
TriggeredBy: ● logrotate.timer
Docs: man:logrotate(8)
man:logrotate.conf(5)
Process: 2283 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
Main PID: 2283 (code=exited, status=1/FAILURE)
CPU: 168ms
Feb 13 09:43:28 Precision-M4800 systemd[1]: Starting logrotate.service - Rotate log files...
Feb 13 09:43:28 Precision-M4800 logrotate[2283]: error: error creating output file /etc/columnstore/Columnstore.xml-20250213: Read-only file system
Feb 13 09:43:30 Precision-M4800 systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 13 09:43:30 Precision-M4800 systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 13 09:43:30 Precision-M4800 systemd[1]: Failed to start logrotate.service - Rotate log files.
Starting the service once the system has booted works fine. "Read-only
file system" seems to indicate the service is being started too early?
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: logrotate 3.21.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-53.55-generic 6.8.12
Uname: Linux 6.8.0-53-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Feb 13 09:51:13 2025
InstallationDate: Installed on 2024-12-13 (62 days ago)
InstallationMedia: Ubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 (20240911)
SourcePackage: logrotate
UpgradeStatus: Upgraded to noble on 2024-12-16 (59 days ago)
** Affects: logrotate (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to logrotate in Ubuntu.
https://bugs.launchpad.net/bugs/2098245
Title:
logrotate appears to be started too early
Status in logrotate package in Ubuntu:
New
Bug description:
On boot I see a message that logrotate has failed to start. service
logrotate status shows:
× logrotate.service - Rotate log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static)
Active: failed (Result: exit-code) since Thu 2025-02-13 09:43:30 GMT; 4min 4s ago
TriggeredBy: ● logrotate.timer
Docs: man:logrotate(8)
man:logrotate.conf(5)
Process: 2283 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
Main PID: 2283 (code=exited, status=1/FAILURE)
CPU: 168ms
Feb 13 09:43:28 Precision-M4800 systemd[1]: Starting logrotate.service - Rotate log files...
Feb 13 09:43:28 Precision-M4800 logrotate[2283]: error: error creating output file /etc/columnstore/Columnstore.xml-20250213: Read-only file system
Feb 13 09:43:30 Precision-M4800 systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Feb 13 09:43:30 Precision-M4800 systemd[1]: logrotate.service: Failed with result 'exit-code'.
Feb 13 09:43:30 Precision-M4800 systemd[1]: Failed to start logrotate.service - Rotate log files.
Starting the service once the system has booted works fine. "Read-only
file system" seems to indicate the service is being started too early?
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: logrotate 3.21.0-2build1
ProcVersionSignature: Ubuntu 6.8.0-53.55-generic 6.8.12
Uname: Linux 6.8.0-53-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Feb 13 09:51:13 2025
InstallationDate: Installed on 2024-12-13 (62 days ago)
InstallationMedia: Ubuntu 22.04.5 LTS "Jammy Jellyfish" - Release amd64 (20240911)
SourcePackage: logrotate
UpgradeStatus: Upgraded to noble on 2024-12-16 (59 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/2098245/+subscriptions
More information about the foundations-bugs
mailing list