Comment 4 for bug 1801910

Revision history for this message
Marco Bertorello (virdb) wrote : Re: [Bug 1801910] Re: logrotate fails on LXC

Il 14/01/2019 10:15, Phan Van Cuong ha scritto:
> I have met same case with you also I'm using proxmox. Should like the
> image of Proxmox provided for us diffent a bit with normal OS. My laptop
> using Ubuntu 18.04 but no problem with the rsyslog. It still is version
> rsyslogd 8.32.0.
>
> Rsyslog is included in all major distributions. So you do not
> necessarily need to take care of where packages can be found - they are
> “just there”. Unfortunately, the distros provide often rather old
> versions. This is especially the case for so-called enterprise
> distributions.
>
> So to fix this, I have still newest version of rsyslog then the issue
> has solved.
>
> sudo apt-get install -y software-properties-common # Provide add-apt-repository
> sudo add-apt-repository ppa:adiscon/v8-stable
> sudo apt-get update
> sudo apt-get install rsyslog
>
> Let's run again:
> # /etc/cron.daily/logrotate

Hi Phan,

I checked my setup,

on the proxmox machine rsyslog is old: 8.24.0-1 (same version than
debian stretch).

on the guest, rsyslog is up to date: 8.32.0-1ubuntu4 (bionic)

Do you mean I have to upgrade rsyslog on the host (proxmox)?

In this case, this should be a proxmox's bug, right?

Thanks alot and best regards

--
Marco Bertorello
https://www.marcobertorello.it