Bug 2824 - cifs causes kmail to crash
Summary: cifs causes kmail to crash
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: x86 Linux
: P3 normal
Target Milestone: ---
Assignee: Steve French
QA Contact:
Depends on:
Reported: 2005-06-25 11:26 UTC by Rene Tapia
Modified: 2005-07-20 18:57 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Rene Tapia 2005-06-25 11:26:46 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.

Debian 2.6.11

Debian 2.4.27-2


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."

No crash.
Comment 1 Rene Tapia 2005-06-25 11:29:49 UTC
Changed platform.
Comment 2 Dave Kleikamp 2005-07-20 10:41:18 UTC
Confirmed - I see the same thing on gentoo running a kernel mounted on
a loopback mount to localhost.  I am investigating.
Comment 3 Dave Kleikamp 2005-07-20 11:27:05 UTC
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.
Comment 4 Dave Kleikamp 2005-07-20 14:46:16 UTC
I upgraded to linux-2.6.13-rc3, mounted with the "mapchars" option, and kmail
now sends mail without crashing.
Comment 5 Rene Tapia 2005-07-20 15:24:42 UTC
Confirmed on Debian 2.6.11. Using the "mapchars" option, kmail can send mail
without crashing.
Comment 6 Steve French 2005-07-20 18:57:23 UTC
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).