GNOME Bugzilla – Bug 667960
querymodules: Add --system argument
Last modified: 2012-08-21 21:28:24 UTC
When run as a system trigger, we really don't want to be consulting e.g. /root/.pangorc. Also, the OSTree build system can run as non-root, but we don't in this case want to look at /home/user since the user may not even exist in the password database inside the chroot.
Created attachment 205302 [details] [review] querymodules: Add --system argument
Conceptually this makes sense to me.
Attachment 205302 [details] pushed as aecbe27 - querymodules: Add --system argument
(In reply to comment #2) > Conceptually this makes sense to me. Ok, I'm pretty confident in this patch, so let's go with it. I'll be on point of course for any possible regressions.
Created attachment 216557 [details] [review] declare pango_config_key_get_system Could you guys please define the new function in pango/pango-utils.h? Gentoo's a bit strict on compilation warnings resulting from this on 64-bits arches: * QA Notice: Package triggers severe warnings which indicate that it * will almost certainly crash on 64bit architectures. * * Function `pango_config_key_get_system' implicitly converted to pointer at que rymodules.c:245 Attached patch works for me.
*** Bug 677627 has been marked as a duplicate of this bug. ***