[apparmor] abstraction/X doesnt have Xdefaults included?

Seth Arnold seth.arnold at canonical.com
Thu Jan 31 01:19:55 UTC 2013

On Mon, Jan 28, 2013 at 07:45:55AM +0800, Aaron Lewis wrote:
> Is there any reason ~/.Xdefaults not included in <abstraction/X>
> I think at least, 
> owner @{HOME}/.Xdefaults r,
> Should be added.

Hello Aaron,

I don't think it's necessary to add ~/.Xdefaults to the X abstraction --
afterall, the file is typically read once at session startup by xrdb(1)
and then never read again -- unless the user runs xrdb -merge by hand.

Maybe ~/.Xresources-<hostname> would make sense -- the X(7) manpage isn't
very clear who is responsible for reading it, whether it is X itself
(seems very unlikely to me) or the X Toolkit Intrinsics that would read
them. But we've gone this long without a bug report, so perhaps this
feature is little used. (Which apps use the X Toolkit Intrinsics these
days, besides xterm and xlsfonts?)

Did you have a denial from a confined application? If so, do you still
have the log messages handy?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130130/a0e1e0b6/attachment.pgp>

More information about the AppArmor mailing list