ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] игнорирование rc.local и sysctl.conf
@ 2012-03-24  0:38 Alex
  2012-03-24  6:45 ` Dmitry Chistikov
  0 siblings, 1 reply; 8+ messages in thread
From: Alex @ 2012-03-24  0:38 UTC (permalink / raw)
  To: sisyphus

Не выполняются команды из 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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-24 19:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-24  0:38 [sisyphus] игнорирование rc.local и sysctl.conf Alex
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

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