At the root of this issue is ucf.  The ucfr command will store a path
that contains symlinks during insertion but will only match the symlink-
resolved path when attempting removal.  Cloud image builds modify grub's
menu.lst but have attempted to purge the ufc registry entry.  This bug
in ucf causes the registry removal to fail.

This was partially fixed upstream in 3.0028[1] so that future additions
to the registry would be symlink-resolved as well; however it does not
address upgrade such that the user still can not remove an entry
containing a symlink.

For our current cloud image users, we can ensure the entry is properly
removed during image creation for new images, ideally with a fixed ucf
package that benefits everyone, but for images in the field the user
would need to remove the registry entry[2] and this is a manual edit of
the registry file without further patches to upstream ucf.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724457
[2] sed -i -r "/grub[[:space:]]+\/var\/run\/grub\/menu\.lst/d" 
/var/lib/ucf/registry

** Bug watch added: Debian Bug tracker #724457
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=724457

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485685

Title:
  Users are prompted on upgrade of cloud images

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1485685/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to