mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3524] Arch build breaking due to pandoc #2217
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#2217
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 @ask6155 on GitHub (Jul 19, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3524
Bug and expected behavior
I decided to compile notcurses from the AUR and it was going fine untill pandoc had an error.
Here's the log.
No profile or disabling firejail
What changed calling
firejail --noprofile PROGRAMin a shell?I didn't know how to run makepkg in a way it doesn't invoke firejail.
What changed calling the program by path=without firejail (check
whereis PROGRAM,firejail --list,stat $programpath)?Again I don't know how to do that.
Reproduce
Steps to reproduce the behavior:
pandoc: /home/me/.cache/yay/notcurses/src/notcurses-1.6.0/doc/man/man3/notcurses_lines.3.md: openBinaryFile: does not exist (No such file or directory)Environment
LSB Version: 1.4 Distributor ID: Arch Description: Arch Linux Release: rolling Codename: n/aFirejail version 0.9.62
Compile time support:
- AppArmor support is enabled
- AppImage support is enabled
- chroot support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- firetunnel support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- seccomp-bpf support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled
Most of the AUR packages which have some kind of documentation use pandoc for compiling it's documentation
I don't know?
Additional context
Other context about the problem like related errors to understand the problem.
Since the package was failing due to pandoc, I decided to see if pandoc was working.
I ran:
$ pandoc -t pdf issue.mdand it gave error:
So pandoc is breaking, I searched on web and found this: link
This guy just unsandboxed pandoc to make it work. Should I do so too? But doesn't that just defeat the purpose?
Checklist
find / -name 'firejail' 2>/dev/null/fd firejailto locate profiles ie in/usr/local/etc/firejail/PROGRAM.profile)debug output
I don't know how to do so, so I ran pandoc on a pdf and here is it's output:
@rusty-snake commented on GitHub (Jul 19, 2020):
Fixed.
You need to remove the symlink (
sudo rm /usr/local/bin/pandoc) or edit /usr/lib/firejail/firecfg.config and runsudo firecfg.