mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
utils: Point to the correct Profiles wiki page
The URL redirect ends up at a page in the new wiki that doesn't exist. We have to link directly to the gitlab URL here since the current URL redirect doesn't let us use a wiki.apparmor.net URL and still reach the expected Profiles page. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
parent
2bef2e23d1
commit
e27df656f0
2 changed files with 4 additions and 4 deletions
|
@ -138,7 +138,7 @@ my $ratelimit_saved = sysctl_read($ratelimit_sysctl);
|
|||
END { sysctl_write($ratelimit_sysctl, $ratelimit_saved); }
|
||||
sysctl_write($ratelimit_sysctl, 0);
|
||||
|
||||
UI_Info(gettext("\nBefore you begin, you may wish to check if a\nprofile already exists for the application you\nwish to confine. See the following wiki page for\nmore information:\nhttp://wiki.apparmor.net/index.php/Profiles"));
|
||||
UI_Info(gettext("\nBefore you begin, you may wish to check if a\nprofile already exists for the application you\nwish to confine. See the following wiki page for\nmore information:\nhttps://gitlab.com/apparmor/apparmor/wikis/Profiles"));
|
||||
|
||||
UI_Important(gettext("Please start the application to be profiled in \nanother window and exercise its functionality now.\n\nOnce completed, select the \"Scan\" button below in \norder to scan the system logs for AppArmor events. \n\nFor each AppArmor event, you will be given the \nopportunity to choose whether the access should be \nallowed or denied."));
|
||||
|
||||
|
@ -195,7 +195,7 @@ for my $p (sort keys %helpers) {
|
|||
}
|
||||
|
||||
UI_Info(gettext("Reloaded AppArmor profiles in enforce mode."));
|
||||
UI_Info(gettext("\nPlease consider contributing your new profile! See\nthe following wiki page for more information:\nhttp://wiki.apparmor.net/index.php/Profiles\n"));
|
||||
UI_Info(gettext("\nPlease consider contributing your new profile! See\nthe following wiki page for more information:\nhttps://gitlab.com/apparmor/apparmor/wikis/Profiles\n"));
|
||||
UI_Info(sprintf(gettext('Finished generating profile for %s.'), $fqdbin));
|
||||
exit 0;
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ except PermissionError: # will fail in lxd
|
|||
|
||||
atexit.register(restore_ratelimit)
|
||||
|
||||
aaui.UI_Info(_('\nBefore you begin, you may wish to check if a\nprofile already exists for the application you\nwish to confine. See the following wiki page for\nmore information:')+'\nhttp://wiki.apparmor.net/index.php/Profiles')
|
||||
aaui.UI_Info(_('\nBefore you begin, you may wish to check if a\nprofile already exists for the application you\nwish to confine. See the following wiki page for\nmore information:')+'\nhttps://gitlab.com/apparmor/apparmor/wikis/Profiles')
|
||||
|
||||
syslog = True
|
||||
logmark = ''
|
||||
|
@ -173,6 +173,6 @@ for p in sorted(apparmor.helpers.keys()):
|
|||
apparmor.reload(p)
|
||||
|
||||
aaui.UI_Info(_('\nReloaded AppArmor profiles in enforce mode.'))
|
||||
aaui.UI_Info(_('\nPlease consider contributing your new profile!\nSee the following wiki page for more information:')+'\nhttp://wiki.apparmor.net/index.php/Profiles\n')
|
||||
aaui.UI_Info(_('\nPlease consider contributing your new profile!\nSee the following wiki page for more information:')+'\nhttps://gitlab.com/apparmor/apparmor/wikis/Profiles\n')
|
||||
aaui.UI_Info(_('Finished generating profile for %s.')%program)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue