Your message dated Sat, 22 Feb 2014 12:02:37 +0100
with message-id <[email protected]>
and subject line Re: Bug#739573: initscripts: RUN_SIZE is being ignored
has caused the Debian Bug report #739573,
regarding initscripts: RUN_SIZE is being ignored
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.)


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

Dear Maintainer,
as you can see in the attached file, i set RUN_SIZE to be 3% of my RAM.

but:

$ free -mt
             total       used       free     shared    buffers     cached
             Mem:          3870       3614        256        213         37     
  2049
             -/+ buffers/cache:       1527       2343
             Swap:         1498        288       1209
             Total:        5368       3903       1465

and:

$ df -h /run/
File system     Dim. Usati Dispon. Uso% Montato su
tmpfs           1,9G  456K    1,9G   1% /run

so I think that setting is being completely ignored.

I am using systemd as init.

Best

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

Kernel: Linux 3.13.1a (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils       8.21-1
ii  debianutils     4.4
ii  libc6           2.17-97
ii  lsb-base        4.1+Debian12
ii  mount           2.20.1-5.6
ii  sysv-rc         2.88dsf-51
ii  sysvinit-utils  2.88dsf-51

Versions of packages initscripts recommends:
ii  e2fsprogs  1.42.9-3
ii  psmisc     22.21-1

initscripts suggests no packages.

-- Configuration Files:
/etc/default/tmpfs changed:
RAMLOCK=no
RAMSHM=no
RAMTMP=no
RUN_SIZE=3%


-- no debconf information

--- End Message ---
--- Begin Message ---
Hi Petter,

Petter Reinholdtsen <[email protected]> writes:
> Control: reassign -1 systemd
>
> [Salvo Tomaselli]
>> so I think that setting is being completely ignored.
>> 
>> I am using systemd as init.
>
> I believe the /run size setting is ignored by systemd.  Reassigning.
Yeah, /etc/default/tmpfs is _not_ a configuration file for systemd,
therefore closing the bug.

With systemd, by default, /run is mounted in the initrd¹.

I don’t see the point in changing the size of /run, given how tmpfs
works (i.e. RAM will not be used before you actually create files in
/run) and considering the horrible failure modes of software not being
able to write to /run, so I’d recommend against doing that.

I’m not entirely sure about this, but if you insist on changing /run,
try creating an entry for /run in /etc/fstab and see if systemd’s mount
unit that is generated from that (run.mount) does what you want,
i.e. whether it remounts the already mounted filesystem. If not, as a
last resort, a Type=oneshot service file with a remount command will
help.

① From /init from /boot/initrd.img-3.12-1-amd64:
  mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run

-- 
Best regards,
Michael

--- End Message ---

Reply via email to