mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 18:17:09 +00:00
utils aa-notify: Update message to improve merged rules message
The current notification can be confusing, in that it can present a profile followed by a list of rules that can't be selected. Explictly state that the Unknown profile can't be modified so the user has some indication that not being able to select the shown rules is expected. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
e0f8bd4400
commit
9cb72734eb
@ -761,7 +761,7 @@ def get_aggregated(rl, agg, max_nb_profiles, keys_to_aggregate, special_profiles
|
||||
if profile_path is not None:
|
||||
clean_rules_name = _('profile {}:').format(profile)
|
||||
else:
|
||||
clean_rules_name = _('# Unknown profile {}').format(profile)
|
||||
clean_rules_name = _('# Unknown profile "{}" can not be modified:').format(profile)
|
||||
else:
|
||||
clean_rules_name = _('# unprivileged userns denials ({}):').format(profile)
|
||||
clean_rules[clean_rules_name] = ProfileRules(
|
||||
|
Loading…
x
Reference in New Issue
Block a user