-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "private-etc: big profile changes" #5645
Open
kmk3
wants to merge
13
commits into
netblue30:master
Choose a base branch
from
kmk3:revert-private-etc-big-refactor
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Feb 7, 2023
-
Revert "private-etc: big profile changes"
This reverts commit 5d0822c and later commits that touch the same files (which is necessary in order to revert the commit in question). There seems to be a non-trivial amount of changes done in error in the big refactor from commit 5d0822c ("private-etc: big profile changes", 2023-02-05). For example, there are profiles for CLI programs (including man.profile) and servers that now contain the @X11 group: $ git grep -l '^private-etc .*@X11' -- etc # [...] etc/profile-a-l/email-common.profile:private-etc @tls-ca,@X11,gnupg,hosts.conf,mailname,timezone etc/profile-m-z/man.profile:private-etc @X11,groff,man_db.conf,manpath.config,sysless etc/profile-m-z/mutt.profile:private-etc @tls-ca,@X11,Mutt,Muttrc,Muttrc.d,gai.conf,gnupg,gnutls,hosts.conf,mail,mailname,nntpserver,terminfo etc/profile-m-z/neomutt.profile:private-etc @tls-ca,@X11,Mutt,Muttrc,Muttrc.d,gnupg,hosts.conf,mail,mailname,neomuttrc,neomuttrc.d,nntpserver etc/profile-m-z/nextcloud.profile:private-etc @tls-ca,@X11,Nextcloud,host.conf,os-release etc/profile-m-z/nodejs-common.profile:private-etc @tls-ca,@X11,host.conf,mime.types,rpc,services Note: These are just the ones that I immediately noticed; it is possible that there are many that I missed. Part of the issue is that the groups appear to be inconsistent and rather broad. For example, paths related to 3D graphics (vulkan) and audio (openal) are in the @games group, which are not used only by games and not all games use those standards/libraries. As another example, the @X11 group contains paths related to GTK, KDE and GPU hardware acceleration, even though those are not necessarily tied to X11 (and even though hardware acceleration may be used by headless programs). Replacing the known paths with groups that are not very granular results in loss of information about what exactly a profile actually needs and so makes the profiles less self-documenting. Note also that a given path could potentially belong to multiple groups, which would preclude using the "etc-cleanup" tool (in its current form at least), as it would not know which is the correct group to replace the path with. Command used to revert the changes: $ git revert \ 1be9bb3 \ e889db0 \ e6f2374 \ acb0154 \ 740f502 \ 5649bd4 \ 2e4e9d1 \ 0f996ea \ 5d0822c Note: This reverts commits from PRs netblue30#5641 netblue30#5642 netblue30#5643, most of which are later re-applied. Relates to netblue30#5610.
Configuration menu - View commit details
-
Copy full SHA for 9c29f6e - Browse repository at this point
Copy the full SHA 9c29f6eView commit details -
private-etc: cleanup tool changes
(cherry picked from commit 5d0822c) Committer note: This only applies the changes from src/.
Configuration menu - View commit details
-
Copy full SHA for 2d15f33 - Browse repository at this point
Copy the full SHA 2d15f33View commit details -
(cherry picked from commit 0f996ea) Committer note: This only applies the changes from src/.
Configuration menu - View commit details
-
Copy full SHA for c6c901b - Browse repository at this point
Copy the full SHA c6c901bView commit details -
private-etc: pushing vulkan into games group
(cherry picked from commit acb0154) Committer note: This only applies the changes from src/.
Configuration menu - View commit details
-
Copy full SHA for 214aa6d - Browse repository at this point
Copy the full SHA 214aa6dView commit details -
There is no `/etc/groups` AFAIK. Existing typo likely caused this. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit 001f541)
Configuration menu - View commit details
-
Copy full SHA for 003f751 - Browse repository at this point
Copy the full SHA 003f751View commit details -
discord-common: fix private-etc
There is no `/etc/password` AFAIK. Existing typo likely caused this. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit 5f01eb1)
Configuration menu - View commit details
-
Copy full SHA for 2f40a1d - Browse repository at this point
Copy the full SHA 2f40a1dView commit details -
There is no `/etc/groups` AFAIK. Existing typo likely caused this. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit 2588d51)
Configuration menu - View commit details
-
Copy full SHA for 7219608 - Browse repository at this point
Copy the full SHA 7219608View commit details -
There is no `/etc/groups` AFAIK. Existing typo likely caused this. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit aea2109)
Configuration menu - View commit details
-
Copy full SHA for 310c8cc - Browse repository at this point
Copy the full SHA 310c8ccView commit details -
`dconfgtk-3.0` is missing a `,`. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit 81f8847)
Configuration menu - View commit details
-
Copy full SHA for 99d0b44 - Browse repository at this point
Copy the full SHA 99d0b44View commit details -
There is no `/etc/ssli` AFAIK. Existing typo likely caused this. Committer note: The original commit is part of PR netblue30#5641. (cherry picked from commit f9c009e)
Configuration menu - View commit details
-
Copy full SHA for 06f9d36 - Browse repository at this point
Copy the full SHA 06f9d36View commit details -
private-etc: java directory fixes
(cherry picked from commit 2e4e9d1)
Configuration menu - View commit details
-
Copy full SHA for e7570c3 - Browse repository at this point
Copy the full SHA e7570c3View commit details -
installing etc-cleanup tool in /usr/lib/firejail directory
(cherry picked from commit e6f2374)
Configuration menu - View commit details
-
Copy full SHA for 8011b7a - Browse repository at this point
Copy the full SHA 8011b7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b78d2 - Browse repository at this point
Copy the full SHA 92b78d2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.