-
Notifications
You must be signed in to change notification settings - Fork 63
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
Restrict systemd services #975
Open
gngram
wants to merge
21
commits into
tiiuae:main
Choose a base branch
from
gngram:pr__restrict_systemd-services
base: main
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37b0479
to
0fc44b5
Compare
mbssrc
reviewed
Jan 28, 2025
mbssrc
reviewed
Jan 28, 2025
0fc44b5
to
40bb7ac
Compare
40bb7ac
to
7739dc2
Compare
Have the comments been addressed, is this ready for testing? A rebase would be nice too. |
7739dc2
to
78341ea
Compare
78341ea
to
e339e52
Compare
e339e52
to
c86fdbc
Compare
c86fdbc
to
fc3aa55
Compare
fc3aa55
to
4bedf93
Compare
4bedf93
to
47e1a89
Compare
47e1a89
to
2050e35
Compare
2050e35
to
f3e7030
Compare
7795bc3
to
f28b285
Compare
- Cleanup dbus dervice - Strict configs for dnsmasq service - Service is not enabled by default in Ghaf - Tested in net-vm using following config and allowing the port 1053: ``` services.dnsmasq = { enable = true; settings = { bogus-priv = true; domain-needed = true; interface = "wlp0s5f0"; listen-address = [ "0.0.0.0" ]; port = 1053; }; }; ``` Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
- Cleanup greetd service Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
Signed-off-by: Ganga Ram <[email protected]>
f28b285
to
a0ced67
Compare
a0ced67
to
b9ebec0
Compare
Signed-off-by: Ganga Ram <[email protected]>
b9ebec0
to
879876a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description of changes
Apply more restrictions on following Systemd services:
- dnsmasq
- firewall
- enable-ksm
- generate-shutdown-ramfs
- kmod-static-node
- NetworkManager-dispatcher
- logrotate-checkconf
- logrotate
- nscd
- seatd
- systemd-journal-catalog-update
- systemd-journal-flush
- systemd-random-seed
- systemd-remount-fs
- systemd-rfkill
- systemd-tmpfiles-clean
- systemd-tmpfiles-setup-dev
- systemd-tmpfiles-setup
- systemd-udev-trigger
- NetworkManager
Removed some disabled services
Cleanup of
dbus
andgreetd
.Checklist for things done
x86_64
aarch64
riscv64
make-checks
and it passesnixos-rebuild ... switch
Instructions for Testing