• Bug#1104352: customize apache LimitMEMLOCK in the package

    From =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-@21:1/5 to All on Tue Apr 29 14:40:01 2025
    Source: qemu-web-desktop
    Severity: normal
    X-Debbugs-Cc: picca@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)