Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgtk3-nocsd cannot be preloaded #35

Open
Cyrille37 opened this issue Oct 24, 2020 · 4 comments
Open

libgtk3-nocsd cannot be preloaded #35

Cyrille37 opened this issue Oct 24, 2020 · 4 comments

Comments

@Cyrille37
Copy link

Cyrille37 commented Oct 24, 2020

Hello

~$ indicator-sensors --help
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Usage:
  indicator-sensors [OPTION…] - hardware sensors monitor

indicator-sensors does not display it's version but I found that in snap folder :

$ ls -l /snap/indicator-sensors/
total 0
drwxr-xr-x 9 root root 167 nov.  27  2019 261
drwxr-xr-x 9 root root 110 juil. 27 04:17 291
lrwxrwxrwx 1 root root   3 juil. 28 11:57 current -> 291

My environment:

$ snap version
snap    2.47.1
snapd   2.47.1
series  16
ubuntu  18.04.5
kernel  5.4.0-52-generic
@Cyrille37
Copy link
Author

I found another message about libgtk3-nocsd in /var/log/syslog when launching indicator-sensors --help

Oct 24 13:36:12 ubuntu-N141CU kernel: [  902.066870] audit: type=1400 audit(1603539372.418:88):
apparmor="DENIED" operation="file_mmap" profile="/snap/core/10185/usr/lib/snapd/snap-confine"
name="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0" pid=4697
comm="snap-confine" requested_mask="m" denied_mask="m" fsuid=0 ouid=0

@alexmurray
Copy link
Owner

Does this error cause indicator-sensors to fail? From what I can tell it should still run correctly and so should be harmless. Also what Ubuntu version are you running and does this have the gtk3-nocsd package installed?

@Cyrille37
Copy link
Author

Hi
indicator-sensors is running and gtk3-nocsd installed. It seems to me that apparmor denied some operation to gtk3-nocsd, or some thing like ...

@alexmurray
Copy link
Owner

I have just made a change to the snap which should be published to the edge channel within the next hour or two that should hopefully resolve this. So if you refresh indicator-sensors from edge in an hour say, can you let me know if it resolves the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants