ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Denis Medvedev <nbr@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] default runfs size?
Date: Sun, 10 Jun 2018 18:24:02 +0300
Message-ID: <3626615.IAAyPBFgs3@homerun.localdomain> (raw)
In-Reply-To: <802264fc-0ca6-b15c-9366-bb8b63fe2ea6@complife.ru>

On воскресенье, 10 июня 2018 г. 16:28:54 MSK Michael A. Kangin wrote:
> Добрый день.
> 
> А от чего может зависить размер runfs, который на /run монтируется?
> И как корректно сделать перемонтирование на нормальный размер, чтобы не
> ручками?
> 
> А то на домашней системе он упорно получается 5mb, на что сильно
> жалуется systemd. А беру виртуалку попробовать - там 2gb "изкаробки".
> 
> В fstab ничего интересного нету.
> 
> В initrd находится
> lib/initrd/modules/005-prepare:	mount -n -t tmpfs -o mode=755,nosuid
> runfs /run
> но как-то безразмерно.
> 
Насколько я знаю, он забит в код systemd (!) в виде константы (!).
Этой таблице (http://git.altlinux.org/gears/s/systemd.git?
p=systemd.git;a=blob;f=src/core/mount-
setup.c;h=e8c16fd478205b547db762da4e636959c56202fe;hb=41d81b25a33d46504939e7021fdb088f54e16fce 
)
самое место в конфигурационном файле, а не в исходниках на Си!
Выставите, пожалуйста, багу на systemd по этому поводу.
> Еще есть подозрение на
> /etc/rc.d/init.d/udevd:			mount $mount_n -t tmpfs -o
> mode=755,$tmpfs_options runfs /run
> 
> Там эта $tmpfs_options как раз
> /etc/udev/udev.conf:tmpfs_options="size=5m"
> 
> Но в системе с systemd этот самый /etc/rc.d/init.d/udevd вроде бы не
> должен выполняться, да и в виртуалке с большим размером runfs этот
> $tmpfs_options такой-же...


  reply	other threads:[~2018-06-10 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-10 13:28 Michael A. Kangin
2018-06-10 15:24 ` Denis Medvedev [this message]
2018-06-10 15:38   ` Sergey Bolshakov
2018-06-10 15:41   ` Alexei Takaseev
2018-06-10 19:07   ` Michael A. Kangin
2018-06-10 20:28     ` Alexey Gladkov
2018-06-10 20:36     ` Leonid Krivoshein
2018-06-10 20:44     ` Leonid Krivoshein
2018-06-11  0:20       ` Michael A. Kangin
2018-06-11  0:25 ` Michael A. Kangin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3626615.IAAyPBFgs3@homerun.localdomain \
    --to=nbr@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git