Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-10-02 Thread Andrei POPESCU
On Mi, 29 sep 21, 07:05:37, pe...@easthope.ca wrote:
> From: Greg Wooledge 
> Date: Tue, 28 Sep 2021 13:41:05 -0400
> > What does it look like?
> > 
> > ls -ld / /var /var/log /var/log/journal
> 
> root@joule:/# ls -ld / /var /var/log
> drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
> drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
> drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log

Please include also the output for /var/log/journal (as already 
requested by Greg), and if you have the 'acl' package already installed 
the output of `getfacl` for it.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-10-01 Thread Kushal Kumaran
On Wed, Sep 29 2021 at 10:35:35 PM, David Wright  
wrote:
> On Wed 29 Sep 2021 at 16:46:14 (-0400), Greg Wooledge wrote:
>> On Wed, Sep 29, 2021 at 07:05:37AM -0700, pe...@easthope.ca wrote:
>> > From: Greg Wooledge 
>> > Date: Tue, 28 Sep 2021 13:41:05 -0400
>> > > What does it look like?
>> > > 
>> > > ls -ld / /var /var/log /var/log/journal
>> > 
>> > root@joule:/# ls -ld / /var /var/log
>> > drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
>> > drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
>> > drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log
>> 
>> The ownership of the / directory is wrong.  It should be root:root,
>> not peter:peter.
>> 
>> chown root:root /
>> 
>> Everything else looks OK at the moment.
>
> Similar to https://lists.debian.org/debian-user/2021/07/msg00907.html
> but even worse (there, it was only group ownership that was wrong).
> It does appear that there's a subset of people who immediately
> recognise this warning message as meaning "wrong ownership",
> Greg (possibly), Kushal and of course Poettering:
>

FWIW, that email was the first I'd ever heard of the problem.  My
solution was based on a web search, which probably led me to the
following link, but I neglected to include that in my email.

> https://github.com/systemd/systemd/issues/11282
>
> Would it be sensible for the message to actually mention ownership,
> or can it apply to very different circumstances (beyond permissions,
> that is)? I've failed to find any other cause, but see a lot of
> people messing up their ownership.

According to the code at
https://github.com/systemd/systemd/blob/dd4c15296cce001287d03a6647a751f253de2a51/src/basic/fs-util.c#L736,
the message has been updated three months ago to include ownership of
the offending directories.  At this point, we'd need to wait for a newer
version of systemd to migrate into debian repos.

>
> Is this being done by people, say, untarring archives as root, or
> are there some buggy programs out there? One person claimed it
> happened through formatting a partition with some gnome program.
> Is that likely?
>
> Cheers,
> David.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-30 Thread Greg Wooledge
On Wed, Sep 29, 2021 at 10:35:35PM -0500, David Wright wrote:
> Would it be sensible for the message to actually mention ownership,
> or can it apply to very different circumstances (beyond permissions,
> that is)? I've failed to find any other cause, but see a lot of
> people messing up their ownership.

That would be a good question to ask the systemd developers.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread Nils
>From my experience gnome-disks automatically chowns / to the executing user 
>when creating a filesystem.
But I don't think Peter did that.
I'd rather say it's been caused by some installation script, those are usually 
buggy when it comes to file ownership.
Peter, did you install anything via a .run or .sh file?

Nils

On Wed, 29 Sep 2021 22:35:35 -0500
David Wright  wrote:

> On Wed 29 Sep 2021 at 16:46:14 (-0400), Greg Wooledge wrote:
> > On Wed, Sep 29, 2021 at 07:05:37AM -0700, pe...@easthope.ca wrote:
> > > From: Greg Wooledge 
> > > Date: Tue, 28 Sep 2021 13:41:05 -0400
> > > > What does it look like?
> > > > 
> > > > ls -ld / /var /var/log /var/log/journal
> > > 
> > > root@joule:/# ls -ld / /var /var/log
> > > drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
> > > drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
> > > drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log
> > 
> > The ownership of the / directory is wrong.  It should be root:root,
> > not peter:peter.
> > 
> > chown root:root /
> > 
> > Everything else looks OK at the moment.
> 
> Similar to https://lists.debian.org/debian-user/2021/07/msg00907.html
> but even worse (there, it was only group ownership that was wrong).
> It does appear that there's a subset of people who immediately
> recognise this warning message as meaning "wrong ownership",
> Greg (possibly), Kushal and of course Poettering:
> 
> https://github.com/systemd/systemd/issues/11282
> 
> Would it be sensible for the message to actually mention ownership,
> or can it apply to very different circumstances (beyond permissions,
> that is)? I've failed to find any other cause, but see a lot of
> people messing up their ownership.
> 
> Is this being done by people, say, untarring archives as root, or
> are there some buggy programs out there? One person claimed it
> happened through formatting a partition with some gnome program.
> Is that likely?
> 
> Cheers,
> David.
> 


-- 
Nils 


pgptXrJud4m_W.pgp
Description: PGP signature


Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread David Wright
On Wed 29 Sep 2021 at 16:46:14 (-0400), Greg Wooledge wrote:
> On Wed, Sep 29, 2021 at 07:05:37AM -0700, pe...@easthope.ca wrote:
> > From: Greg Wooledge 
> > Date: Tue, 28 Sep 2021 13:41:05 -0400
> > > What does it look like?
> > > 
> > > ls -ld / /var /var/log /var/log/journal
> > 
> > root@joule:/# ls -ld / /var /var/log
> > drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
> > drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
> > drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log
> 
> The ownership of the / directory is wrong.  It should be root:root,
> not peter:peter.
> 
> chown root:root /
> 
> Everything else looks OK at the moment.

Similar to https://lists.debian.org/debian-user/2021/07/msg00907.html
but even worse (there, it was only group ownership that was wrong).
It does appear that there's a subset of people who immediately
recognise this warning message as meaning "wrong ownership",
Greg (possibly), Kushal and of course Poettering:

https://github.com/systemd/systemd/issues/11282

Would it be sensible for the message to actually mention ownership,
or can it apply to very different circumstances (beyond permissions,
that is)? I've failed to find any other cause, but see a lot of
people messing up their ownership.

Is this being done by people, say, untarring archives as root, or
are there some buggy programs out there? One person claimed it
happened through formatting a partition with some gnome program.
Is that likely?

Cheers,
David.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread Charles Curley
On Wed, 29 Sep 2021 08:01:00 -0700
pe...@easthope.ca wrote:

> root@joule:~# cat /etc/apt/sources.list
> #deb http://mirror.it.ubc.ca/debian/ bullseye main
> deb http://mirror.it.ubc.ca/debian/ bullseye main contrib non-free
> deb-src http://mirror.it.ubc.ca/debian/ bullseye main contrib non-free
> 
> deb http://ftp.ca.debian.org/debian/ bullseye main contrib
> non-free deb-src http://ftp.ca.debian.org/debian/ bullseye main
> contrib non-free
> 
> deb http://deb.debian.org/debian-security/ bullseye-security main
> contrib non-fr ee
> deb-src http://deb.debian.org/debian-security/ bullseye-security main
> contrib no n-free
> 
> Has anyone installed or upgraded to bullseye on a 32 bit PC?

Yes, several times.

Looking at your sources.list, you can probably remove either the ubc
stanza or the ca.debian.org stanza. I suspect that lags between mirrors
could cause referential integrity issues.

However, it may be simpler to use deb.debian.org, which will assign a
mirror, reducing your reliance on any one mirror. Mine look like so:

root@freeman:~# cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official i386 NETINST 
20210814-10:03]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official i386 NETINST 
20210814-10:03]/ bullseye main

deb http://deb.debian.org/debian bullseye main contrib non-free
# deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main
# deb-src http://security.debian.org/debian-security bullseye-security main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

root@freeman:~# 


-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal. APPEARS SOLVED.

2021-09-29 Thread Greg Wooledge
On Wed, Sep 29, 2021 at 02:35:10PM -0700, pe...@easthope.ca wrote:
> I can't explain why / was owned by me.  According to the above it 
> happened in the release upgrade two days ago.

No, that's not what that timestamp says.  The timestamp in "ls -ld"
is the modification time (mtime) on the directory, not the change time
(ctime).

The mtime on a directory changes when you create something (a new file
or subdirectory or whatever) inside it, or delete something from it,
or rename something in it.  It doesn't update on chown or chmod.
That would be ctime.

So, we don't know when the ownership changed.  It's probably not something
that can easily be tracked down at this point.  Either you remember
the reason, or you don't.

I'm happy that it's fixed now.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal. APPEARS SOLVED.

2021-09-29 Thread peter
From: Nils 
Date: Tue, 28 Sep 2021 17:16:30 +
> Are you sure you still need these journals? 

I don't know.

> ... my way to work around it would be to just delete those logs.

Did that and rebooted.  System behaviour unchanged.

APPARENT SOLUTION

root@joule:/home/peter# ls -ld / /var /etc /usr /var/lib /var/log
drwxr-xr-x  18 peter peter  4096 Sep 27 18:00 /
drwxr-xr-x 132 root  root  12288 Sep 29 09:34 /etc
drwxr-xr-x  14 root  root   4096 Nov 11  2020 /usr
drwxr-xr-x  11 root  root   4096 Nov  3  2020 /var
drwxr-xr-x  50 root  root   4096 Sep 27 19:28 /var/lib
drwxr-xr-x  10 root  root   4096 Sep 29 14:09 /var/log

root@joule:/home/peter# chown root:root /

Then the upgrade completes with no errors.

I can't explain why / was owned by me.  According to the above it 
happened in the release upgrade two days ago.

Apologies for the disturbance.

Regards,... P.

-- 
48.7693 N 123.3053 W
mobile: +1 778 951 5147
  VoIP: +1 604 670 0140



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread Greg Wooledge
On Wed, Sep 29, 2021 at 07:05:37AM -0700, pe...@easthope.ca wrote:
> From: Greg Wooledge 
> Date: Tue, 28 Sep 2021 13:41:05 -0400
> > What does it look like?
> > 
> > ls -ld / /var /var/log /var/log/journal
> 
> root@joule:/# ls -ld / /var /var/log
> drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
> drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
> drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log

The ownership of the / directory is wrong.  It should be root:root,
not peter:peter.

chown root:root /

Everything else looks OK at the moment.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread peter
From: Nils 
Date: Tue, 28 Sep 2021 17:16:30 +
> Are you sure you still need these journals? 

I don't know.

> ... my way to work around it would be to just delete those logs.

Did that and rebooted.  System behaviour is unchanged.

plymouth-label was the last package reported unconfigured.  So ...

root@joule:~# apt-get --reinstall install plymouth-label
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for plymouth-label:i386

The i386 archive is defective?  The sources.list here doesn't rely on 
one site.

root@joule:~# cat /etc/apt/sources.list
#deb http://mirror.it.ubc.ca/debian/ bullseye main
deb http://mirror.it.ubc.ca/debian/ bullseye main contrib non-free
deb-src http://mirror.it.ubc.ca/debian/ bullseye main contrib non-free

deb http://ftp.ca.debian.org/debian/ bullseye main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-fr
ee
deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib no
n-free

Has anyone installed or upgraded to bullseye on a 32 bit PC?

Thx,   ... P.

-- 
48.7693 N 123.3053 W
mobile: +1 778 951 5147
  VoIP: +1 604 670 0140



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-29 Thread peter
From: Greg Wooledge 
Date: Tue, 28 Sep 2021 13:41:05 -0400
> What does it look like?
> 
> ls -ld / /var /var/log /var/log/journal

root@joule:/# ls -ld / /var /var/log
drwxr-xr-x 18 peter peter 4096 Sep 27 18:00 /
drwxr-xr-x 11 root  root  4096 Nov  3  2020 /var
drwxr-xr-x 10 root  root  4096 Sep 29 06:39 /var/log

root@joule:/# ls -lR /var/log/journal
/var/log/journal:
total 4
drwxr-xr-x 2 root root 4096 Sep 29 06:46 82516769d28444b49bf2553c1a9d8b27

/var/log/journal/82516769d28444b49bf2553c1a9d8b27:
total 32776
-rw-r-  1 root root 25165824 Sep 29 06:49 system.journal
-rw-r-+ 1 root root  8388608 Sep 29 06:54 user-1000.journal

The two files contain binary data.  Any chance they are file system 
journals?  

Thx,... P.



-- 
48.7693 N 123.3053 W
mobile: +1 778 951 5147
  VoIP: +1 604 670 0140



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-28 Thread Greg Wooledge
On Tue, Sep 28, 2021 at 06:33:52PM +, Andrew M.A. Cater wrote:
> On Tue, Sep 28, 2021 at 08:55:59AM -0700, pe...@easthope.ca wrote:
> > Errors were encountered while processing:
> >  systemd
> >  libpam-systemd:i386
> >  policykit-1
> >  policykit-1-gnome
> >  plymouth
> >  mate-polkit:i386
> >  lxpolkit
> >  modemmanager
> >  plymouth-label
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > root@joule:~# 

> If this appears to be complete apart from the errors you have: it may be 
> worth rebooting and running dpkg -C to configure anything that is unpacked
> but remains unconfigured.

This would not be my advice.  For two reasons:

1) If the underlying problem isn't fixed, there is no reason to expect
   that "dpkg -C" is going to fix things.  It should just run the same
   post-inst scripts again, and produce the same errors again.

2) With systemd in a possibly messed-up state, rebooting is risky.

I would focus on fixing the underlying issue, starting with looking at
the things that it complained about.

ls -ld / /var /var/log /var/log/journal



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-28 Thread Andrew M.A. Cater
On Tue, Sep 28, 2021 at 08:55:59AM -0700, pe...@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.
> 
> 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?
> 
> Thx,... P.
> 
> ===
> root@joule:~# apt update
> Hit:1 https://mirror.it.ubc.ca/debian bullseye InRelease
> Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> All packages are up to date.
> root@joule:~# apt upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 9 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue? [Y/n] 
> 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
> dpkg: dependency problems prevent configuration of libpam-systemd:i386:
>  libpam-systemd:i386 depends on systemd (= 247.3-6); however:
>   Package systemd is not configured yet.
> 
> dpkg: error processing package libpam-systemd:i386 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of policykit-1:
>  policykit-1 depends on default-logind | logind; however:
>   Package default-logind is not installed.
>   Package libpam-systemd:i386 which provides default-logind is not configured 
> yet.
>   Package logind is not installed.
>   Package libpam-systemd:i386 which provides logind is not configured yet.
> 
> dpkg: error processing package policykit-1 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of policykit-1-gnome:
>  policykit-1-gnome depends on policykit-1; however:
>   Package policykit-1 is not configured yet.
> 
> dpkg: error processing package policykit-1-gnome (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of plymouth:
>  plymouth depends on systemd (>= 232-8~); however:
>   Package systemd is not configured yet.
> 
> dpkg: error processing package plymouth (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of mate-polkit:i386:
>  mate-polkit:i386 depends on policykit-1; however:
>   Package policykit-1 is not configured yet.
> 
> dpkg: error processing package mate-polkit:i386 (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of lxpolkit:
>  lxpolkit depends on policykit-1; however:
>   Package policykit-1 is not configured yet.
> 
> dpkg: error processing package lxpolkit (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of modemmanager:
>  modemmanager depends on policykit-1; however:
>   Package policykit-1 is not configured yet.
> 
> dpkg: error processing package modemmanager (--configure):
>  dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of plymouth-label:
>  plymouth-label depends on plymouth (= 0.9.5-3); however:
>   Package plymouth is not configured yet.
> 
> dpkg: error processing package plymouth-label (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  systemd
>  libpam-systemd:i386
>  policykit-1
>  pol

Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-28 Thread Greg Wooledge
On Tue, Sep 28, 2021 at 08:55:59AM -0700, pe...@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

 suggests an ownership
misconfiguration could be responsible.  Thus, seeing the output of the ls
command may help.



Re: Upgrading buster => bullseye. Canonicalization of /var/log/journal.

2021-09-28 Thread Nils
Hi,
Are you sure you still need these journals? Might be some nasty bug and my way 
to work around it would be to just delete those logs.
I mean, it's kind of a hacky solution but I'm absolutely sure this allows the 
upgrade to continue.

Hope it's a viable solution to you,
Tuxifan

Am 28. September 2021 17:55:59 MESZ schrieb pe...@easthope.ca:
>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.
>
>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?
>
>Thx,... P.
>
>===
>root@joule:~# apt update
>Hit:1 https://mirror.it.ubc.ca/debian bullseye InRelease
>Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
>Reading package lists... Done
>Building dependency tree... Done
>Reading state information... Done
>All packages are up to date.
>root@joule:~# apt upgrade
>Reading package lists... Done
>Building dependency tree... Done
>Reading state information... Done
>Calculating upgrade... Done
>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>9 not fully installed or removed.
>After this operation, 0 B of additional disk space will be used.
>Do you want to continue? [Y/n] 
>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
>dpkg: dependency problems prevent configuration of libpam-systemd:i386:
> libpam-systemd:i386 depends on systemd (= 247.3-6); however:
>  Package systemd is not configured yet.
>
>dpkg: error processing package libpam-systemd:i386 (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of policykit-1:
> policykit-1 depends on default-logind | logind; however:
>  Package default-logind is not installed.
>  Package libpam-systemd:i386 which provides default-logind is not configured 
> yet.
>  Package logind is not installed.
>  Package libpam-systemd:i386 which provides logind is not configured yet.
>
>dpkg: error processing package policykit-1 (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of policykit-1-gnome:
> policykit-1-gnome depends on policykit-1; however:
>  Package policykit-1 is not configured yet.
>
>dpkg: error processing package policykit-1-gnome (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of plymouth:
> plymouth depends on systemd (>= 232-8~); however:
>  Package systemd is not configured yet.
>
>dpkg: error processing package plymouth (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of mate-polkit:i386:
> mate-polkit:i386 depends on policykit-1; however:
>  Package policykit-1 is not configured yet.
>
>dpkg: error processing package mate-polkit:i386 (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of lxpolkit:
> lxpolkit depends on policykit-1; however:
>  Package policykit-1 is not configured yet.
>
>dpkg: error processing package lxpolkit (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of modemmanager:
> modemmanager depends on policykit-1; however:
>  Package policykit-1 is not configured yet.
>
>dpkg: error processing package modemmanager (--configure):
> dependency problems - leaving unconfigured
>dpkg: dependency problems prevent configuration of plymouth-label:
> plymouth-label depends on plymouth (= 0.9.5-3); however:
>  Package plymouth is not configured yet.
>
>dpkg: error processing package