Package: systemd
Version: 208-8
Severity: wishlist

Dear Maintainer,

it looks like systemd ignores some settings in
"/etc/default/tmpfs" config file from "initscripts" package.

I have 2 variables set there: "RAMTMP=yes" & "TMP_SIZE=4G";
systemd enables tmpfs mounted as "/tmp",
but, unfortunately, ignores the size (in my case, it gets set to 1.9G).

According to: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674755#63
it's controlled only by systemd postinst;
I've looked at that, and it seems that only "RAMTMP" is taken into account:

...
# Do a one-time migration of the RAMTMP setting
if dpkg --compare-versions "$2" lt "204-8"; then
    if [ -f /etc/default/rcS ]; then
        . /etc/default/rcS
    fi
    if [ -f /etc/default/tmpfs ]; then
        . /etc/default/tmpfs
    fi
    if [ "$RAMTMP" = "yes" ]; then
        # systemctl enable will work even when systemd is not the active PID 1.
        systemctl enable tmp.mount || true
    fi
fi
...

----
Best wishes,
Bob


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to