Сравнение постов

Различия между постами #156239 (12.12.2020 14:55) и #156240 (12.12.2020 14:57).
1
miko@ubu:~$ sudo aa-genprof free
1
[admin@server ~]$ sudo aa-genprof free
22
33Before you begin, you may wish to check if a profile already exists for the application you wish to confine. See the following wiki page for more information:
44https://gitlab.com/apparmor/apparmor/wikis/Profiles
55
66Profiling: /usr/bin/free
77
88Please start the application to be profiled in another window and exercise its functionality now.
99
1010Once completed, select the "Scan" option below in order to scan the system logs for AppArmor events.
1111
1212For each AppArmor event, you will be given the opportunity to choose whether the access should be
1313allowed or denied.
1414
1515[(S)can system log for AppArmor events] / (F)inish
1616Reading log entries from /var/log/syslog.
1717Updating AppArmor profiles in /etc/apparmor.d.
1818Complain-mode changes:
1919
2020Profile: /usr/bin/free
2121Path: /proc/sys/kernel/osrelease
2222New Mode: r
2323Severity: 6
2424
2525 [1 - /proc/sys/kernel/osrelease r,]
2626(A)llow / [(D)eny] / (I)gnore / (G)lob / Glob with (E)xtension / (N)ew / Audi(t) / Abo(r)t / (F)inish
2727Adding /proc/sys/kernel/osrelease r, to profile.
2828
2929= Changed Local Profiles =
3030
3131The following local profiles were changed. Would you like to save them?
3232
3333 [1 - /usr/bin/free]
3434(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t
3535
3636= Changed Local Profiles =
3737
3838The following local profiles were changed. Would you like to save them?
3939
4040 [1 - /usr/bin/free]
4141(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t
4242Writing updated profile for /usr/bin/free.
4343
4444Profiling: /usr/bin/free
4545
4646Please start the application to be profiled in another window and exercise its functionality now.
4747Once completed, select the "Scan" option below in order to scan the system logs for AppArmor events.
4848
4949For each AppArmor event, you will be given the opportunity to choose whether the access should be
5050allowed or denied.
5151
5252[(S)can system log for AppArmor events] / (F)inish
5353
5454Reloaded AppArmor profiles in enforce mode.
5555
5656Please consider contributing your new profile!
5757See the following wiki page for more information:
5858https://gitlab.com/apparmor/apparmor/wikis/Profiles
5959