Bug#851492: [systemd] tmpfs size mount option not correct when expressed in %

Michael Biebl biebl at debian.org
Sun Jan 15 21:01:21 GMT 2017


Control: found -1 232-9
Control: severity -1 important

Am 15.01.2017 um 16:14 schrieb Pascal Dormeau:
> Package: systemd
> Version: 232-10
> Severity: normal
> 
> Dear maintainer,
> 
> Systemd does not mount tmpfs file systems with the correct size when
> the size is expressed in % of physical RAM in /etc/fstab.
> 
> I guess it does not read at all the % character, and the size is read in
> bytes. size=5% or size=10% results into file systems with a 4 k
> size (man mount says "The size is given in bytes, and rounded up  to
> entire  pages").
> 
> When expressed in k, m, g, the size is correct.
> 
> 'mount -o remount' results in the correct size even if it is expressed
> in % in /etc/fstab


This was just confirmed on IRC and is apparently a regression introduced
by 232-9, 232-8 is confirmed to work fine.

Since it's a regression and having a full /tmp can have hard to diagnose
side-effects, I'm bumping the severity a little (inclined to make it RC).

Michael

-- 
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/20170115/3118005d/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list