jails and sysctl in freebsd 6.0

看板FB_security作者時間20年前 (2005/12/22 17:30), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Bug or something, look at this <mother-mail>[~]# cat /etc/sysctl.conf security.jail.allow_raw_sockets=1 security.jail.set_hostname_allowed=0 <mother-mail>[~]# sysctl -a | grep jail security.jail.set_hostname_allowed: 1 <<<<< here security.jail.socket_unixiproute_only: 1 security.jail.sysvipc_allowed: 0 security.jail.enforce_statfs: 2 security.jail.allow_raw_sockets: 1 security.jail.chflags_allowed: 0 security.jail.jailed: 0 The variable points to 1. You can't change the hostname in jail (that's what I want). But booting OS hangs a little if you put 'security.jail.set_hostname_allowed=0' to /etc/sysctl.conf. If I put 'jail_set_hostname_allow="NO"' to /etc/rc.conf and remove it from /etc/sysctl.conf it boots OK without delay and sysctl outputs the correct value. <mother-mail>[~]# uname -a FreeBSD mother-mail.optima-telekom.hr 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Dec 21 -- One cannot sell the earth upon which the people walk Tacunka Witco _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #13gd8S00 (FB_security)