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
  • 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

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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