Re: Jail limits

2009-03-18 Thread Espartano
On Wed, Mar 18, 2009 at 11:23 AM, Ricardo Jesus wrote: > Espartano wrote: >> >> Hi folk, sorry for my bat english, i have a question: >> >> there is any initiative to implements limits (like cpu limits, memory >> limits) inside a jail ? >> >> or al

Re: Jail limits

2009-03-18 Thread Ricardo Jesus
Espartano wrote: Hi folk, sorry for my bat english, i have a question: there is any initiative to implements limits (like cpu limits, memory limits) inside a jail ? or already exists anything to do it ? thanks a lot. You can check sysctl MIB entries for security.jail.* Using

Jail limits

2009-03-17 Thread Espartano
Hi folk, sorry for my bat english, i have a question: there is any initiative to implements limits (like cpu limits, memory limits) inside a jail ? or already exists anything to do it ? thanks a lot. -- "Linux is for people who hate Windows, BSD is for people who love UNIX"

Re: Bind to Localhost from Jail

2009-03-13 Thread Tim Judd
On Fri, Mar 13, 2009 at 12:59 PM, Dave wrote: > Hi all, > > I'm trying to get cPanel installed on my host, and to run it from jail. > The > installer script that cPanel provides, however, seems to be confused by the > fact that it cannot test the daemons it has instal

Bind to Localhost from Jail

2009-03-13 Thread Dave
Hi all, I'm trying to get cPanel installed on my host, and to run it from jail. The installer script that cPanel provides, however, seems to be confused by the fact that it cannot test the daemons it has installed by checking if they are listening on localhost. Is there any way to

Re: Disabling inbound email in a jail

2009-02-27 Thread Mikhail Goriachev
Kirk Strauser wrote: > I only want sendmail in a jail to do one thing: forward nightly reports from > r...@localhost to a real account on another > machine. What's the proper way to configure this? Edit /etc/mail/aliases. All reports are pointed to root. But you can point it any

Re: Disabling inbound email in a jail

2009-02-27 Thread Matthew Seaman
Kirk Strauser wrote: I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? By default, sendmail_enable="NO" in /etc/rc.conf still gives a running sendmail th

Re: Disabling inbound email in a jail

2009-02-27 Thread Janos Dohanics
On Friday 27 February 2009 10:49:22 am Kirk Strauser wrote: > I only want sendmail in a jail to do one thing: forward nightly reports > from r...@localhost to a real account on another machine. What's the > proper way to configure this? By default, sendmail_enable="NO"

Disabling inbound email in a jail

2009-02-27 Thread Kirk Strauser
I only want sendmail in a jail to do one thing: forward nightly reports from r...@localhost to a real account on another machine. What's the proper way to configure this? By default, sendmail_enable="NO" in /etc/rc.conf still gives a running sendmail that accepts mail from

Re: Accessing /dev/lpt0 in a Jail

2009-02-23 Thread Mel
.conf file... You should repeat this to yourself, about 10-20 times, daily, so you don't forget ;) devfs.conf is for devices available at boot time, but devfs.rules rule after Ergo, making changes to devfs.conf does nothing till the next boot. > I also tried creating a device rul

Re: Accessing /dev/lpt0 in a Jail

2009-02-23 Thread Jasvinder S. Bahra
I then created (again, on the host) /etc/devfs.rules, and added the following to it... [devfsrules_jail_pearl=5] add include $devfsrules_hide_all add include $devfsrules_unhide_basic add include $devfsrules_unhide_login add path 'lpt*' unhide These changes successfully made the lpt0 (an

Re: Accessing /dev/lpt0 in a Jail

2009-02-22 Thread Paul Procacci
Jasvinder S. Bahra wrote: Hi, I'm trying to setup CUPS (in a jail) using an old parallel port printer on my server machine. I used ezjail to create a jail and then installed CUPS. I've got it up and running, and I can access the administration website. However, as far as I can

Accessing /dev/lpt0 in a Jail

2009-02-22 Thread Jasvinder S. Bahra
Hi, I'm trying to setup CUPS (in a jail) using an old parallel port printer on my server machine. I used ezjail to create a jail and then installed CUPS. I've got it up and running, and I can access the administration website. However, as far as I can tell, the admin website do

nomachine on Freebsd 7.0-release 64-bit & in a jail

2009-02-03 Thread Mark C. Ballew
ange licensing error (there is no license for the free edition). Before I bang my head on this much longer, has anyone else gotten Nomachine's version 3 server working on FreeBSD 7? How about in a jail? How does one mount linprocfs in a jail? Mark __

Re: jail devfs openpty

2009-01-27 Thread Peter Vereshagin
It appeared to work after rule apply unhide. Will find out more. Just how to delete or view the ruleset? Thanks. Seem to get on it. Looks like it's not very obvious. The cure was: === devfs -m /jailpath/dev rule -s 5 add type tty unhide === the unobvious for me was to put -s in the right place.

Re: jail devfs openpty

2009-01-26 Thread Peter Vereshagin
am doing the portupgrade inside my jail. M> > I see that script(1) have no permission on openpty. M> > I deleted all the devfs rules on tha jail's /dev both by hand and by M> > deleting the ruleset string in master's rc.conf. So i stopped jail and M> > mounted devfs

Re: jail devfs openpty

2009-01-26 Thread Peter Vereshagin
d === Same as with script(1) by hand now. I do all this in chroot. No difference if under gnu screen or in ttyv4. 2009/01/25 17:08:14 -0900 Mel => To freebsd-questions@freebsd.org : M> On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote: M> > Hello, M> > M> > I

Re: jail init, but another question

2009-01-26 Thread Peter Vereshagin
s rules. And so it did not resolve by provided meaningful part ( e. g., 'example' ) of ruleset name only. Thanks! 2009/01/25 17:06:15 -0900 Mel => To freebsd-questions@freebsd.org : M> Something else is wrong. Set rc_debug="YES" in /etc/rc.conf then M> /etc/rc.d/jai

Re: jail devfs openpty

2009-01-26 Thread Peter Vereshagin
t; > I am doing the portupgrade inside my jail. M> > I see that script(1) have no permission on openpty. M> > I deleted all the devfs rules on tha jail's /dev both by hand and by M> > deleting the ruleset string in master's rc.conf. So i stopped jail and M> >

Re: jail devfs openpty

2009-01-25 Thread Mel
On Sunday 25 January 2009 02:25:17 Peter Vereshagin wrote: > Hello, > > I am doing the portupgrade inside my jail. > I see that script(1) have no permission on openpty. > I deleted all the devfs rules on tha jail's /dev both by hand and by > deleting the ruleset string in

Re: jail init, but another question

2009-01-25 Thread Mel
On Sunday 25 January 2009 02:35:16 Peter Vereshagin wrote: > Hello, > > I always try to set up the devfs ruleset in rc.conf. So my question is > about this in /etc/defaults/rc.conf: === > #jail_example_devfs_ruleset="ruleset_name" # devfs ruleset to apply to > ja

jail init, but another question

2009-01-25 Thread Peter Vereshagin
Hello, I always try to set up the devfs ruleset in rc.conf. So my question is about this in /etc/defaults/rc.conf: === #jail_example_devfs_ruleset="ruleset_name" # devfs ruleset to apply to jail === It appears not to work in /etc/rc.conf without this rc.subr patch: === $ di

jail devfs openpty

2009-01-25 Thread Peter Vereshagin
Hello, I am doing the portupgrade inside my jail. I see that script(1) have no permission on openpty. I deleted all the devfs rules on tha jail's /dev both by hand and by deleting the ruleset string in master's rc.conf. So i stopped jail and mounted devfs by hand. Started jail. It

Re: Nagios & Jail

2008-12-18 Thread Kurt Jaeger
Hi! > I've a problem with check_ping. > > [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c > 5000.0,100% -p 5 > CRITICAL - You need more args!!! > Could not open pipe: > Anyone have succefully install a nagios server in a jail ? Y

Re: Nagios & Jail

2008-12-18 Thread Michael Scheidell
Andy Greenwood wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albert Shih wrote: Hi all. I'm trying to install a nagios server in a jail. I've a problem with check_ping. only thing I see on mine is I have ipv6 disabled: (also, with_fping, with_netsnmp, with_m

Re: Nagios & Jail

2008-12-18 Thread Andy Greenwood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Albert Shih wrote: > Hi all. > > I'm trying to install a nagios server in a jail. > > I've a problem with check_ping. > > [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5

Re: Nagios & Jail

2008-12-18 Thread Michael Scheidell
What plugin versions are you running? Im running latest also. pkg_info | grep nagios Albert Shih wrote: Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit Try nagios 3.03. I think they will do the trick. I'm using nagios 3.06 ... and it's not working. -- Michael Scheid

Re: Nagios & Jail

2008-12-18 Thread Michael Scheidell
Works here (tm). doublecheck these sysctl's: security.jail.socket_unixiproute_only: 1 security.jail.enforce_statfs: 2 security.jail.allow_raw_sockets: 1 Albert Shih wrote: Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit Try nagios 3.03. I think they will do the trick. I'

Re: Nagios & Jail

2008-12-18 Thread Albert Shih
Le 17/12/2008 à 21:28:12+, Bjoern A. Zeeb a écrit > On Wed, 17 Dec 2008, Albert Shih wrote: > > Hi, > > > I'm trying to install a nagios server in a jail. > > > > I've a problem with check_ping. > > > > [r...@]# /usr/local/lib

Re: Nagios & Jail

2008-12-18 Thread Albert Shih
Le 18/12/2008 à 05:46:18-0500, Michael Scheidell a écrit > Try nagios 3.03. > > I think they will do the trick. I'm using nagios 3.06 ... and it's not working. Thanks for your answer. Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon

Re: Nagios & Jail

2008-12-18 Thread Michael Scheidell
Try nagios 3.03. I think they will do the trick. Bjoern A. Zeeb wrote: On Wed, 17 Dec 2008, Albert Shih wrote: Hi, I'm trying to install a nagios server in a jail. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certifi

Re: Nagios & Jail

2008-12-17 Thread Mars G Miro
On Thu, Dec 18, 2008 at 5:05 AM, Albert Shih wrote: > Hi all. > > I'm trying to install a nagios server in a jail. > > I've a problem with check_ping. > > [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c > 5000.0,100% -p 5 > CRITICA

Re: Nagios & Jail

2008-12-17 Thread Michael Scheidell
hmm we have it working, let me see how. Albert Shih wrote: Hi all. I'm trying to install a nagios server in a jail. -- Michael Scheidell, CTO Phone: 561-999-5000, x 1259 > *| *SECNAP Network Security Corporation * Certified SNORT Integrator * King of Spam Filters, SC

Re: Nagios & Jail

2008-12-17 Thread Bjoern A. Zeeb
On Wed, 17 Dec 2008, Albert Shih wrote: Hi, I'm trying to install a nagios server in a jail. I've a problem with check_ping. [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5 CRITICAL - You need more args!!! Could not open pipe: So I

Nagios & Jail

2008-12-17 Thread Albert Shih
Hi all. I'm trying to install a nagios server in a jail. I've a problem with check_ping. [r...@]# /usr/local/libexec/nagios/check_ping -H some_host -w 3000.0,80% -c 5000.0,100% -p 5 CRITICAL - You need more args!!! Could not open pipe: So I think it's become the «ping pro

nmap and Nessus in a jail -- scans fail

2008-10-14 Thread Erik Osterholm
Hi all, Running 7.0-RELEASE-p2, I set up a jail from which to perform NMAP and Nessus scans. I set the sysctl security.jail.allow_raw_sockets=1, which I expected to prevent any problems. Unfortunately, I'm getting this whenever I try to NMAP: $ sudo nmap -P0 localhost Starting Nmap 4.76 (

Re: ssh jail

2008-10-05 Thread Mel
On Thursday 02 October 2008 19:38:21 kalin m wrote: > hi all... > > i have openssh 5. i want to jail the users to their home directories so > they can go down but not up. > > i didn't see a directive that does that in the man or in the sshd_config. On RELENG_7 (aka -sta

Re: Jail, pf and ftpd: Connection refused

2008-10-04 Thread Redd Vinylene
> On Fri, Oct 3, 2008 at 11:56 AM, Max Laier <[EMAIL PROTECTED]> wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Nevermind, I think the "Tra

Re: Jail, pf and ftpd: Connection refused

2008-10-04 Thread Redd Vinylene
On Fri, Oct 3, 2008 at 11:56 AM, Max Laier <[EMAIL PROTECTED]> wrote: > > See ftp-proxy(8). > > Note that active works with the ruleset you provided (due to the "pass out > keep state"-rule), but there is obviously a firewall problem on the client > preventing that. > Are you sure I need ftp-proxy

Re: Jail, pf and ftpd: Connection refused

2008-10-03 Thread Max Laier
On Friday 03 October 2008 11:11:57 Redd Vinylene wrote: > Greetings ladies and gentlemen! > > Why does the below pf.conf (run from box1) give me > "getpeername(control_sock): Transport endpoint is not connected, > Socket error (Connection refused) - reconnecting" when trying to log > onto box3 via

Jail, pf and ftpd: Connection refused

2008-10-03 Thread Redd Vinylene
Greetings ladies and gentlemen! Why does the below pf.conf (run from box1) give me "getpeername(control_sock): Transport endpoint is not connected, Socket error (Connection refused) - reconnecting" when trying to log onto box3 via passive FTP? Active FTP gives me "425 Can't build data connection:

Re: ssh jail

2008-10-02 Thread kalin m
thanks.. i'll look at the patches Matthew Seaman wrote: kalin m wrote: hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do

Re: ssh jail

2008-10-02 Thread Matthew Seaman
kalin m wrote: hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that? You need a specially patched version of OpenSSH. You can downloa

ssh jail

2008-10-02 Thread kalin m
hi all... i have openssh 5. i want to jail the users to their home directories so they can go down but not up. i didn't see a directive that does that in the man or in the sshd_config. how do i do that? thanks... ___ freebsd-questions@freebs

Re: freebsd 7.0 and jail

2008-09-10 Thread gahn
s <[EMAIL PROTECTED]> > Subject: Re: freebsd 7.0 and jail > To: [EMAIL PROTECTED] > Cc: "free bsd" <[EMAIL PROTECTED]>, "freebsd general questions" > > Date: Wednesday, September 10, 2008, 1:51 AM > Make sure your buildworld /usr/obj is updated.

Re: freebsd 7.0 and jail

2008-09-10 Thread Primeroz lists
gt; > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > /// > > looks like the code of jail i

Re: freebsd 7.0 and jail

2008-09-09 Thread Oliver Peter
code 1 > > Stop in /usr/src. > *** Error code 1 > > /// > > looks like the code of jail is broken, did anyone have similar problem? > > I am working in an environment that is able to use "freebsd-update" script. Check your d

freebsd 7.0 and jail

2008-09-08 Thread gahn
Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 /// looks like the code of jail is broken, did anyone have similar problem? I am working in an environment that is able to use "freebsd-upd

cPanel or Plesk in jail ... ?

2008-09-01 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Simple enough, has anyone been able to get either to run successfully in a jail? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED

Re: jail stop extracting iso file

2008-09-01 Thread tethys ocean
the problem is already here "at the host system (not in the jail)" i wasnt able to get rid of jail and can't access to device in jail somehow i must access mdconfig and mount but i shouldnt stop jail. On Sun, Aug 31, 2008 at 11:19 PM, Olli Hauer <[EMAIL PROTECTED]> wrote

Re: jail stop extracting iso file

2008-08-31 Thread Olli Hauer
> In server jail and squid is running on it as lots of another packet. i > want > to extract iso image in this server. But i havent do it. > > #mdconfig -a -t vnode -f big_bcbcv.iso > #mdconfig: open(/dev/mdctl): No such file or directory > > you can't > > j

Re: jail stop extracting iso file

2008-08-31 Thread tethys ocean
İ see, i should extract this iso image (not using tar) may i close this jail? and can i restart correctly? i am hesitate since squid in running on jail? process is like [EMAIL PROTECTED] /etc]# ps ax -o pid,jid,args PIDJID COMMAND 8415 0 /usr/local/sbin/httpd -k start 10414 0

Re: jail stop extracting iso file

2008-08-31 Thread Wojciech Puchar
In server jail and squid is running on it as lots of another packet. i want to extract iso image in this server. But i havent do it. #mdconfig -a -t vnode -f big_bcbcv.iso #mdconfig: open(/dev/mdctl): No such file or directory you can't jail doesn'

Re: jail stop extracting iso file

2008-08-30 Thread Robert Watson
On Sun, 31 Aug 2008, tethys ocean wrote: In server jail and squid is running on it as lots of another packet. i want to extract iso image in this server. But i havent do it. You are correct that direct manipulation of md(4) devices is not allowed in jail. However, you may be running on a

Re: jail stop extracting iso file

2008-08-30 Thread Martin Tournoij
On Sun, Aug 31, 2008 at 12:08:31AM +0300, tethys ocean wrote: > Hi all > > In server jail and squid is running on it as lots of another packet. i want > to extract iso image in this server. But i havent do it. > > #mdconfig -a -t vnode -f big_bcbcv.iso > #mdconfig: open

jail stop extracting iso file

2008-08-30 Thread tethys ocean
Hi all In server jail and squid is running on it as lots of another packet. i want to extract iso image in this server. But i havent do it. #mdconfig -a -t vnode -f big_bcbcv.iso #mdconfig: open(/dev/mdctl): No such file or directory #ls -l /dev/md* #ls -ls /dev/mdctl ls: /dev/mdctl: No such

Re: Make World Inside Jail

2008-08-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason C. Wells wrote: > I currently use a separate machine to make world and to make and archive > ports and packages. I would like to retire that machine and move that > functionality into a jail. I am due to switch to 7.1 from 6.3 soo

Make World Inside Jail

2008-08-28 Thread Jason C. Wells
I currently use a separate machine to make world and to make and archive ports and packages. I would like to retire that machine and move that functionality into a jail. I am due to switch to 7.1 from 6.3 soon. I understand that I cannot run divergent kernels in the jails. I could still make

allowing rtprio in jail

2008-08-11 Thread Wojciech Puchar
can it be done? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Ports upgrade within Jail

2008-08-07 Thread Ivailo Tanusheff
The only common between the jail and the hosted system are the kernel and its drivers. You may use entirely different ports in the base system and into the jailed enviroment. So you may keep your jailed ports up to date without any concern as long as they do not conflict with the base system

Ports upgrade within Jail

2008-08-07 Thread Edwin Groothuis
> Will i encounter problems if i just upgrade my ports using portsnap and > portmaster? or will those tools be aware of the version my base system > is and only use ports that are made for this version? The components of your jail are totally seperate from the host. You can use portsnap,

Ports upgrade within Jail

2008-08-07 Thread Druckbar
Hello List, i have a jail hosted on a 6-2 RELEASE machine i don't have access to. As i don't have access, i can't upgrade the base system. But i would like to keep the ports i use up to date. Will i encounter problems if i just upgrade my ports using portsnap and portmaster

Re: identd on jail with multiple IPs

2008-08-06 Thread Bjoern A. Zeeb
On Wed, 6 Aug 2008, Redd Vinylene wrote: I cannot seem to make identd work on a jail with multiple IPs (Bjoern Zeeb's patch): So do you have any kind of error message? packet traces or anything to further isolate the problem rather than "does not work"? -- Bjoern A. Zeeb

identd on jail with multiple IPs

2008-08-06 Thread Redd Vinylene
Greetings! I cannot seem to make identd work on a jail with multiple IPs (Bjoern Zeeb's patch): jail # cat /etc/inetd.conf auth stream tcp nowait root internal auth -r -f -n -o UNKNOWN -t 30 - jail # grep inetd /etc/rc.conf inetd_enable="YES" - host # grep jail /etc/rc.co

Re: Jail problem while starting

2008-07-02 Thread Brian A. Seklecki (Mobile)
On Fri, 2008-06-20 at 01:02 +0500, Jo Pesko wrote: > Hi, > > I'm using FreeBSD 7.0 version and expecting some problems with jail. > /etc/rc.d/jail script hangs when it try to map jail's interface to alias > address of my nic. Script successfully starting if i rem

Re: running nessus from inside of a jail

2008-06-20 Thread Reinhold
#x27;ve created a jail where only nessus lives in, the jail is working very > nicely but nessus keeps on crashing. > > Here is what I see from the nessus.core file > (gdb) core nessusd.core > Core was generated by `nessusd'. > Program terminated with signal 4, Illegal instruction.

running nessus from inside of a jail

2008-06-20 Thread Reinhold
Hi I've created a jail where only nessus lives in, the jail is working very nicely but nessus keeps on crashing. Here is what I see from the nessus.core file (gdb) core nessusd.core Core was generated by `nessusd'. Program terminated with signal 4, Illegal instruction. #0 0x2

Jail problem while starting

2008-06-19 Thread Jo Pesko
Hi, I'm using FreeBSD 7.0 version and expecting some problems with jail. /etc/rc.d/jail script hangs when it try to map jail's interface to alias address of my nic. Script successfully starting if i removing alias address from rc.conf(or manually via ifconfig). Any info will b

Re: HylaFAX in FreeBSD jail?

2008-06-06 Thread Wojciech Puchar
AFAIK all special hylafax needs is serial port acces for modem. you have to use #jail_example_devfs_ruleset="ruleset_name" # devfs ruleset to apply to jail in rc.conf and make rule for devfs for your jail - like normal jail rule+needed serial port. On Thu, 5 Jun 2008, Nej

HylaFAX in FreeBSD jail?

2008-06-05 Thread Nejc Škoberne
Hello, anyone tried running HylaFAX in a FreeBSD jail? Does it work? Thanks, Nejc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: i386 jail on amd64 7-stable

2008-05-30 Thread Vince Hoffman
Vince Hoffman wrote: > Hi all, > I've managed to get the i386 jail to start by nullfs mounts of /libexec > and /usr/lib32 as per the instructions here > [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] > (It wouldnt start before, compl

i386 jail on amd64 7-stable

2008-05-30 Thread Vince Hoffman
Hi all, I've managed to get the i386 jail to start by nullfs mounts of /libexec and /usr/lib32 as per the instructions here [http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-03/msg02216.html] (It wouldnt start before, complaining about missing libs even though I had d

RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
>> Hey, >> >>> ifconfig_rl0_alias0="192.168.15.201 netmask 255.255.255.0" >>> >>> the mask of an alias ipadres needs to be 32 bits. >>> I do not now if this solves your problem but it needs to be 32 bits. >>> >>> ifconfig_rl0_alias0="192.168.15.201 netmask 255.255.255.255" >Can you explain why it

Re: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Nejc Škoberne
Hey, ifconfig_rl0_alias0="192.168.15.201 netmask 255.255.255.0" the mask of an alias ipadres needs to be 32 bits. I do not now if this solves your problem but it needs to be 32 bits. ifconfig_rl0_alias0="192.168.15.201 netmask 255.255.255.255" I tried with 24 bits - it doesn't work one way o

Re: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Nejc Škoberne
w="YES" jail_socket_unixiproute_only="NO" #= Jails ---=# jail_list="samba" #=--=# jail_samba_rootdir="/usr/jail/samba" jail_samba_hostname=

RE: FreeBSD 7.0 jail and Samba 3

2008-04-24 Thread Johan Hendriks
What does your ifconfig line read from /etc/rc.conf (the alias line) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Gelsema, P (Patrick)
On Wed, April 23, 2008 18:16, Nejc Å koberne wrote: > Hi, > >> This is nota n issue with samba it is a name resolve issue. > > Then why is Samba replying to NetBIOS broadcasts very nicely when I put > it outside jail (with the same configuration)? As far as I understand

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread P S Clermont
d I didn't read it all) or b) enable raw sockets in jails ( security.jail.allow_raw_sockets=1 ). Let me know if b) works, I plan to setup a samba server on ZFS inside a jail when I return home from my travels. a) I have no firewall whatsoever running. b) FreeBSDhost# sysctl -

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
it all) or b) enable raw sockets in jails ( security.jail.allow_raw_sockets=1 ). Let me know if b) works, I plan to setup a samba server on ZFS inside a jail when I return home from my travels. a) I have no firewall whatsoever running. b) FreeBSDhost# sysctl -a | grep raw_sockets security.ja

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
Hi, This is nota n issue with samba it is a name resolve issue. Then why is Samba replying to NetBIOS broadcasts very nicely when I put it outside jail (with the same configuration)? As far as I understand Samba also provides resolving - NetBIOS resolving via its nmbd. If you add in c

RE: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Johan Hendriks
>> OK.. if it is running inside your jail it doesnt respond to WINS >> broadcasts (request for NETBIOS Names.. oi, who is Machine on this >> subnet???), if it is not running in your jail, it is. >I wouldn't say "WINS broadcasts" but NetBIOS broadcasts, yes.

Re: FreeBSD 7.0 jail and Samba 3

2008-04-23 Thread Nejc Škoberne
Hey, OK.. if it is running inside your jail it doesnt respond to WINS broadcasts (request for NETBIOS Names.. oi, who is Machine on this subnet???), if it is not running in your jail, it is. I wouldn't say "WINS broadcasts" but NetBIOS broadcasts, yes. "Machine" is

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne
Hey Johan, Well i use ezjail for my jails, i leave everything else standard, but have the same sysctl value's This is my smb.conf (it is a fileserver as member of a domain for my domain). [global] ... wins server = hz2-serv.mydomain.local This is why it works for you. You use external WINS

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Gelsema, P (Patrick)
her box > to > the jailed Samba. If I put the Samba out of the jail (same version, same > config) > it works as it should. I have this in my rc.conf: OK.. if it is running inside your jail it doesnt respond to WINS broadcasts (request for NETBIOS Names.. oi, who is Machine on this subnet

Re: FreeBSD 7.0 jail and Samba 3

2008-04-22 Thread Nejc Škoberne
Hey Johan, I think you will need to remove 127.0.0.1 Just use 192.168.1.2/24 There is no 127.0.0.1 on a jailed system I have done so - I still can't do "smbclient //machine" from another box to the jailed Samba. If I put the Samba out of the jail (same version, same config)

Re: openvpn server in a jail

2008-04-21 Thread Shelby Cain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Moran wrote: | | I couldn't get it to work. The primary problem being that OpenVPN needs | to create a tun device, and you can't do that inside a jail. | | Someone more clever than I may have figured out a way to pull it off ..

Re: openvpn server in a jail

2008-04-21 Thread Bill Moran
In response to Rek Jed <[EMAIL PROTECTED]>: > Hi, > > Is it possible to run an openvpn server inside of a FreeBSD jail? I couldn't get it to work. The primary problem being that OpenVPN needs to create a tun device, and you can't do that inside a jail. Someone mo

openvpn server in a jail

2008-04-21 Thread Rek Jed
Hi, Is it possible to run an openvpn server inside of a FreeBSD jail? Cheers, Rek. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: how to exec a process in a jail while being on the main host?

2008-04-17 Thread Wojciech Puchar
on the main host (which runs the jail). How can i run a new process inside the jail with a known JID w/o ssh-ing into that jail or doing a lot of strange manupulations? I am asking, because i have about 20 jails running and each has a running special control daemon which changes a lot and

RE: FreeBSD 7.0 jail and Samba 3

2008-04-17 Thread Johan Hendriks
>> I am trying to get latest Samba running under FreeBSD 7.0 jail >> environment. I happen >> to have problems with "visibility" of the Samba server on the network - >> I cannot connect >> to it using its NetBIOS name. To be able to run nmbd, I have to

Re: FreeBSD 7.0 jail and Samba 3

2008-04-17 Thread Nejc Škoberne
Hey again, I am trying to get latest Samba running under FreeBSD 7.0 jail environment. I happen to have problems with "visibility" of the Samba server on the network - I cannot connect to it using its NetBIOS name. To be able to run nmbd, I have to use the "interfaces" p

Re: how to exec a process in a jail while being on the main host?

2008-04-16 Thread FreeBSD
Try `jexec JID 'command'` man jexec for more details... You can obtain the JID of your jails with the command `jls` Martin Artem Kuchin a écrit : For example, i have an already runing jail with some JID and i am logged in on the main host (which runs the jail). How can i run a n

Re: how to exec a process in a jail while being on the main host?

2008-04-16 Thread Peter
> For example, i have an already runing jail with some JID and i am logged > in on the main host (which runs the jail). > How can i run a new process inside the jail with a known JID w/o ssh-ing > into that jail or doing a lot of strange > manupulations? > > I am asking, be

how to exec a process in a jail while being on the main host?

2008-04-16 Thread Artem Kuchin
For example, i have an already runing jail with some JID and i am logged in on the main host (which runs the jail). How can i run a new process inside the jail with a known JID w/o ssh-ing into that jail or doing a lot of strange manupulations? I am asking, because i have about 20 jails

Re: other jail howto

2008-04-09 Thread Maxim Khitrov
On Wed, Apr 9, 2008 at 2:10 PM, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > anyone interested in my jail configuring How-To? > > it's very different from "standard" method, uses shared programs and - i > think - is much easier to administer. > > but for

other jail howto

2008-04-09 Thread Wojciech Puchar
anyone interested in my jail configuring How-To? it's very different from "standard" method, uses shared programs and - i think - is much easier to administer. but for sure there are bugs in it, so it should be reviewed by others :)

FreeBSD 7.0 jail and Samba 3

2008-04-03 Thread Nejc Škoberne
Hello, I am trying to get latest Samba running under FreeBSD 7.0 jail environment. I happen to have problems with "visibility" of the Samba server on the network - I cannot connect to it using its NetBIOS name. To be able to run nmbd, I have to use the "interfaces" parame

Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Kris Kennaway
Kris Kennaway wrote: Mark Moellering wrote: I have been trying to install an i386 jail on an amd64 install. I added Target=i386 to the command line in the make buildworld and installworld commands. I keep getting the following (or similar) error 'Target' does nothing, there is no suc

Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Dominic Fandrey
Kris Kennaway wrote: Mark Moellering wrote: I have been trying to install an i386 jail on an amd64 install. I added Target=i386 to the command line in the make buildworld and installworld commands. I keep getting the following (or similar) error 'Target' does nothing, there

Re: problems with i386 jail on amd64 install 7.0 Release

2008-03-28 Thread Mark Moellering
: > >>>>> On Friday 28 March 2008 06:23:49 am Kris Kennaway wrote: > >>>>>> Mark Moellering wrote: > >>>>>>> I have been trying to install an i386 jail on an amd64 install. I > >>>>>>> added Target=i386 to the

<    1   2   3   4   5   6   7   8   9   10   >