Merge pull request #7427 from nextcloud/revert-7414-enh/7308/disable-seccomp-for-borg

Revert "DockerActionManager: disable seccomp policy for borgbackup container"
This commit is contained in:
Simon L. 2026-01-15 13:46:24 +01:00 committed by GitHub
commit f001fd71b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -376,11 +376,6 @@ readonly class DockerActionManager {
// Special things for the backup container which should not be exposed in the containers.json
if (str_starts_with($container->GetIdentifier(), 'nextcloud-aio-borgbackup')) {
// Disable seccomp policy if seccomp is enabled in the kernel to fix issues like https://github.com/nextcloud/all-in-one/issues/7308
if (!$this->configurationManager->isSeccompDisabled()) {
$requestBody['HostConfig']['SecurityOpt'] = ["apparmor:unconfined", "label:disable", "seccomp:unconfined"];
}
// Additional backup directories
foreach ($this->getAllBackupVolumes() as $additionalBackupVolumes) {
if ($additionalBackupVolumes !== '') {