Bug 377165 - Looks like KIO wasn't tested when samba is installed but not started and fills logs with error messages
Summary: Looks like KIO wasn't tested when samba is installed but not started and fill...
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.28.0
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-03 14:06 UTC by Serhiy Zahoriya
Modified: 2017-03-04 16:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serhiy Zahoriya 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 Zahoriya 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 Zahoriya 2017-03-04 16:11:21 UTC
The log in question is `/tmp/fileEfcqvD`, where `EfcqvD` are some random characters, BTW.