watch(8) does not work in jails
Roland Smith
rsmith at xs4all.nl
Mon Aug 16 18:17:10 UTC 2010
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100816/a1f602b8/attachment.pgp
More information about the freebsd-questions
mailing list