Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh
Ben Hutchings <email@example.com> writes:
> On Wed, May 11, 2011 at 05:40:52PM +0100, rleigh wrote:
>> The fix for this is straightforward: by making initramfs-tools use the
>> same options as initscripts and any additional user entries in
>> /etc/fstab (which will naturally use the same options as the scripts
>> in order to be functional), mount failures are prevented and existing
>> user configuration is preserved and functional.
> How is that supposed to work when initramfs-tools mounts directories
> before /etc/fstab is accessible?
The quick way is to just fix the hardcoded name to match what everything
For the more flexible way the /etc/fstab is accessible when the
initramfs is generated. Access it then. That means it still breaks when
the user changes the entry or adds an incompatible entry without
generating a new initaramfs but that can't be helped.