mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3777] lyx: program does not start (private-etc) #2382
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#2382
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 @dx-0 on GitHub (Nov 27, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3777
Bug and expected behavior
If I want to start lyx in firejail, I get the following error message and lyx does not start:
(lyx:15): dbind-WARNING **: 09:48:51.198: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-79qfGHVXDX: Connection refused dbus[15]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) D-Bus not built with -rdynamic so unable to print a backtraceExpected behaviour: Lyx should start.
No profile and disabling firejail
firejail --noprofile /path/to/programin a terminal?Lyx starts as expected.
which <program>orfirejail --listwhile the sandbox is running)?160274:flo::firejail --noprofile lyxReproduce
Steps to reproduce the behavior:
firejail lyx(lyx:15): dbind-WARNING **: 09:48:51.198: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-79qfGHVXDX: Connection refused dbus[15]: D-Bus library appears to be incorrectly set up: see the manual page for dbus-uuidgen to correct this issue. (Failed to open "/var/lib/dbus/machine-id": No such file or directory; Failed to open "/etc/machine-id": No such file or directory) D-Bus not built with -rdynamic so unable to print a backtraceEnvironment
Additional context
There was no problem with the profile in Ubuntu 18.04 (I can't remember the firejail version)
Checklist
https://github.com/netblue30/firejail/issues/1139)--profile=PROFILENAMEis used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.debug output
@rusty-snake commented on GitHub (Nov 27, 2020):
Can you try
firejail --private-etc=machine-id lyx.@dx-0 commented on GitHub (Nov 27, 2020):
With
firejail --private-etc=machine-id lyxI get the following output:
However, lyx starts and seems to work normal.
@rusty-snake commented on GitHub (Nov 27, 2020):
That's happens if
no3dis set and you use Qt programs as native Wayland clients. I don't no program which breaks with it, so we have a lot such profiles here.