Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2010 20:17:03 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: watch(8) does not work in jails
Message-ID:  <20100816181703.GB66710@slackbox.erewhon.net>
In-Reply-To: <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com>
References:  <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--+pHx0qQiF2pBVqBT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 16, 2010 at 11:23:00AM +0200, David DEMELIER wrote:
> Hi,
>=20
> 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 :
>=20
> # watch ttyv0
>=20
> Give me the output of the console.
>=20
> But in jails, it's not the same thing, I tried the following :
>=20
> # jexec 1 tcsh
> # su -
> People# watch pts/0
> watch: fatal: cannot open snoop device
>=20
> 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
--=20
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)

--+pHx0qQiF2pBVqBT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxpgJ8ACgkQEnfvsMMhpyVNXwCgpYGC/uZXruPtFc8Y10/jje8i
usgAn0mz4mcS8lXk8WlTNdFci9BpNsle
=ds3F
-----END PGP SIGNATURE-----

--+pHx0qQiF2pBVqBT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100816181703.GB66710>