See https://github.com/lxc/lxc/issues/3520 for possible
workarounds.
Regards
Harri
Le vendredi 29 novembre 2019 à 16:14:21+0100, Lukáš Jelínek a écrit :
> Thanks very much for this workaround. It works well.
>
> But I think it is a bug because it prevents Debian 10 in LXC containers
> to work out-of-the-box in many cases and requires manual hardcore
> intervention (in a file whi
Thanks very much for this workaround. It works well.
But I think it is a bug because it prevents Debian 10 in LXC containers
to work out-of-the-box in many cases and requires manual hardcore
intervention (in a file which is not intended to be "cut-and-dry"
modified by administrators).
> Le mercr
Le mercredi 06 novembre 2019 à 17:27:28+0100, Lukáš Jelínek a écrit :
> journalctl -u logrotate:
>
> Nov 06 17:12:22 syslog systemd[1]: Starting Rotate log files...
> Nov 06 17:12:22 syslog systemd[381]: logrotate.service: Failed to set up
> mount namespacing: Permission denied
> Nov 06 17:12:22 s
Control: reassign -1 lxc
Control: notfound -1 3.14.0-4
Control: affects -1 logrotate
Re-assingning to lxc.
Message #15 indicates this is not a problem in logrotate, but rather
of lxc, systemd and maybe apparmor.
AppArmor is used and aa-status on the LXC host gives the following output:
apparmor module is loaded.
23 profiles are loaded.
21 profiles are in enforce mode.
/usr/bin/evince
/usr/bin/evince-previewer
/usr/bin/evince-previewer//sanitized_helper
/usr/bin/evince-thumbnailer
/us
Are you using apparmor, respectively is apparmor active (aa-status)?
As I am not using lxc, can you please provide steps to reproduce the problem.
All of these directories are present and are regular directories (not
symbolic links).
Deleting the specified line has no effect and the problem persists.
> Can you please check whether the following directories exist and if
> they are symbolic links what target they have:
> /var
> /var/log
> /t
Can you please check whether the following directories exist and if
they are symbolic links what target they have:
/var
/var/log
/tmp
/var/tmp
Also can you try to delete the line `PrivateTmp=true` from
`/lib/systemd/system/logrotate.service` and retry?
Might be related to https://github.com/syst
journalctl -u logrotate:
Nov 06 17:12:22 syslog systemd[1]: Starting Rotate log files...
Nov 06 17:12:22 syslog systemd[381]: logrotate.service: Failed to set up mount
namespacing: Permission denied
Nov 06 17:12:22 syslog systemd[381]: logrotate.service: Failed at step
NAMESPACE spawning /usr/sb
Can you give some more information where you did encounter the
"Permission denied" message.
Please provide some log entries (from /var/log/syslog or `journalctl
-u logrotate` or `systemctl status logrotate`).
Package: logrotate
Version: 3.14.0-4
Severity: grave
Justification: renders package unusable
-- Package-specific info:
Contents of /etc/logrotate.d
total 52
-rw-r--r-- 1 root root 120 Apr 19 2019 alternatives
-rw-r--r-- 1 root root 173 May 28 16:40 apt
-rw-r--r-- 1 root root 79 Feb 13 2019 ap
12 matches
Mail list logo