Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions api/config/sandbox.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ mount {
mandatory: false
}

# Read-only configuration for native document tools. fontconfig loads its
# configuration from /etc/fonts, so font matching inside the jail has no
# configuration without it. Debian's LibreOffice ships
# /usr/lib/libreoffice/share/registry/main.xcd as a symlink into
# /etc/libreoffice and aborts at startup when that link dangles. Neither path
# holds executables or secrets; both are optional for images without them.
mount {
src: "/etc/fonts"
dst: "/etc/fonts"
is_bind: true
rw: false
mandatory: false
}

mount {
src: "/etc/libreoffice"
dst: "/etc/libreoffice"
is_bind: true
rw: false
mandatory: false
}

# Static /etc/hosts so "localhost" resolves for tool-call-server connections.
# Uses inline content instead of bind-mounting the host's /etc/hosts, which
# in Kubernetes leaks pod name, internal IP, and deployment metadata.
Expand Down