Your message dated Tue, 23 Sep 2025 10:15:45 +0000
with message-id <[email protected]>
and subject line Bug#688412: fixed in sysvinit 3.15-2
has caused the Debian Bug report #688412,
regarding initscripts: /tmp has wrong size
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
688412: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688412
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: initscripts
Version: 2.88dsf-32
Severity: normal

I have TMPFS_SIZE set to 512 MiB and an entry in /etc/fstab:
tmpfs /tmp tmpfs defaults,noatime,nodiratime,nodev,nosuid 0 0

However, that value seems to be ignored as "df -h" says /tmp has the total size
of 1.5 GiB (the system has 3 GiB of RAM). Running "mount" shows this:
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,nodiratime)

At first, lack of the "size=" option made me think that the value from
/etc/default/tmpfs is either ignored completely or reset to kernel default for
some reason.

In an attempt to find at least some clues I copied /lib/init/mount-
functions.sh, added the line
echo "domount: $*"
to the very beginning of domount() and ran the following script:
--
#!/bin/sh

.. /lib/lsb/init-functions
.. /lib/init/tmpfs.sh
.. /tmp/mount-functions.sh

mount_tmp mount
--

The result was:
domount: mount tmpfs shmfs /tmp tmpfs -onodev,nosuid,size=512m,mode=1777

So configuration options are recognized by the initialization scripts and
passed to the "mount" utility, but somehow get lost later. There are similar
/etc/fstab records for other tmpfs mounts (/run, /run/lock and /run/shm) but
only /tmp doesn't work as expected.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.13-3.2
ii  debianutils     4.3.2
ii  libc6           2.13-35
ii  lsb-base        4.1+Debian7
ii  mount           2.20.1-5.1
ii  sysv-rc         2.88dsf-32
ii  sysvinit-utils  2.88dsf-32

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.5-1
ii  psmisc     22.19-1

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed:
RAMLOCK=yes
RAMSHM=yes
RAMTMP=yes
TMPFS_SIZE=512m
RUN_SIZE=2m
LOCK_SIZE=1m


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: sysvinit
Source-Version: 3.15-2
Done: Mark Hindley <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sysvinit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Hindley <[email protected]> (supplier of updated sysvinit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 23 Sep 2025 08:29:46 +0100
Source: sysvinit
Architecture: source
Version: 3.15-2
Distribution: experimental
Urgency: medium
Maintainer: Debian sysvinit maintainers 
<[email protected]>
Changed-By: Mark Hindley <[email protected]>
Closes: 435287 539352 688412 1108969
Changes:
 sysvinit (3.15-2) experimental; urgency=medium
 .
   * Update inittab on new installations to assume 8bit clean environment.
     (Closes: #435287)
   * Emphasise that /etc/fstab overrides /etc/default/tmpfs. (Closes: #688412)
   * init-d-script:
     - Support TYPE=oneshot. (Closes: #1108969)
     - comply with style guidelines.
   * Add rcS option EXTRAKERNELFS and framework to support mounting
     additional kernel filesystems. Currently supported options are debugfs
     and cgroupfs2. (Closes: #539352)
Checksums-Sha1:
 9ee30fcde105a8e549516a2ccac19e304ef9a4c2 2382 sysvinit_3.15-2.dsc
 30e51c702c64d04686d81b1682896cde99fc908a 122696 sysvinit_3.15-2.debian.tar.xz
 a813609ca5d4f60f392fbadf059178e097a03916 8075 sysvinit_3.15-2_amd64.buildinfo
Checksums-Sha256:
 f21749720c760cfc7ca0db7efbbf5ace013d8b52c2de03b8ae32d85cbf69b9b8 2382 
sysvinit_3.15-2.dsc
 86b2a6c60c33254196d8fab6f9619dfe3b9b0e84fd846f29e299f8c312611ecc 122696 
sysvinit_3.15-2.debian.tar.xz
 662f0941e141738bc0fd9c231bdc38c8c2e0da77d49546be03f8b05653749bd6 8075 
sysvinit_3.15-2_amd64.buildinfo
Files:
 2a9d72d7cb9723c4bbdc6e03792f8153 2382 admin optional sysvinit_3.15-2.dsc
 f56711a64e2c91216052b445482152c1 122696 admin optional 
sysvinit_3.15-2.debian.tar.xz
 742e604a0bf7e7b0b8e94d852e39654f 8075 admin optional 
sysvinit_3.15-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmjSarsACgkQ0opFvzKH
1kmnHw/+J7fwbVyFUdvrSbTSleWofgobEt69myWDXzaWm/GM/Nt96jvAXhhyOmMm
v0U4f5p6Teq1KmJo2zYw8+AQP5oZD/a0BKdUncK6LPyfPAAHQgTxMt2Fi0inhh55
xz4+55ckxqJHgkjVOo9Wm/KJPFRWoacznZU47zSGBdSoMmvxoj5zreT3SvtIETD5
3i9hNeda6qzGOboCerqctXbMvZilXeOTkCBxx4TUmaxesqiwwJeN3RB2Pi9N5C9S
0uEL+jAetjesUJjIesF9qFFoctXmCFnEWvS+irwo/DTOjMV1zAOTJ19ujKnTdboT
P7Liex4ltZQw2JwL1zlvs9mi82vEjnxnOSrGwElHA3LermGvSp3LkSnyQGsw8Lep
dxFvXiuEBSrtwazVeq3Zlm+0/6rfH97o5iVSY3RFUsHQxhzsJklRH45YRrTgCHNy
tX838HzstOBKI8qoz+E2+849C2ZiQrgtC8ycIOuQF38/8F6eDANNerhjinBXmn8m
Xbwt9gxRQdyI5b2rdPLVINhnUeo8z19xGIdSZFZKF40kwyjTp9rvkLfyn8HKFzY4
Xca/S+DMYNJQ+rZ3q2ymh+nVVf0pWC0P7xW1SZROgvphpyWgsLGd6ra48hF112cB
odpfBM542U+E/uNpvO7dJI+n9M4bOPrChjpmCBHcjRcaYRubDrs=
=Slso
-----END PGP SIGNATURE-----

Attachment: pgpgCzbiEsKcF.pgp
Description: PGP signature


--- End Message ---

Reply via email to