The Samba-Bugzilla – Bug 2824
cifs causes kmail to crash
Last modified: 2005-07-20 18:57:23 UTC
I have been using cifs to mount user's home directories from a samba server for
a couple of months now. Everything has been great, except for a couple of apps,
that can not be used with cifs.
STEPS TO REPRODUCE:
1) Use cifs to mount a user's home directory with serverino option turned on
(kmail stores the Mail directory in the home directory by default).
2) Alternatively, edit ~/.kde/share/config/kmailrc, and add e.g.
folders=/mycifsmount/Mail to the “[General]” section.
3) Configure kmail (i.e. SMTP server, etc) and send an email.
kmail crashes. "[Error - KNotify] KMail found a fatal error and will exit now."
Confirmed - I see the same thing on gentoo running a 22.214.171.124 kernel mounted on
a loopback mount to localhost. I am investigating.
kmail has a problem creating the file
"Mail/sent-mail/tmp/1121880881.20064.vQUZ5:2,S". I believe using the "mapchars"
mount option will fix it, but I need to update my kernel before I can verify it.
I upgraded to linux-2.6.13-rc3, mounted with the "mapchars" option, and kmail
now sends mail without crashing.
Confirmed on Debian 2.6.11. Using the "mapchars" option, kmail can send mail
Fixed after 2.6.11 (cifs.ko) with addition of mapchars mount option (future
versions of samba server make this unnecessary when the server is changed to
better detect a posix client such as the cifs vfs).