Replies: 11 comments 15 replies
-
At the moment I don't see firejail/src/include/etc_groups.h Lines 26 to 41 in b0822c0 |
Beta Was this translation helpful? Give feedback.
-
Another remark related to (pending) rework of private-etc. I'm not at all against the introduction of these lists, quite the contrary. I do wonder whether |
Beta Was this translation helpful? Give feedback.
-
Let's do a short cross-distro test on 5 common programs: curl, gimp, inkscape, firefox, and warzone2100. I've tested it on Debian stable and old-stable (10 and 11). If we get these programs running on Arch and Fedora, I think we can deploy it all over. We will modify the existing profiles automatically, so don't touch them yet.
|
Beta Was this translation helpful? Give feedback.
-
It is not immediately obvious that all-caps items are considered to be groups. Also, note that all-caps directories may exist in /etc, such as /etc/X11, which $ git checkout 0.9.72
HEAD is now at 2551bc71f relnotes update
$ git grep 'private-etc .*X11.*' -- etc/profile-* | wc -l
67
$ git grep 'private-etc .*[A-Z].*' -- etc/profile-* | wc -l
83 And maybe it would make sense to add an X11 group later, which could be With that said, recently the following was suggested:
This is also what I thought the private-etc groups would look like, as it uses Besides being more consistent with the existing usage, I think that So how about using the |
Beta Was this translation helpful? Give feedback.
-
Afterthoughts on big profile changes. In general this makes detecting typos and other oddities much easier now. Regarding
|
Beta Was this translation helpful? Give feedback.
-
Notes on private-etc: groups modified: A quick scan of the profiles currently shows there's only one private-etc comment still using the firejail/etc/profile-a-l/ephemeral.profile Lines 57 to 58 in 2e4e9d1
$ firejail --net=none --private-etc=java*
Error mount: fs_etc.c:142 fs_resolvconf: No such file or directory
Error: proc 79088 cannot sync with peer: unexpected EOF I'll do some bisecting later today. |
Beta Was this translation helpful? Give feedback.
-
Notes on private-etc: java directory fixes: Until we bring in |
Beta Was this translation helpful? Give feedback.
-
After commit 5d0822c ("private-etc: big profile changes", 2023-02-05), there It might not be possible to fix this with certainty without reverting this and I'll explain in a separate issue; please avoid making changes to profiles on |
Beta Was this translation helpful? Give feedback.
-
FTR the profile template need tobr updated as well. |
Beta Was this translation helpful? Give feedback.
-
OK, so I have a cleanup tool installed in /usr/lib/firejail directory:
It looks something like this:
It will group the files and order them alphabetically. With --replace it will overwrite the original file if necessary. |
Beta Was this translation helpful? Give feedback.
-
re: machine-id: I'm seeing issues in some programs like keepassxc for example on Fedora 37 with these changes
strace only shows the first file as well:
I also have seen some weird behavior with d1124df which appears to cause some programs (like repo) to fail eg. when attempting to write to /etc because read-only which didn't occur previously. and doesn't fail when it can't write when out of firejail |
Beta Was this translation helpful? Give feedback.
-
Keeping track of private-etc rework here.
From @rusty-snake: TLS CA: ca-certificates,crypto-policies/back-ends,nsswitch.conf,pki/ca-trust,pki/tls,ssl
See the following issue for related links:
Beta Was this translation helpful? Give feedback.
All reactions