Bug#865450: systemd: tmpfs size mount option ignored when expressed in %

Michael Biebl biebl at debian.org
Thu Jun 22 01:21:58 BST 2017


Am 22.06.2017 um 02:12 schrieb Michael Biebl:
> Control: tags -1 + moreinfo
> Am 21.06.2017 um 16:30 schrieb Jacek Politowski:
>> I believe the bug #851492 should be reopened since there seems to be a
>> regression after last upgrade and fix introduced in 232-11 doesn't work
>> anymore.
>>
>> I've upgraded systemd (232-25 -> 233-9) and on next reboot my tmpfs on /tmp was
>> 4K in size (which led for example to gdm3 not being able to display the greeter).
>>
>> I have 'Options=mode=1777,strictatime,size=70%' in /etc/systemd/system/tmp.mount
> 
> Please attach the output of
> systemctl cat tmp.mount
> systemctl show tmp.mount
> and your /etc/fstab

Since you are using a native systemd unit, I hope you have read man
systemd.mount:


Options=
Mount options to use when mounting. This takes a comma-separated
list of options. This setting is optional. Note that the usual
specifier expansion is applied to this setting, literal percent
characters should hence be written as "%%".


I.e. while you can use size=70% in /etc/fstab, you can't use it in a
native .mount unit, but you need to use size=70%% instead.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170622/cb7e6b88/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list