Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: courier imap fails to create a cache file (=UML hostfs problem)

From: Benedict Verheyen <benedict.verheyen(at)gmail.com>
Date: Tue Aug 14 2007 - 19:34:25 EDT


Benedict Verheyen schreef:
> Hin
>
> i installed courier imap 4.1.1 in an uml server as replacement for my
> current vserver setup.
> It also has exim 4.63, maildrop, getmail4, spamassassin and clamav.
>
> Courier is giving me following errors:
> Aug 14 13:06:44 loki imapd: Error: Permission denied
> Aug 14 13:06:44 loki imapd: Failed to create cache file: maildir_lock
> (benedict)
> Aug 14 13:06:44 loki imapd: Error: Permission denied
> Aug 14 13:06:44 loki imapd: Failed to create cache file:
> ./.other/tmp/1187089588.M243537P2466_imapuid_5.loki (benedict)
>
> The home directory is mounted from the host via hostfs.
> In a vserver, it runs ok so the permissions on the home directory should
> be ok.
>
> Maildrop is used to deliver mail and it also does something wrong: mail
> in my directory is delivered als root:root.
>
> Any ideas on those errors?
>
> Thanks,
> Benedict
>

Apparently, as far as I can tell, it's a hostfs problem. I'm mounting my host /home in an UML guest: none /home hostfs defaults,/home 0 0

This works but it has some problems.
If i make a file, as user benedict, then it also fails with a permission denied message. But a file is created but with different permissions than specified, it's owned by root.

Checking maildrop revealed the same problems: maildrop -d benedict -V 4 < /tmp/randomfile 2>&1 | tee > result

There seems to be another filesystem, capable of handling this: humfs Of to investigate.

In the end, i would want to place my /home partition in a file and mount that as extra partition but i think it will spell disaster when mounted by several umls.

If anybody has some tips, shoot :)

Regards,
Benedict

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 14 19:35:13 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:10:31 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library