ezjail with vimage

2009-12-07 Thread Alexander Petrovsky
Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" Whether, I can simply change the line in /usr/local/etc/rc.d/ezjail: # Pass control to jail script which does the actual work [ "${ezjail_pass}

Re: Cant't access mysql.sock (running on a jail) from a separate jail

2009-12-07 Thread Manolis Tzanidakis
Thanks a lot for answering. The hard link method works (all jails in the same fs). I' ve also tried unionfs but never managed to get it working. Anyone care to share a working example with unionfs? It might be useful in future projects. -- Manolis Tzanidakis mtzanida...@gmail.com 07 Δεκ 2009, 0:

Current problem reports assigned to freebsd-jail@FreeBSD.org

2009-12-07 Thread FreeBSD bugmaster
Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker

Re: ezjail with vimage

2009-12-07 Thread Alexander Leidinger
Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" http://www.leidinger.net/FreeBSD/current-patches/jail.diff Take only t

Re: ezjail with vimage

2009-12-07 Thread Alexander Petrovsky
Miroslav Lachman, Alexander Leidinger - big thanks! -- Петровский Александр / Alexander Petrovsky, ICQ: 350342118 Jabber: ju...@jabber.ru Phone: +7 914 8 820 815 ___ freebsd-jail@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Alexander Petrovsky wrote: Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" Whether, I can simply change the line in /usr/local/etc/rc.d/ezjail: # Pass control to jail script which does the

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Alexander Leidinger wrote: Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage. Ezjail don't support jail_NAME_flags="" http://www.leidinger.net/FreeBSD/current-pat

Re: ezjail with vimage

2009-12-07 Thread Alexander Leidinger
Quoting Miroslav Lachman <000.f...@quip.cz> (from Mon, 07 Dec 2009 13:27:31 +0100): Alexander Leidinger wrote: Quoting Alexander Petrovsky (from Mon, 7 Dec 2009 17:04:04 +0800): Hello! I want merge all my jails (ezjail framework) working under freebsd 7.2 to freebsd 8.0 with support vimage

Jail's syslogd log to host's syslogd with unix socket

2009-12-07 Thread Manolis Tzanidakis
Hello all, I want to log from a jail's syslogd to the host's syslogd using a unix socket. I've added in host's rc.conf (followed by syslogd restart): syslogd_flags="-ss -l /usr/jails/jail1/var/run/log" Jail's rc.conf: syslogd_flags="-ss" but nothing is logged in host's syslogd. I'd like to avoid

Re: ezjail with vimage

2009-12-07 Thread Bjoern A. Zeeb
On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because it can be done by jail_NAME_flags. AFAIK current system still doesn't

Re: Jail's syslogd log to host's syslogd with unix socket

2009-12-07 Thread Scott Lambert
On Mon, Dec 07, 2009 at 06:27:50PM +0200, Manolis Tzanidakis wrote: > Hello all, > I want to log from a jail's syslogd to the host's syslogd using a unix > socket. I've added in host's rc.conf (followed by syslogd restart): > syslogd_flags="-ss -l /usr/jails/jail1/var/run/log" > > Jail's rc.conf:

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Bjoern A. Zeeb wrote: On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because it can be done by jail_NAME_flags. AFAIK curren

Re: Jail's syslogd log to host's syslogd with unix socket

2009-12-07 Thread Martin Schütte
Manolis Tzanidakis wrote: > syslogd_flags="-ss -l /usr/jails/jail1/var/run/log" When starting syslogd from the shell you can add the -d flag, that might print an error message if the socket cannot be opened. > Jail's rc.conf: > syslogd_flags="-ss" The jails should not start any syslogd, use sysl

Re: ezjail with vimage

2009-12-07 Thread Bjoern A. Zeeb
On Mon, 7 Dec 2009, Miroslav Lachman wrote: Bjoern A. Zeeb wrote: On Mon, 7 Dec 2009, Miroslav Lachman wrote: Hi Miroslav, The last time I wrote with Bjoern A. Zeeb about jailname, cpuset etc. support in rc.conf (back in March 2009) he stated that "there is no need to add anything" because i

Re: ezjail with vimage

2009-12-07 Thread Miroslav Lachman
Bjoern A. Zeeb wrote: *mumble* *tired* *again* .. Let me cite man rc.conf to not mess it up again: jail__exec_afterstart (str) Unset by default. This is the command run as Nth com- mand in a jail after jail startup, where N is 1, 2, and so on. jail__exec_posts