I'd suggest to at least add something like if [ -d "$(dirname $warn_file)" ] around the cat and then before the chmod/chattr if [ -f "$warn_file" ]
This does not stop the current detection from being broken for multi /bind-mounts, but should avoid at least some of the issues. The file is not from the upstream project but just from debian/ subdir in packaging. So filing a bug upstream makes no sense IMHO. Subscribing Daniel/Lukasz who did the last uploads to inquire if they would be willing to take a look at this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755629 Title: ephemeral-disk-warning yields /mnt 0444 immutable on package update when /mnt is bind-mounted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1755629/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
