Bug 435052

Summary: plasma5-workspace: Systemd warning when starting plasma-baloorunner.service
Product: [Plasma] krunner Reporter: Oliver
Component: filesearchAssignee: baloo-bugs-null
Status: RESOLVED FIXED    
Severity: minor CC: alexander.lohnau, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.21.4
Sentry Crash Report:

Description Oliver 2021-03-28 09:01:07 UTC
SUMMARY
I'm getting a warning in /var/log/messages when using filesearch:

2021-03-16T06:58:10.580390+01:00 frodo systemd[2102]: /usr/lib/systemd/user/plasma-baloorunner.service:12: Failed to parse service restart specifier, ignoring: no #as we're dbus activated anyway

Reason is a comment in the last line in file /usr/lib/systemd/user/plasma-baloorunner.service :

Restart=no #as we're dbus activated anyway

I guess systemd doesn't like comments after options. After removing the comment I don't get a warning anymore.

STEPS TO REPRODUCE
1. Use filesearch to search for a file
2. Check /var/log/messages for warning messages
3. 

OBSERVED RESULT

Warning in /var/log/messages

EXPECTED RESULT

No warning in /var/log/messages

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSUSE Tumbleweed
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Alexander Lohnau 2021-03-28 09:02:58 UTC
Already fixed :)