Date: Fri, 3 Sep 2010 22:51:11 +0200 From: David DEMELIER <demelier.david@gmail.com> To: Roland Smith <rsmith@xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: watch(8) does not work in jails Message-ID: <AANLkTikw%2BKDgjAYH6cX5jzapBf7_aYjcfhnzmCYQ3hQt@mail.gmail.com> In-Reply-To: <20100903202331.GA19492@slackbox.erewhon.net> References: <AANLkTikPvVqcOAdk3EJBmmP-6_AkFs-TuQnNqbi2r=Vr@mail.gmail.com> <20100816181703.GB66710@slackbox.erewhon.net> <AANLkTiku2SzjSVrSj3eZJnoY0dwbX4piKwOZ6R5ieoes@mail.gmail.com> <20100816225715.GA35248@slackbox.erewhon.net> <AANLkTikcUfDos5sobb4FG-LPJuAEZMJp4mcZ1UAsOEkr@mail.gmail.com> <20100903202331.GA19492@slackbox.erewhon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/3 Roland Smith <rsmith@xs4all.nl>: > On Fri, Sep 03, 2010 at 08:40:01PM +0200, David DEMELIER wrote: >> Sorry I made a mistake while I was writing. In fact there is the >> permissions in the jail : >> >> markand@Orange ~ $ sudo jexec 1 tcsh >> # su - >> People# ls -l /dev/pts/* >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, 118 =C2=A03 Sep 20:39= /dev/pts/0 >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, =C2=A099 =C2=A03 Sep = 07:07 /dev/pts/4 >> crw--w---- =C2=A01 zazak =C2=A0tty =C2=A0 =C2=A00, =C2=A094 =C2=A03 Sep = 20:39 /dev/pts/6 > > That looks OK. > >> People# who >> zazak =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pts/0 =C2=A0 =C2=A0 1 Sep 19:07= (92.147.166.20:S.) >> zazak =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 pts/4 =C2=A0 =C2=A010 Aug 16:00= (92.147.166.20:S.) >> People# watch pts/0 >> watch: fatal: cannot open snoop device > > For watch(1) to work, you need the device snp(4) either loaded as a modul= e or > built into the kernel. It's not in the GENERIC kernel. > > Roland > -- > R.F.Smith =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.n= l/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C321= A725) > As I said in the first post it's present in my kernel config. I did not built as module. --=20 Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikw%2BKDgjAYH6cX5jzapBf7_aYjcfhnzmCYQ3hQt>