Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to run a WebDAV server inside of an LXC container, but I'm being told that modprobe is not available (even as root). I've seen that this was requested by developers, but how can I get around it?

Running on Debian Squeeze.

Here's the messages I'm getting after loading dav2fs on the main server:

Please enter the username to authenticate with server or hit enter for none.
  Username: lwapnitsky
Please enter the password to authenticate user lwapnitsky with server or hit enter for none.
/sbin/mount.davfs: sh: 1: can't open fuse device
/sbin/modprobe: not found/sbin/mount.davfs:
trying coda kernel file system
sh: 1: /sbin/modprobe: not found
/sbin/mount.davfs: no free coda device to mount
share|improve this question
What kernel module do you need for WebDAV? Is this not a plain apache httpd module? – Nils Apr 20 '12 at 19:13
davfs2 for webdav file sharing – Larry G. Wapnitsky Apr 20 '12 at 19:37
up vote 6 down vote accepted

LXC is - according to its own home-page “chroot on steroids”. So basically you do use the "main" kernel (outside the container) - not - like in virtualization - your "own" kernel.

So if you really need a certain kernel-module this has to be loaded on your LXC-server.

share|improve this answer
let me try loading that on the main server. forgot about that. – Larry G. Wapnitsky Apr 20 '12 at 19:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.