[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/systcl.conf: не подгружается при занрузке системы (Etch)



В Чтв, 26/02/2009 в 18:09 +0300, Alexander GQ Gerasiov пишет:
> On Thu, 26 Feb 2009 16:42:39 +0200
> Покотиленко Костик <casper@meteor.dp.ua> wrote:
> 
> > В Чтв, 26/02/2009 в 12:37 +0300, Alexander GQ Gerasiov пишет:
> > > On Thu, 26 Feb 2009 11:33:35 +0200
> > > Покотиленко Костик <casper@meteor.dp.ua> wrote:
> > > 
> > > > В Вто, 03/02/2009 в 15:03 +0200, Покотиленко Костик пишет:
> > > > > Проблема с сабж.
> > > > > 
> > > > > # ls -la /etc/rcS.d | grep proc
> > > > > lrwxrwxrwx  1 root root   19 2006-05-23 17:29 S30procps.sh
> > > > > -> ../init.d/procps.sh
> > > > > 
> > > > > # ls -la /etc/init.d/procps.sh
> > > > > -rwxr-xr-x 1 root root 997 2006-09-13
> > > > > 04:42 /etc/init.d/procps.sh
> > > > > 
> > > > > Вручную, после загрузки всё параметры подгружаются нормально
> > > > > командой:
> > > > > 
> > > > > # /etc/init.d/procps.sh start
> > > > 
> > > > Народ, неужели никто не использует systcl.conf?
> > > > 
> > > У меня всё работает(с)
> > 
> > Можно увидеть вывод вот этого на системе где работает:
> > 
> > ls -la /etc/rc*.d/* | grep procps.sh
> > 
> > У меня так:
> > lrwxrwxrwx 1 root root  19 2006-05-23 17:29 /etc/rcS.d/S30procps.sh
> > -> ../init.d/procps.sh
> > 
> > 
> 
> [root@vice:lib/Audio]# ls -la /etc/rc*.d/* | grep
> procps.sh
> [1]    12354 done       ls --color=auto -la /etc/rc*.d/* | 
> 12355 exit 1     grep procps.sh
> 
> [root@vice:lib/Audio]# grep sysctl /etc/init.d/*      
> /etc/init.d/keymap.sh:	[ -x /sbin/sysctl ] || return
> /etc/init.d/keymap.sh:	[ -r /etc/sysctl.conf ] || return
> /etc/init.d/keymap.sh:	grep -v '^\#' /etc/sysctl.conf | grep -q keycodes 
> /etc/init.d/keymap.sh:	    grep keycodes /etc/sysctl.conf | grep -v "^#" | while read d ; do
> /etc/init.d/keymap.sh:	        /sbin/sysctl -w $d 2> /dev/null || true
> /etc/init.d/procps:# /etc/init.d/procps: Set kernel variables from /etc/sysctl.conf
> /etc/init.d/procps:# Description:  Loads kernel parameters that are specified in /etc/sysctl.conf
> /etc/init.d/procps:which sysctl > /dev/null || exit 0
> /etc/init.d/procps:	           for file in /etc/sysctl.conf /etc/sysctl.d/*.conf ; do
> /etc/init.d/procps:				   sysctl $quiet -p "$file"
> /etc/init.d/vz:	sysctl -q -w net.ipv4.conf.$VZDEV.send_redirects=0
> /etc/init.d/vz:	sysctl -q -w net.ipv4.route.src_check=0
> [root@vice:lib/Audio]# ls -la /etc/rc*.d/* | grep procps 
> lrwxrwxrwx 1 root root  16 Янв 19  2008 /etc/rcS.d/S30procps -> ../init.d/procps
> [root@vice:lib/Audio]#                   

Это Lenny, так procps, а на Etch procps.sh. Хотя приоритет тот же 30 в
rcS.d.

-- 
Покотиленко Костик <casper@meteor.dp.ua>


Reply to: