mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Subject: initscript: kill debug option
The apparmor module no longer supports being loaded with the subdomain_debug module argument. Kill the option that tried to do this.
This commit is contained in:
parent
f309bbd8e7
commit
1696851ec4
5 changed files with 0 additions and 20 deletions
|
@ -100,9 +100,6 @@ case "$1" in
|
|||
try-restart)
|
||||
subdomain_try_restart
|
||||
;;
|
||||
debug)
|
||||
subdomain_debug
|
||||
;;
|
||||
kill)
|
||||
subdomain_kill
|
||||
;;
|
||||
|
|
|
@ -427,14 +427,6 @@ subdomain_try_restart() {
|
|||
return $?
|
||||
}
|
||||
|
||||
subdomain_debug() {
|
||||
subdomain_kill
|
||||
load_module "subdomain_debug=1"
|
||||
mount_subdomainfs
|
||||
configure_owlsm
|
||||
parse_profiles load
|
||||
}
|
||||
|
||||
configure_owlsm () {
|
||||
if [ "${SUBDOMAIN_ENABLE_OWLSM}" = "yes" -a -f ${SFS_MOUNTPOINT}/control/owlsm ] ; then
|
||||
# Sigh, the "sh -c" is necessary for the SuSE sd_action
|
||||
|
|
|
@ -107,9 +107,6 @@ case "$1" in
|
|||
try-restart)
|
||||
subdomain_try_restart
|
||||
;;
|
||||
debug)
|
||||
subdomain_debug
|
||||
;;
|
||||
kill)
|
||||
subdomain_kill
|
||||
;;
|
||||
|
|
|
@ -81,9 +81,6 @@ case "$1" in
|
|||
try-restart)
|
||||
subdomain_try_restart
|
||||
;;
|
||||
debug)
|
||||
subdomain_debug
|
||||
;;
|
||||
kill)
|
||||
subdomain_kill
|
||||
;;
|
||||
|
|
|
@ -110,9 +110,6 @@ case "$1" in
|
|||
try-restart)
|
||||
subdomain_try_restart
|
||||
;;
|
||||
debug)
|
||||
subdomain_debug
|
||||
;;
|
||||
kill)
|
||||
subdomain_kill
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue