logrotate fails on LXC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
daily, I receive this alert from logrotate script in cron.daily:
/etc/cron.
Failed to kill unit rsyslog.service: Input/output error
error: error running non-shared postrotate script for /var/log/syslog of '/var/log/syslog
'
run-parts: /etc/cron.
My ubuntu is a LXC running on top of ProxmoxVE.
the problem occour when logrotate script call /usr/lib/
systemctl kill -s HUP rsyslog.service
I already checked my disks status (because the input/output error) but them are ok.
The same issue is present also in another LXC, ubuntu also this one, running on another node of the same cluster
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: logrotate 3.11.0-0.1ubuntu1
ProcVersionSign
Uname: Linux 4.15.18-7-pve x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
Date: Tue Nov 6 10:26:37 2018
ProcEnviron:
LANG=C
SHELL=/bin/bash
TERM=xterm
XDG_RUNTIME_
PATH=(custom, no user)
SourcePackage: logrotate
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.