Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Kostik Belousov
On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: > Hi. > Jail now have no disk quotas. > Users which use jail, use separate zfs or md device for jail, but it > from a hopelessness. > It is necessary to discuss possible ways of realisation. > I suggest to make disk quotas for j

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Menshikov Konstantin
Kostik Belousov wrote: On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: Hi. Jail now have no disk quotas. Users which use jail, use separate zfs or md device for jail, but it from a hopelessness. It is necessary to discuss possible ways of realisation. I suggest to make

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Kostik Belousov
On Tue, May 26, 2009 at 04:35:04PM +0400, Menshikov Konstantin wrote: > Kostik Belousov wrote: > >On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: > >>In structure prison it is added structures containing disk quotas and > >>usage. > >>At start Jail, we calculate the size root

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Menshikov Konstantin
Kostik Belousov wrote: On Tue, May 26, 2009 at 04:35:04PM +0400, Menshikov Konstantin wrote: Kostik Belousov wrote: On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: In structure prison it is added structures containing disk quotas and usage. At start Jail, w

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Kostik Belousov
On Tue, May 26, 2009 at 05:01:27PM +0400, Menshikov Konstantin wrote: > Kostik Belousov wrote: > >On Tue, May 26, 2009 at 04:35:04PM +0400, Menshikov Konstantin wrote: > > > >>Kostik Belousov wrote: > >> > >>>On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: > >>> >

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Tom Evans
On Tue, 2009-05-26 at 17:01 +0400, Menshikov Konstantin wrote: > Kostik Belousov wrote: > > On Tue, May 26, 2009 at 04:35:04PM +0400, Menshikov Konstantin wrote: > > > >> Kostik Belousov wrote: > >> > >>> On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wrote: > >>> > >

Help debugging kernel together with X

2009-05-26 Thread Fernando Herrero Carrón
Hi list, I would like to ask for some help debugging the kernel. Here is the problem: I have a computer about five years old with an on-board graphics card (SiS 661). I am trying to install an ATI Radeon 128 on the AGP port. FreeBSD (FreeBSD 7.2-STABLE #10: Tue May 26 15:08:39 CEST 2009) is able

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Ivan Voras
Menshikov Konstantin wrote: > Hi. > Jail now have no disk quotas. > Users which use jail, use separate zfs or md device for jail, but it > from a hopelessness. Well, the ZFS way of doing things (per-filesystem quotas) is actually the right way to do it - it solves exactly the problem described.

Re: Help debugging kernel together with X

2009-05-26 Thread Glen Barber
Hi, Fernando 2009/5/26 Fernando Herrero Carrón : > Hi list, > > I would like to ask for some help debugging the kernel. > > Here is the problem: > > I have a computer about five years old with an on-board graphics card > (SiS 661). I am trying to install an ATI Radeon 128 on the AGP port. > FreeBS

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Menshikov Konstantin
Tom Evans wrote: On Tue, 2009-05-26 at 17:01 +0400, Menshikov Konstantin wrote: Kostik Belousov wrote: On Tue, May 26, 2009 at 04:35:04PM +0400, Menshikov Konstantin wrote: Kostik Belousov wrote: On Tue, May 26, 2009 at 10:32:24AM +0400, Menshikov Konstantin wr

MosChip 7840 dual port ucom

2009-05-26 Thread Dmitry Morozovsky
Dear colleagues, any hints/directions to get MosChip 7840 dual port USB to RS232 adapter working? In usbdevs output the device is shown as port 1 addr 2: high speed, power 100 mA, config 1, product 0x7840(0x7840), vendor 0x9710(0x9710), rev 0.01 Thanks in advance. -- Sincerely, D.Marck

Re: Disk quota for Jail. Discussion.

2009-05-26 Thread Menshikov Konstantin
Ivan Voras wrote: Menshikov Konstantin wrote: Hi. Jail now have no disk quotas. Users which use jail, use separate zfs or md device for jail, but it from a hopelessness. Well, the ZFS way of doing things (per-filesystem quotas) is actually the right way to do it - it solves exactly the

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-26 Thread Dag-Erling Smørgrav
[moving from security@ to hack...@] Jakub Lach writes: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/21768 Like bde@ pointed out, the patch is incorrect. It moves the test for v_type != VDIR up to a point where, in the case of a symlink, v_type is always (by definition) VLNK. The reason wh

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-26 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > The attached patch should work. Oops. It actually triggers a KASSERT. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To uns

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-26 Thread Dag-Erling Smørgrav
Dag-Erling Smørgrav writes: > Like bde@ pointed out, the patch is incorrect. It moves the test for > v_type != VDIR up to a point where, in the case of a symlink, v_type is > always (by definition) VLNK. Hmm, actually, symlinks are resolved in namei(), not lookup(). This is not going to be pret