[Pkg-systemd-maintainers] Bug#738687: Bug#738687: systemd does not mount /tmp as tmpfs (even if RAMTMP=yes in rcS)

Michael Stapelberg stapelberg at debian.org
Sat Feb 15 18:53:58 GMT 2014


control: tags -1 + pending

Hi Michael,

Michael Biebl <biebl at debian.org> writes:

> Am 12.02.2014 01:52, schrieb Petr Baudis:
>> On Wed, Feb 12, 2014 at 01:40:48AM +0100, Michael Biebl wrote:
>>> We do ship a tmp.mount unit though (disabled by default), which you can
>>> easily enable via "systemctl enable tmp.mount"
>> 
>> Oh, thanks for the pointer. I did that locally now.
>> 
>>> I'm not sure if we should read both /etc/default/rcS and
>>> /etc/default/tmpfs or if the latter only would be sufficient.
>> 
>> FWIW, my system had the configuration only in /etc/default/rcS and
>> it still took effect. My /etc/default/tmpfs has just #RAMTMP=no
>> (commented), apparently I missed this migration. :-)
>
> Apparently the initscripts package didn't automatically migrate the
> settings from /etc/default/rcS to /etc/default/tmpfs, but simply
> continues to read both files. I wasn't entirely sure about that and
> didn't check the related shell code. So thanks for the confirmation.
>
> Given your and Marco's feedback, let's just do the same and read both in
> the migration code.
SGTM. I applied your patch:
http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=commitdiff;h=2bcec69

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list