Sorry I should have mentioned he did this with ezjails. I have a FreeBSD 9.1 at
home with ezjails but I can only test this tomorrow.
Valeri Galtsev wrote:
>Mine was FreeBSD 9.1, amd64, and "per jail" config didn't work for me.
>I
>configure jails in /etc/rc.conf and start them on boot by ena
Mine was FreeBSD 9.1, amd64, and "per jail" config didn't work for me. I
configure jails in /etc/rc.conf and start them on boot by enabling them in
/etc/rc.conf (jail_enable="YES"), or start, stop, restart using
/etc/rc.d/jail [start|stop|restart]
For those who didn't see previous discussion, it
This host is Freebsd 8, and the config "per" jail doesn't work!
However, I friend of mine confirmed me it does work on FreeBSD 9 hosts!
--
Melhores Cumprimentos // Best Regards
Miguel Clara
*nix Sys Admin Freelance
http:
On 08/23/13 17:27, Valeri Galtsev wrote:
>
> On Fri, August 23, 2013 1:13 pm, Mike C. wrote:
>> On 08/23/13 16:35, Valeri Galtsev wrote:
>>>
>>> On Fri, August 23, 2013 11:31 am, Josh Beard wrote:
On Fri, Aug 23, 2013 at 10:41 AM, Mike C.
wrote:
>
> On 08/23/13 16:34, Mike
On Fri, August 23, 2013 1:13 pm, Mike C. wrote:
> On 08/23/13 16:35, Valeri Galtsev wrote:
>>
>> On Fri, August 23, 2013 11:31 am, Josh Beard wrote:
>>> On Fri, Aug 23, 2013 at 10:41 AM, Mike C.
>>> wrote:
>>>
On 08/23/13 16:34, Mike C. wrote:
> Yes I know about
>
>> securit
On 08/23/13 16:35, Valeri Galtsev wrote:
>
> On Fri, August 23, 2013 11:31 am, Josh Beard wrote:
>> On Fri, Aug 23, 2013 at 10:41 AM, Mike C. wrote:
>>
>>>
>>> On 08/23/13 16:34, Mike C. wrote:
Yes I know about
> security.jail.allow_raw_sockets=1
Like I said I can do this
On Fri, August 23, 2013 11:31 am, Josh Beard wrote:
> On Fri, Aug 23, 2013 at 10:41 AM, Mike C. wrote:
>
>>
>> On 08/23/13 16:34, Mike C. wrote:
>> > Yes I know about
>> >
>> >> security.jail.allow_raw_sockets=1
>> >
>> > Like I said I can do this with "root" just not with the user nagios, I
>> g
On Fri, Aug 23, 2013 at 10:41 AM, Mike C. wrote:
>
> On 08/23/13 16:34, Mike C. wrote:
> > Yes I know about
> >
> >> security.jail.allow_raw_sockets=1
> >
> > Like I said I can do this with "root" just not with the user nagios, I
> guess If raw_sockets was set to 0 on the host, I would have probl
On 08/23/13 16:34, Mike C. wrote:
> Yes I know about
>
>> security.jail.allow_raw_sockets=1
>
> Like I said I can do this with "root" just not with the user nagios, I guess
> If raw_sockets was set to 0 on the host, I would have problems with any user!
>
>
>
>
> Putting this in /etc/rc.
Yes I know about
> security.jail.allow_raw_sockets=1
Like I said I can do this with "root" just not with the user nagios, I guess If
raw_sockets was set to 0 on the host, I would have problems with any user!
Putting this in /etc/rc.conf:
jail_${JailName}_parameters="allow.raw_sockets=1"
On Fri, Aug 23, 2013 at 09:35:43AM -0500, Valeri Galtsev wrote:
> To the best of my knowledge, raw sockets are not allowed inside jail by
> default. This might be your problem (as far as I know how nagios works).
>
> To allow raw sockets you can do
>
> sysctl security.jail.allow_raw_sockets=1
>
To the best of my knowledge, raw sockets are not allowed inside jail by
default. This might be your problem (as far as I know how nagios works).
To allow raw sockets you can do
sysctl security.jail.allow_raw_sockets=1
then you need to restart at least the jail inside which your nagios
instance l
I'm having a problem with nagios under a jail... commands works has root
and another normal user I created (its not even in the wheel group)
running commands such has "check_http" get me a Operation not permited,
with ktrace I was able to confirm the probelm:
connect -1 errno 1 Operation not perm
13 matches
Mail list logo