Your message dated Sat, 22 Feb 2014 12:07:30 +0100
with message-id <[email protected]>
and subject line Re: Bug#739574: initscripts: No setting for the size of 
/run/user
has caused the Debian Bug report #739574,
regarding initscripts: No setting for the size of /run/user
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.)


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

Dear Maintainer,
I've noticed that /run/user is being automatically mounted.

$ df -h /run/user/
File system     Dim. Usati Dispon. Uso% Montato su
tmpfs           100M     0    100M   0% /run/user

However in /etc/default/tmpfs there seem to be no parameter regarding this
and the size of this.
At least, none documented in tmpfs(5)

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 Salvo,

Petter Reinholdtsen <[email protected]> writes:
> Control: reassign -1 systemd
>
> [Salvo Tomaselli]
>> I've noticed that /run/user is being automatically mounted.
> [...]
>> I am using systemd as init.
>
> initscripts is not mounting /run/user, so I suspect systemd.
> Reassigning.
Correct, systemd is mounting this, see “systemctl status
run-user.mount”, which mentions /lib/systemd/system/run-user.mount as
the source behind the run-user.mount unit.

Therefore, the usual ways of overriding settings with systemd apply: you
can create a drop-in snippet which overrides a specific setting of the
unit:

mkdir /etc/systemd/system/run-user.mount.d
cat >/etc/systemd/system/run-user.mount.d/size.cfg <<'EOT'
[Mount]
Options=nodev,noexec,nosuid,size=52428800,mode=0755
EOT

Which will reduce the size from 100M (default) to 50M.

As with my reply to #739573, I don’t think you should change the size at
all, though.

I’m closing this bug as well, since changing the setting is possible,
and an explicit setting is not needed/not the idiomatic way of doing
things in systemd.

-- 
Best regards,
Michael

--- End Message ---

Reply via email to