Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.
On Tue, Sep 28, 2021 at 08:55:59AM -0700, peter@easthope.ca wrote:
> Hi,
> Here the upgrade was completed except for the problem indicated in the
> following transcript.
>
> This page appears relevant.
> https://manpages.debian.org/stretch/systemd/systemd-journald.service.8.en.html
>
> /var/log/journal exists here.
What does it look like?
ls -ld / /var /var/log /var/log/journal
> The command "systemd-tmpfiles --create --prefix /var/log/journal" gives
> complaints similar to those in the transcript.
>
> Likely the solution is obvious once the problem is understood. What is
> unsafe about the path transition? How is systemd journaling meant to
> work?
> Setting up systemd (247.3-6) ...
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal/82516769d28444b49bf2553c1a9d8b27.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal/82516769d28444b49bf2553c1a9d8b27.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal/82516769d28444b49bf2553c1a9d8b27.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal/82516769d28444b49bf2553c1a9d8b27/system.journal.
> Detected unsafe path transition / -> /var during canonicalization of /var/log/journal/82516769d28444b49bf2553c1a9d8b27/system.journal.
> dpkg: error processing package systemd (--configure):
> installed systemd package post-installation script subprocess returned error exit status 73
<https://github.com/systemd/systemd/issues/11282> suggests an ownership
misconfiguration could be responsible. Thus, seeing the output of the ls
command may help.
Reply to: