Bug#711963: [initscripts] does not mount /tmp as tmpfs

2016-11-17 Thread Maxime Chatelle

Just some information for other users that land here like me:

It works fine with sysvinit but fail with systemd mainly because the
script that do the job is part of sysvinit (look at the top of the bug
page "Source for initscripts is src:sysvinit" ;) ).

And the scripts are not really portable to systemd (look
at /lib/init/mount-functions.sh, /etc/init.d/mountall.sh, and others
from the package: hard to use with systemd). And anyway, systemd is
designed to do the mounting job itself.

So the best bet with systemd is to add a line in fstab by yourself.

Or maybe create a .service file to include in systemd but it's probably
largely overkill.

In fact, the maintainer may flag this bug as wontfix.

cya -)
-- 
xakz



Bug#711963: [initscripts] does not mount /tmp as tmpfs

2016-11-16 Thread Marek Straka
Package: initscripts
Version: 2.88dsf-59.8
Followup-For: Bug #711963
Control: severity -1 important

The /tmp is stil not mounted as tmpfs in Debian Stretch as configured in 
/etc/default/tmpfs

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initscripts depends on:
ii  coreutils   8.25-2+b1
ii  debianutils 4.8
ii  lsb-base9.20161101
ii  mount   2.29-1
ii  sysv-rc 2.88dsf-59.8
ii  sysvinit-utils  2.88dsf-59.8

Versions of packages initscripts recommends:
ii  e2fsprogs  1.43.3-1
ii  psmisc 22.21-2.1+b1

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed [not included]

-- no debconf information



Bug#711963: [initscripts] does not mount /tmp as tmpfs

2015-02-19 Thread Stephan Austermuehle
Package: initscripts
Version: 2.88dsf-58
Followup-For: Bug #711963

Dear Maintainer,

although RAMTMP is set to 'yes' /tmp is not mounted as tmpfs.

Best regards,

Stephan


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages initscripts depends on:
ii  coreutils   8.23-3
ii  debianutils 4.4+b1
ii  libc6   2.19-13
ii  lsb-base4.1+Debian13+nmu1
ii  mount   2.25.2-5
ii  sysv-rc 2.88dsf-58
ii  sysvinit-utils  2.88dsf-58

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.12-1
ii  psmisc 22.21-2

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed:
RAMTMP=yes


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#711963: [initscripts] does not mount /tmp as tmpfs

2013-06-11 Thread Marek Straka
-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/sda162M   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,ssd0   0
UUID=8a672a75-d090-4cb8-a050-c0fdcb3b0115   /boot   autodefaults
0   2
#UUID=f9a10b80-babe-4fc6-b68f-d18707fcbb19  /varautodefaults
0   3
#UUID=ca7511b7-e034-44cb-9705-b08a653ceeb2  /tmpautodefaults
0   0
UUID=6153e457-b7ad-4a1b-b7b7-93c579e67cfd   noneswapsw  
0   0
UUID=ba3d46f5-2616-42cf-b75d-314aa79df47c   /home   btrfs   
defaults,noatime,discard,ssd0   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-