ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alex <gregor.wakk@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] игнорирование rc.local и sysctl.conf
Date: Sat, 24 Mar 2012 06:38:44 +0600
Message-ID: <222098874.0aJELzlNIZ@greyhost.greydomain.org> (raw)

Не выполняются команды из rc.local

# ls -l /etc/rc.d/rc.local
-rwxr-xr-x 1 root root 102 Мар 24 06:05 /etc/rc.d/rc.local

# cat /etc/rc.d/rc.local
#!/bin/sh
echo 2097152 >/proc/sys/vm/dirty_bytes
echo 2097152 >/proc/sys/vm/dirty_background_bytes

однако после ребута 

# cat /proc/sys/vm/dirty_background_bytes
0

Попробовл сделать через sysctl.conf

# cat /etc/sysctl.conf | grep dirty
vm.dirty_background_bytes = 2097152
vm.dirty_bytes = 2097152

Однако после перезагрузки та же картина 

# sysctl -a | grep dirty
vm.dirty_background_ratio = 5
vm.dirty_background_bytes = 0
vm.dirty_ratio = 10
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 3000

Ошибка ли это и как всё же заставить систему при старте выполнять две эти 
команды?

             reply	other threads:[~2012-03-24  0:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-24  0:38 Alex [this message]
2012-03-24  6:45 ` Dmitry Chistikov
2012-03-24 10:27   ` Alex
2012-03-24 11:42     ` Dmitry Chistikov
2012-03-24 11:53       ` Michael Shigorin
2012-03-24 13:55       ` Alex
2012-03-24 16:02         ` Sergey Vlasov
2012-03-24 19:20         ` Dmitry Chistikov

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=222098874.0aJELzlNIZ@greyhost.greydomain.org \
    --to=gregor.wakk@gmail.com \
    --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