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.
virt-aa-helper right now: symlinkdisk- doesexist" rwk, run/symlinkdisk -doesnotexist" rwk, symlinksocket- doesexist" rw, run/symlinksock et-doesnotexist " rw, run/pathdoesnot exist/symlinkso cket" rw, symlinknet- doesexist" rw, run/symlinknet- doesnotexist" rw,
"/run/
"/var/
"/run/
"/var/
"/var/
"/run/
"/var/
With fix: symlinkdisk- doesexist" rwk, symlinkdisk- doesnotexist" rwk, symlinksocket- doesexist" rw, symlinksocket- doesnotexist" rw, run/pathdoesnot exist/symlinkso cket" rw, symlinknet- doesexist" rw, symlinknet- doesnotexist" rw,
"/run/
"/run/
"/run/
"/run/
"/var/
"/run/
"/run/
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.