mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1858] advice for scripted w3m #1258
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#1258
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 @ghost on GitHub (Apr 4, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1858
I use pacolog to see changelogs of updated packages in Arch. It's a bash script that uses w3m -dump to retrieve data from archlinux.org, but with its firejail profile enabled it stops with "unable to get local issuer certificate: accept? (y/n)", which in turn makes the pacolog script freeze.
It's such an obscure case that I don't think it's worth "fixing", but I'd like to ask how to patch my local w3m profile as I don't want to disable it.
@Vincent43 commented on GitHub (Apr 4, 2018):
You may try commenting out various things in w3m profile to find which one creates problems (it may be
private-etcordisable-common.inc).You can also try running
firejail --build=pacolog.profile pacolog <something>and see what it detected. After that you may even copypacolog.profileto~/.config/firejail/and create link withsudo ln -s /usr/bin/firejail /usr/local/bin/pacolog(assuming pacolog script is installed in/usr/bin/pacolog. This way pacolog will use its own firejail profile instead of w3m which could stay untouched.@ghost commented on GitHub (Apr 4, 2018):
Using firejail with the build option returns:
2:strace:exec /usr/bin/strace:0
2:strace:fopen64 /tmp/firejail-strace:0x5613f6409320
/usr/bin/strace: ptrace(PTRACE_TRACEME, ...): Operation not permitted
Creating a profile for pacolog doesn't seem to solve the issue.
Finally I commented out private-etc in w3m.profile and now it works. Thank you.
@Vincent43 commented on GitHub (Apr 4, 2018):
@bryce-lynch
You can create
/etc/firejail/w3m.localand add lineignore private-etcinside. This way your customization's won't be overwritten during firejail update.@ghost commented on GitHub (Apr 4, 2018):
@Vincent43 Thanks!