systemd-sysv-convert errors during update

Hi all,
with every new update I have an increasing number of weird warning messages. They don’t seem to affect system stability, but I’d like to understand where they come from.
Google is not helping.

Here is an excerpt of my latest zypper dup:

( 20/258) Installazione di: kactivitymanagerd-5.21.1-1.1.x86_64 ...............................................................................................................[fine] 
Output aggiuntivo di rpm:
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-kactivitymanagerd.service not found, skipping                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-kactivitymanagerd.service not found, skipping                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-kactivitymanagerd.service not found, skipping                                                                          


( 21/258) Installazione di: kcm_sddm-5.21.1-1.1.x86_64 ........................................................................................................................[fine]
(...)
[FONT=monospace]( 66/258) Installazione di: polkit-kde-agent-5-5.21.1-1.1.x86_64 ..............................................................................................................[fine] 
Output aggiuntivo di rpm:
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-polkit-agent.service not found, skipping                                                                               
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-polkit-agent.service not found, skipping                                                                               
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping                                                                                          
systemd-sysv-convert: warning, /usr/lib/systemd/system/plasma-polkit-agent.service not found, skipping                                                                               


( 67/258) Installazione di: publicsuffix-20210221-1.1.noarch ..................................................................................................................[fine]
(...)
[/FONT]

Any suggestion?

Thank you in advance
Cris

I’m not seeing anything similar.

After an update, I always run:


rpmconfigcheck
zypper pa --orphaned

That tells me about other changes that I should consider. Maybe check the output of those commands.

(I usually delete any orphaned packages listed, unless that raises a conflict).

I had the same errors. Everything seems to work fine, so I’m not concerned.

Hi nrickert

Thank you for your reply.
The first command returns nothing. The second one returns a few packages that I have installed directly from rpm packages, so they’re expected to be orphaned.
Besides, I have these errors on both my Tumbleweed computers.

Cris

Hi tanker_bob! That’s my experience too.
However, I like to know exactly what’s happening on my PCs, so even if everything’s apparently fine I’d still like to understand what’s causing those warnings.

Thank you
Cris

Some second thoughts:

I my previous reply, I said that I am not seeing those message. But it occurs to me that I wouldn’t see them unless my eyes are glued to the screen during an update. I’m often doing something else. And I do occasionally notice odd messages which look is if they can be ignored.

Those message do look as if they can be ignored.

At a guess, they are from systemd looking for older SysV startup files and converting them to systemd units. So it would be normal for many of those files to not exist, especially on a system that was converted to systemd a long time ago.

Open bug report against systemd. It is a bug in systemd macros used during package installatiom. Macro “%systemd_user_post …” is supposed to expand to “systemctl --global …”, instead “–global” is interpreted as unit name.

No, they cannot. It means systemd units installed by package may not be setup correctly. Even if if it does not cause any visible issues now it may change in the future. So it is better be fixed now, while it does not cause more serious problems.

Basically yes. However the only warning aside from missing unit files named /usr/lib/systemd/system/plasma-* is multiple occurrences of:

3400G:~ # grep -e '--global.service' /var/log/zypp/history|uniq 
# systemd-sysv-convert: warning, /usr/lib/systemd/system/--global.service not found, skipping 
3400G:~ #

Thus for the time being I don’t expect adverse effects. KDE plasma works as usual.

Read systemd documentation about difference between system and user units.

Hi arvidjaar

Thank you
Cris

The bug has been closed with this reason:

Yeah, that script is a Suse thing. Please contact suse for help on this.
See:
Show Base:System / systemd - openSUSE Build Service

Anybody knows where should I report this?

Thank you in advance
Cris

Try:
openSUSE:Submitting bug reports

Thank you.
Bug submitted: 1183131 – Hundreds of weird systemd-sysv-convert warnings during upgrade (zypper dup)

Cris