File apparmor-utils-string-split of Package apparmor.9786

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
@@ -6335,7 +6335,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));
         }
     }
 }
openSUSE Build Service is sponsored by