fix(profile): workaround in apparmor issue for attached path.
See https://gitlab.com/apparmor/apparmor/-/issues/450 Fix #815
This commit is contained in:
parent
52e9ae9fd6
commit
4e70cb4c91
8 changed files with 7 additions and 6 deletions
|
|
@ -33,5 +33,6 @@ func (p ReAttach) Apply() ([]string, error) {
|
|||
return res, err
|
||||
}
|
||||
out = strings.ReplaceAll(out, "@{att}=/", "# @{att}=/")
|
||||
out = strings.ReplaceAll(out, "alias / -> //,", "#alias / -> //,")
|
||||
return res, path.WriteFile([]byte(out))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue