Bug 377165

Summary: Looks like KIO wasn't tested when samba is installed but not started and fills logs with error messages
Product: [Frameworks and Libraries] frameworks-kio Reporter: Serhiy <serhiy.int>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED NOT A BUG    
Severity: minor CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.28.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Serhiy 2017-03-03 14:06:05 UTC
There are thousands of these lines in logs and they take 8Mb after just few hours of using the system:

We got some errors while running 'net usershare info'
"mkdir failed on directory /var/run/samba/msg.lock: \xD0\x92\xD1\x96\xD0\xB4\xD0\xBC\xD0\xBE\xD0\xB2\xD0\xBB\xD0\xB5\xD0\xBD\xD0\xBE \xD1\x83 \xD0\xB4\xD0\xBE\xD1\x81\xD1\x82\xD1\x83\xD0\xBF\xD1\x96\n"

BTW, why is this "Access denied" in Ukrainian written in URL encoding instead of UTF-8?
Comment 1 David Faure 2017-03-04 14:14:42 UTC
What happens on your system when you run the command `net usershare info` in a terminal? What is printed?

If you could redirect it to a file and attach it here that would be even better ;) Thanks.
Comment 2 Serhiy 2017-03-04 15:51:21 UTC
Yesterday I've deleted samba to get rid of these messages and after installing and disabling it again I can no longer reproduce this. Maybe it was due to some permissions issue on this /var/run/samba/ folder. It's an old system upgraded many times after all. Closing this for now, sorry for disturbing.

Short version for anyone finding this by same errors: try reinstalling samba as a workaround.
Comment 3 Serhiy 2017-03-04 16:11:21 UTC
The log in question is `/tmp/fileEfcqvD`, where `EfcqvD` are some random characters, BTW.