overlayroot 0.27ubuntu1.3 to 0.27ubuntu1.5 change behavior

Bug #1746841 reported by ben adler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-initramfs-tools
Won't Fix
Undecided
Unassigned

Bug Description

I usually use overlayroot 0.27ubuntu1.3 with the following configuration in overlayroot.conf:

overlayroot_cfgdisk="disabled"
overlayroot="tmpfs:recurse=0"

That means my real root filesystem in /dev/sda2 is now mounted to /media/root-ro, and to make changes, I can issue

mount -o remount,rw /media/root-ro/

to have /media/root-ro mounted read-write and can make changes to the root filesystem.

With 0.27ubuntu1.5, this changed, because

mount -o remount,rw /media/root-ro/

does not work any longer (although it returns 0). I have to use

mount -o remount,rw /media/root-ro

(note the trailing slash has to go).

I verified this change by installing the different versions of overlayroot and comparing behavior.
This is a bug to me because I have a script deployed on many machines, which relies on this working. What can be done?

Thanks!

Revision history for this message
Scott Moser (smoser) wrote :

Hi,
I'm sorry about the unintended change in behavior.
Looking at the delta, I think it was unintended fallout of commenting out the '/' entry in /etc/fstab in an effort to work around LP: #1723183.

I don't think there is really much we can do about it.

really just an FYI, there is a 'overlayroot-chroot' command that will do the mount rw for you (and then un-do it).

Changed in cloud-initramfs-tools:
status: New → Won't Fix
Revision history for this message
Scott Moser (smoser) wrote :

Thanks for filing a bug. Had I seen this quite some time ago I might have done something differently.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.