Skip to content

Commit

Permalink
fixup! Fix SELinux error with /dev/stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Dec 11, 2024
1 parent 226023c commit 2e620b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions container/dnsmasq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# container related configuration
keep-in-foreground
log-facility=-
cache-size=4000

# DNS
Expand Down
3 changes: 1 addition & 2 deletions imageroot/dnsmasq.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RequiresMountsFor=%t/containers
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
EnvironmentFile=/var/lib/nethserver/%N/state/environment
Restart=on-failure
Restart=always
TimeoutStopSec=70
ExecStartPre=/bin/rm \
-f %t/%n.ctr-id
Expand All @@ -21,7 +21,6 @@ ExecStart=/usr/bin/podman run \
--sdnotify=conmon \
--detach \
--replace --name=%N \
--volume=/dev/log:/dev/log \
--network=host \
--cap-add=NET_ADMIN,NET_RAW \
--volume=/var/lib/nethserver/%N/state/dnsmasq.d:/etc/dnsmasq.d:Z \
Expand Down

0 comments on commit 2e620b8

Please sign in to comment.