watch(8) does not work in jails
David DEMELIER
demelier.david at gmail.com
Fri Sep 3 20:51:14 UTC 2010
2010/9/3 Roland Smith <rsmith at 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 at Orange ~ $ sudo jexec 1 tcsh
>> # su -
>> People# ls -l /dev/pts/*
>> crw--w---- 1 zazak tty 0, 118 3 Sep 20:39 /dev/pts/0
>> crw--w---- 1 zazak tty 0, 99 3 Sep 07:07 /dev/pts/4
>> crw--w---- 1 zazak tty 0, 94 3 Sep 20:39 /dev/pts/6
>
> That looks OK.
>
>> People# who
>> zazak pts/0 1 Sep 19:07 (92.147.166.20:S.)
>> zazak pts/4 10 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 module or
> built into the kernel. It's not in the GENERIC kernel.
>
> 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)
>
As I said in the first post it's present in my kernel config. I did
not built as module.
--
Demelier David
More information about the freebsd-questions
mailing list