aboutsummaryrefslogtreecommitdiff
path: root/init.d/procfs.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/procfs.in')
-rw-r--r--init.d/procfs.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/init.d/procfs.in b/init.d/procfs.in
index de618733..055b5f45 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -13,7 +13,8 @@ description="Mounts misc filesystems in /proc."
depend()
{
- use modules devfs
+ use devfs
+ want modules
need localmount
keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
}
@@ -22,7 +23,10 @@ start()
{
# Setup Kernel Support for miscellaneous Binary Formats
if [ -d /proc/sys/fs/binfmt_misc -a ! -e /proc/sys/fs/binfmt_misc/register ]; then
- modprobe -q binfmt-misc
+ if modprobe -q binfmt-misc; then
+ ewarn "The binfmt-misc module needs to be configured in \
+ @SYSCONFDIR@/conf.d/modules or built in."
+ fi
if grep -qs binfmt_misc /proc/filesystems; then
ebegin "Mounting misc binary format filesystem"
mount -t binfmt_misc -o nodev,noexec,nosuid \