Public bug reported: The ubuntu-repository-charm remounts ephemeral storage in a location more to its liking, and configures it in fstab to mount by label. Due to the unique properties of Azure's storage infrastructure, cloud-init does filesystem setup on every boot. It seems we just don't reboot our Azure instances, because only now have we discovered that /usr/sbin /ephemeral-disk-warning.sh ends up running the following commands the next time such an instance is booted:
chmod 0444 /srv/ubuntu-repository-cache/ephemeral/0 /mnt/DATALOSS_WARNING_README.txt chattr +i /srv/ubuntu-repository-cache/ephemeral/0 /mnt/DATALOSS_WARNING_README.txt which as you can imagine really ruins ubuntu-repository-cache's day. u-r-c should most likely be updated to disable ephmemeral-disk-warning as instructed, but it would also be best if ephemeral-disk-warning.sh dealt more gracefully with this situation. ** Affects: walinuxagent (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1626318 Title: ephemeral-disk-warning.service trips over multiply-mounted filesystems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1626318/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs