Skip to content

Commit

Permalink
apt-news.service: XXX remove all systemd restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
panlinux committed Dec 3, 2023
1 parent 71a753f commit 676ab8e
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions systemd/apt-news.service
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ Description=Update APT News
Type=oneshot
ExecStart=/usr/bin/python3 /usr/lib/ubuntu-advantage/apt_news.py
AppArmorProfile=ubuntu_advantage_apt_news
CapabilityBoundingSet=~CAP_SYS_ADMIN
CapabilityBoundingSet=~CAP_NET_ADMIN
CapabilityBoundingSet=~CAP_NET_BIND_SERVICE
CapabilityBoundingSet=~CAP_SYS_PTRACE
CapabilityBoundingSet=~CAP_NET_RAW
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=full
RestrictAddressFamilies=~AF_NETLINK
RestrictAddressFamilies=~AF_PACKET
RestrictSUIDSGID=true
#CapabilityBoundingSet=~CAP_SYS_ADMIN
#CapabilityBoundingSet=~CAP_NET_ADMIN
#CapabilityBoundingSet=~CAP_NET_BIND_SERVICE
#CapabilityBoundingSet=~CAP_SYS_PTRACE
#CapabilityBoundingSet=~CAP_NET_RAW
#NoNewPrivileges=true
#PrivateDevices=true
#PrivateTmp=true
#ProtectControlGroups=true
#ProtectHome=true
#ProtectKernelModules=true
#ProtectKernelTunables=true
#ProtectSystem=full
#RestrictAddressFamilies=~AF_NETLINK
#RestrictAddressFamilies=~AF_PACKET
#RestrictSUIDSGID=true
# Unsupported in bionic
# XXX find a way to handle this dynamically
# Suggestion from systemd.exec(5) manpage on SystemCallFilter
Expand Down

0 comments on commit 676ab8e

Please sign in to comment.