jail and /dev

Tomas antencek at gmail.com
Thu Oct 20 08:18:17 PDT 2005


Thank you for help.

I did something similar before (following man jail, the section about 
creating devices in jail), the printer was printing from shell (master 
and jail), but cups did not recognize USB Printer #1 (not in jail nor in 
master).

I spent a few moments/hours of my life and found out (installed clean 
test machine with DF and jail) that if I compile cups with gcc34, cups 
does not list the USB Printer #1. If I compile cups with gcc2, the USB 
Printer #1 is there.

But in jail I can't manage printer after it was added.

Cups error:

     server-error-service-unavailable



Is this a general cups problem or it's just the unusal combination of 
me+cups+gcc34 ? :) Has anyone else met the same problem?

I'm using 1.2.6-RELEASE.



Tomas

Joerg Sonnenberger wrote:
On Sun, Oct 16, 2005 at 08:17:54PM +0200, Tomas wrote:
Master sees the printer device:
ulpt0: Hewlett-Packard DeskJet 845C, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
..and /dev/ulpt0 exists, but not in jail and also cupsd in jail doesn't 
give me the list of devices to choose from.
Well, make it. MAKEDEV ulpt0 in the jail. But keep the security
implications in mind.
I could do the same thing in FBSD 5.4 and it worked. I was also looking 
how to mount devfs from master to jail, but had no success.
No devfs in DF.

Joerg





More information about the Users mailing list