Bug#1104352: customize apache LimitMEMLOCK in the package

Picca Frédéric-Emmanuel picca at debian.org
Tue Apr 29 13:26:53 BST 2025


Source: qemu-web-desktop
Severity: normal
X-Debbugs-Cc: picca at debian.org

In order to start VM from apache we need to be able to allocate a big amount of memory.
We need to customize the apache service  by droping a file  which contrain

[Service]
LimitMEMLOCK=infinity

in the package here

/lib/systemd/system/apache2.service.d/$YOURPACKAGE.conf

Cheers


-- System Information:
Debian Release: 12.10
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-26-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list