https://bugs.kde.org/show_bug.cgi?id=432364

            Bug ID: 432364
           Summary: plasma-ksmserver.service blocks boot
           Product: plasmashell
           Version: 5.20.90
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: usarinheini...@hotmail.com
                CC: plasma-b...@kde.org
  Target Milestone: 1.0

SUMMARY


STEPS TO REPRODUCE
1. Disable splash.
2. reboot.

OBSERVED RESULT
The system will reboot, but it will take a long time to finish.

the line:
#ExecStartPost=-/usr/lib/qt5/bin/qdbus org.kde.KSplash /KSplash
org.kde.KSplash.setStage ksmserver in plasma-ksmserver.service is the problem.

ksplash is not running and therefor not registered on dbus. QDbus will hang for
a long time before timing out.

Replacing the line with:
ExecStartPost=-/usr/bin/sh -c "[ $(kreadconfig5 --file ksplashrc --group
KSplash --key Engine) != none ] && /usr/lib/qt5/bin/qdbus org.kde.KSplash
/KSplash org.kde.KSplash.setStage ksmserver" fixes the problem.

Using ExecCondition is not an option because that would apply to
ExecStart=/usr/bin/ksmserver as well.

The same problem exists in plasma-ksplash-ready.service. Adding
ExecCondition=/usr/bin/sh -c "[ $(kreadconfig5 --file ksplashrc --group KSplash
--key Engine) != none ] && exit 0 || exit 1" there fixes it.

EXPECTED RESULT

Fast boot

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu Hirsute
(available in About System)
KDE Plasma Version: 5.20.90
KDE Frameworks Version: 5.78
Qt Version: 5.15

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to