On Mon, Aug 16, 2010 at 11:23:00AM +0200, David DEMELIER wrote:
> Hi,
> 
> I enabled `device snp' in my kernel config file and with this I can
> use the command watch(8) to see any tty device attached. For example :
> 
> # watch ttyv0
> 
> Give me the output of the console.
> 
> But in jails, it's not the same thing, I tried the following :
> 
> # jexec 1 tcsh
> # su -
> People# watch pts/0
> watch: fatal: cannot open snoop device
> 
> Is there a limitation of watch(8), or jails ?

Does /dev/pts/0 actually exist in the jail's devfs instance, and are its
permissions correct?

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpiTLgzSUr4j.pgp
Description: PGP signature

Reply via email to