Skip to content

Commit

Permalink
Merge pull request #12 from yast/fix_service_SP3
Browse files Browse the repository at this point in the history
Fix service sp3
  • Loading branch information
jreidinger committed Jun 30, 2017
2 parents 2448ce1 + 62fc000 commit a1f427c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -27,3 +27,5 @@ Makefile.am.common
.dep
tmp.*
*.log
/doc
/.yardoc
6 changes: 6 additions & 0 deletions package/yast2-apparmor.changes
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 30 12:44:14 UTC 2017 - jreidinger@suse.com

- fix name of apparmor systemd service (bsc#1046750)
- 3.2.1

-------------------------------------------------------------------
Wed Apr 5 07:03:30 UTC 2017 - mfilka@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-apparmor.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-apparmor
Version: 3.2.0
Version: 3.2.1
Release: 0
Summary: YaST2 - Plugins for AppArmor Profile Management
Url: https://github.com/yast/yast-apparmor
Expand Down
4 changes: 2 additions & 2 deletions src/servers_non_y2/ag_aa_config
Expand Up @@ -39,7 +39,7 @@ sub setAppArmor {
}
}
close(RUN);
system("systemctl enable boot.apparmor");
system("systemctl enable apparmor");
} else {
if (-e "/sbin/rcapparmor") {
open(RUN, "/sbin/rcapparmor stop 2>&1 |");
Expand All @@ -52,7 +52,7 @@ sub setAppArmor {
}
}
close(RUN);
system("systemctl disable boot.apparmor");
system("systemctl disable apparmor");
}
return $errmsg;
}
Expand Down

0 comments on commit a1f427c

Please sign in to comment.