"Why is it that difficult to understand that I do not ask you to make ubuntu more tight, but to split the configuration into two parts to allow users to make it more tight if they want without breaking the package updates?"
Ok, so this is a 3rd separate bug report in addition to the other two: not having the policy be conffiles which could be implemented as splitting out the system bits from the user bits. The apparmor developers have discussed how a distribution should ship profiles generally for a long time and there is no completely satisfactory answer. What resulted from these discussions was the /etc/apparmor.d/local mechanism. Files in this directory are not conffiles and will not be updated on upgrades. You can use this to fine tune profiles as desired. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/900324 Title: apparmor profile provides too much access Status in “evince” package in Ubuntu: Won't Fix Bug description: Hi, evince comes with apparmor profiles. 1) The profiles are incomplete/outdated. Kernel keeps complaining because evince tries to read from udev which has been moved to /run/udev by some ubuntu berserks: Dec 5 16:10:19 sodom kernel: [24711.331270] type=1400 audit(1323097819.959:148): apparmor="DENIED" operation="open" parent=22723 profile="/usr/bin/evince" name="/run/udev/data/b253:6" pid=23251 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 2) The profiles are mostly useless because the open almost everything for read/write anyway, e.g. @{HOME}/** rw, What's the point in having a apparmor profile if it opens all doors? The idea of apparmor is to restrict particular access, not to open everything to make it run like without an apparmor profile. BTW, the file design is poor. The master profile should contain only what evince needs to run (like /usr/lib... and such things) and not intermix with the files to read or write for working. These options should be put into a separate file to allow the admin to modify it to local needs without breaking the upgrade process for the main part of the profile. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: evince-common 3.2.1-0ubuntu2 ProcVersionSignature: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/proc/version_signature' Uname: Linux 3.2.0-030200rc2-generic x86_64 ApportVersion: 1.23-0ubuntu4 Architecture: amd64 Date: Mon Dec 5 16:14:31 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1) PackageArchitecture: all ProcEnviron: PATH=(custom, user) LANG=de_DE.UTF-8 SHELL=/bin/tcsh SourcePackage: evince UpgradeStatus: Upgraded to oneiric on 2011-10-29 (36 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/900324/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

