Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: systemd-sysv-convert errors during update

  1. #1
    Join Date
    May 2015
    Location
    Italy
    Posts
    427

    Default 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:


    Code:
    ( 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]
    (...)
    ( 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]
    (...)
    
    Any suggestion?

    Thank you in advance
    Cris
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD Ryzen 5 3600 Six-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD, 500Gb WD BLACK SN750 NVMe SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,991
    Blog Entries
    3

    Default Re: systemd-sysv-convert errors during update

    I'm not seeing anything similar.

    After an update, I always run:
    Code:
    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).
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  3. #3

    Default Re: systemd-sysv-convert errors during update

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

  4. #4
    Join Date
    May 2015
    Location
    Italy
    Posts
    427

    Default Re: systemd-sysv-convert errors during update

    Hi nrickert

    Quote Originally Posted by nrickert View Post
    I'm not seeing anything similar.

    After an update, I always run:
    Code:
    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).
    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
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD Ryzen 5 3600 Six-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD, 500Gb WD BLACK SN750 NVMe SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  5. #5
    Join Date
    May 2015
    Location
    Italy
    Posts
    427

    Default Re: systemd-sysv-convert errors during update

    Quote Originally Posted by tanker_bob View Post
    I had the same errors. Everything seems to work fine, so I'm not concerned.
    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
    Desktop: OpenSUSE Tumbleweed (x86_64) - AMD Ryzen 5 3600 Six-Core Processor, 16Gb RAM, 120GB Samsung Evo 840 SSD, 500Gb WD BLACK SN750 NVMe SSD
    Laptop: OpenSUSE Tumbleweed (x86_64) - Thinkpad T440 - Intel i5-4210U, 12Gb RAM, 250GB Samsung EVO 750 SSD

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,991
    Blog Entries
    3

    Default Re: systemd-sysv-convert errors during update

    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.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  7. #7
    Join Date
    Sep 2012
    Posts
    6,313

    Default Re: systemd-sysv-convert errors during update

    Quote Originally Posted by Cris70 View Post
    Any suggestion?
    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.

  8. #8
    Join Date
    Sep 2012
    Posts
    6,313

    Default Re: systemd-sysv-convert errors during update

    Quote Originally Posted by nrickert View Post
    Those message do look as if they can be ignored.
    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.

  9. #9
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    2,420
    Blog Entries
    1

    Default Re: systemd-sysv-convert errors during update

    Quote Originally Posted by arvidjaar View Post
    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:
    Code:
    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.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  10. #10
    Join Date
    Sep 2012
    Posts
    6,313

    Default Re: systemd-sysv-convert errors during update

    Quote Originally Posted by karlmistelberger View Post
    missing unit files named /usr/lib/systemd/system/plasma-*
    Read systemd documentation about difference between system and user units.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •