[PR #2415] [MERGED] Add 'alternatives' to all private-etc lines #4294

Closed
opened 2026-05-05 10:17:23 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/2415
Author: @Fred-Barclay
Created: 2/17/2019
Status: Merged
Merged: 2/17/2019
Merged by: @Fred-Barclay

Base: masterHead: privetc_alternatives


📝 Commits (4)

  • 424b82f Add alternatives to private-etc for profiles in /etc-fixes
  • 83ddb3e Add alternatives to private-etc for profiles in etc/
  • 3e1ffeb Fixes from review of 2415
  • 9ddf24f Remove 'alternatives' from private-etc if firefox-common is included

📊 Changes

157 files changed (+159 additions, -158 deletions)

View changed files

📝 etc-fixes/0.9.38/firefox.profile (+1 -1)
📝 etc-fixes/0.9.52/firefox.profile (+1 -1)
📝 etc-fixes/0.9.52/gedit.profile (+1 -1)
📝 etc/QMediathekView.profile (+1 -1)
📝 etc/QOwnNotes.profile (+1 -1)
📝 etc/Xephyr.profile (+1 -1)
📝 etc/Xvfb.profile (+1 -1)
📝 etc/amarok.profile (+1 -1)
📝 etc/ardour5.profile (+1 -1)
📝 etc/aria2c.profile (+1 -1)
📝 etc/ark.profile (+1 -1)
📝 etc/arm.profile (+1 -1)
📝 etc/artha.profile (+1 -1)
📝 etc/atool.profile (+1 -1)
📝 etc/atril.profile (+1 -1)
📝 etc/authenticator.profile (+1 -1)
📝 etc/bibletime.profile (+1 -1)
📝 etc/bitcoin-qt.profile (+1 -1)
📝 etc/bless.profile (+1 -1)
📝 etc/brasero.profile (+1 -1)

...and 80 more files

📄 Description

See #2399 for context/discussion. @chiraag-nataraj suggested that we make sure we add alternatives to all profiles with private-etc. In particular this should help avoid the error <some program>: error while loading shared libraries: libGL.so.1: cannot open shared object file: for systems with multiple versions of libGL.so.

For profiles with only private-etc none (see list below), none was replaced with alternatives.

  1. default
  2. devilspie
  3. devilspie2
  4. display
  5. enchant
  6. etr
  7. exiftool
  8. frozen-bubble
  9. github-desktop
  10. highlight
  11. mediainfo
  12. odt2txt
  13. open-invaders
  14. pdf2txt
  15. pingus
  16. QMediathekView
  17. server
  18. simutrans
  19. strings
  20. supertux2
  21. transmission-show

Also I added it to all firefox-based profiles, but it might be better to just add it to Firefox's profile and then let include firefox-common do its magic. Thoughts?

Cheers!
Fred

(Also I'm planning on alphabetising the private-etc lines.... but that's another commit for another day!)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/2415 **Author:** [@Fred-Barclay](https://github.com/Fred-Barclay) **Created:** 2/17/2019 **Status:** ✅ Merged **Merged:** 2/17/2019 **Merged by:** [@Fred-Barclay](https://github.com/Fred-Barclay) **Base:** `master` ← **Head:** `privetc_alternatives` --- ### 📝 Commits (4) - [`424b82f`](https://github.com/netblue30/firejail/commit/424b82faef6dfd99d49fe7676aeea9e05a3d4edd) Add alternatives to private-etc for profiles in /etc-fixes - [`83ddb3e`](https://github.com/netblue30/firejail/commit/83ddb3e5b276613ad2be190cebf74401daebef03) Add alternatives to private-etc for profiles in etc/ - [`3e1ffeb`](https://github.com/netblue30/firejail/commit/3e1ffebfe3e36dee772649a5eaf81bdb695a5ce9) Fixes from review of 2415 - [`9ddf24f`](https://github.com/netblue30/firejail/commit/9ddf24fdc336318573ba16eb6b38930f91d6de88) Remove 'alternatives' from private-etc if firefox-common is included ### 📊 Changes **157 files changed** (+159 additions, -158 deletions) <details> <summary>View changed files</summary> 📝 `etc-fixes/0.9.38/firefox.profile` (+1 -1) 📝 `etc-fixes/0.9.52/firefox.profile` (+1 -1) 📝 `etc-fixes/0.9.52/gedit.profile` (+1 -1) 📝 `etc/QMediathekView.profile` (+1 -1) 📝 `etc/QOwnNotes.profile` (+1 -1) 📝 `etc/Xephyr.profile` (+1 -1) 📝 `etc/Xvfb.profile` (+1 -1) 📝 `etc/amarok.profile` (+1 -1) 📝 `etc/ardour5.profile` (+1 -1) 📝 `etc/aria2c.profile` (+1 -1) 📝 `etc/ark.profile` (+1 -1) 📝 `etc/arm.profile` (+1 -1) 📝 `etc/artha.profile` (+1 -1) 📝 `etc/atool.profile` (+1 -1) 📝 `etc/atril.profile` (+1 -1) 📝 `etc/authenticator.profile` (+1 -1) 📝 `etc/bibletime.profile` (+1 -1) 📝 `etc/bitcoin-qt.profile` (+1 -1) 📝 `etc/bless.profile` (+1 -1) 📝 `etc/brasero.profile` (+1 -1) _...and 80 more files_ </details> ### 📄 Description See #2399 for context/discussion. @chiraag-nataraj suggested that we make sure we add `alternatives` to all profiles with private-etc. In particular this should help avoid the error `<some program>: error while loading shared libraries: libGL.so.1: cannot open shared object file:` for systems with multiple versions of libGL.so. For profiles with only `private-etc none` (see list below), none was replaced with alternatives. 1. default 2. devilspie 3. devilspie2 4. display 5. enchant 6. etr 7. exiftool 8. frozen-bubble 9. github-desktop 10. highlight 11. mediainfo 12. odt2txt 13. open-invaders 14. pdf2txt 15. pingus 16. QMediathekView 17. server 18. simutrans 19. strings 20. supertux2 21. transmission-show Also I added it to all firefox-based profiles, but it might be better to just add it to Firefox's profile and then let `include firefox-common` do its magic. Thoughts? Cheers! Fred (Also I'm planning on alphabetising the private-etc lines.... but that's another commit for another day!) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:17:23 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#4294
No description provided.