Bug 57146

Summary: Loading of libmozjs185.so not possible on systems without development files
Product: PolicyKit Reporter: Fryderyk Dziarmagowski <fdziarmagowski>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Fryderyk Dziarmagowski 2012-11-15 08:40:47 UTC
from journalctl:
systemd[1]: Starting Authorization Manager...
polkitd[1157]: Started polkitd version 0.108
polkitd[1157]: Error opening libmozjs185.so. This is not a fatal error but polkit .rules files will not be evaluated. To enable rules evaluation, install the library

.so files are for linking and not for loading at the runtime, therefore on a system where development files are not present libmozjs185.so will be never loaded.

% ls -1 /usr/lib64/libmoz*
/usr/lib64/libmozjs185.so.1.0
/usr/lib64/libmozjs185.so.1.0.0
Comment 1 David Zeuthen (not reading bugmail) 2012-11-15 15:00:44 UTC
I can reproduce this. Working on a fix.
Comment 2 David Zeuthen (not reading bugmail) 2012-11-15 15:11:50 UTC
Fixed here

 http://cgit.freedesktop.org/polkit/commit/?id=a6747362693a91f8cfa3bd5e619cf91e2e03941b

Thanks for reporting this bug!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.