Skip to content

Commit

Permalink
Add AF_UNIX to RestrictAddressFamilies (#35)
Browse files Browse the repository at this point in the history
AF_UNIX is needed so that cgroup_exporter can get user information from sss.
  • Loading branch information
mattmix authored Jun 24, 2024
1 parent bdc4981 commit 00c65eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packaging/rpm/cgroup_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ProtectHome=yes
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictAddressFamilies=AF_INET AF_INET6
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
Expand Down

0 comments on commit 00c65eb

Please sign in to comment.