Skip to content

Commit

Permalink
Fix SELinux error with /dev/stdout
Browse files Browse the repository at this point in the history
Send logs to host /dev/log (journald Syslog transport).
  • Loading branch information
DavidePrincipi committed Dec 11, 2024
1 parent 48fdaee commit 8c43c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion container/dnsmasq.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

# DNS
Expand Down
2 changes: 1 addition & 1 deletion 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 Down

0 comments on commit 8c43c81

Please sign in to comment.