[Pkg-sysvinit-devel] Bug#711963: [initscripts] does not mount /tmp as tmpfs

Marek Straka marek at straka.info
Tue Jun 11 15:33:26 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: initscripts
Version: 2.88dsf-41
Severity: normal

- --- Please enter the report below this line. ---

Just edited /etc/default/tmpfs to:

# Configuration for tmpfs filesystems mounted in early boot, before
# filesystems from /etc/fstab are mounted.  For information about
# these variables see the tmpfs(5) manual page.

# /run is always mounted as a tmpfs on systems which support tmpfs
# mounts.

# mount /run/lock as a tmpfs (separately from /run).  Defaults to yes;
# set to no to disable (/run/lock will then be part of the /run tmpfs,
# if available).
#RAMLOCK=yes

# mount /run/shm as a tmpfs (separately from /run).  Defaults to yes;
# set to no to disable (/run/shm will then be part of the /run tmpfs,
# if available).
#RAMSHM=yes

# mount /tmp as a tmpfs.  Defaults to no; set to yes to enable (/tmp
# will be part of the root filesystem if disabled).  /tmp may also be
# configured to be a separate mount in /etc/fstab.
RAMTMP=yes

# Size limits.  Please see tmpfs(5) for details on how to configure
# tmpfs size limits.
TMPFS_SIZE=40%VM
#RUN_SIZE=10%
#LOCK_SIZE=5242880 # 5MiB
#SHM_SIZE=
#TMP_SIZE=

# Mount tmpfs on /tmp if there is less than the limit size (in kiB) on
# the root filesystem (overriding RAMTMP).
#TMP_OVERFLOW_LIMIT=1024

restarted and "df -h"

Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                   51G   15G   35G  31% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   387M  404K  387M   1% /run
/dev/disk/by-uuid/e3bed4b4-b9c5-4e74-bcf1-71a907da7cc7   51G   15G   35G  31% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   2.0M     0  2.0M   0% /run/shm
/dev/sda1                                                62M   21M   39M  35% /boot
/dev/sda4                                               184G   61G  122G  34% /home

There are no tmpfs defined in /etc/fstab:

# /etc/fstab: static file system information.
#	
# <file system> <mount point>   <type>  <options>       <dump>  <fsck_order>

UUID=e3bed4b4-b9c5-4e74-bcf1-71a907da7cc7	/	btrfs	defaults,noatime,discard,ssd	0	0
UUID=8a672a75-d090-4cb8-a050-c0fdcb3b0115	/boot	auto	defaults	0	2
#UUID=f9a10b80-babe-4fc6-b68f-d18707fcbb19	/var	auto	defaults	0	3
#UUID=ca7511b7-e034-44cb-9705-b08a653ceeb2	/tmp	auto	defaults	0	0
UUID=6153e457-b7ad-4a1b-b7b7-93c579e67cfd	none	swap	sw		0	0
UUID=ba3d46f5-2616-42cf-b75d-314aa79df47c	/home	btrfs	defaults,noatime,discard,ssd	0	4


- --- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-4-amd64

Debian Release: jessie/sid
  500 wheezy          linux.dropbox.com 
  500 testing         ftp.at.debian.org 
  500 stable          dl.google.com 
  500 stable          deb.opera.com 

- --- Package information. ---
Depends                   (Version) | Installed
===================================-+-=================
libc6                      (>= 2.4) | 
mount                  (>= 2.11x-1) | 
debianutils                  (>= 4) | 
lsb-base                (>= 3.2-14) | 
sysvinit-utils     (>= 2.86.ds1-64) | 
sysv-rc                             | 
 OR file-rc                         | 
coreutils                 (>= 5.93) | 


Recommends      (Version) | Installed
=========================-+-===========
psmisc                    | 22.20-1
e2fsprogs                 | 1.42.5-1.1


Package's Suggests field is empty.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iEYEARECAAYFAlG3Q0oACgkQ6aU4/+gLeBn/LQCfd1xEfTSKgpq4jK/njq5Za1mq
JrYAn23flhe+3RWel1jo7idtQe7zpXT9
=Pn9p
-----END PGP SIGNATURE-----


More information about the Pkg-sysvinit-devel mailing list