Closed Bug 1107305 Opened 10 years ago Closed 10 years ago

[gonk-l] the error message: could not load library "libsigchain.so" from LD_PRELOAD

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.2+)

RESOLVED FIXED
2.2 S3 (9jan)
feature-b2g 2.2+

People

(Reporter: askeing, Assigned: seinlin)

References

Details

Attachments

(1 file)

The adb work, but has "could not load library "libsigchain.so" from LD_PRELOAD" error.
Shawn, I wonder if you can check this.
Flags: needinfo?(sku)
This should be SELinux related on L version.
Will ask member to check how to avoid this.
We've disabled SELinux over here, at least for now.  L enables SELinux enforcing mode and we'd need to write a bunch of new SELinux rules to make it happy with b2g.
libsigchain.so gets added to LD_PRELOAD from the init.rc files, we've removed that.
blocking-b2g: --- → 2.2?
QA Whiteboard: [2.2-feature-qa+]
Hi Michael:
 It looks like we need to build /art/sigchainlib to make this error message away even we never use art in FxOS.

Do you have any suggestion?
Thanks!!
Shawn
Flags: needinfo?(mwu)
Please see comment 4.  You'll have an init.rc file (it's /init.environ.rc in my build) that adds libsigchain.so to the LD_PRELOAD environment variable.  Just remove that and this error message should disappear.
Flags: needinfo?(kli)
Comment 6 covers it.
Flags: needinfo?(mwu)
Thanks!! Both Micheal.
Shawn, We don't have libsigchain.so in our system, so I think we need to do as m1 suggested. Could you review this patch? Thanks!
Flags: needinfo?(kli)
Attachment #8541183 - Flags: review?(sku)
Comment on attachment 8541183 [details] [review]
Disable the error message of libsigchain.so

LGTM.
Flags: needinfo?(sku)
Attachment #8541183 - Flags: review?(sku) → review+
https://github.com/mozilla-b2g/platform_system_core/commit/016398870d88db771bf64b8fb3167878665fc1de
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee: nobody → kli
blocking-b2g: 2.2? → ---
feature-b2g: --- → 2.2+
Target Milestone: --- → 2.2 S3 (9jan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: