Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2015 13:01:10 -0400
From:      Ricky G <ricky1252@hotmail.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: devfs.rules in a jail
Message-ID:  <SNT146-W301EA272BA27663DF624B2A1C30@phx.gbl>
In-Reply-To: <555B43AC.3010807@sentex.net>
References:  <555B43AC.3010807@sentex.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


> Date: Tue=2C 19 May 2015 10:07:40 -0400
> From: mike@sentex.net
> To: freebsd-questions@freebsd.org
> Subject: devfs.rules in a jail
>=20
> Hi=2C
> 	I am trying to expose a single ugen device inside a jail.  In this=20
> case=2C a pkcs11 token. However=2C I cant seem to get the config right.
>=20
> I started with a simple ezjail default config
>=20
> export jail_mdtp_sentex_ca_devfs_ruleset=3D"devfsrules_jail"
>=20
> and in the rules file=2C I have
>=20
> # cat /etc/devfs.rules
> [devfsrules_jail=3D5]
> add path 'ugen[0-9]\*'  mode 666
> add path 'usb/[0-9]\*'  mode 666


export jail_mdtp_sentex_ca_devfs_ruleset=3D"5"
I don't know why its possible to name the rules but only the rule number ma=
tters when setting the jails ruleset. 		 	   		  =



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?SNT146-W301EA272BA27663DF624B2A1C30>