Re: per user quotas inside jail?

2013-08-23 Thread Konstantin Belousov
On Fri, Aug 23, 2013 at 09:24:32AM -0500, Valeri Galtsev wrote: > Dear Experts, > > After searching the web, reading FreeBSD Docs, trying some hacks found on > some discussion boards... I feel it is not easily possible. Yet, as always > there may be some expert who knows how to do it: > > How can

Re: per user quotas inside jail?

2013-08-23 Thread Konstantin Belousov
On Fri, Aug 23, 2013 at 01:05:24PM -0500, Valeri Galtsev wrote: > On Fri, August 23, 2013 11:05 am, Konstantin Belousov wrote: > > On Fri, Aug 23, 2013 at 09:24:32AM -0500, Valeri Galtsev wrote: > >> Dear Experts, > >> After searching the web, reading FreeBSD Docs,

Re: per user quotas inside jail?

2013-08-24 Thread Konstantin Belousov
On Fri, Aug 23, 2013 at 01:49:19PM -0500, Valeri Galtsev wrote: > > On Fri, August 23, 2013 1:23 pm, Konstantin Belousov wrote: > > On Fri, Aug 23, 2013 at 01:05:24PM -0500, Valeri Galtsev wrote: > >> On Fri, August 23, 2013 11:05 am, Konstantin Belousov wrote: > >>

Re: per user quotas inside jail?

2013-08-24 Thread Konstantin Belousov
On Sat, Aug 24, 2013 at 03:35:01PM -0500, Valeri Galtsev wrote: > > On Sat, August 24, 2013 10:08 am, Konstantin Belousov wrote: > > > > I decided that I have no desire to try to understand all the layers of > > indirections which are only relevant to you anyway. Inste

Re: OSS in jail

2015-12-13 Thread Konstantin Belousov
On Sun, Dec 13, 2015 at 08:23:57AM -0700, James Gritton wrote: > On 2015-12-12 15:44, Lu??s Fernando Schultz Xavier da Silveira wrote: > > > > I would like one of my jails to have the ability to play back sound, > > but not to record it. As I understand, sound is played back by writing > > to /dev

Re: spontaneously exiting Jail -- jexec or ssh -- FreeBSD 10.3

2016-08-05 Thread Konstantin Belousov
On Thu, Aug 04, 2016 at 01:26:48PM -0700, Rudy wrote: > > I have an odd issue, and I'm writing to see if anyone has seen the same > issue. > > If I use "jexec 4 tcsh" or ssh into the jail, some sequences on the > command line kick me out (spontaneously exit) everytime. > > For example, I run a

Re: Changing jail's IP automatically

2016-09-03 Thread Konstantin Belousov
On Sat, Sep 03, 2016 at 09:33:08AM -0600, James Gritton wrote: > On 2016-09-02 15:08, Grzegorz Junka wrote: > > I am using a jail on my laptop and I often connect to different > > WiFi's, which of course assign different IPs to my laptop. I set up > > the jail by adding an alias to wlan0 and I need

Re: Passing a limited amount of disk devices to jails

2017-06-09 Thread Konstantin Belousov
On Fri, Jun 09, 2017 at 10:45:32AM +0200, Willem Jan Withagen wrote: > Hi, > > I'm writting/building a test environment for my ceph cluster, and I'm > using jails for that > > Now one of the things I'd be interested in, is to pass a few raw disks > to each of the jails. > So jail ceph-1 gets

Re: kqueue(2) kevents for jails

2019-01-04 Thread Konstantin Belousov
On Fri, Jan 04, 2019 at 02:55:05PM +0100, Fabian Freyer wrote: > Hi! > > I'm writing a jail management library [1], and am wondering if there's > any nice way to get notified of jail state changes (especially running > -> dying -> dead) as well as of parameter changes. > > What are the opinions

Re: kqueue(2) kevents for jails

2019-01-04 Thread Konstantin Belousov
On Fri, Jan 04, 2019 at 09:11:58PM +0100, Fabian Freyer wrote: > On 1/4/19 5:14 PM, Konstantin Belousov wrote: > > No, kevent(2) is not suitable mechanism to notify about jail state changes. > > If anything in the existing system can be reused for such notifications, >

Re: kqueue(2) kevents for jails

2019-01-07 Thread Konstantin Belousov
On Fri, Jan 04, 2019 at 10:22:07PM +0100, Fabian Freyer wrote: > > > On 1/4/19 9:29 PM, Konstantin Belousov wrote: > > On Fri, Jan 04, 2019 at 09:11:58PM +0100, Fabian Freyer wrote: > >> On 1/4/19 5:14 PM, Konstantin Belousov wrote: > >>> No, kevent(2) is no

Re: jail-safe filesystems

2019-01-16 Thread Konstantin Belousov
On Wed, Jan 16, 2019 at 03:35:47PM -0500, Michael W. Lucas wrote: > Hi! > > I'm writing about filesystems and jails right now, and the docs have > me wondering: > > Filesystems marked with "jail" in lsvfs(8) are safe to use inside > jails. Cool. > > Is this an "absolutely do not use others withi

Re: POSIX shared memory, jails, and (lack of) limits

2021-08-02 Thread Konstantin Belousov
On Mon, Aug 02, 2021 at 02:19:00PM +0200, Michael Gmelin wrote: > Hi, > > I've been playing a bit with POSIX shared memory and, unlike for SysV > shared memory, I couldn't find any way to limit its use by jails. > > First, I looked at racct/rctl, but there is no resource for POSIX shared > memory

Re: POSIX shared memory, jails, and (lack of) limits

2021-08-02 Thread Konstantin Belousov
On Mon, Aug 02, 2021 at 05:06:43PM +0200, Michael Gmelin wrote: > > > > On 2. Aug 2021, at 15:56, Konstantin Belousov wrote: > > > > On Mon, Aug 02, 2021 at 02:19:00PM +0200, Michael Gmelin wrote: > >> Hi, > >> > >> I've been pla

Re: Opening of /dev/pts/3 fails in jail (no such file), but it is visible in ls

2023-09-22 Thread Konstantin Belousov
On Fri, Sep 22, 2023 at 01:44:33PM +0200, Alexander Leidinger wrote: > Hi, > > I'm trying to debug an issue with pinentry-tty. The reason is that I want to > export a gpg secret key, but it fails when the gpg-agent tries to ask for > the PW. An alternative way to export the key works, but the main