virt-aa-helper right now: "/run/symlinkdisk-doesexist" rwk, "/var/run/symlinkdisk-doesnotexist" rwk, "/run/symlinksocket-doesexist" rw, "/var/run/symlinksocket-doesnotexist" rw, "/var/run/pathdoesnotexist/symlinksocket" rw, "/run/symlinknet-doesexist" rw, "/var/run/symlinknet-doesnotexist" rw,
With fix: "/run/symlinkdisk-doesexist" rwk, "/run/symlinkdisk-doesnotexist" rwk, "/run/symlinksocket-doesexist" rw, "/run/symlinksocket-doesnotexist" rw, "/var/run/pathdoesnotexist/symlinksocket" rw, "/run/symlinknet-doesexist" rw, "/run/symlinknet-doesnotexist" rw, That is already much better. I wonder if instead splitting dir/file we should walk the path and resolve the longest existing path and append all not yet existing path parts. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752361 Title: virt-aa-helper should resolve symlinks and use only resolved paths To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1752361/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs