Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh
Package: initramfs-tools
Version: 0.93.4
Severity: critical
File: /usr/share/initramfs-tools/init
Tags: patch
Hi,
I recently installed a squeeze system. The generated /etc/fstab
contains the following line:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
But in /usr/share/initramfs-tools/init you have:
mount -t proc -o nodev,noexec,nosuid none /proc
This causes mount to return an error when mounting all local
filesystems because "proc" and "none" are different divices and it
can't mount /proc again over an existing mountpoint. The
/etc/init.d/mountall.sh script reports a red FAILED because of that.
Node: /etc/mtab is a link to /proc/mounts here. That might affect this
issue.
Please change the mount command for proc to:
mount -t proc -o nodev,noexec,nosuid proc /proc
MfG
Goswin
-- Package-specific info:
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-book-1 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages initramfs-tools depends on:
ii cpio 2.10-1 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.15-1 small utilities built with klibc f
ii module-init-tools 3.11-1 tools for managing Linux kernel mo
ii udev 161-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.14.2-2 Tiny utilities for small and embed
initramfs-tools suggests no packages.
-- no debconf information
Reply to: