Bug 1128608 - ghostscript: AppArmor packaging issues
ghostscript: AppArmor packaging issues
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: AppArmor
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Johannes Segitz
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-10 00:26 UTC by Christian Boltz
Modified: 2019-03-26 07:30 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Boltz 2019-03-10 00:26:39 UTC
I noticed two issues with the packaging of the ghostscript AppArmor profile:

a) ghostscript owns the /etc/apparmor.d/ directory

This doesn't really hurt, but   Requires: apparmor-abstractions   would be a better choice.

b) the profile doesn't get loaded/reloaded on package updates

You can do this with

BuildRequires:  apparmor-rpm-macros

%post
%apparmor_reload /etc/apparmor.d/ghostscript

(obviously this assumes that you handle bug 1128607 first ;-)
Comment 1 Swamp Workflow Management 2019-03-22 14:50:21 UTC
This is an autogenerated message for OBS integration:
This bug (1128608) was mentioned in
https://build.opensuse.org/request/show/687694 Factory / ghostscript
Comment 2 Johannes Segitz 2019-03-26 07:30:46 UTC
added to Factory. Thank you Christian