mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1032] 0.9.45 (git HEAD): "Error mount bind ld.so.preload" #704
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#704
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@netblue30 commented on GitHub (Jan 9, 2017):
I'll look into it, thanks.
@netblue30 commented on GitHub (Jan 25, 2017):
fixed, thanks @Fred-Barclay