overlayroot 0.27ubuntu1.3 to 0.27ubuntu1.5 change behavior
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_
overlayroot=
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!
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).