jail - unable to print from inside jail
raymond.gibson at verizon.net
Fri Oct 2 22:05:20 UTC 2009
On Friday 02 October 2009 04:32:23 pm Patrick Lamaiziere wrote:
> Le Fri, 02 Oct 2009 15:31:55 -0500,
> Raymond Gibson <raymond.gibson at verizon.net> a écrit :
> > On Friday 02 October 2009 02:31:06 am Bernt Hansson wrote:
> > > Raymond Gibson said the following on 2009-10-01 22:33:
> > > > I'm trying to setup CUPS (in a jail) using a USB printer on
> > > > my host machine. My host was built with as a minimal FreeBSD
> > > > 7.2-Release install. I added ezjail and created two jails. Both
> > > > jails are working and I can login to both using ssh.
> > i tried to set 666 for devfs.rules & devfs.conf in both host and
> > jail, but that didn't work.
> > any more ideas?
> How do you start your jail? For a jail, the devfs rule applied is the
> one specified for the jail in /etc/rc.conf, something like
> jail_jailname_devfs_ruleset="devfsrules_jail" # devfs ruleset to
> apply to jail
i'm using ezjail.
ezjail is started from /etc/rc.conf with ezjail_enable="YES".
i thought the following would be read into the jail's configuration.
export jail_PrintServer_exec="/bin/sh /etc/rc"
i put PrintServer_devfs_ruleset="devfsrules_jail_PrintServer" into my rc.conf
and rebooted. no luck, i still get permission denied.
More information about the freebsd-questions