From owner-freebsd-jail@FreeBSD.ORG Mon Dec 14 11:06:58 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDF8106568F for ; Mon, 14 Dec 2009 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AC7C08FC16 for ; Mon, 14 Dec 2009 11:06:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBEB6wTU075990 for ; Mon, 14 Dec 2009 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBEB6wCZ075988 for freebsd-jail@FreeBSD.org; Mon, 14 Dec 2009 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Dec 2009 11:06:58 GMT Message-Id: <200912141106.nBEB6wCZ075988@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 11:06:58 -0000 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 Resp. Description -------------------------------------------------------------------------------- o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 5 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Dec 14 21:43:28 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AAFB106566B for ; Mon, 14 Dec 2009 21:43:28 +0000 (UTC) (envelope-from nick.dalsheimer@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id DB4EB8FC08 for ; Mon, 14 Dec 2009 21:43:27 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 19so1489537fgg.13 for ; Mon, 14 Dec 2009 13:43:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=V4I1QXrxrhfuYROeksuA/7AJPXI0U7CiAxN0Z/0j/wQ=; b=qcu5m5RhDah6RGA0/xUf3Oan0qQ0/5Q9yzNzvFaR9WY9UbrDaHkvl0mqTbB4mc/XVr bQVoxVu2LHJcKGEQrUqUApQE8EeSEMMlAdXcmz9DKdn86XkwNXKTXGYIq1TpWmf58cl+ 3nqvciQ2DFYhypL/FCdQqmxdMkfK6oR0HBkZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=vgJGrjERz95/MLvH3ShDsFKrRyBJUYFHYAJ3A06G9o5a6e/eAyuAYSMFhpJQUIL2UG ZrVAnvJ7Kp/Dm6kh66fSzU9iJRNTEO6zq92d7QZH67ImV+grGMS11d3hxX/pj2WHeVCT oPmRL7//GVcWMEzLfDL+pcEYrSF34TMGIUu5w= MIME-Version: 1.0 Received: by 10.86.198.20 with SMTP id v20mr6769124fgf.54.1260825289163; Mon, 14 Dec 2009 13:14:49 -0800 (PST) Date: Mon, 14 Dec 2009 16:14:49 -0500 Message-ID: <434e042e0912141314v64635fc1w8293d9b9b7f37de1@mail.gmail.com> From: Nick Dalsheimer To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: vnet flag? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 21:43:28 -0000 Hey all, Whenever I specify jail_jailname_flags="vnet" in /etc/rc.conf, and then run "/etc/rc.d/jail start" as root, I always get an error like this: Configuring jails:. Starting jails: cannot start jail "jailname": But it doesn't look like one. . and it exits without starting the jail. If I remove the vnet option, everything runs as planned. What am I doing wrong? Thanks in advance, Nick From owner-freebsd-jail@FreeBSD.ORG Mon Dec 14 22:02:07 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C52661065670 for ; Mon, 14 Dec 2009 22:02:07 +0000 (UTC) (envelope-from merijn@inconsistent.nl) Received: from mail.inconsistent.nl (mail.inconsistent.nl [IPv6:2001:888:1744::3]) by mx1.freebsd.org (Postfix) with ESMTP id 88C668FC12 for ; Mon, 14 Dec 2009 22:02:07 +0000 (UTC) Received: from localhost (unknown [IPv6:2001:888:1744:2:226:8ff:fe05:84f4]) (Authenticated sender: merijn@inconsistent.nl) by mail.inconsistent.nl (Postfix) with ESMTPSA id A1D483267; Mon, 14 Dec 2009 23:01:51 +0100 (CET) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Nick Dalsheimer" , freebsd-jail@freebsd.org References: <434e042e0912141314v64635fc1w8293d9b9b7f37de1@mail.gmail.com> Date: Mon, 14 Dec 2009 23:01:25 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Merijn Verstraaten" Message-ID: In-Reply-To: <434e042e0912141314v64635fc1w8293d9b9b7f37de1@mail.gmail.com> User-Agent: Opera Mail/10.01 (MacIntel) Cc: Subject: Re: vnet flag? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 22:02:07 -0000 On Mon, 14 Dec 2009 22:14:49 +0100, Nick Dalsheimer wrote: > Hey all, > Whenever I specify > jail_jailname_flags="vnet" > in /etc/rc.conf, and then run "/etc/rc.d/jail start" as root, I always > get an error like this: > > Configuring jails:. > Starting jails: cannot start jail "jailname": > But it doesn't look like one. > . > > and it exits without starting the jail. If I remove the vnet option, > everything runs as planned. What am I doing wrong? Vnet requires you to use the new -c syntax to create jails rather then the old syntax currently in use by rc.d/jail. I have a half done patch to make rc.d/jail use the new syntax and some other stuff which I intend to finish after my exams this week. I looked if I could quickly distill something useful from the changes I was testing, but that didn't pan out. You could try using "-c vnet" in flags, but I don't think it'll work (since I don't think you can combine the new and the old syntax). As a last resort you could jury rig the jail call in rc.d/jail to use the new syntax (line 638-ish in 8.0-R-p1), how much work that is depends on whether you need IPv6, etc. and whether you want ALL jails to use vnet or not. Kind regards, Merijn Verstraaten From owner-freebsd-jail@FreeBSD.ORG Tue Dec 15 09:22:29 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0E5A106566B for ; Tue, 15 Dec 2009 09:22:29 +0000 (UTC) (envelope-from mkushnir@lohika.com) Received: from sbox.lohika.com (sbox.lohika.com [217.9.0.182]) by mx1.freebsd.org (Postfix) with ESMTP id 503B58FC15 for ; Tue, 15 Dec 2009 09:22:29 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,399,1257112800"; d="scan'208";a="3488251" Received: from unknown (HELO dekker.lohika.com) ([172.20.100.30]) by sbox-local.lohika.com with ESMTP; 15 Dec 2009 11:11:55 +0200 Received: from emkushnir.lv.lohika.com ([172.22.60.77]) (authenticated bits=0) by dekker.lohika.com (8.14.2/8.14.2) with ESMTP id nBF9Fgjx086071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Dec 2009 11:15:43 +0200 (EET) (envelope-from mkushnir@lohika.com) Message-ID: <4B2752A2.3080305@lohika.com> Date: Tue, 15 Dec 2009 11:10:58 +0200 From: Markiyan Kushnir User-Agent: Thunderbird 2.0.0.9 (X11/20080311) MIME-Version: 1.0 To: Merijn Verstraaten References: <434e042e0912141314v64635fc1w8293d9b9b7f37de1@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/10172/Tue Dec 15 00:53:58 2009 on dekker.lohika.com X-Virus-Status: Clean Cc: "freebsd-jail@freebsd.org" Subject: Re: vnet flag? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 09:22:29 -0000 Not sure if I am correct, but you would have in your /etc/rc.d/jail both the new "jail -c vnet persist ..." to first create the jail, then the old form to start the jail up with its /etc/rc. This way the /etc/rc.d/jail will be able to start jails at system start as it has been now. Markiyan. Merijn Verstraaten wrote: > On Mon, 14 Dec 2009 22:14:49 +0100, Nick Dalsheimer > wrote: >> Hey all, >> Whenever I specify >> jail_jailname_flags="vnet" >> in /etc/rc.conf, and then run "/etc/rc.d/jail start" as root, I always >> get an error like this: >> >> Configuring jails:. >> Starting jails: cannot start jail "jailname": >> But it doesn't look like one. >> . >> >> and it exits without starting the jail. If I remove the vnet option, >> everything runs as planned. What am I doing wrong? > > Vnet requires you to use the new -c syntax to create jails rather then the > old syntax currently in use by rc.d/jail. I have a half done patch to make > rc.d/jail use the new syntax and some other stuff which I intend to finish > after my exams this week. I looked if I could quickly distill something > useful from the changes I was testing, but that didn't pan out. You could > try using "-c vnet" in flags, but I don't think it'll work (since I don't > think you can combine the new and the old syntax). As a last resort you > could jury rig the jail call in rc.d/jail to use the new syntax (line > 638-ish in 8.0-R-p1), how much work that is depends on whether you need > IPv6, etc. and whether you want ALL jails to use vnet or not. > > Kind regards, > Merijn Verstraaten > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" From owner-freebsd-jail@FreeBSD.ORG Tue Dec 15 09:22:46 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F29106568B for ; Tue, 15 Dec 2009 09:22:46 +0000 (UTC) (envelope-from mkushnir@lohika.com) Received: from sbox.lohika.com (sbox.lohika.com [217.9.0.182]) by mx1.freebsd.org (Postfix) with ESMTP id 56B618FC19 for ; Tue, 15 Dec 2009 09:22:46 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.47,399,1257112800"; d="scan'208";a="3488281" Received: from unknown (HELO dekker.lohika.com) ([172.20.100.30]) by sbox-local.lohika.com with ESMTP; 15 Dec 2009 11:19:28 +0200 Received: from emkushnir.lv.lohika.com ([172.22.60.77]) (authenticated bits=0) by dekker.lohika.com (8.14.2/8.14.2) with ESMTP id nBF9NGjv086588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Dec 2009 11:23:17 +0200 (EET) (envelope-from mkushnir@lohika.com) Message-ID: <4B275468.60806@lohika.com> Date: Tue, 15 Dec 2009 11:18:32 +0200 From: Markiyan Kushnir User-Agent: Thunderbird 2.0.0.9 (X11/20080311) MIME-Version: 1.0 To: Merijn Verstraaten References: <434e042e0912141314v64635fc1w8293d9b9b7f37de1@mail.gmail.com> <4B2752A2.3080305@lohika.com> In-Reply-To: <4B2752A2.3080305@lohika.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/10172/Tue Dec 15 00:53:58 2009 on dekker.lohika.com X-Virus-Status: Clean Cc: "freebsd-jail@freebsd.org" Subject: Re: vnet flag? X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 09:22:46 -0000 Markiyan Kushnir wrote: > Not sure if I am correct, but you would have in your /etc/rc.d/jail both > the new "jail -c vnet persist ..." to first create the jail, then the > old form to start the jail up with its /etc/rc. This way the > /etc/rc.d/jail will be able to start jails at system start as it has > been now. > well, correct would be to combine "jail -c ..." + "jexec ..." Markiyan. > Markiyan. > > Merijn Verstraaten wrote: >> On Mon, 14 Dec 2009 22:14:49 +0100, Nick Dalsheimer >> wrote: >>> Hey all, >>> Whenever I specify >>> jail_jailname_flags="vnet" >>> in /etc/rc.conf, and then run "/etc/rc.d/jail start" as root, I always >>> get an error like this: >>> >>> Configuring jails:. >>> Starting jails: cannot start jail "jailname": >>> But it doesn't look like one. >>> . >>> >>> and it exits without starting the jail. If I remove the vnet option, >>> everything runs as planned. What am I doing wrong? >> Vnet requires you to use the new -c syntax to create jails rather then the >> old syntax currently in use by rc.d/jail. I have a half done patch to make >> rc.d/jail use the new syntax and some other stuff which I intend to finish >> after my exams this week. I looked if I could quickly distill something >> useful from the changes I was testing, but that didn't pan out. You could >> try using "-c vnet" in flags, but I don't think it'll work (since I don't >> think you can combine the new and the old syntax). As a last resort you >> could jury rig the jail call in rc.d/jail to use the new syntax (line >> 638-ish in 8.0-R-p1), how much work that is depends on whether you need >> IPv6, etc. and whether you want ALL jails to use vnet or not. >> >> Kind regards, >> Merijn Verstraaten >> _______________________________________________ >> freebsd-jail@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-jail >> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > From owner-freebsd-jail@FreeBSD.ORG Wed Dec 16 09:04:13 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD121065670 for ; Wed, 16 Dec 2009 09:04:13 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id EF1CC8FC14 for ; Wed, 16 Dec 2009 09:04:12 +0000 (UTC) Received: by gxk10 with SMTP id 10so708198gxk.3 for ; Wed, 16 Dec 2009 01:04:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=DV4V06FELb9IN61k4WbTCpVGlk3AQHilyvI6qurJICE=; b=hj/XhHIpO/ttGAqwGRJ07cSsrlK/xbqcP/BXxb0AYfJhLlpLa2BPcWrgk++hxrRhVb LZbJY2SsTnCLZn/TrWXCl+TI7YFAZfdhzIK77rnFObkndrx3iTHixWYHkzfzuS8NKfw9 b539POStFHXoz4gpJHz4DfO7mCmF34F4zU7XU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=ZH2hg3oAto8mgqA6MQqkPcBWxM7i5UtebugMEW2KL2IiURzrb+ZR+837Jy0FDgR1C+ 96ECiLPSwvQNwaCptpecLwma0lX0/G9Y3hwrM5e/p9vNkANrjitc912iyoxrji4Tu3hg 7NLrH5rapIu+U2QNUeCCE7PB9wApG5hyXn4ME= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.90.199.7 with SMTP id w7mr879519agf.15.1260952819997; Wed, 16 Dec 2009 00:40:19 -0800 (PST) Date: Wed, 16 Dec 2009 09:40:19 +0100 X-Google-Sender-Auth: 565b215ec2a0c6de Message-ID: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 09:04:13 -0000 Hey I've reinstalled my box and wanted t install ezjail again. As I remember (when you use flavours) the ezjail.flavour gets run when you start a flavoured jail for the first time, this does not happen for my jails. They create and the files from the flavour get moved and the ezjail.flavour gets linked to /etc/rc.d/ and afaik all looks correct. When I start the jail the jails come up, but I need to run the ezjail.flavour manually #short command example ezjail-admin create -f basic web 192.168.4.5 ezjail-admin start web jexec sh and the file is still there =3D not run (and the users it should add etc is not there either) Anyone got an idea what I'm doing wrong / or is updated --=20 Med Venlig Hilsen Kalle R. M=C3=B8ller From owner-freebsd-jail@FreeBSD.ORG Wed Dec 16 10:04:23 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 619C91065697 for ; Wed, 16 Dec 2009 10:04:23 +0000 (UTC) (envelope-from ml@infosec.pl) Received: from v027580.home.net.pl (v027580.home.net.pl [89.161.156.148]) by mx1.freebsd.org (Postfix) with SMTP id 91C028FC20 for ; Wed, 16 Dec 2009 10:04:21 +0000 (UTC) Received: from 94-193-57-116.zone7.bethere.co.uk (94.193.57.116) (HELO [192.168.1.66]) by freeside.home.pl (89.161.156.148) with SMTP (IdeaSmtpServer v0.70) id 0c3b7ec5108fd8f2; Wed, 16 Dec 2009 10:37:43 +0100 Message-ID: <4B28AA5B.7040308@infosec.pl> Date: Wed, 16 Dec 2009 09:37:31 +0000 From: Michal User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.5) Gecko/20091214 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-jail@freebsd.org References: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> In-Reply-To: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 10:04:23 -0000 On 16/12/2009 08:40, Kalle Møller wrote: > > and the file is still there = not run (and the users it should add etc is > not there either) > > Anyone got an idea what I'm doing wrong / or is updated > Unfortunately no idea but just to confirm that I got the same problem. Looks like something has changed and the old way (say 6 mths ago last time I was doing it and it worked) is not working anymore. Michal -- "In theory, there is no difference between theory and practice. In practice, there is." -Yogi Berra From owner-freebsd-jail@FreeBSD.ORG Wed Dec 16 14:17:12 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45119106566C for ; Wed, 16 Dec 2009 14:17:12 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id EDB768FC15 for ; Wed, 16 Dec 2009 14:17:11 +0000 (UTC) Received: by yxe1 with SMTP id 1so988424yxe.3 for ; Wed, 16 Dec 2009 06:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=jXc5M9qqHZ+Sd94bV84O/2wEhoD3MXMt/kniDF+Buoo=; b=v3DzAuWOu9OLd2UUvJ2S9Nu0QeJ5VKE+YP33Fo3aKWPF37ZAr+4wOACD5g5LBuFWBy 4gTL9EZnpX4RTcUU41r+wFJ+hq9n5AsTdXY+uMW53X5nXr2Urc5fcN7PtacMu//LgpU7 YNDK3pgti+Gg6XcIw4q2z9K7SditnwBHTKaQY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=G+vS5xt3L2ET7ysnx+luuprupZQbQkyDFlSgnskYbHRQ4EOHcoUOexI96ftGL3St3K p81jCZXtMyzuO8BCxrySaQpcIDc0EUdk8hs9iWgoTLBIQ+ZghQcF3Br5qO0IyY/pni5R It8px2rVb93or3KmeIs/jNhwkkFjQqMqv7t+Y= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.90.211.20 with SMTP id j20mr1115227agg.78.1260973030249; Wed, 16 Dec 2009 06:17:10 -0800 (PST) In-Reply-To: <4B28AA5B.7040308@infosec.pl> References: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> <4B28AA5B.7040308@infosec.pl> Date: Wed, 16 Dec 2009 15:17:10 +0100 X-Google-Sender-Auth: 2ed140be5e9dcb13 Message-ID: <8250ac3f0912160617v26a7f545j64c30e256d8d8f34@mail.gmail.com> From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: Michal Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 14:17:12 -0000 On Wed, Dec 16, 2009 at 10:37 AM, Michal wrote: > On 16/12/2009 08:40, Kalle M=C3=B8ller wrote: > >> >> and the file is still there =3D not run (and the users it should add etc= is >> not there either) >> >> Anyone got an idea what I'm doing wrong / or is updated >> >> > Unfortunately no idea but just to confirm that I got the same problem. > Looks like something has changed and the old way (say 6 mths ago last tim= e I > was doing it and it worked) is not working anymore. > > Michal > -- > "In theory, there is no difference between theory and practice. In > practice, there is." -Yogi Berra > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" > Yea sounds right.. I actually encountered it before reinstall (but after upgrade to 8), I just thought it was me being fubar / or messed to much wit= h the settings. But after the reinstall I'm quite sure its a bug / something --=20 Med Venlig Hilsen Kalle R. M=C3=B8ller From owner-freebsd-jail@FreeBSD.ORG Wed Dec 16 20:03:09 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 020F7106566B for ; Wed, 16 Dec 2009 20:03:09 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id B2D058FC08 for ; Wed, 16 Dec 2009 20:03:08 +0000 (UTC) Received: from [85.173.16.188] (helo=izar) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1NKzaA-0001iH-RP; Wed, 16 Dec 2009 22:30:46 +0300 To: Kalle =?utf-8?Q?M=C3=B8ller?= References: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> From: Boris Samorodov Date: Wed, 16 Dec 2009 22:31:36 +0300 In-Reply-To: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> ("Kalle =?utf-8?Q?M=C3=B8ller=22's?= message of "Wed\, 16 Dec 2009 09\:40\:19 +0100") Message-ID: <55743415@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-jail@freebsd.org Subject: Re: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Dec 2009 20:03:09 -0000 Kalle M=C3=B8ller writes: > I've reinstalled my box and wanted t install ezjail again. > > As I remember (when you use flavours) the ezjail.flavour gets run when you > start a flavoured jail for the first time, > this does not happen for my jails. They create and the files from the > flavour get moved and the ezjail.flavour gets linked > to /etc/rc.d/ and afaik all looks correct. When I start the jail the jails > come up, but I need to run the ezjail.flavour manually I've got the same behaviour. Seems that the script ezjail.flavour is not executed because it uses old rc rules and so it is ingored at startup. --=20 WBR, bsam From owner-freebsd-jail@FreeBSD.ORG Thu Dec 17 07:42:07 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE65E106568B for ; Thu, 17 Dec 2009 07:42:07 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id A82988FC12 for ; Thu, 17 Dec 2009 07:42:07 +0000 (UTC) Received: by yxe1 with SMTP id 1so1803397yxe.3 for ; Wed, 16 Dec 2009 23:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=Zr6DLgzfSUl5mwa/0VGS8kOpgaOq/W8pAYSoHCdLKU4=; b=NlG0xhGXlvwdPIRdWbg5ZCf64FQC4bPsbrKgqPYoJ3zwl68WonIxTEDLEXq0N+Zn1C ut7zQwJ7TR7mM/C9U/BK0cFuxYscvEvoQMpBCkE5Oq3FXMBgdr1MTLaY3TAl5IAW+XuT wUb/sieOgHPWD+r6Y/c+8k5KFaKmWUZ/D4mpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=pJL0jCViW+1JmhWEuiCv6B546VnFLJcHztgEFJIziOcbWIV6cOH2GGjWp5ll5nGnbT XjXJXmBBp5TP5gQUWSOpH/AMnu8aV0OqzkFWGHfHZ7fQzqz+MQa1d/K60Qs2ozOLpGyQ VyY+wI/OEfH56S7PcTX+w4JVq7IDJsKPjracE= MIME-Version: 1.0 Sender: kalle.moller@gmail.com Received: by 10.91.178.19 with SMTP id f19mr2386512agp.33.1261035726722; Wed, 16 Dec 2009 23:42:06 -0800 (PST) In-Reply-To: <55743415@ipt.ru> References: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> <55743415@ipt.ru> Date: Thu, 17 Dec 2009 08:42:06 +0100 X-Google-Sender-Auth: a8fc5bdc07891eaf Message-ID: <8250ac3f0912162342p1a54d6bcpa6487b14831dce33@mail.gmail.com> From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 07:42:08 -0000 > I've got the same behaviour. Seems that the script ezjail.flavour > is not executed because it uses old rc rules and so it is ingored > at startup. > > -- > WBR, bsam > What are the new rc rules, because it looks fair simple to correct, went through the code yesterday. --=20 Med Venlig Hilsen Kalle R. M=C3=B8ller From owner-freebsd-jail@FreeBSD.ORG Thu Dec 17 08:35:05 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 988741065670 for ; Thu, 17 Dec 2009 08:35:05 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 541DD8FC08 for ; Thu, 17 Dec 2009 08:35:05 +0000 (UTC) Received: from [85.175.178.145] (helo=izar) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1NLBp7-000Azb-Rf; Thu, 17 Dec 2009 11:35:02 +0300 To: Kalle =?utf-8?Q?M=C3=B8ller?= References: <8250ac3f0912160040q31750cd5oe6fe66eb4398b20b@mail.gmail.com> <55743415@ipt.ru> <8250ac3f0912162342p1a54d6bcpa6487b14831dce33@mail.gmail.com> From: Boris Samorodov Date: Thu, 17 Dec 2009 11:35:51 +0300 In-Reply-To: <8250ac3f0912162342p1a54d6bcpa6487b14831dce33@mail.gmail.com> ("Kalle =?utf-8?Q?M=C3=B8ller=22's?= message of "Thu\, 17 Dec 2009 08\:42\:06 +0100") Message-ID: <21820472@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-jail@freebsd.org Subject: Re: ezjail.flavour X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Dec 2009 08:35:05 -0000 Kalle M=C3=B8ller writes: >> I've got the same behaviour. Seems that the script ezjail.flavour >> is not executed because it uses old rc rules and so it is ingored >> at startup. > What are the new rc rules, because it looks fair simple to correct, went > through the code yesterday. Well, I'm not an rc guru. But seems that RC(8) may be a good start. --=20 WBR, bsam From owner-freebsd-jail@FreeBSD.ORG Fri Dec 18 09:27:25 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4E0B1065672 for ; Fri, 18 Dec 2009 09:27:25 +0000 (UTC) (envelope-from axel.scheepers@nl.clara.net) Received: from mail2.nl.clara.net (mail2.nl.clara.net [212.61.9.21]) by mx1.freebsd.org (Postfix) with ESMTP id 451828FC36 for ; Fri, 18 Dec 2009 09:27:24 +0000 (UTC) Received: from wolverine.thuis.net (son-fw1.nl.clara.net [212.61.20.1]) by mail2.nl.clara.net (Postfix) with ESMTP id E0B9C5AED49; Fri, 18 Dec 2009 10:07:39 +0100 (CET) To: freebsd-jail@freebsd.org From: Axel Scheepers Date: Fri, 18 Dec 2009 10:07:34 +0100 Message-ID: <86k4wkveeh.fsf@wolverine.thuis.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: beheer@nl.clara.net Subject: ioctl call freebsd < 7.2 in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:27:25 -0000 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Transfer-Encoding: quoted-printable Hi list, We run Direct Admin in a jailed setup on FreeBSD 7.2 (last supported release for Direct Admin). We have a problem retrieving the correct ip address of the jail which makes Direct Admin misbehave. I've written a small c program which does an ioctl call to get the ip address for a given interface which I attached. If I run this on FreeBSD <7.2 in a jail it will give me the ip address of the master server. On FreeBSD 7.2> it gives me the ip address of the jail (as Direct Admin expects). This is what happens: fmh236# gcc ioctl.c=20 fmh236# ./a.out bce0 found ip address 212.61.32.234 on interface bce0 ^^^^^^^^^^^^^ fmh236# ifconfig bce0 | grep inet inet 212.61.32.236 netmask 0xffffffff broadcast 212.61.32.236 ^^^^^^^^^^^^^ On FreeBSD 7.2> (test): mh008# jail /home/via/jail-test test 212.61.33.7 /bin/csh %./a.out bce0 found ip address 212.61.33.7 on interface bce0 %ifconfig bce0 | grep inet inet 212.61.33.7 netmask 0xffffffff broadcast 212.61.33.7 Would it be trivial to backport just the changes which changed this behaviour and if so how can I get a patch for the changes to 7.2-RELEASE? I've read that under FreeBSD it's better to use getifaddrs(3) but we can't change the ioctl call. Kind regards, =2D-=20 Axel L.C.M.C. Scheepers Systems & Network Engineer axel.scheepers@nl.clara.net Tel +31 40 2393393 Fax +31 40 2393310 Mob +31 6 46382759 Claranet Benelux BV Science park 5630 5692 EN Son Nederland http://www.nl.clara.net --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=ioctl.c Content-Transfer-Encoding: base64 Content-Description: ioctl.c Ly8gaW9jdGwuYyAtLSBjaGVjayBpZiBmcmVlYnNkIHJldHVybnMgdGhlIGNvcnJlY3QgYWRkcmVz cyBpbiBhIGphaWwgZm9yIERBCi8vICAgSSBzdXNwZWN0IHRoZSBpb2N0bCBjYWxsIGdvZXMgb3V0 IHRoZSBqYWlsIGFuZCBnZXQncyB0aGUgbWFzdGVycyBvbmUKLy8gICBpbnN0ZWFkIG9mIHVzaW5n IHRoZSBjb25maWd1cmVkIGlwIGluIHRoZSBqYWlsICh3aGljaCBpcyBhbiBhbGlhcyBvbiB0aGUK Ly8gICBtYXN0ZXIpLgovLyAgIFNlZSBpZiB0aGlzIG91dHB1dHMgdGhlIGNvcnJlY3QgYWRkcmVz cyBpbiBhIGphaWwsIHVzYWdlOgovLyAgIGlvY3RsIGludGVyZmFjZQovLyAgIC0gYXhlbAojaW5j bHVkZSA8c3lzL2lvY3RsLmg+CiNpbmNsdWRlIDxzeXMvdHlwZXMuaD4KI2luY2x1ZGUgPHN5cy9z b2NrZXQuaD4KI2luY2x1ZGUgPG5ldC9pZi5oPgojaW5jbHVkZSA8bmV0aW5ldC9pbi5oPgojaW5j bHVkZSA8YXJwYS9pbmV0Lmg+CgojaW5jbHVkZSA8c3RkaW8uaD4KI2luY2x1ZGUgPHN0ZGxpYi5o PgojaW5jbHVkZSA8c3RyaW5nLmg+CiNpbmNsdWRlIDxlcnJuby5oPgoKaW50IG1haW4oaW50IGFy Z2MsIGNoYXIgKiphcmd2KSB7CiAgICBpbnQgZGV2ID0gMDsKICAgIHN0cnVjdCBpZnJlcSBpZnI7 CiAgICBzdHJ1Y3Qgc29ja2FkZHJfaW4gKnNpbiA9IChzdHJ1Y3Qgc29ja2FkZHJfaW4qKSZpZnIu aWZyX2FkZHI7CgogICAgLy8gY2hlY2sgYXJndW1lbnRzCiAgICBpZiAoYXJnYyAhPSAyKSB7CiAg ICAgICAgZnByaW50ZihzdGRlcnIsICJVc2FnZTogJXMgaW50ZXJmYWNlXG4iLCBhcmd2WzBdKTsK ICAgICAgICByZXR1cm4gMTsKICAgIH0KCiAgICAvLyBjbGVhciBzdHJ1Y3QKICAgIG1lbXNldCgm aWZyLCAwLCBzaXplb2YoaWZyKSk7CgogICAgLy8gb3BlbiBzb2NrZXQKICAgIGlmICgoZGV2ID0g c29ja2V0KEFGX0lORVQsIFNPQ0tfU1RSRUFNLCAwKSkgPT0gLTEpIHsKICAgICAgICBmcHJpbnRm KHN0ZGVyciwgIkNhbid0IG9wZW4gc29ja2V0OiAlc1xuIiwgc3RyZXJyb3IoZXJybm8pKTsKICAg ICAgICByZXR1cm4gMTsKICAgIH0KCiAgICAvLyB3ZSBuZWVkIHRoZSBpcCBhZGRyZXNzIG9mIHRo ZSBpbnRlcmZhY2UgZ2l2ZW4gYXMgYXJndW1lbnQKICAgIHN0cmNweShpZnIuaWZyX25hbWUsIGFy Z3ZbMV0pOwogICAgc2luLT5zaW5fZmFtaWx5ID0gQUZfSU5FVDsKCiAgICAvLyBkbyBpb2N0bCB0 byBnZXQgaXAgYWRkcmVzcwogICAgaWYgKGlvY3RsKGRldiwgU0lPQ0dJRkFERFIsICZpZnIpID09 IC0xKSB7CiAgICAgICAgZnByaW50ZihzdGRlcnIsICJDYW4ndCBnZXQgYWRkcmVzcyBpbmZvcm1h dGlvbjogJXNcbiIsIHN0cmVycm9yKGVycm5vKSk7CiAgICAgICAgY2xvc2UoZGV2KTsKICAgICAg ICByZXR1cm4gMTsKICAgIH0KCiAgICAvLyBwcmludCB0aGUgaXAgYWRkcmVzcyB3ZSBnb3QuLi4K ICAgIHByaW50ZigiZm91bmQgaXAgYWRkcmVzcyAlcyBvbiBpbnRlcmZhY2UgJXNcbiIsIGluZXRf bnRvYShzaW4tPnNpbl9hZGRyKSwKICAgICAgICAgICBpZnIuaWZyX25hbWUpOwoKICAgIC8vIGNs b3NlIHNvY2tldAogICAgY2xvc2UoZGV2KTsKICAgIHJldHVybigwKTsKfQo= --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAksrRlsACgkQvOFCXiGjP+BUXgCfUbW95Ta51n9WZr/hHYxg/LWs f6kAnRSrHuGYDTUyDSr/2qe2ngfFT9Y5 =oH4t -----END PGP SIGNATURE----- --==-=-=-- From owner-freebsd-jail@FreeBSD.ORG Fri Dec 18 09:35:09 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2920A1065696 for ; Fri, 18 Dec 2009 09:35:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id B49EB8FC34 for ; Fri, 18 Dec 2009 09:35:08 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 24A0841C7CE; Fri, 18 Dec 2009 10:35:07 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id SBm0V6EjO3cv; Fri, 18 Dec 2009 10:35:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 8C07841C7CD; Fri, 18 Dec 2009 10:35:06 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 383CF4448EC; Fri, 18 Dec 2009 09:34:52 +0000 (UTC) Date: Fri, 18 Dec 2009 09:34:52 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Axel Scheepers In-Reply-To: <86k4wkveeh.fsf@wolverine.thuis.net> Message-ID: <20091218093231.J86040@maildrop.int.zabbadoz.net> References: <86k4wkveeh.fsf@wolverine.thuis.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: beheer@nl.clara.net, freebsd-jail@freebsd.org Subject: Re: ioctl call freebsd < 7.2 in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:35:09 -0000 On Fri, 18 Dec 2009, Axel Scheepers wrote: Hi, > We run Direct Admin in a jailed setup on FreeBSD 7.2 (last supported > release for Direct Admin). We have a problem retrieving the correct ip > address of the jail which makes Direct Admin misbehave. .. > Would it be trivial to backport just the changes which changed this > behaviour and if so how can I get a patch for the changes to > 7.2-RELEASE? > > I've read that under FreeBSD it's better to use getifaddrs(3) but we > can't change the ioctl call. I think I remember the patch; I guess it was the "samba patch". I can extract it for you; not sure if it'll work easily w/o the other infrastructure but I'll see what I can do. I can see no chance that it'll ever make it into 7.1 as an Errata Notice though, so you would have to keep patching your system yourself. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-jail@FreeBSD.ORG Fri Dec 18 09:46:23 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CAEF106566B for ; Fri, 18 Dec 2009 09:46:23 +0000 (UTC) (envelope-from axel.scheepers@nl.clara.net) Received: from mail2.nl.clara.net (mail2.nl.clara.net [212.61.9.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0D3118FC12 for ; Fri, 18 Dec 2009 09:46:22 +0000 (UTC) Received: from wolverine.thuis.net (son-fw1.nl.clara.net [212.61.20.1]) by mail2.nl.clara.net (Postfix) with ESMTP id B0CB15AF190; Fri, 18 Dec 2009 10:46:20 +0100 (CET) To: "Bjoern A. Zeeb" References: <86k4wkveeh.fsf@wolverine.thuis.net> <20091218093231.J86040@maildrop.int.zabbadoz.net> From: Axel Scheepers Date: Fri, 18 Dec 2009 10:46:17 +0100 In-Reply-To: <20091218093231.J86040@maildrop.int.zabbadoz.net> (Bjoern A. Zeeb's message of "Fri\, 18 Dec 2009 09\:34\:52 +0000 \(UTC\)") Message-ID: <86fx78vcly.fsf@wolverine.thuis.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-jail@freebsd.org Subject: Re: ioctl call freebsd < 7.2 in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 09:46:23 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable "Bjoern A. Zeeb" writes: > I think I remember the patch; I guess it was the "samba patch". I can > extract it for you; not sure if it'll work easily w/o the other > infrastructure but I'll see what I can do. > > I can see no chance that it'll ever make it into 7.1 as an Errata > Notice though, so you would have to keep patching your system > yourself. Hi Bjoern, I know it won't make it as an errata, that's not a problem. I'm looking for a way to fix the problem without having to upgrade all our virtual hosts to 7.2. The machines in question run a mix of freebsd versions, if it's not to much trouble it's highly appreciated if you can send me some more information about the patch you mention. Is this the multi-ip jail patch you talked about in http://lists.freebsd.org/pipermail/freebsd-jail/2008-October/000488.html Thanks, Kind regards, =2D-=20 Axel L.C.M.C. Scheepers Systems & Network Engineer axel.scheepers@nl.clara.net Tel +31 40 2393393 Fax +31 40 2393310 Mob +31 6 46382759 Claranet Benelux BV Science park 5630 5692 EN Son Nederland http://www.nl.clara.net --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAksrT2wACgkQvOFCXiGjP+AC+gCfcbWbNz6ts9BWpaHPaKXkw6H+ VIMAoKBX6lhQ4uvL6dWM6W4DIuj7VnPN =Ql1a -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-jail@FreeBSD.ORG Fri Dec 18 10:40:07 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D00661065696 for ; Fri, 18 Dec 2009 10:40:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 8D1CC8FC0A for ; Fri, 18 Dec 2009 10:40:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 9DF1941C7CD; Fri, 18 Dec 2009 11:40:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id tThR3gVeEK2E; Fri, 18 Dec 2009 11:40:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id DF05341C7D8; Fri, 18 Dec 2009 11:40:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 94DEF4448EC; Fri, 18 Dec 2009 10:38:48 +0000 (UTC) Date: Fri, 18 Dec 2009 10:38:48 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Axel Scheepers In-Reply-To: <86fx78vcly.fsf@wolverine.thuis.net> Message-ID: <20091218103417.E86040@maildrop.int.zabbadoz.net> References: <86k4wkveeh.fsf@wolverine.thuis.net> <20091218093231.J86040@maildrop.int.zabbadoz.net> <86fx78vcly.fsf@wolverine.thuis.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: ioctl call freebsd < 7.2 in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 10:40:07 -0000 On Fri, 18 Dec 2009, Axel Scheepers wrote: hi, > "Bjoern A. Zeeb" writes: > >> I think I remember the patch; I guess it was the "samba patch". I can >> extract it for you; not sure if it'll work easily w/o the other >> infrastructure but I'll see what I can do. >> >> I can see no chance that it'll ever make it into 7.1 as an Errata >> Notice though, so you would have to keep patching your system >> yourself. > > > Hi Bjoern, > > I know it won't make it as an errata, that's not a problem. I'm looking > for a way to fix the problem without having to upgrade all our virtual > hosts to 7.2. The machines in question run a mix of freebsd versions, if > it's not to much trouble it's highly appreciated if you can send me some > more information about the patch you mention. Is this the multi-ip jail > patch you talked about in > http://lists.freebsd.org/pipermail/freebsd-jail/2008-October/000488.html well, I think that was the earlier workaround; the multi-IP jail includes one of the patches that actually fix the problem; but the fix for this case really just is a fraction of the change. What I was thinking was this commit to head and the PR mentioned there: http://svn.freebsd.org/viewvc/base?view=revision&revision=186948 Note that 7.1 or earlier won;t have the prison_check_ip4() function, different byte order requirements etc (and not IPv6 support). It's s pretty short thing but has to be "converted" correctly. I might be able to do that later today. /bz -- Bjoern A. Zeeb It will not break if you know what you are doing. From owner-freebsd-jail@FreeBSD.ORG Fri Dec 18 11:08:25 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E39921065695 for ; Fri, 18 Dec 2009 11:08:25 +0000 (UTC) (envelope-from axel.scheepers@nl.clara.net) Received: from mail1.nl.clara.net (mail1.nl.clara.net [212.61.9.20]) by mx1.freebsd.org (Postfix) with ESMTP id A22D38FC1C for ; Fri, 18 Dec 2009 11:08:25 +0000 (UTC) Received: from wolverine.thuis.net (son-fw1.nl.clara.net [212.61.20.1]) by mail1.nl.clara.net (Postfix) with ESMTP id A5C28358F85; Fri, 18 Dec 2009 12:08:23 +0100 (CET) To: "Bjoern A. Zeeb" References: <86k4wkveeh.fsf@wolverine.thuis.net> <20091218093231.J86040@maildrop.int.zabbadoz.net> <86fx78vcly.fsf@wolverine.thuis.net> <20091218103417.E86040@maildrop.int.zabbadoz.net> From: Axel Scheepers Date: Fri, 18 Dec 2009 12:08:18 +0100 In-Reply-To: <20091218103417.E86040@maildrop.int.zabbadoz.net> (Bjoern A. Zeeb's message of "Fri\, 18 Dec 2009 10\:38\:48 +0000 \(UTC\)") Message-ID: <86ws0ktu8t.fsf@wolverine.thuis.net> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: freebsd-jail@freebsd.org Subject: Re: ioctl call freebsd < 7.2 in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 11:08:26 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable "Bjoern A. Zeeb" writes: > What I was thinking was this commit to head and the PR mentioned > there: > http://svn.freebsd.org/viewvc/base?view=3Drevision&revision=3D186948 Ah I see, thanks! > Note that 7.1 or earlier won;t have the prison_check_ip4() function, > different byte order requirements etc (and not IPv6 support). > It's s pretty short thing but has to be "converted" correctly. > > I might be able to do that later today. Noted, but don't worry, let me see if I can fiddle it out myself. Thanks for this very quick helpfull response, Kind regards, =2D-=20 Axel L.C.M.C. Scheepers Systems & Network Engineer axel.scheepers@nl.clara.net Tel +31 40 2393393 Fax +31 40 2393310 Mob +31 6 46382759 Claranet Benelux BV Science park 5630 5692 EN Son Nederland http://www.nl.clara.net --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAksrYqcACgkQvOFCXiGjP+A8sgCgtCdeNt8vaJW/Q0V+eaUk3Zv/ cuEAnRF6S8GqNKZQIw8G/WKWxqxLqEPD =KSRu -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-jail@FreeBSD.ORG Sat Dec 19 22:20:35 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05074106566B for ; Sat, 19 Dec 2009 22:20:35 +0000 (UTC) (envelope-from kenney_victoria@ahkfamily.net) Received: from gdepb.gov.cn (mailserver.gdepb.gov.cn [61.144.36.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6C91F8FC13 for ; Sat, 19 Dec 2009 22:20:23 +0000 (UTC) Received: from [61.144.36.7] by [10.10.10.4] with StormMail ESMTP id 77044.6920941531; Sun, 20 Dec 2009 06:20:32 +0800 (CST) From: "Cortes guess" To: freebsd-jail@freebsd.org, greatmail@clickheretofind.zzn.com, info@commoncv.net, shequhuhu@sohu.com, erik.wijk@telia.com Content-type: text/plain; charset=US-ASCII Priority: normal Message-Id: <20091219222035.05074106566B@hub.freebsd.org> Date: Sat, 19 Dec 2009 22:20:35 +0000 (UTC) Cc: Subject: Target your ads to the medical community X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 22:20:35 -0000 Use our lists to get a successful campaign going. Drop me a line here for more info & samples: Spesial Package 395.00 Complete Physician Database 788,114 in total * 17,482 emails Coverage in many different areas of medicine such as Endocrinology, Pathology, Urology, Neurology, Plastic Surgery, Psychiatry, Cardiology and much more ====Get These Below with every order this week ==== 7145 Hospitals*23,000 Administrators with Ph/fax and postal address. Licensed Clinic/Dentist 597,959 Total Records*6,494 Emails*6,000 Fax Numbers. US Pharmaceutical Company 47,000 employees in high-ranking positions Executive's Directory Names and email addresses of Chiropractors*108,421 with phone, 3,414 emails and 6,553 fax numbers. Acupuncture Database 23,988 records 1,826 emails Alternative Medicine Clinics and Practitioners Database There are 1,141,602 total records with 29,320 emails and 38.935 fax numbers. send and email to: Irene@listmastersmd.nom.es. Good until the end of this week. To stop future email correspondence please send a blank email to rembox@listmastersmd.nom.es