Unable to install autofs,Please help me!

gienginali

New Member
Oct 28, 2015
4
0
1
changhua,taiwan
Unable to install autofs,Please help me!

Hello everyone.

I order Container - Debian 8 template (debian-8.0-standard 8.0-1_amd64.tar.gz) LXC established a virtual machine.
In this LXC virtual machine to install autofs.
However, problems occur when you install autofs.
I ask, how to solve this problem.

Thank you very much.
 
update-rc.d: Warning: Start and stop actions are no longer supported; falling back to defaults
[....] starting automount.../usr/sbin/automount: Test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.
failed (no valid automount entries defined.).
invoke-rc.d: Initscript autofs, action "start" failed.
dpkg: Error processing package autofs (--configure):

autofs
e: Sub-process /usr/bin/dpkg returned an error code (1)
 
mount is forbidden inside containers, and there are normally no devices to mount. So why do you want automount?
 
A part of the information the school's website and web ftp placed on another physical host, so we want to use automount feature to automatically mount.
Also it can integrate data from the many different hosts a VM.
 
A part of the information the school's website and web ftp placed on another physical host, so we want to use automount feature to automatically mount.

I suggest you use a fully virtualized VM for that. Or you mount that data from the host, then do a bind mount into the container.