Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 10:10:38 -0600
From:      Christian Peron <csjp@FreeBSD.org>
To:        Gabor Kovesdan <gabor@kovesdan.org>
Cc:        freebsd-security@FreeBSD.org, trustedbsd-discuss@FreeBSD.org
Subject:   Re: problems with MAC labels on files
Message-ID:  <20101206161038.GA17362@movsx>
In-Reply-To: <4CFC3DE7.2030606@kovesdan.org>
References:  <4CFC3DE7.2030606@kovesdan.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 06, 2010 at 01:35:35AM +0000, Gabor Kovesdan wrote:
> Hi,
>=20
> I'm trying to set up an MLS policy but I'm unable to label files.=20
> Multi-label option is enabled on /, UFS_EXTATTR and=20
> UFS_EXTATTR_AUTOSTART is in the kernel and the MLS module is loaded.
>=20
> # uname -a
> FreeBSD .localdomain 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Dec  6=20
> 00:20:31 WET 2010    =20
> gabor@.localdomain:/usr/src/sys/i386/compile/GENERIC  i386
>=20
> # setfmac mls/20:1 test
> setfmac: labeling not supported in test
>=20
> I've read all the documentation and man pages but I cannot find what=20
> else do I have to do to get it working. Could you please tell what I'm=20
> missing here?
>=20
> Thanks in advance,
> Gabor Kovesdan
> _______________________________________________
> trustedbsd-discuss@FreeBSD.org mailing list
> http://lists.freebsd.org/mailman/listinfo/trustedbsd-discuss
> To unsubscribe, send any mail to=20
> "trustedbsd-discuss-unsubscribe@FreeBSD.org"

You need to use tunefs and enable them.

--=20
()  ascii ribbon campaign - against html e-mail=20
/\  www.asciiribbon.org   - against proprietary attachments

--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkz9Cv4ACgkQzHFpVAM/ozzy0wCaA7T3ekI4daRKnJ09xoTqk6/T
UcgAnR3MHOWfc9w1SIGtRrqWScFrQy6R
=sJPr
-----END PGP SIGNATURE-----

--Qxx1br4bt0+wmkIi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101206161038.GA17362>