86ade05802
- add patch with upstream changes since 2.7.0 beta2 release - add example parser.conf - print warning if profile cache directory doesn't exist - remove initscript for no longer existing aa-eventd (bnc#720617) - set correct $HOME in aa-notify - enable caching of profiles (= massive speedup) (bnc#689458) - add comments for patches in .spec and comments in some patches - run spec-cleaner - add libtool as buildrequire to make the spec file more reliable OBS-URL: https://build.opensuse.org/request/show/87208 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=24
25 lines
1.3 KiB
Plaintext
25 lines
1.3 KiB
Plaintext
From: Jeff Mahoney <jeffm@suse.com>
|
|
Subject: AppArmor.pm: Split long string
|
|
|
|
The string split here ends up not displaying well in yast.
|
|
---
|
|
utils/Immunix/AppArmor.pm | 7 ++++++-
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
--- a/utils/Immunix/AppArmor.pm
|
|
+++ b/utils/Immunix/AppArmor.pm
|
|
@@ -6300,7 +6300,12 @@ sub check_qualifiers($) {
|
|
|
|
if ($cfg->{qualifiers}{$program}) {
|
|
unless($cfg->{qualifiers}{$program} =~ /p/) {
|
|
- fatal_error(sprintf(gettext("\%s is currently marked as a program that should not have it's own profile. Usually, programs are marked this way if creating a profile for them is likely to break the rest of the system. If you know what you're doing and are certain you want to create a profile for this program, edit the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $program));
|
|
+ fatal_error(sprintf(gettext(
|
|
+"\%s is currently marked as a program that should not have its own\n".
|
|
+"profile. Usually, programs are marked this way if creating a profile for \n".
|
|
+"them is likely to break the rest of the system. If you know what you're\n".
|
|
+"doing and are certain you want to create a profile for this program, edit\n".
|
|
+"the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $program));
|
|
}
|
|
}
|
|
}
|