fix(profile): issue with re-attached paths

- Add missing att on some profiles
- Fix alias / -> //
- Fix aa-log att variable resolution

fix #813 #814
This commit is contained in:
Alexandre Pujol 2025-08-17 00:07:53 +02:00
parent 5ee999536c
commit e55ace4e0a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
8 changed files with 15 additions and 11 deletions

View file

@ -64,7 +64,7 @@ var (
`/home/[^/]+/`, `@{HOME}/`,
// Resolve system variables
`/att/[^/@]+`, `@{att}/`,
`/att/[^/]+/`, `@{att}/`,
`/usr/lib(32|64|exec)`, `@{lib}`,
`/usr/lib`, `@{lib}`,
`/usr/sbin`, `@{sbin}`,
@ -86,7 +86,6 @@ var (
`pci` + strings.Repeat(h, 4) + `:` + strings.Repeat(h, 2), `@{pci_bus}`,
`@{pci_bus}/[0-9a-f:*./]*/`, `@{pci}/`,
`1000`, `@{uid}`,
`@{att}//`, `@{att}/`,
// Some system glob
`:not.active.yet`, `@{busname}`, // dbus unique bus name