Hi,
Simon Deziel wrote (22 Jan 2014 14:43:36 GMT) :
> Sorry for the delayed response.
100% fine with me :)
> On 14-01-19 09:25 AM, intrigeri wrote:
[...]
>>>>> owner @{HOME}/.{cache,config}/dconf/user rw,
>>>>
>>>> What is the "cache" part for?
>>
>> I believe you have missed this question. Or maybe your following
>> answer (about .config/indicators) did cover this one too?
> It was in the initial profile from 11.04 but looking at [1] they seem
> legitimate. Both are used as shown in this audit extract:
> [...]
OK, so I now have:
#include <abstractions/dconf>
[...]
owner @{HOME}/.cache/dconf/user rw,
By the way, since my GDM works fine with logind, I also need:
owner /{,var/}run/user/*/dconf/user rwk,
>>>>> /usr/bin/gconftool-2 rix,
>>>>> /usr/bin/gnome-default-applications-properties ix,
>>>>> /usr/bin/gnome-network-preferences ix,
>>>>
>>>> I'm adding P, in case a profile is written for one of those some day.
>>
>>> P and i are incompatible as far as I understand.
>>
>> The documentation about it is very confusing, but Pix is valid.
> Indeed, "Pix" is valid and I added it to g-d-a-p and g-n-p.
I can't see it on
https://github.com/simondeziel/aa-profiles/blob/master/12.04/usr.bin.pidgin.
Did you push elsewhere?
>>>>> /usr/share/locale-langpack/** rm,
>>>>
>>>> Isn't the "r" permission granted by abstraction/base enough? I'm not
>>>> running Ubuntu, so I'm not using langpack's and cannot test myself.
>>
>> Ping?
> This locale-langpack rule is gone from my profile and no problem to
> report since that.
Thanks for testing!
>> I think I'm going to complete a profile that requires running GNOME
>> control center and network configuration by hand, to start with, then.
>> Done in the attached profile.
> That makes sense. I'd probably add a comment in the profile that this is
> on purpose. This should prevent users from disabling the profile that
> "gets in their way" and use the manual way instead.
Great idea, done.
I'd like someone else than me to test my current profile (attached),
before I ask for inclusion again. Simon, do you want to test it?
Cheers,
--
intrigeri
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
# vim:syntax=apparmor
#include <tunables/global>
/usr/bin/pidgin {
#include <abstractions/audio>
#include <abstractions/base>
#include <abstractions/bash>
#include <abstractions/dbus>
#include <abstractions/dbus-session>
#include <abstractions/dconf>
#include <abstractions/enchant>
#include <abstractions/gnome>
#include <abstractions/ibus>
#include <abstractions/launchpad-integration>
#include <abstractions/nameservice>
#include <abstractions/private-files-strict>
#include <abstractions/ssl_certs>
#include <abstractions/ubuntu-browsers>
#include <abstractions/user-download>
deny capability sys_ptrace,
owner @{HOME}/.gstreamer*/ rw,
owner @{HOME}/.gstreamer*/** rw,
owner @{HOME}/.purple/ rw,
owner @{HOME}/.purple/** rwk,
owner @{HOME}/.cache/dconf/user rw,
owner /{,var/}run/user/*/dconf/user rwk,
/bin/dash rix,
/bin/which rix,
# NB: the preferred browser and proxy settings must be configured
# in the GNOME preferences: this profile does not allow running
# the corresponding external configuration applications.
/usr/bin/gconftool-2 rPix,
/usr/bin/gnome-open rmix,
/usr/bin/gsettings rix,
/usr/bin/gvfs-open rmix,
/usr/bin/pidgin r,
/usr/bin/xdg-open rmix,
/usr/share/glib-2.0/schemas/gschemas.compiled r,
/usr/lib/frei0r-1/*.so rm,
/usr/lib/@{multiarch}/libvisual-*/**.so rm,
/usr/lib/pidgin/*.so rm,
/usr/lib/purple*/*.so rm,
/usr/share/purple/ca-certs/ r,
/usr/share/purple/ca-certs/** r,
/usr/share/tcltk/** r,
/usr/share/themes/ r,
owner @{PROC}/[0-9]*/auxv r,
owner @{PROC}/[0-9]*/fd/ r,
# For sound notifications
owner /tmp/orcexec.* mr,
# ... if /tmp is mounted noexec
owner @{HOME}/orcexec.* mr,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.bin.pidgin>
}
--
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/apparmor