Date: Tue, 27 Jul 2010 07:11:21 GMT From: Thomas BRETHOME <thomas.brethome@c-s.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/148984: Mistake in section 16.15.4 of the handbook Message-ID: <201007270711.o6R7BLSe000585@www.freebsd.org> Resent-Message-ID: <201007270720.o6R7K1i5077710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148984 >Category: docs >Synopsis: Mistake in section 16.15.4 of the handbook >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 27 07:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Thomas BRETHOME >Release: 8.1 >Organization: CS >Environment: >Description: The example file /etc/policy.contexts (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mac-implementing.html) appears to be bad or outdated, the policy is'nt applied correctly by setfsmac. >How-To-Repeat: >Fix: The example file should be replaced by something like : --- # This is the default BIBA policy for this system. # System: /var/run biba/equal /var/run/.* biba/equal /dev biba/equal /dev/.* biba/equal /var biba/equal /var/spool biba/equal /var/spool/.* biba/equal /var/log biba/equal /var/log/.* biba/equal /tmp biba/equal /tmp/.* biba/equal /var/tmp biba/equal /var/tmp/.* biba/equal /var/spool/mqueue biba/equal /var/spool/clientmqueue biba/equal # For Nagios: /usr/local/etc/nagios biba/10 /usr/local/etc/nagios/.* biba/10 /var/spool/nagios biba/10 /var/spool/nagios/.* biba/10 # For apache /usr/local/etc/apache biba/10 /usr/local/etc/apache/.* biba/10 --- Or (less verbose) : --- # This is the default BIBA policy for this system. # System: /var/run(/.*)? biba/equal /dev(/.*)? biba/equal /var biba/equal /var/spool(/.*)? biba/equal /var/log(/.*)? biba/equal /tmp(/.*)? biba/equal /var/tmp(/.*)? biba/equal /var/spool/mqueue biba/equal /var/spool/clientmqueue biba/equal # For Nagios: /usr/local/etc/nagios(/.*)? biba/10 /var/spool/nagios(/.*)? biba/10 # For apache /usr/local/etc/apache(/.*)? biba/10 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007270711.o6R7BLSe000585>