[GH-ISSUE #1032] 0.9.45 (git HEAD): "Error mount bind ld.so.preload" #704

Closed
opened 2026-05-05 06:28:53 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @thomasjfox on GitHub (Jan 9, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1032

Hello,

I've upgraded from firejail 0.9.42 to firejail 0.9.45 (git HEAD).

When I invoke "firejail --debug uudeview", it fails like this:


Create the new ld.so.preload file
Mount the new ld.so.preload file
Error mount bind ld.so.preload: fs_trace.c:73 fs_trace: No such file or directory
Error: cannot establish communication with the parent, exiting...

Problem occurs when running as root or as normal user.

strace output from "strace -ff firejail uudeview >strace.out 2>&1":


[pid 13968] open("/run/firejail/mnt/ld.so.preload", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
[pid 13968] fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid 13968] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f0d4be000
[pid 13968] fchmod(4, 0644) = 0
[pid 13968] fchown(4, 0, 0) = 0
[pid 13968] write(4, "/usr/lib64/firejail/libtracelog."..., 35) = 35
[pid 13968] close(4) = 0
[pid 13968] munmap(0x7f3f0d4be000, 4096) = 0

[pid 13968] mount("/run/firejail/mnt/ld.so.preload", "/etc/ld.so.preload", NULL, MS_BIND|MS_REC, NULL) = -1 ENOENT (No such file or directory)

It's odd that the creation of ld.so.preload worked
and then there's no file available when doing the mount.

I've inspected /run/firejail/mnt and there is indeed no ld.so.preload file.

"firejail --ignore=trace uudeview" works.

uudeview and firejail are both 64 bit, so it seems unrelated to issue #971.

Cheers,
Thomas

Originally created by @thomasjfox on GitHub (Jan 9, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1032 Hello, I've upgraded from firejail 0.9.42 to firejail 0.9.45 (git HEAD). When I invoke "firejail --debug uudeview", it fails like this: ------------------------ Create the new ld.so.preload file Mount the new ld.so.preload file Error mount bind ld.so.preload: fs_trace.c:73 fs_trace: No such file or directory Error: cannot establish communication with the parent, exiting... ------------------------ Problem occurs when running as root or as normal user. strace output from "strace -ff firejail uudeview >strace.out 2>&1": ------------------------ [pid 13968] open("/run/firejail/mnt/ld.so.preload", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4 [pid 13968] fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 [pid 13968] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f0d4be000 [pid 13968] fchmod(4, 0644) = 0 [pid 13968] fchown(4, 0, 0) = 0 [pid 13968] write(4, "/usr/lib64/firejail/libtracelog."..., 35) = 35 [pid 13968] close(4) = 0 [pid 13968] munmap(0x7f3f0d4be000, 4096) = 0 [pid 13968] mount("/run/firejail/mnt/ld.so.preload", "/etc/ld.so.preload", NULL, MS_BIND|MS_REC, NULL) = -1 ENOENT (No such file or directory) ------------------------ It's odd that the creation of ld.so.preload worked and then there's no file available when doing the mount. I've inspected /run/firejail/mnt and there is indeed no ld.so.preload file. "firejail --ignore=trace uudeview" works. uudeview and firejail are both 64 bit, so it seems unrelated to issue #971. Cheers, Thomas
gitea-mirror 2026-05-05 06:28:53 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Jan 9, 2017):

I'll look into it, thanks.

<!-- gh-comment-id:271341318 --> @netblue30 commented on GitHub (Jan 9, 2017): I'll look into it, thanks.
Author
Owner

@netblue30 commented on GitHub (Jan 25, 2017):

fixed, thanks @Fred-Barclay

<!-- gh-comment-id:275114323 --> @netblue30 commented on GitHub (Jan 25, 2017): fixed, thanks @Fred-Barclay
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#704
No description provided.