From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 06:11:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 950421E6 for ; Sun, 2 Dec 2012 06:11:14 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 438818FC0C for ; Sun, 2 Dec 2012 06:11:13 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so1159039vcb.13 for ; Sat, 01 Dec 2012 22:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Gwtj6I/MttUgNa+S+mT2Xm01MGl5fyt3K4ebk9266+w=; b=vWKhYRUSr/FoikPGbeO3hJQkmNIl44ezoQeBe35vaJJQPVBfXMxCBx46XAlzBxXw0T aXjbrnPY0aARhsMLx839c3LQgjkrMsVAn6o26Ychtibm0rHKlbOfZ9rfN6l/fT6wBWyB YBQbeFwt/xxEWWitcnAE6r9gerDdUy2jGw9uw3VxrE/CdNTXFyeIl3+JGDrPVK3jRRj/ xGFs4Quck/OD3sOQmaXmh1qKg6RIq4wQ222De+9kfmZw3Xlg0ft4jyoIfEhaPnsZsqsM Fj9MvCT6lGz/8W2Jwccb/2qYdJmLbk6EJT7PqujvWJO3ixFf345p17V5V1ZZXqZMajuo 2/hw== MIME-Version: 1.0 Received: by 10.52.99.197 with SMTP id es5mr4665528vdb.7.1354428673014; Sat, 01 Dec 2012 22:11:13 -0800 (PST) Received: by 10.58.196.230 with HTTP; Sat, 1 Dec 2012 22:11:12 -0800 (PST) In-Reply-To: <50BA6652.8090005@sdf.org> References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> Date: Sun, 2 Dec 2012 09:41:12 +0330 Message-ID: Subject: Re: set connection to a modem From: s m To: Chris Petrik Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 06:11:14 -0000 thanks chris ppp is used when you want connect to internet via modem. i just want to config my modem by AT command. when my ppp.conf file is empty, i can talk to my modem so this config file do nothing what you want talk to your modem. if i want to talk to my modem by a specific speed, which config file should be changed? please let me know if you have any guidance. thanks On Sat, Dec 1, 2012 at 11:49 PM, Chris Petrik wrote: > On 12/1/2012 12:38 AM, saeedeh motlagh wrote: > > thanks Ilya for your reply. i'm using putty to connect to my modem > > and also/dev/cuauo as the config file. i can co > > nnect to my modem and it responses to AT commands that you suggest so > every > > thing is ok. > > > > > > my question is: this connection via /dev/cuau0 can be configured, doesn't > > it? and if yes, through which config file i can set these settings such > as > > speed, flow control, etc. for this connection? for example, my modem > > works just > > with a specific speed. how i can tell /dev/cuau0 device to talk to my > > modem with this speed? as i have no idea how to config the connection > speed > > for this /dev/cuau0 device.. > > > > any guidance would be really appreciated. > > thanks > > > > > > On Fri, Nov 30, 2012 at 1:19 AM, Fbsd8 wrote: > > > >> s m wrote: > >> > >>> thanks guys for your replies, > >>> > >>> now i understand two types of connections are available by modem, > dial-in > >>> and dial-out. > >>> honestly, i should do it for my boss and don't know what he should want > >>> exactly to do but i am sure that he has an external serial modem and > wants > >>> to config it by AT commands via a freebsd system; therefore i think our > >>> connection is dial-out. > >>> > >>> now which files i should edit? just ppp.conf? and because our modem > >>> supports specific speed and flow control, is it necessary to set these > >>> parameters in my freebsd? and if yes, how i can do that? please help > me > >>> to > >>> do that > >>> > >>> thanks > >>> > >>> > >> There are very detailed ppp configuration instructions here > >> www.a1poweruser.com > >> > >> > >> ______________________________**_________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions< > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> > >> To unsubscribe, send any mail to "freebsd-questions-** > >> unsubscribe@freebsd.org " > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I am just poking about so sorry if im off topic but you can possibly use > ppp to do this? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 08:37:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2D532333 for ; Sun, 2 Dec 2012 08:37:48 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id B17058FC0C for ; Sun, 2 Dec 2012 08:37:46 +0000 (UTC) Received: from localhost (tor20.anonymizer.ccc.de [31.172.30.3]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 598185A8C for ; Sun, 2 Dec 2012 12:29:58 +0400 (MSK) Date: Sun, 2 Dec 2012 12:28:59 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Subject: Re: set connection to a modem Message-ID: <20121202082857.GB13568@external.screwed.box> References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 08:37:48 -0000 Hello. 2012/12/02 09:41:12 +0330 s m => To Chris Petrik : sm> thanks chris sm> sm> ppp is used when you want connect to internet via modem. What if your (or someone else's) ISP use dial-back? This way ppp(8) can't be used because it's not you want to connect to internet but internet wants to connect you? I believe ppp is an equal peers' peer-to peer (point-to-point) protocol. And it can be used for dial-in conections. > i just want to sm> config my modem by AT command. ppp(8) makes the use of chat(8) to send the Hayes-fashioned AT commands to the modem. sm> when my ppp.conf file is empty, i can talk to my modem Which way requiring emptyness of your ppp.conf you can talk to your modem? Is it a command by mean of which you talk to modem? > so this config file sm> do nothing what you want talk to your modem. But it can contain the command line for chat(8) to prepare your modem for ppp(8) usage. sm> sm> if i want to talk to my modem by a specific speed, which config file should sm> be changed? sm> sm> please let me know if you have any guidance. sm> thanks sm> sm> On Sat, Dec 1, 2012 at 11:49 PM, Chris Petrik wrote: sm> sm> > On 12/1/2012 12:38 AM, saeedeh motlagh wrote: sm> > > thanks Ilya for your reply. i'm using putty to connect to my modem sm> > > and also/dev/cuauo as the config file. i can co sm> > > nnect to my modem and it responses to AT commands that you suggest so sm> > every sm> > > thing is ok. sm> > > sm> > > sm> > > my question is: this connection via /dev/cuau0 can be configured, doesn't sm> > > it? and if yes, through which config file i can set these settings such sm> > as sm> > > speed, flow control, etc. for this connection? for example, my modem sm> > > works just sm> > > with a specific speed. how i can tell /dev/cuau0 device to talk to my sm> > > modem with this speed? as i have no idea how to config the connection sm> > speed sm> > > for this /dev/cuau0 device.. sm> > > sm> > > any guidance would be really appreciated. sm> > > thanks sm> > > sm> > > sm> > > On Fri, Nov 30, 2012 at 1:19 AM, Fbsd8 wrote: sm> > > sm> > >> s m wrote: sm> > >> sm> > >>> thanks guys for your replies, sm> > >>> sm> > >>> now i understand two types of connections are available by modem, sm> > dial-in sm> > >>> and dial-out. sm> > >>> honestly, i should do it for my boss and don't know what he should want sm> > >>> exactly to do but i am sure that he has an external serial modem and sm> > wants sm> > >>> to config it by AT commands via a freebsd system; therefore i think our sm> > >>> connection is dial-out. sm> > >>> sm> > >>> now which files i should edit? just ppp.conf? and because our modem sm> > >>> supports specific speed and flow control, is it necessary to set these sm> > >>> parameters in my freebsd? and if yes, how i can do that? please help sm> > me sm> > >>> to sm> > >>> do that sm> > >>> sm> > >>> thanks sm> > >>> sm> > >>> sm> > >> There are very detailed ppp configuration instructions here sm> > >> www.a1poweruser.com sm> > >> sm> > >> sm> > >> ______________________________**_________________ sm> > >> freebsd-questions@freebsd.org mailing list sm> > >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions< sm> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions> sm> > >> To unsubscribe, send any mail to "freebsd-questions-** sm> > >> unsubscribe@freebsd.org " sm> > >> sm> > > _______________________________________________ sm> > > freebsd-questions@freebsd.org mailing list sm> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> > > To unsubscribe, send any mail to " sm> > freebsd-questions-unsubscribe@freebsd.org" sm> > I am just poking about so sorry if im off topic but you can possibly use sm> > ppp to do this? sm> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html sm> > _______________________________________________ sm> > freebsd-questions@freebsd.org mailing list sm> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> > To unsubscribe, send any mail to " sm> > freebsd-questions-unsubscribe@freebsd.org" sm> > sm> _______________________________________________ sm> freebsd-questions@freebsd.org mailing list sm> http://lists.freebsd.org/mailman/listinfo/freebsd-questions sm> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 08:52:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4153A6B8 for ; Sun, 2 Dec 2012 08:52:15 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id E84FF8FC12 for ; Sun, 2 Dec 2012 08:52:14 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Tf5I9-0007O1-RN for freebsd-questions@freebsd.org; Sun, 02 Dec 2012 08:52:49 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tf5HR-000KMw-8N for freebsd-questions@freebsd.org; Sun, 02 Dec 2012 08:52:05 +0000 Date: Sun, 2 Dec 2012 08:52:06 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: set connection to a modem Message-Id: <20121202085206.6c19ae696dc2416817332770@sohara.org> In-Reply-To: <20121202082857.GB13568@external.screwed.box> References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> <20121202082857.GB13568@external.screwed.box> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 08:52:15 -0000 On Sun, 2 Dec 2012 12:28:59 +0400 Peter Vereshagin wrote: > Hello. > > 2012/12/02 09:41:12 +0330 s m => To Chris Petrik : > sm> thanks chris > sm> > sm> ppp is used when you want connect to internet via modem. > > What if your (or someone else's) ISP use dial-back? > > This way ppp(8) can't be used because it's not you want to connect to > internet but internet wants to connect you? > > I believe ppp is an equal peers' peer-to peer (point-to-point) protocol. > > And it can be used for dial-in conections. Of course it can be used for dial in connections, that's what happens at the ISP end of the connection. It can also be used for fixed point to point connections over directly wired connections or leased line modems or using ATM as a carrier. All of this is covered in great detail in section IV of the handbook - 27 Serial Communications and 28 PPP and SLIP. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 14:09:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AD0E6AE for ; Sun, 2 Dec 2012 14:09:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0F60B8FC08 for ; Sun, 2 Dec 2012 14:09:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id B4D823CA41; Sun, 2 Dec 2012 15:09:49 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qB2E9pU1001973; Sun, 2 Dec 2012 15:09:51 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 2 Dec 2012 15:09:51 +0100 From: Polytropon To: s m Subject: Re: set connection to a modem Message-Id: <20121202150951.6adeebd4.freebsd@edvax.de> In-Reply-To: References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 14:09:58 -0000 On Sun, 2 Dec 2012 09:41:12 +0330, s m wrote: > thanks chris > > ppp is used when you want connect to internet via modem. Basically yes, but it can do more than that. > i just want to > config my modem by AT command. This is _exactly_ what PPP does (among other things). :-) Refer to the example I've provided in an earlier message on how you can use /etc/ppp/ppp.conf to define the settings for speed and flow control which will then be processed by PPP, it will send the _proper_ AT commands using chat (see "man chat" for details). On the other hand, if you use a program like minicom, there will be a config file provided where you can put your settings and custom AT commands (if required) into it. I haven't been using it for long time, but if I remember correctly, the config file is /usr/local/etc/minirc.something... ??? > when my ppp.conf file is empty, i can talk to my modem so this config file > do nothing what you want talk to your modem. The file is only relevant to PPP. If you're using a different program, it will be ignored. Only PPP reads it at startup. > if i want to talk to my modem by a specific speed, which config file should > be changed? That depends on the _program_ you use to talk to the modem. Again: If you use ppp, put "set speed 115200" (or whatever speed you need) in ppp.conf's section for your connection. If you are using a different program, check its documentation to find out which config file it uses. There is no system-wide configuration file for what you need. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 18:04:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D9D0ACF for ; Sun, 2 Dec 2012 18:04:44 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 44BD08FC12 for ; Sun, 2 Dec 2012 18:04:43 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so2603946oag.13 for ; Sun, 02 Dec 2012 10:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1dQgueLHGS0uj8EdHhu+oZJsnFhtSzG8dTKebJHFzws=; b=GFkJIRYVLV+aY99GUL+Qq4MaHyf58Lrw+n3UXIH/nQZxM6KJaMwPsIUx9MEYGcVuCg WGne9JF5/vxwEm+fyoPjoslPt8X4s/mfj57w/CD8CBe8DZLREmEwrhzrmD3AcsVnJ/wL qLC1T1BbXHPj/7+jGh8lgwsnRnc0G2iJrbxZxpSU3Y2+GXdWimtKr/+hMSCEsdVtR1Fo B0rQkGewOclQTr4iE8URpvnxVEq1fjXifB1G5RVE1m7S9KkkxyR/SaF4FKImXOfJA7dB RZ6swjNk9bOCZF5mZcqwMV8PAOBj6l7uPSZ6kHSMkM82CcNWYQI2jwhApyHLCT+yiJJZ 7x2A== MIME-Version: 1.0 Received: by 10.182.124.98 with SMTP id mh2mr2498375obb.88.1354471483271; Sun, 02 Dec 2012 10:04:43 -0800 (PST) Received: by 10.60.38.104 with HTTP; Sun, 2 Dec 2012 10:04:42 -0800 (PST) In-Reply-To: References: <20121128170525.c3fb92e8.freebsd@edvax.de> <50B7D85F.5040900@a1poweruser.com> <50BA6652.8090005@sdf.org> Date: Sun, 2 Dec 2012 22:04:42 +0400 Message-ID: Subject: Re: set connection to a modem From: Ilya Kazakevich To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 18:04:44 -0000 Hello, ppp is used when you want connect to internet via modem. i just want to > config my modem by AT command. > when my ppp.conf file is empty, i can talk to my modem so this config file > do nothing what you want talk to your modem. > > if i want to talk to my modem by a specific speed, which config file should > be changed? > > You use some app to talk to your modem via serial port. You may configure speed for each program. You use minicom to connect to the remote system manually and you set speed via minicom config. You use PPP to connect to the remote system and internetwork with it and you use ppp.conf to configure speed. If you are interested in *default* values and port configuration regardless app you use see: /dev/ttyuN.init /dev/cuauN.init /dev/ttyuN.lock /dev/cuauN.lock Please read http://www.freebsd.org/doc/handbook/serial.html man sio Ilya. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 18:36:33 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 297CCF25 for ; Sun, 2 Dec 2012 18:36:33 +0000 (UTC) (envelope-from ren_pro@yahoo.com) Received: from nm27.bullet.mail.ne1.yahoo.com (nm27.bullet.mail.ne1.yahoo.com [98.138.90.90]) by mx1.freebsd.org (Postfix) with ESMTP id BB6D28FC08 for ; Sun, 2 Dec 2012 18:36:32 +0000 (UTC) Received: from [98.138.226.177] by nm27.bullet.mail.ne1.yahoo.com with NNFMP; 02 Dec 2012 18:36:26 -0000 Received: from [98.138.88.245] by tm12.bullet.mail.ne1.yahoo.com with NNFMP; 02 Dec 2012 18:36:26 -0000 Received: from [127.0.0.1] by smtp108-mob.biz.mail.ne1.yahoo.com with NNFMP; 02 Dec 2012 18:36:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1354473386; bh=0bDjo15I8V8AjhmYXmRuRz2rjmT91HvcWYhIAkgeRIE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:X-rim-org-msg-ref-id:Message-ID:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=hpz0tWmgTNYLd8Vz5ADMQyGxZn67/6ViuGyZI1Cw9MmAeDGJPEN69X7mxDni9KLC1j/6i9sJ9am81mD1bpg5f6X2I6TMecJ3Skuu7LAxxBhNwzvSEA2ZJq5HppTj0wZN7I9lmJydQ9+VK51YjdQvNpD7NBcbDOiSrKXn5tPFmeQ= X-Yahoo-Newman-Id: 52261.26703.bm@smtp108-mob.biz.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2vrvFKoVM1lvUaAW.W0FRmbbYsdPVq3qPFGvx3mJgn.Bnpm RqjHHneWK6jOvAI3nsFo5Zkpxrvu8nNLhKEis5eKCiV0D5pjs2N4mTeikYkx DgKnw0jasPx.7pNoVwV2Kbwra1HXxIaM8Sp8tCkrHMliBNHMrLFM5RSfY_aN XERxGoad7qVYHSGNBOlS5RFS04y2omSxmArvCNkFBnu6r4TEC9SDGSMC0YQo RNI08n9h9dUKdUHS91tkTmL1h51M2kKg0PaWBTcHH39YvllfP5kgCasPWAvw syCCfVW074O9l0rsIuyxMyzQE9ADoOba27mSWGS.GXIXynr1MK2hDMTGOWDp ICSJG.LLhM1Q8Qu01q851y_FU_NR0Ha5WJDfUIfkp6eUzfLZAhfylxeOiExi qDsDgyuMLPvHxihphZrEXzhVvV0rmLNpw7F0YWGfZF1ijdyapx23M_QvjCts CNZ77 X-Yahoo-SMTP: oLFer7KswBBRYT4FJieJm_m6ams- Received: from b1.c4.bise6.blackberry (ren_pro@74.82.80.99 with xymcookie) by smtp108-mob.biz.mail.ne1.yahoo.com with SMTP; 02 Dec 2012 10:36:25 -0800 PST X-rim-org-msg-ref-id: 903053323 Message-ID: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> X-Priority: Normal Sensitivity: Normal Importance: Normal Subject: Gnome To: questions@FreeBSD.org From: ren_pro@yahoo.com Date: Sun, 2 Dec 2012 18:36:23 +0000 Content-Type: text/plain MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ren_pro@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 18:36:33 -0000 Hello, I was wondering if you can use Gnome to run your FreeBSD server, instead of using let's say Direct Admin ? If so, is there any literature on it ? Thank you, Sam Fasciano Sent from my Verizon Wireless BlackBerry From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 18:54:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 945BE4C7 for ; Sun, 2 Dec 2012 18:54:14 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 432578FC12 for ; Sun, 2 Dec 2012 18:54:13 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfEfK-0002XX-Ka for freebsd-questions@freebsd.org; Sun, 02 Dec 2012 19:53:22 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 19:53:22 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 19:53:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: OT - A Generation Lost in the Bazaar Date: Sun, 2 Dec 2012 18:52:26 +0000 (UTC) Lines: 5 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 18:54:14 -0000 http://queue.acm.org/detail.cfm?id=2349257 It's about FreeBSD too ... jb From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 18:55:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A69A575 for ; Sun, 2 Dec 2012 18:55:21 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from nm10-vm0.access.bullet.mail.sp2.yahoo.com (nm10-vm0.access.bullet.mail.sp2.yahoo.com [98.139.44.122]) by mx1.freebsd.org (Postfix) with ESMTP id 4FA088FC12 for ; Sun, 2 Dec 2012 18:55:21 +0000 (UTC) Received: from [98.139.44.105] by nm10.access.bullet.mail.sp2.yahoo.com with NNFMP; 02 Dec 2012 18:55:15 -0000 Received: from [67.195.22.108] by tm10.access.bullet.mail.sp2.yahoo.com with NNFMP; 02 Dec 2012 18:55:15 -0000 Received: from [127.0.0.1] by smtp104.rog.mail.gq1.yahoo.com with NNFMP; 02 Dec 2012 18:55:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1354474515; bh=VLwHlumJWjFFupr6pIF0xlxk06eybdTqBhZcVDQG5T4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=J7JEwxJYaf91hNKP1zgQyBmw7dOX40p6gtHXbCbvh4jzZfj/aXJrDFfVRj4Zyl4ZH47w30LIQsGVsp1nwGoEnhKaLb0twEloUmTwv7W+ba956WWrl5QhLeOFjOieZl6KolBgTl3s1Zfu2NHJOmmPZ3fE/nrNhxn1PgSEm8eJveU= X-Yahoo-Newman-Id: 455062.42427.bm@smtp104.rog.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cH8ddygVM1kuq.qmzQNufH1xVLA4k7xWmAx_vu4BGCo5Y3G 9KMCpC0ln9cbIQcmEcGrhJHFHpnAgHEh7t9aCKK8wFiCMSN0LiUc1twaJlMs FyuItRIG1PyvOAppLWtLo7L3qTTIX1uzjSiYg0Aj6FD.Z7oRGyAX8uKJV8Nf qsKxpQtjln3it5XVIGFrtxOeR_y_zOxkzMZEUCR8.obVYirSX_dLzVLFX6jq WyLi2r4p3fTiqyIvvRwWg5En17xEPUvBYzYsHsALzvh3YbFursLc7048BUo9 4o.vkuGEfpT38excSo986dHpbEb_FmSqNLYX2FV1VGDVxPT2F_ft.MCoa0LQ 3boRhxWGlUINjOSKc4BW7d57iHbq9mTTjSBFPSFdzGHvze7w6OlatoNUL8VI nKHUnhZKKuLgDBaamw6tPbuHUj3HvbkXKlYuDrp2EzJMDOjhbuXOD5shf_PB NWWYrVS08lsoyscJ90yxT_CYLoXU- X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- Received: from europa (mike.jeays@174.114.6.223 with login) by smtp104.rog.mail.gq1.yahoo.com with SMTP; 02 Dec 2012 10:55:15 -0800 PST Date: Sun, 2 Dec 2012 13:55:14 -0500 From: Mike Jeays To: freebsd-questions@freebsd.org Subject: Re: Gnome Message-ID: <20121202135514.48279ec7@europa> In-Reply-To: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> References: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ren_pro@yahoo.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 18:55:21 -0000 On Sun, 2 Dec 2012 18:36:23 +0000 ren_pro@yahoo.com wrote: > Hello, I was wondering if you can use Gnome to run your FreeBSD server, instead of using let's say Direct Admin ? > If so, is there any literature on it ? > Thank you, > Sam Fasciano > Sent from my Verizon Wireless BlackBerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" You can use both Gnome and KDE, and just about any other desktop manager. See the handbook at http://www.freebsd.org/doc/handbook. Plenty of detail there. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 19:00:46 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5AEF7F1 for ; Sun, 2 Dec 2012 19:00:46 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 830628FC0C for ; Sun, 2 Dec 2012 19:00:46 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so2378323obc.13 for ; Sun, 02 Dec 2012 11:00:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZQLbajcIeN9xRBtkhHvS3Vp/6Xogv7t4oGZkJwSrDMs=; b=olqhBz1ZFvydQX5i95/oizsEX27PdiXaIVdbncFK+mpuqHB9Zf+QhU6MA37XEBLbCZ gLz9Bh1hszG/WOkKwvVRDvTnxRJb7ZmaKO6ogm3kxn700ZpY6cJj3KFYokacXMqgPWHz eaUeUhkGPTxaHZqEvLPQde2aRkzDk1/ra+nHh5oMr7jzDYRKBY7mraYYkuGMk3X7/k43 1+c5MqphAe8VxLNHoZPQMz/jCifVJVAo5cOC4IBCYM7QDN0QQ4SarMeQDJTI+C1H4qjL a8Qi0qCcho+gFAwQrSCSfnZRFUCPCcC7HAcjXYWJ7X7urzk28TciBsgvfAyFnJWXONyo z0Zw== MIME-Version: 1.0 Received: by 10.182.38.101 with SMTP id f5mr2630428obk.80.1354474845905; Sun, 02 Dec 2012 11:00:45 -0800 (PST) Received: by 10.60.38.104 with HTTP; Sun, 2 Dec 2012 11:00:45 -0800 (PST) In-Reply-To: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> References: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> Date: Sun, 2 Dec 2012 23:00:45 +0400 Message-ID: Subject: Re: Gnome From: Ilya Kazakevich To: ren_pro@yahoo.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 19:00:46 -0000 On Sun, Dec 2, 2012 at 10:36 PM, wrote: > Hello, I was wondering if you can use Gnome to run your FreeBSD server, > instead of using let's say Direct Admin ? > If so, is there any literature on it ? > Thank you, > Sam Fasciano > Sent from my Verizon Wireless BlackBerry > You can always install XOrg ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html) with any Desktop Environment like KDE, Gnome etc. But using GUI to manage your server is probably not very good idea:) Ilya. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 19:27:57 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC2AAD82 for ; Sun, 2 Dec 2012 19:27:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8672D8FC08 for ; Sun, 2 Dec 2012 19:27:57 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id F30333CBFA; Sun, 2 Dec 2012 20:27:55 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qB2JRvfF004179; Sun, 2 Dec 2012 20:27:57 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 2 Dec 2012 20:27:57 +0100 From: Polytropon To: ren_pro@yahoo.com Subject: Re: Gnome Message-Id: <20121202202757.63b8bb38.freebsd@edvax.de> In-Reply-To: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> References: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 19:27:57 -0000 On Sun, 2 Dec 2012 18:36:23 +0000, ren_pro@yahoo.com wrote: > Hello, I was wondering if you can use Gnome to run your FreeBSD > server, instead of using let's say Direct Admin ? Because servers often don't have screens and mice, and running X is often one of the last things they do, there aren't much solutions "to run" (I assume you mean: "to manage") a server. However, installing X and Gnome (as well as other desktop environments and window managers) is a simple task on FreeBSD. There are even GUI tools within those environments to allow you to do administration of software packages, networking and firewall, and many other things. However, the direct access to server functionality seems to be the preferred way admins work, because it is usually faster, more secure, better understandable and independent from additional software. Depending on your needs, different approaches may apply. > If so, is there any literature on it ? Check you The FreeBSD Handbook: Start with the basics of installing X and then dive into specific topics about the software you are going to run on Gnome. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 21:24:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4FAA7ED4 for ; Sun, 2 Dec 2012 21:24:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id EE6548FC14 for ; Sun, 2 Dec 2012 21:24:08 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfH1L-0000Ko-6P for freebsd-questions@freebsd.org; Sun, 02 Dec 2012 22:24:15 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 22:24:15 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 22:24:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: GNOME (was: Gnome) Date: Sun, 2 Dec 2012 21:23:50 +0000 (UTC) Lines: 12 Message-ID: References: <903053323-1354473384-cardhu_decombobulator_blackberry.rim.net-1104899043-@b11.c4.bise6.blackberry> <20121202135514.48279ec7@europa> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 21:24:09 -0000 On Sun, 02 Dec 2012 13:55:14 -0500, Mike Jeays wrote: > On Sun, 2 Dec 2012 18:36:23 +0000 ren_pro@yahoo.com wrote: > >> Hello, I was wondering if you can use Gnome to run your FreeBSD server, >> instead of using let's say Direct Admin ? >> If so, is there any literature on it ? > > You can use both Gnome and KDE, and just about any other desktop > manager. > True. I'm not sure why anyone competent would want to so, though. From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 21:51:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16F42758 for ; Sun, 2 Dec 2012 21:51:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id BC1478FC14 for ; Sun, 2 Dec 2012 21:51:45 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfHRx-0001Nw-F4 for freebsd-questions@freebsd.org; Sun, 02 Dec 2012 22:51:45 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 22:51:45 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Dec 2012 22:51:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: pkg upgrade? Date: Sun, 2 Dec 2012 21:51:21 +0000 (UTC) Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2012 21:51:46 -0000 Copied from terminal and pasted here: -------------------------------------------------------------- $ sudo pkg upgrade Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be upgraded: Upgrading gcc: 4.6.4.20121102 -> 4.6.4.20121123 The installation will free 1 GB 88 MB to be downloaded Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 6.0MB/s 00:13 Checking integrity... done Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ -------------------------------------------------------------- OK, fine. But what's this about 1GB being freed? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 01:40:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58B7970E for ; Mon, 3 Dec 2012 01:40:53 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0388FC08 for ; Mon, 3 Dec 2012 01:40:52 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 2 Dec 2012 17:40:53 -0800 Message-ID: <50BC0325.2080203@a1poweruser.com> Date: Sun, 02 Dec 2012 20:40:53 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: dual boot winxp & 9.1-rc3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Dec 2012 01:40:54.0048 (UTC) FILETIME=[3BAFAA00:01CDD0F7] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 01:40:53 -0000 On an old 20gb hard drive I first installed winxp on the first half of the HD. winxp booted fine. Then I installed 9.1-rc3 on the second half of the HD. Now when I boot the HD I only get 9.1-rc3. Winxp created mbr and installed winxp into first dos partition. 9.1-rc3 uses bsdinstall which uses gpart to create the slice as gpart show displays as see below... => 63 39862305 ada0 MBR (19G) 63 19928097 1 ntfs (9.5G) 19928160 19933137 2 freebsd [active] (9.5G) 39861297 1071 - free - (535k) => 0 19933137 ada0s2 BSD (9.5G) 0 18933760 1 freebsd-ufs (9.0G) 18933760 995328 2 freebsd-swap (486M) 19929088 4049 - free - (2M) Now I want to add BSD dual boot to the MBR. Is this all I need? fdisk -B -b /boot/boot0 ada From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 04:16:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C92B680 for ; Mon, 3 Dec 2012 04:16:33 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id E0D178FC12 for ; Mon, 3 Dec 2012 04:16:32 +0000 (UTC) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id 1BFDB324DD for ; Mon, 3 Dec 2012 04:24:42 +0000 (UTC) Message-ID: <50BC2796.5000708@growveg.net> Date: Mon, 03 Dec 2012 04:16:22 +0000 From: John User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Questions Subject: svn incantation for 9.1-RELEASE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 04:16:33 -0000 Hello list, At the moment, I get sources via a line like this: svn checkout svn://svn.freebsd.org/base/releng/9.1/ /usr/src Is this sufficient and correct to follow 9.1-RELEASE when it eventually comes out? Right now, building world from that checkout gives 9.1-RC3. thanks -- freebsd at growveg dot net From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 06:33:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE1DB5AB for ; Mon, 3 Dec 2012 06:33:04 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA138FC08 for ; Mon, 3 Dec 2012 06:33:04 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB36WuUW036202 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 06:32:56 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB36WuUW036202 Authentication-Results: smtp.infracaninophile.co.uk/qB36WuUW036202; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50BC4790.5010707@FreeBSD.org> Date: Mon, 03 Dec 2012 06:32:48 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, Walter Hurry Subject: Re: pkg upgrade? References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig99FC6DA04ED77089020EB917" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 06:33:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig99FC6DA04ED77089020EB917 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/12/2012 21:51, Walter Hurry wrote: > Copied from terminal and pasted here: > -------------------------------------------------------------- > $ sudo pkg upgrade > Updating repository catalogue > Repository catalogue is up-to-date, no need to fetch fresh copy > The following packages will be upgraded: >=20 > Upgrading gcc: 4.6.4.20121102 -> 4.6.4.20121123 >=20 > The installation will free 1 GB >=20 > 88 MB to be downloaded >=20 > Proceed with upgrading packages [y/N]: y > gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 6.0MB/s =20 > 00:13 =20 > Checking integrity... done > Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done > $ > -------------------------------------------------------------- > OK, fine. But what's this about 1GB being freed? That's what pkg has calculated as the change in disk space usage resulting from replacing one version by another. It certainly looks suspicious on the face of it: given the package size of 88MB and presuming the previous package wasn't orders of magnitude different in size it's hard to see where that size of change would come from. Do you still have the gcc-4.6.4.20121102 package around look in /var/cache/pkg/All)? Can you try pkg info -s -F gcc-4.6.4.20121102.txz and pkg info -s -F gcc-4.6.4.20121123.txz please? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig99FC6DA04ED77089020EB917 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC8R5cACgkQ8Mjk52CukIymWwCbBUdB5oITwL5lIxhBLNPNKXir /AgAn0ahvy4eyfxB5e39qKv1PbUBGAaS =nV49 -----END PGP SIGNATURE----- --------------enig99FC6DA04ED77089020EB917-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 07:42:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76407E92 for ; Mon, 3 Dec 2012 07:42:54 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id E0C468FC12 for ; Mon, 3 Dec 2012 07:42:53 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so2665420lbb.13 for ; Sun, 02 Dec 2012 23:42:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9FBBlPJEW9IeI+liTLeUMHt5KTiEFeuK+3lVPhFKTfk=; b=nkTfobl2hq4GN40gRjE3eTzW31Y4T/8VPGDt+Pde6OcW1RyIKMJ1kcPuJvJ9pqLSA9 1REpLKqj2iqhIpEhhPEit37DyYCgg7nLBcJNTmuU1OQxPHMmLeE+w7iOggCKyfZJO9x7 PuUoDfyLUG30lrRpN8BjMyBaWqcH3EAbU+teJFlEHIAFUcQxRyXlOJ7gw2NeLl34mfuH Cpt6lON3dQ5MB2e9conyfAGv1DVf8vHKi1yVYh8PM02aYyeS9IrPtTZ35No3R823l2Jk u0W5CDgErvq5DYXRmzWDyT2k4waYCbQ7ZqChM4OUc+1fg3ur9KCNCnADiHzTJ2uXHXEo /cgw== Received: by 10.152.104.50 with SMTP id gb18mr8709524lab.9.1354520572569; Sun, 02 Dec 2012 23:42:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.101.72 with HTTP; Sun, 2 Dec 2012 23:42:32 -0800 (PST) In-Reply-To: <50BC2796.5000708@growveg.net> References: <50BC2796.5000708@growveg.net> From: Christer Solskogen Date: Mon, 3 Dec 2012 08:42:32 +0100 Message-ID: Subject: Re: svn incantation for 9.1-RELEASE To: John Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 07:42:54 -0000 On Mon, Dec 3, 2012 at 5:16 AM, John wrote: > Hello list, > > At the moment, I get sources via a line like this: > > svn checkout svn://svn.freebsd.org/base/releng/9.1/ /usr/src > That one should give you 9.1-RELEASE. -- chs, From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 08:59:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56C7BDF4 for ; Mon, 3 Dec 2012 08:59:42 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 04EFE8FC0C for ; Mon, 3 Dec 2012 08:59:41 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 3YFKs31fKpz3DNPt for ; Mon, 3 Dec 2012 09:59:35 +0100 (CET) X-DKIM: OpenDKIM Filter v2.5.2 hp9.esiee.fr 3YFKs31fKpz3DNPt DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1354525175; bh=U/K5uWw+UPvlowq0I9WkRKsnZNwtUX+aoB05BBRrWO0=; h=Date:From:To:Subject; b=klFBAYGbj8TWMYOmIz2TXlUztnCrYSwhZnKnoTVR+7lb2K2qd18APLRH3dcKFS0GF xzHNCvIiDPYz3pPQ9DNleBObEphGvdkLFOo5slBk1goe/U8XN3dNBwd3pF1aAiDR+u v87L8N7LRjwOQoOV2++UJg5REoR7y/e/cpXBo6a0= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 3YFKs30w9vzYmjh for ; Mon, 3 Dec 2012 09:59:35 +0100 (CET) Received: from smtps.esiee.fr (smtps.esiee.fr [147.215.1.29]) by mail.esiee.fr (Postfix) with ESMTP id 3YFKs3085TzYmjl for ; Mon, 3 Dec 2012 09:59:35 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by smtps.esiee.fr (Postfix) with ESMTPSA id 3YFKs26X0xz1btg6 for ; Mon, 3 Dec 2012 09:59:34 +0100 (CET) Message-ID: <50BC69F6.1080903@esiee.fr> Date: Mon, 03 Dec 2012 09:59:34 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: NFS client over private network Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 08:59:42 -0000 Hello I have some trouble on a mail server running 9.0-RELEASE-p3 Last week I set up a NFS mounted partition containing 1 Tb of IMAP folders the NFS mount is done through a private network link on a dedicated giga ethernet link with the following config : 10.0.0.1/24 <--> 10.0.0.2/24 mailhub NFS NetAPP 3210 server I use MBOX format on this server ( Postfix + Dovecot 2 ) Since I used this configuration a lock problem occured on some INBOXes here is an example of the problem. Nov 30 23:59:26 mail postfix/local[35280]: 3YCr470N6MzYmp0: to=, orig_to=, relay=local, delay=1527, delays=1470/39/0/19, dsn=4.2.0, status=deferred (cannot update mailbox /var/mail/xxx for user xxx. unable to lock for exclusive access: Resource temporarily unavailable) I don't think Postfix or Dovecot are responsible because when I do not use the "private" NFS link this does not happen ... I mean when the partition is NFS mounted with public IP addess. Thanks for any info if you have some ... From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 09:11:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96B63118 for ; Mon, 3 Dec 2012 09:11:52 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 64E7A8FC13 for ; Mon, 3 Dec 2012 09:11:52 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id n2so1190995dad.13 for ; Mon, 03 Dec 2012 01:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=uW3dKiTiOplyiz9MwreMmbSuJYRFMpuG0bvrq3/sAMo=; b=jtH3gOqOVd4zsiMMMwOXR8nZbpjcQFkYRbJzOAUgipgJdAzAYU4xkGzlUtiT1TlN4l nXvHxeKYDV4bMim1yRkhwbWzvm5qYE8IPMQHQMUml/dPfc66++N1ZSvk1xBiWoJwLPgM u02QaTjFOxXfLJ0B89yritNfh3V6pFYiJIToh/4im/cT6ZeLJn4dtYqJXwzGyaJFdm4O lwFo6cq6BTxzJPKpXyMTE4BdOeawKAeqyUg93OoJ/BVSxCqYR/S4bF+d4elSyN/uBv/k omCzSIiqFq5eD0wJ57nOjWFXmSj2ALEYZLX5y8m37ZHXnlxb8aBBisL8quloiAmD7X58 ZnvQ== MIME-Version: 1.0 Received: by 10.68.248.70 with SMTP id yk6mr27108923pbc.160.1354525906104; Mon, 03 Dec 2012 01:11:46 -0800 (PST) Sender: olivier2553@gmail.com Received: by 10.68.22.41 with HTTP; Mon, 3 Dec 2012 01:11:45 -0800 (PST) In-Reply-To: <50BC69F6.1080903@esiee.fr> References: <50BC69F6.1080903@esiee.fr> Date: Mon, 3 Dec 2012 16:11:45 +0700 X-Google-Sender-Auth: 4TuTRpQz2AHa0qN2lI9Hn7K71Ec Message-ID: Subject: Re: NFS client over private network From: Olivier Nicole To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 09:11:52 -0000 Hi, > I have some trouble on a mail server running 9.0-RELEASE-p3 > > Last week I set up a NFS mounted partition containing 1 Tb of IMAP folders > the NFS mount is done through a private network link on a dedicated giga > ethernet link with the following config : > > 10.0.0.1/24 <--> 10.0.0.2/24 > mailhub NFS NetAPP 3210 server > > I use MBOX format on this server ( Postfix + Dovecot 2 ) There is something somewhere saying "don't use mbox format on NFS". It's simply wont work. It may work, but someday you'll face some issue. Time to change for maildir format :) Bon courage. Olivier > > Since I used this configuration a lock problem occured on some INBOXes > here is an example of the problem. > > > Nov 30 23:59:26 mail postfix/local[35280]: 3YCr470N6MzYmp0: > to=, orig_to=, relay=local, delay=1527, > delays=1470/39/0/19, dsn=4.2.0, status=deferred (cannot update mailbox > /var/mail/xxx for user xxx. unable to lock for exclusive access: Resource > temporarily unavailable) > > I don't think Postfix or Dovecot are responsible because when I do not use > the "private" NFS link this does not happen ... I mean when the partition is > NFS > mounted with public IP addess. > > Thanks for any info if you have some ... > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 09:23:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D0ED41D for ; Mon, 3 Dec 2012 09:23:26 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 38D098FC0C for ; Mon, 3 Dec 2012 09:23:26 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 3YFLNY1SMCz3DNds; Mon, 3 Dec 2012 10:23:25 +0100 (CET) X-DKIM: OpenDKIM Filter v2.5.2 hp9.esiee.fr 3YFLNY1SMCz3DNds DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1354526605; bh=CeNyUXZ2v5ZKOoHLITfpjDGeO/WSft1PBBDgfEcOz5E=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=LBXcZrLt8T+eW7iXDJxvF23tmpPh7H80yKjFwpbrtpei9f0AxwLA6/cALO3n7Kyf0 k1iB+Z5QmnwzCpNheTsY1JBrmQSbSOMswPFtjZxKchF2EgeEK0hVeWyOd3Yfd+HGj8 BR5VyC+mE944KpvpwLB1b/2Vc1eEeec83yqHxhhY= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 3YFLNY0jTMzYmXB; Mon, 3 Dec 2012 10:23:25 +0100 (CET) Received: from smtps.esiee.fr (smtps.esiee.fr [147.215.1.29]) by mail.esiee.fr (Postfix) with ESMTP id 3YFLNX70JgzYkkx; Mon, 3 Dec 2012 10:23:24 +0100 (CET) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by smtps.esiee.fr (Postfix) with ESMTPSA id 3YFLNX66YRz1btg6; Mon, 3 Dec 2012 10:23:24 +0100 (CET) Message-ID: <50BC6F8C.3040900@esiee.fr> Date: Mon, 03 Dec 2012 10:23:24 +0100 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Olivier Nicole Subject: Re: NFS client over private network References: <50BC69F6.1080903@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 09:23:26 -0000 On 12/03/2012 10:11 AM, Olivier Nicole wrote: > Hi, > >> I have some trouble on a mail server running 9.0-RELEASE-p3 >> >> Last week I set up a NFS mounted partition containing 1 Tb of IMAP folders >> the NFS mount is done through a private network link on a dedicated giga >> ethernet link with the following config : >> >> 10.0.0.1/24 <--> 10.0.0.2/24 >> mailhub NFS NetAPP 3210 server >> >> I use MBOX format on this server ( Postfix + Dovecot 2 ) > There is something somewhere saying "don't use mbox format on NFS". > It's simply wont work. It may work, but someday you'll face some > issue. > > Time to change for maildir format :) > > Bon courage. > > Olivier A mbox --> maildir convertion on this server will take ~24 hours ... I cannot stop it so long for now ( I have to wait until holidays ... ) >> Since I used this configuration a lock problem occured on some INBOXes >> here is an example of the problem. >> >> >> Nov 30 23:59:26 mail postfix/local[35280]: 3YCr470N6MzYmp0: >> to=, orig_to=, relay=local, delay=1527, >> delays=1470/39/0/19, dsn=4.2.0, status=deferred (cannot update mailbox >> /var/mail/xxx for user xxx. unable to lock for exclusive access: Resource >> temporarily unavailable) >> >> I don't think Postfix or Dovecot are responsible because when I do not use >> the "private" NFS link this does not happen ... I mean when the partition is >> NFS >> mounted with public IP addess. >> >> Thanks for any info if you have some ... >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 12:31:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 044536EF for ; Mon, 3 Dec 2012 12:31:22 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id B39DD8FC18 for ; Mon, 3 Dec 2012 12:31:21 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so3081341obc.13 for ; Mon, 03 Dec 2012 04:31:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/nW1Wn5zAGCGuHCma+IW94JTObQsygeQ5ix2nC3fBU4=; b=gE5jrgE3q9Pc1H3kVB915bGlPJZwlR7siki5HaklPb+DJBvN/NNFhNAvlLmcGwoYvA OZA/MyGHj4kQh8p/sV0gr426ez05Rl80OxY+DiFWtP4cbvXsr6G8l0tyw69MmUxTjnMV CztyWlQcdpi4+9lZWxGKLNETnUW++0BuNlNV/TXyeC3W6qsutJSyVOpsOMxGJdeU7p3q Yx49w74u/8JONt42Y0NwRiAnOuLXJlwoogmOxOOMZkNNHrXCbNNKETA5VMQEYj1BIAmB JpnUSRdpyjzH/41f4VAIqZT5MCFFzcjdbagT8UM1zzkRB0lMcT9QjE3B8bE8pv/NG6Q3 JN2w== MIME-Version: 1.0 Received: by 10.182.18.165 with SMTP id x5mr4279930obd.73.1354537880942; Mon, 03 Dec 2012 04:31:20 -0800 (PST) Received: by 10.60.38.104 with HTTP; Mon, 3 Dec 2012 04:31:20 -0800 (PST) In-Reply-To: <50BC0325.2080203@a1poweruser.com> References: <50BC0325.2080203@a1poweruser.com> Date: Mon, 3 Dec 2012 16:31:20 +0400 Message-ID: Subject: Re: dual boot winxp & 9.1-rc3 From: Ilya Kazakevich To: Fbsd8 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 12:31:22 -0000 On Mon, Dec 3, 2012 at 5:40 AM, Fbsd8 wrote: > On an old 20gb hard drive I first installed winxp on the first half of the > HD. winxp booted fine. Then I installed 9.1-rc3 on the second half of the > HD. Now when I boot the HD I only get 9.1-rc3. Winxp created mbr and > installed winxp into first dos partition. 9.1-rc3 uses bsdinstall which > uses gpart to create the slice as gpart show displays as see below... > > => 63 39862305 ada0 MBR (19G) > 63 19928097 1 ntfs (9.5G) > 19928160 19933137 2 freebsd [active] (9.5G) > 39861297 1071 - free - (535k) > > => 0 19933137 ada0s2 BSD (9.5G) > 0 18933760 1 freebsd-ufs (9.0G) > 18933760 995328 2 freebsd-swap (486M) > 19929088 4049 - free - (2M) > > Now I want to add BSD dual boot to the MBR. > Is this all I need? > > fdisk -B -b /boot/boot0 ada > > Yes, you should install "bootmanager" (boot0) to the MBR of your HDD. You probably better use boot0cfg (man boot0cfg ) BTW you could also use windows boot manager (fetch MBS and configure boot.ini to work with it) but boot0 is, probably, better. Ilya. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 12:31:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 863147A9 for ; Mon, 3 Dec 2012 12:31:56 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05C5C8FC1C for ; Mon, 3 Dec 2012 12:31:55 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so2808949lah.13 for ; Mon, 03 Dec 2012 04:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=oi2axjiIf5Ez3YztD1xQyvhEbjTw2X+MG8UKrTvIuJY=; b=PSowtCqfTfvwovfjgYOhj3QaM3FNDUszSCTuANjq0UBuzrerDsxmBBv1MKwNpl1fQ0 4hS9af7zSx05lEQFmBXINVNrScpVd6cR3L5gw/PcsKfrrKgNIDSgoyVIo52yrfl8ktto aBSr/IThAF24pY6u6HiGSq4kN6xDtfTzxXcoskGAQU6gX5Wpgd2DgND7l3p29FRhZHL5 D8JIc4EFMmTlYa6nao0CDYOm96eDN5tBtMfn2LsbiOGXmMMUyNu9n5tTjzLRlD1JwNhf o75Ab6ixfcIltOsMRr3tffdERuE6nEhUQc1oM17dGwaJfWghKzpJRVxQLRbZ0WTNwNYn lBBA== MIME-Version: 1.0 Received: by 10.112.11.68 with SMTP id o4mr1158164lbb.128.1354537914764; Mon, 03 Dec 2012 04:31:54 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Mon, 3 Dec 2012 04:31:54 -0800 (PST) Date: Mon, 3 Dec 2012 07:31:54 -0500 X-Google-Sender-Auth: vvJZRjA1U6YQtxAcrM37GvMHAvY Message-ID: Subject: gpart and FreeBSD 8.x From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 12:31:56 -0000 For anyone interested, Posted a new blog with regards to gpart on FreeBSD 8.x (with a link to one of Warren's blog posts): http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 12:49:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFC209CB for ; Mon, 3 Dec 2012 12:49:13 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1A48FC15 for ; Mon, 3 Dec 2012 12:49:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoMCAK2evFCkD30E/2dsb2JhbAANN4YshV+CTLE/gxEBAQEEI1URCxgJFgsCAgkDAgECAUUTCAEBiBirEHCJCYkIjECBGoIUgRMDjn+BIYZ9hDyNYg Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 03 Dec 2012 13:49:04 +0100 Message-ID: <50BC9FC0.5080303@ulb.ac.be> Date: Mon, 03 Dec 2012 13:49:04 +0100 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:12.0) Gecko/20120503 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: gpart and FreeBSD 8.x References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------060201060005040602080209" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 12:49:13 -0000 This is a multi-part message in MIME format. --------------060201060005040602080209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/03/2012 13:31, Rick Miller wrote: > For anyone interested, Posted a new blog with regards to gpart on > FreeBSD 8.x (with a link to one of Warren's blog posts): > > http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ gpart is in BASE on 8.x so there is nothing to install -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------060201060005040602080209-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 12:55:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CFD3B89 for ; Mon, 3 Dec 2012 12:55:23 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1A81C8FC14 for ; Mon, 3 Dec 2012 12:55:22 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so2957287lbb.13 for ; Mon, 03 Dec 2012 04:55:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=cyM9LH0dRbjXWU+DTDaDfGD+ybucjzpeGaf2976giK0=; b=kowRMkzro3biQi88REi0o0KRYXAvzQ8+zVi6mzJO04hXnR6hAUFgStond3xITWfftB VPzJFn5h5F5HYxXEJ3JZYj1psVSikrXASzPp1kZnqDLoP6wKAN6nw//vsP6ogj8cnQHo oHsGUKWkCxaQDGEoCbQNgiHh277z0EBj57l0R8zLhhOCOXL8KkdREVXBdKvqUhbp0Vjf qg/e1JB+oi9edmyZypxmzzWF292dUdxcY/rtb9M9UvzB4yxQvojfPAqyHlrq5yNSXLYI JbzLGOFVHtC3q6oJJC8KWL/cOdIw69X+qD/OmY2CCXM7hPTKBgLvP4CyTz0KncdzBf5V 1xsg== MIME-Version: 1.0 Received: by 10.152.108.197 with SMTP id hm5mr9379045lab.45.1354539316029; Mon, 03 Dec 2012 04:55:16 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Mon, 3 Dec 2012 04:55:15 -0800 (PST) In-Reply-To: <50BC9FC0.5080303@ulb.ac.be> References: <50BC9FC0.5080303@ulb.ac.be> Date: Mon, 3 Dec 2012 07:55:15 -0500 X-Google-Sender-Auth: -11tmsYsu7jHYpU4Awp7XIss_Zw Message-ID: Subject: Re: gpart and FreeBSD 8.x From: Rick Miller To: Julien Cigar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 12:55:23 -0000 On Mon, Dec 3, 2012 at 7:49 AM, Julien Cigar wrote: > > gpart is in BASE on 8.x so there is nothing to install > Thanks, Julien! I added a comment to this effect on the post! -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 13:12:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BF99CA for ; Mon, 3 Dec 2012 13:12:49 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4CE358FC08 for ; Mon, 3 Dec 2012 13:12:49 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id j15so1390364qaq.13 for ; Mon, 03 Dec 2012 05:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=+U86NK9U4SyYy8V1eBW83ONWQNmFOO7t8s9LFIC2TvM=; b=sGfmZ0Fb5CiDrXcFu/+V/gtDge61TJeBwnaxuAjXkw83mW8Ia69RaOwec3yOjD59wN ENfk7eCS4QKVmXW3/X+3nK4QMyCWWDzuaHLsOL5Zc4RvkWhN5D+FkoeNiKcDbwJDGynm LvEqLddql6jKd7uqXqVoBLPcUP/N3iS52rjNEmbyCmJkFsBNpelmA+0F1jhq9oqq5X2w M9m8syCd38DsmL/ltogzyUxsnIGye4WrnoGNwKYRmDP7FhZ0nOcjQOjyIOUaVfVYmyKe Y4qOXNwQwD8XP5UY2X/Di4y1DLWyvw8IdpfEARMH2Pygcv6IHqFTBiBZwVg2T8hxPm6w KFOg== Received: by 10.224.59.197 with SMTP id m5mr17288825qah.4.1354540368386; Mon, 03 Dec 2012 05:12:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.49.105.71 with HTTP; Mon, 3 Dec 2012 05:12:07 -0800 (PST) From: saeedeh motlagh Date: Mon, 3 Dec 2012 16:42:07 +0330 Message-ID: Subject: redirect incoming telnet to com port To: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 13:12:49 -0000 hello everybody i have freebsd8.2. i want to redirect incoming telnet from telnet port to a com port. i mean if somebody telnet to my system with a specific port (or 22 which is default telnet port), connect to com port and can talk to modem (something like cisco). is it possible or not? any hints or comments are really appreciated. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 13:23:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E63917BC for ; Mon, 3 Dec 2012 13:23:39 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 653CA8FC13 for ; Mon, 3 Dec 2012 13:23:39 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so3142168obc.13 for ; Mon, 03 Dec 2012 05:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m5ffnLaa7ayh0ofBsJHka1z4UZHugAAnzyTP/hiG+ao=; b=M5rHl9Tm5G1o5Iz0d/LWgHfGEmV+H35t9/P4AhU3Xowbs2fx6qSc9hGromsWmPUK+S inh7NA1O/ivRvOWR76jIqyt256uHYPSXVaETs3VgMUpy228JPnz0n4osfAbq1gQTj7on fxqF8JlbRtsOqUG2wf1IPuekkqmLARU/W2kXgnw9zeltqyrKcGKC6+XjcLQSJnaPoBxR nFM5ls1wJvz1tM0YS3MMZSeyfZ07WS6I7OLCZWmtNAW/rEYqmegGgbMH3A9/PUSJg3Bn JnJdIcZ3Ze+U13dKnPOHTaTdw9k67QXpLYDKJeXL3DoCgTeDnkNjyzmv0FeWvsUCRSYf 99SQ== MIME-Version: 1.0 Received: by 10.60.168.199 with SMTP id zy7mr8014434oeb.97.1354541018812; Mon, 03 Dec 2012 05:23:38 -0800 (PST) Received: by 10.60.38.104 with HTTP; Mon, 3 Dec 2012 05:23:38 -0800 (PST) In-Reply-To: References: Date: Mon, 3 Dec 2012 17:23:38 +0400 Message-ID: Subject: Re: redirect incoming telnet to com port From: Ilya Kazakevich To: saeedeh motlagh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 13:23:40 -0000 hello everybody > > i have freebsd8.2. i want to redirect incoming telnet from telnet port to > a com port. i mean if somebody telnet to my system with a specific port (or > 22 which is default telnet port), connect to com port and can talk to modem > (something like cisco). > > is it possible or not? > > any hints or comments are really appreciated. > Are your talking about "reverse telnet" cisco functionality? Try to use comserv: http://www.freebsd.org/cgi/ports.cgi?query=comserv&stype=all ".Additionally, comservd can serve up local serial ports to remote systems..." Ilya. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 13:24:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11C1B86C for ; Mon, 3 Dec 2012 13:24:45 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id BFF3E8FC0C for ; Mon, 3 Dec 2012 13:24:44 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id qB3DOcuQ010130 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 07:24:38 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id qB3DObK7043409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 07:24:37 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id qB3DOblB043408; Mon, 3 Dec 2012 07:24:37 -0600 (CST) (envelope-from dan) Date: Mon, 3 Dec 2012 07:24:37 -0600 From: Dan Nelson To: saeedeh motlagh Subject: Re: redirect incoming telnet to com port Message-ID: <20121203132437.GA18331@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.3-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Mon, 03 Dec 2012 07:24:38 -0600 (CST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 13:24:45 -0000 In the last episode (Dec 03), saeedeh motlagh said: > hello everybody > > i have freebsd8.2. i want to redirect incoming telnet from telnet port to > a com port. i mean if somebody telnet to my system with a specific port > (or 22 which is default telnet port), connect to com port and can talk to > modem (something like cisco). (Port 23 is telnet, btw. Port 22 is ssh) > is it possible or not? There are probably a dozen ports that do this, all in the comms category of the ports tree. You can choose anything from a dumb telnet interface with no line control (comserv, ser2net, tcpser), to a RFC-2217 interface that gives you full low-level control over a remote serial port (sredird), to a "managed" system like with optional encryption and per-user access control (conserver). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 14:45:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A1FD989 for ; Mon, 3 Dec 2012 14:45:01 +0000 (UTC) (envelope-from long@rule.lv) Received: from mx1.rule.lv (ns1.rule.lv [91.142.1.7]) by mx1.freebsd.org (Postfix) with ESMTP id F019F8FC0C for ; Mon, 3 Dec 2012 14:44:59 +0000 (UTC) Received: from mail.omv.lv (unknown [127.0.0.10]) by mx1.rule.lv (Postfix) with ESMTP id 26E7EDADC28 for ; Mon, 3 Dec 2012 16:35:16 +0200 (EET) X-Virus-Scanned: amavisd-new at mail.omv.lv Received: from mx1.rule.lv ([127.0.0.10]) by mail.omv.lv (mail.omv.lv [127.0.0.10]) (amavisd-new, port 10024) with LMTP id G7vrSZWNFGga for ; Mon, 3 Dec 2012 16:35:15 +0200 (EET) Received: from m.rule.lv (unknown [127.0.0.10]) by mx1.rule.lv (Postfix) with ESMTP id D7116DADC23 for ; Mon, 3 Dec 2012 16:35:15 +0200 (EET) Received: from 144.36.114.84 (SquirrelMail authenticated user long@rule.lv) by mail.rule.lv with HTTP; Mon, 3 Dec 2012 16:35:15 +0200 (EET) Message-ID: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Date: Mon, 3 Dec 2012 16:35:15 +0200 (EET) Subject: bash pipe redirection gets stuck From: long@rule.lv To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 14:45:01 -0000 Dear all, I stumbled upon a problem where multiple pipe redirection occasionally get stuck when trying to get sha256 sum of a stream. You can try to reproduce the problem if you have /usr/ports/shells/bash installed (output redirection used in this command is possible only in bash). Create temporary test file with command: "dd if=/dev/urandom of=/tmp/file1 bs=1k count=10" And the command I'm using is: /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status Command gets stuck about once in 20 executions. top output when command gets stuck (irrelevant processes removed): PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 84073 HappyUser 1 52 0 17612K 2268K wait 0 0:00 0.00% bash 84154 HappyUser 1 52 0 10084K 844K fifoow 1 0:00 0.00% tee And more strangely, I can reproduce this problem on 9.0-RELEASE and 7.4-RELEASE-p6, but couldn't reproduce on 8.2-RELEASE-p4. Thanks for any pointers/explanations, Normunds From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 15:35:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6966C640 for ; Mon, 3 Dec 2012 15:35:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 05E808FC0C for ; Mon, 3 Dec 2012 15:35:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfY38-0006We-Nd for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 16:35:14 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 16:35:14 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 16:35:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 15:34:51 +0000 (UTC) Lines: 110 Message-ID: References: <50BC4790.5010707@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 15:35:08 -0000 On Mon, 03 Dec 2012 06:32:48 +0000, Matthew Seaman wrote: > On 02/12/2012 21:51, Walter Hurry wrote: >> Copied from terminal and pasted here: >> -------------------------------------------------------------- >> $ sudo pkg upgrade Updating repository catalogue Repository catalogue >> is up-to-date, no need to fetch fresh copy The following packages will >> be upgraded: >> >> Upgrading gcc: 4.6.4.20121102 -> 4.6.4.20121123 >> >> The installation will free 1 GB >> >> 88 MB to be downloaded >> >> Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz >> 100% 88MB 6.8MB/s 6.0MB/s 00:13 Checking integrity... done >> Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ >> -------------------------------------------------------------- >> OK, fine. But what's this about 1GB being freed? > > That's what pkg has calculated as the change in disk space usage > resulting from replacing one version by another. It certainly looks > suspicious on the face of it: given the package size of 88MB and > presuming the previous package wasn't orders of magnitude different in > size it's hard to see where that size of change would come from. > > Do you still have the gcc-4.6.4.20121102 package around look in > /var/cache/pkg/All)? Can you try > > pkg info -s -F gcc-4.6.4.20121102.txz > > and > > pkg info -s -F gcc-4.6.4.20121123.txz > > please? > Curiouser and curiouser. This is from another machine, with gcc not yet upgraded but otherwise identical: -------------------------------------------------------------- $ cd /var/cache/pkg $ cd All cd: All: No such file or directory $ ls -l gcc* -rw------- 1 root wheel 92395460 29 Nov 15:22 gcc-4.6.4.20121102.txz -rw------- 1 root wheel 4360 29 Nov 15:32 gccmakedep-1.0.2.txz $ sudo pkg info -s -F gcc-4.6.4.20121102.txz gcc-4.6.4.20121102 flat size is: 0 B gcc-4.6.4.20121102 package size is: 0 B $ cd /var/db/pkg $ sqlite3 local.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select version, flatsize from packages where name = 'gcc'; 4.6.4.20121102|596779179 sqlite> .quit $ sqlite3 repo.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select version, pkgsize, flatsize from packages where name = 'gcc'; 4.6.4.20121102|92395460|596779179 sqlite> .quit $ sudo pkg update Updating repository catalogue repo.txz 100% 261KB 260.9KB/s 260.9KB/s 00:00 $ sqlite3 repo.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select version, pkgsize, flatsize from packages where name = 'gcc'; 4.6.4.20121123|92316676|595326810 sqlite> .quit $ sudo pkg upgrade Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be upgraded: Upgrading gcc: 4.6.4.20121102 -> 4.6.4.20121123 The installation will free 1 GB 88 MB to be downloaded Proceed with upgrading packages [y/N]: y gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 10.7MB/s 00:13 Checking integrity... done Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done $ sqlite3 local.sqlite SQLite version 3.7.14.1 2012-10-04 19:37:12 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> select version, flatsize from packages where name = 'gcc'; 4.6.4.20121123|595326810 sqlite> .quit $ cd /var/cache/pkg $ ls -l gcc* -rw------- 1 root wheel 92395460 29 Nov 15:22 gcc-4.6.4.20121102.txz -rw------- 1 root wheel 92316676 3 Dec 14:46 gcc-4.6.4.20121123.txz -rw------- 1 root wheel 4360 29 Nov 15:32 gccmakedep-1.0.2.txz $ sudo pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 flat size is: 0 B gcc-4.6.4.20121123 package size is: 0 B $ From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 15:50:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C0F2C0E for ; Mon, 3 Dec 2012 15:50:08 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id BF3148FC08 for ; Mon, 3 Dec 2012 15:50:07 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB3FnnrT045661 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 15:50:03 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB3FnnrT045661 Authentication-Results: smtp.infracaninophile.co.uk/qB3FnnrT045661; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50BCCA1C.7010800@freebsd.org> Date: Mon, 03 Dec 2012 15:49:48 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 15:50:08 -0000 On 03/12/2012 15:34, Walter Hurry wrote: > $ sudo pkg info -s -F gcc-4.6.4.20121102.txz > gcc-4.6.4.20121102 flat size is: 0 B > gcc-4.6.4.20121102 package size is: 0 B Ah. It turns out that querying any pkgng package directly for its installed size always returns 0 at the moment. You'ld need to use the repo catalogue to get some sort of reasonable answer. I can't remember off hand if pkgs are meant to know what their installed size is; will look into that tonight after work. Recommend to use pkg search for querying repo catalogues rather than using sqlite directly, but whatever. Seems there is clearly a bug in calculating the change in disk space usage -- looks like it's added the 500MB flatsize of both package versions together rather than subtracting. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 16:14:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 196182EF for ; Mon, 3 Dec 2012 16:14:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id B94C78FC15 for ; Mon, 3 Dec 2012 16:14:28 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfYfF-0006co-5n for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 17:14:37 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 17:14:37 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 17:14:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 16:14:08 +0000 (UTC) Lines: 26 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 16:14:29 -0000 On Mon, 03 Dec 2012 15:49:48 +0000, Matthew Seaman wrote: > On 03/12/2012 15:34, Walter Hurry wrote: >> $ sudo pkg info -s -F gcc-4.6.4.20121102.txz gcc-4.6.4.20121102 flat >> size is: 0 B gcc-4.6.4.20121102 package size is: 0 B > > Ah. It turns out that querying any pkgng package directly for its > installed size always returns 0 at the moment. You'ld need to use the > repo catalogue to get some sort of reasonable answer. I can't remember > off hand if pkgs are meant to know what their installed size is; will > look into that tonight after work. < snip > Thanks, Matthew. pkg query against the .txz file in the cache appears to work though, as does pkg info against the installed package: --------------------------------------------------------------- $ pwd /var/cache/pkg $ sudo pkg query -F gcc-4.6.4.20121123.txz %sh 567 MB $ pkg info -s gcc gcc-4.6.4.20121123 size is: 567 MB $ --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 16:30:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37066670 for ; Mon, 3 Dec 2012 16:30:50 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id C160F8FC17 for ; Mon, 3 Dec 2012 16:30:49 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id e5so454284ggh.13 for ; Mon, 03 Dec 2012 08:30:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=v+PGw+XXzd6nLIMjRi7UAZbTpd2da25ItiQgAZfryIc=; b=he35Bb3AvPFqFzj9tiKwfSLif4hRV6DcjBcZrZBFUc6WMRuCIiSsCL9pghkLkF7obN V32iEFSZV5SBaJeZUroJr23791vtT2nLHKn2m79nDvg6Qo/Jr2Fxr5eJaqEFRMUewUnP /N2I0U9nyuU868AEJLMDV839+XV44iJsMZ4Xs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=v+PGw+XXzd6nLIMjRi7UAZbTpd2da25ItiQgAZfryIc=; b=WKL7ETVng9zkIbPJDppndKVQrtIQYBK27j8pfqtzOUi9+CwcBnEtG0okP6j/77sDUx 7eutk8LQ1kuc4y2+SK+eixleQfVHdEWbhXMzAWveAoBN/6nTUJNBzFqmYQcTZT7YeimP V2SIj86OChDMDGJQZkGQSdandXhGmGPFEXO/Q8fIAhsfLr8kqx9Fiw19qaaRn4GjeKUH vmvHTjK8he6lYfLYQjBBXqFOkZlveh56PhFtC+KSK2aOvcUfNJttby63p7TcOF6rpurE Br9gPLHxjNIGKmaHz8E8DY2d7ZVspljJkDpKRQIa7Vu8HgXFKIt0NpD8g1Z1s6LtduWb AfbQ== Received: by 10.236.74.198 with SMTP id x46mr11294856yhd.72.1354552248789; Mon, 03 Dec 2012 08:30:48 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id u49sm13455747yhd.18.2012.12.03.08.30.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2012 08:30:47 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3YFWsd5kBmz2CG4D for ; Mon, 3 Dec 2012 11:30:45 -0500 (EST) Date: Mon, 3 Dec 2012 11:30:45 -0500 From: Jerry To: FreeBSD Subject: Re: bash pipe redirection gets stuck Message-ID: <20121203113045.02972ed0@scorpio> In-Reply-To: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlTAK6Rh4d3UlJf8S/ssBSB5EIxUIIqO9klivKusD2VMs2y7qD5rVwPU7DorF0Gs0bpk8pW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 16:30:50 -0000 On Mon, 3 Dec 2012 16:35:15 +0200 (EET) long@rule.lv articulated: > Dear all, > I stumbled upon a problem where multiple pipe redirection > occasionally get stuck when trying to get sha256 sum of a stream. > > You can try to reproduce the problem if you > have /usr/ports/shells/bash installed (output redirection used in > this command is possible only in bash). > Create temporary test file with command: "dd if=/dev/urandom > of=/tmp/file1 bs=1k count=10" > And the command I'm using is: > /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > > /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status > > Command gets stuck about once in 20 executions. > top output when command gets stuck (irrelevant processes removed): > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND 84073 HappyUser 1 52 0 17612K 2268K wait 0 > 0:00 0.00% bash 84154 HappyUser 1 52 0 10084K 844K fifoow > 1 0:00 0.00% tee > > And more strangely, I can reproduce this problem on 9.0-RELEASE and > 7.4-RELEASE-p6, but couldn't reproduce on 8.2-RELEASE-p4. > > Thanks for any pointers/explanations, > Normunds For starters, what version of Bash? FreeBSD is still a few patches behind the current patch level, so that is also a possibility. I would suggest you visit: , subscribe to the list and then ask your question . -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Communicate! It can't make things any worse. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 17:45:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC8E9589 for ; Mon, 3 Dec 2012 17:45:29 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 66ADA8FC13 for ; Mon, 3 Dec 2012 17:45:28 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id qB3Hkr2o092489; Mon, 3 Dec 2012 11:46:53 -0600 (CST) Date: Mon, 3 Dec 2012 11:46:53 -0600 (CST) From: Robert Bonomi Message-Id: <201212031746.qB3Hkr2o092489@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, saeedeh.motlagh@gmail.com Subject: Re: redirect incoming telnet to com port In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 17:45:29 -0000 > From owner-freebsd-questions@freebsd.org Mon Dec 3 07:14:37 2012 > From: saeedeh motlagh > Date: Mon, 3 Dec 2012 16:42:07 +0330 > Subject: redirect incoming telnet to com port > To: freebsd-questions > > hello everybody > > i have freebsd8.2. i want to redirect incoming telnet from telnet port to > a com port. i mean if somebody telnet to my system with a specific port (or > 22 which is default telnet port), connect to com port and can talk to modem > (something like cisco). > > is it possible or not? Possible, yes, but you do NOT want to do it THAT way. It bypasses all system access controls. set up a special purpose userid with a login script that runs a terminal program (via 'exec') like kermit with a start-up script for that program that selects the proper port and then sets the needed serial settings, and goes into 'connect' mode. whed they exit the terminal session, they're automatically logged off the system. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 17:56:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 660B372D for ; Mon, 3 Dec 2012 17:56:12 +0000 (UTC) (envelope-from frank@undermydesk.org) Received: from amazone.undermydesk.org (amazone.undermydesk.org [213.211.198.100]) by mx1.freebsd.org (Postfix) with ESMTP id 142598FC0C for ; Mon, 3 Dec 2012 17:56:11 +0000 (UTC) Received: from amazone.undermydesk.org (localhost [127.0.0.1]) by amazone.undermydesk.org (Postfix) with ESMTP id 7892B287044; Mon, 3 Dec 2012 18:56:04 +0100 (CET) X-Virus-Scanned: amavisd-new at undermydesk.org Received: from amazone.undermydesk.org ([213.211.198.100]) by amazone.undermydesk.org (amazone.undermydesk.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MDzGw_j6B_nd; Mon, 3 Dec 2012 18:55:58 +0100 (CET) Received: from freppin-macbookpro-001-lan.employees.statconsult.de (port-ip-213-211-239-178.sta.reverse.mdcc-fun.de [213.211.239.178]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by amazone.undermydesk.org (Postfix) with ESMTPSA id 4A7072869E8; Mon, 3 Dec 2012 18:55:58 +0100 (CET) Message-ID: <50BCE7A9.7060107@undermydesk.org> Date: Mon, 03 Dec 2012 18:55:53 +0100 From: Frank Reppin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: long@rule.lv Subject: Re: bash pipe redirection gets stuck References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> In-Reply-To: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 17:56:12 -0000 On 03.12.12 15:35, long@rule.lv wrote: [...] > I stumbled upon a problem where multiple pipe redirection occasionally get > stuck when trying to get sha256 sum of a stream. > > You can try to reproduce the problem if you have /usr/ports/shells/bash > installed (output redirection used in this command is possible only in > bash). > Create temporary test file with command: "dd if=/dev/urandom of=/tmp/file1 > bs=1k count=10" > And the command I'm using is: > /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > > /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status > > Command gets stuck about once in 20 executions. > top output when command gets stuck (irrelevant processes removed): > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 84073 HappyUser 1 52 0 17612K 2268K wait 0 0:00 0.00% bash > 84154 HappyUser 1 52 0 10084K 844K fifoow 1 0:00 0.00% tee > > And more strangely, I can reproduce this problem on 9.0-RELEASE and > 7.4-RELEASE-p6, but couldn't reproduce on 8.2-RELEASE-p4. It maybe couldn't gather more randomness from /dev/random? The random(4) manpage suggests that there's (theoretically) indeed a chance that it blocks - see the section about 'kern.random.sys.seeded'. So in fact - when you think the command gets stuck - it's probably not bash related at all. cheers, Frank Reppin -- 43rd Law of Computing: Anything that can go wr fortune: Segmentation violation -- Core dumped From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 18:09:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBE936F for ; Mon, 3 Dec 2012 18:09:55 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6AA418FC16 for ; Mon, 3 Dec 2012 18:09:54 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfaSm-0003ti-LZ for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 19:09:54 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:09:52 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:09:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: bash pipe redirection gets stuck Date: Mon, 3 Dec 2012 18:09:27 +0000 (UTC) Lines: 25 Message-ID: References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 18:09:55 -0000 rule.lv> writes: > > Dear all, > I stumbled upon a problem where multiple pipe redirection occasionally get > stuck when trying to get sha256 sum of a stream. > > You can try to reproduce the problem if you have /usr/ports/shells/bash > installed (output redirection used in this command is possible only in > bash). > Create temporary test file with command: "dd if=/dev/urandom of=/tmp/file1 > bs=1k count=10" > And the command I'm using is: > /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > > /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status > ... Do you get stuck with this ? Does it make any difference ? /usr/local/bin/bash -c 'cat /tmp/file1 | tee /tmp/file1.copy | /sbin/sha256 \ /tmp/file1.sha256' ; echo $status jb From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 18:19:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F3D67F4 for ; Mon, 3 Dec 2012 18:19:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2B55B8FC0C for ; Mon, 3 Dec 2012 18:19:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tfac0-0001VB-Fg for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 19:19:24 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:19:24 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:19:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 18:18:57 +0000 (UTC) Lines: 49 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 18:19:16 -0000 On Mon, 03 Dec 2012 16:14:08 +0000, Walter Hurry wrote: > > pkg query against the .txz file in the cache appears to work though > It seems to have got the difference calculation right this time: --------------------------------------------------------------- $ sudo pkg upgrade Updating repository catalogue repo.txz 100% 260KB 260.5KB/s 260.5KB/s 00:00 The following packages will be upgraded: Upgrading tcl-modules: 8.5.12_2 -> 8.5.13 Upgrading tcl: 8.5.12_2 -> 8.5.13 Upgrading tk: 8.5.12 -> 8.5.13 The installation will require 7 kB more space 1 MB to be downloaded Proceed with upgrading packages [y/N]: y tcl-modules-8.5.13.txz 100% 45KB 45.3KB/s 45.3KB/s 00:00 tcl-8.5.13.txz 100% 902KB 901.8KB/s 901.8KB/s 00:00 tk-8.5.13.txz 100% 904KB 904.4KB/s 904.4KB/s 00:00 Checking integrity... done Upgrading tcl-modules from 8.5.12_2 to 8.5.13... done Upgrading tcl from 8.5.12_2 to 8.5.13... done Upgrading tk from 8.5.12 to 8.5.13... done $ cd /var/cache/pkg $ sudo pkg query -F tk-8.5.12.txz %sb 5052562 $ sudo pkg query -F tk-8.5.13.txz %sb 5058022 $ sudo pkg query -F tcl-modules-8.5.12_2.txz %sb 171187 $ sudo pkg query -F tcl-modules-8.5.13.txz %sb 173149 $ sudo pkg query -F tcl-8.5.12_2.txz %sb 5971408 $ sudo pkg query -F tcl-8.5.13.txz %sb 5971395 $ --------------------------------------------------------------- I wonder if there is some kind of overflow problem with the calculations on larger packages? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 19:49:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6ED24D59 for ; Mon, 3 Dec 2012 19:49:24 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 2FB928FC12 for ; Mon, 3 Dec 2012 19:49:22 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id 31B4BA991 for ; Mon, 3 Dec 2012 20:49:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id C6CDA2CF25F for ; Mon, 3 Dec 2012 20:49:10 +0100 (CET) Date: Mon, 3 Dec 2012 20:49:09 +0100 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org Subject: Postgrey eats 100% CPU Message-ID: <20121203204909.5ecdaf0c@davenulle.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; i386-portbld-freebsd9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 19:49:24 -0000 Hello, FreeBSD 9.1 amd64, postgrey-1.34_4, perl-5.14.2_2 Here from time to time and since one or two months, postgrey starts to eat 100% of CPU, it always occurs juste after it cleans its bases. Then it does not accept any connection: Dec 2 03:11:49 net-110 postgrey[2252]: cleaning up old logs... Dec 2 03:11:49 net-110 postgrey[2252]: cleaning up old entries... The last time it occured, I deleted its bases because it didn't start at all. Does postgrey work for you? Any clue? I have used it for years without any problem :( Thanks. Regards. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 20:04:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA26B22D for ; Mon, 3 Dec 2012 20:04:21 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8B6628FC08 for ; Mon, 3 Dec 2012 20:04:20 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfcFZ-0005Mf-IO for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 21:04:23 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 21:04:21 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 21:04:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: bash pipe redirection gets stuck Date: Mon, 3 Dec 2012 20:03:58 +0000 (UTC) Lines: 12 Message-ID: References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 20:04:21 -0000 jb gmail.com> writes: > ... > Do you get stuck with this ? Does it make any difference ? I missed a redirector - sorry about that; the entry should be: /usr/local/bin/bash -c 'cat /tmp/file1 | tee /tmp/file1.copy | /sbin/sha256 > \ /tmp/file1.sha256' ; echo $status jb From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 20:41:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7AE0A28 for ; Mon, 3 Dec 2012 20:41:45 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id AC8428FC08 for ; Mon, 3 Dec 2012 20:41:45 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 3 Dec 2012 12:41:41 -0800 Message-ID: <50BD0E85.9030007@a1poweruser.com> Date: Mon, 03 Dec 2012 15:41:41 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Questions Subject: CTM status Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Dec 2012 20:41:41.0223 (UTC) FILETIME=[9961B770:01CDD196] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 20:41:45 -0000 With cvs having support ending next year and svn becoming the main work horse, Just what is the status of CTM? I would think its more out dated than cvs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ctm.html From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 20:43:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F30CB03 for ; Mon, 3 Dec 2012 20:43:42 +0000 (UTC) (envelope-from long@rule.lv) Received: from mx1.rule.lv (ns1.rule.lv [91.142.1.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA2B8FC12 for ; Mon, 3 Dec 2012 20:43:40 +0000 (UTC) Received: from mail.omv.lv (unknown [127.0.0.10]) by mx1.rule.lv (Postfix) with ESMTP id DF823DADC28; Mon, 3 Dec 2012 22:43:38 +0200 (EET) X-Virus-Scanned: amavisd-new at mail.omv.lv Received: from mx1.rule.lv ([127.0.0.10]) by mail.omv.lv (mail.omv.lv [127.0.0.10]) (amavisd-new, port 10024) with LMTP id 7dtkqq2Etkq0; Mon, 3 Dec 2012 22:43:38 +0200 (EET) Received: from m.rule.lv (unknown [127.0.0.10]) by mx1.rule.lv (Postfix) with ESMTP id 99A4CDADC23; Mon, 3 Dec 2012 22:43:38 +0200 (EET) Received: from 217.24.65.29 (SquirrelMail authenticated user long@rule.lv) by mail.rule.lv with HTTP; Mon, 3 Dec 2012 22:43:38 +0200 (EET) Message-ID: <62300.217.24.65.29.1354567418.squirrel@mail.rule.lv> In-Reply-To: <50BCE7A9.7060107@undermydesk.org> References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> <50BCE7A9.7060107@undermydesk.org> Date: Mon, 3 Dec 2012 22:43:38 +0200 (EET) Subject: Re: bash pipe redirection gets stuck From: long@rule.lv To: "Frank Reppin" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 20:43:42 -0000 > On 03.12.12 15:35, long@rule.lv wrote: > [...] >> I stumbled upon a problem where multiple pipe redirection occasionally >> get >> stuck when trying to get sha256 sum of a stream. >> >> You can try to reproduce the problem if you have /usr/ports/shells/bash >> installed (output redirection used in this command is possible only in >> bash). >> Create temporary test file with command: "dd if=/dev/urandom >> of=/tmp/file1 >> bs=1k count=10" >> And the command I'm using is: >> /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > >> /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status >> >> Command gets stuck about once in 20 executions. >> top output when command gets stuck (irrelevant processes removed): >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >> COMMAND >> 84073 HappyUser 1 52 0 17612K 2268K wait 0 0:00 0.00% >> bash >> 84154 HappyUser 1 52 0 10084K 844K fifoow 1 0:00 0.00% tee >> >> And more strangely, I can reproduce this problem on 9.0-RELEASE and >> 7.4-RELEASE-p6, but couldn't reproduce on 8.2-RELEASE-p4. > It maybe couldn't gather more randomness from /dev/random? > The random(4) manpage suggests that there's (theoretically) > indeed a chance that it blocks - see the section about > 'kern.random.sys.seeded'. > So in fact - when you think the command gets stuck - it's > probably not bash related at all. > > cheers, > Frank Reppin > > -- > 43rd Law of Computing: > Anything that can go wr > fortune: Segmentation violation -- Core dumped > > Thanks for your answer, but randomly generated file is created fine (it is only for illustrative purpose). As far as I understand, thing that blocks is tee inside bash command or pipeline. Thanks and best regards, Normunds From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 20:52:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31608CDB; Mon, 3 Dec 2012 20:52:18 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A15FD8FC16; Mon, 3 Dec 2012 20:52:17 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB3Kq6YX051055 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 20:52:13 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB3Kq6YX051055 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354567933; bh=1vPo2dFjhnjMo8tUGan60GXbso6eKkHERWeHiKVcodw=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Mon,=2003=20Dec=202012=2020:51:59=20+0000|From:=20Matthew =20Seaman=20|To:=20Matthew=20Seam an=20|CC:=20Walter=20Hurry=20,=20freebsd-questions@freebsd.org|Subject:=20Re:=20pkg=20up grade?|References:=20=20<50BC4790.5010 707@FreeBSD.org>=20=20<50BCCA1C.701080 0@freebsd.org>|In-Reply-To:=20<50BCCA1C.7010800@freebsd.org>; b=t1BEpEIvo/nMbyvTYHpypOxfOyu4ytw+JbXxZQjaFXozRxni9dkZnf7I8Ppag8Ef8 pLCQvYyJzXcLtrWNIoi6F59IoX80L5/rU5Pnks5EaJp1WFYdHlCZrxc18gjrx8wdLP oGNdq6wgkMCIFkc8QIiqoldPLGI7b22ecRkci7Yw= Message-ID: <50BD10EF.3000601@infracaninophile.co.uk> Date: Mon, 03 Dec 2012 20:51:59 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Matthew Seaman Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> In-Reply-To: <50BCCA1C.7010800@freebsd.org> X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEEB31FBD3DEC25FBA8813955" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org, Walter Hurry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 20:52:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEEB31FBD3DEC25FBA8813955 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/12/2012 15:49, Matthew Seaman wrote: > On 03/12/2012 15:34, Walter Hurry wrote: >> > $ sudo pkg info -s -F gcc-4.6.4.20121102.txz >> > gcc-4.6.4.20121102 flat size is: 0 B >> > gcc-4.6.4.20121102 package size is: 0 B > Ah. It turns out that querying any pkgng package directly for its > installed size always returns 0 at the moment. You'ld need to use the > repo catalogue to get some sort of reasonable answer. I can't remember= > off hand if pkgs are meant to know what their installed size is; will > look into that tonight after work. Curious. I can't reproduce the problem on my dev system: worm:...cache/pkg/All:# pkg info -s -F git-1.7.11.5.txz=09 git-1.7.11.5 10 MB I wonder... I'm using portmaster to build packages on my dev box, and poudriere on my work machine. Could poudriere be at fault? cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enigEEB31FBD3DEC25FBA8813955 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC9EPYACgkQ8Mjk52CukIzCoACfS3SpUaK32b4ZyvJz3mFevfxr b64An2O7wm+qJE/PiJ2FvXvt80et/Yja =Nzy5 -----END PGP SIGNATURE----- --------------enigEEB31FBD3DEC25FBA8813955-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 20:53:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D87CD7D for ; Mon, 3 Dec 2012 20:53:05 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id BDDB68FC14 for ; Mon, 3 Dec 2012 20:53:04 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB3Kr12Z051105 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Dec 2012 20:53:01 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB3Kr12Z051105 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354567981; bh=V3Glg8AGd8aW6tKq17/wHwSYmh7REXosyJG9pDwkoVQ=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Mon,=2003=20Dec=202012=2020:53:00=20+0000|From:=20Matthew =20Seaman=20|To:=20Walter=20Hurry =20|CC:=20freebsd-questions@freebsd.org|Sub ject:=20Re:=20pkg=20upgrade?|References:=20=20<50BC4790.5010707@FreeBSD.org>=20=20<50BCCA1C.7010800@freebsd.org>=20=20|In-Reply-To:=20; b=s5OCdz9ZCfyCV1x9y5+mCAHDM4uqTUuzQrB9LA1M0ZhR/lQQ047mU6jKiGfOqkZa8 LR3wYkZAQTIXlpuz+RJnpue2jtwiGhk9o1xIlxRQtOd4nm98rPIezMiBpZPgLmFmcj zeexmmcdni80pHO5LhdNI/mizc4Ho5j86NeU6mfg= Message-ID: <50BD112C.2020707@infracaninophile.co.uk> Date: Mon, 03 Dec 2012 20:53:00 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig81E238BBFF40E6F9DD63548C" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 20:53:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig81E238BBFF40E6F9DD63548C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/12/2012 18:18, Walter Hurry wrote: > I wonder if there is some kind of overflow problem with the calculation= s=20 > on larger packages? It's not an overflow: the size is stored as the ascii representation of an integer value in the pkg tarball and read into an int64_t variable (good for file sizes up to exabyte scales) and stored in sqlite columns equivalent in size to that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig81E238BBFF40E6F9DD63548C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC9ES0ACgkQ8Mjk52CukIwB3ACghIMo/zsqoREzzgPWFGt9ofzl xEgAn0KPJJ8QVXWhIYyQHOTCNugNjJyJ =rIJu -----END PGP SIGNATURE----- --------------enig81E238BBFF40E6F9DD63548C-- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 21:38:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22A74C97 for ; Mon, 3 Dec 2012 21:38:25 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 921D48FC14 for ; Mon, 3 Dec 2012 21:38:23 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF6EC.dip.t-dialin.net [87.188.246.236]) (authenticated bits=128) by tower.berklix.org (8.14.4/8.14.4) with ESMTP id qB3Ld8De090784; Mon, 3 Dec 2012 22:39:10 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id qB3LcDxE030775; Mon, 3 Dec 2012 22:38:14 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id qB3Lc2ES094954; Mon, 3 Dec 2012 22:38:08 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201212032138.qB3Lc2ES094954@fire.js.berklix.net> To: Fbsd8 Subject: Re: CTM status From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 03 Dec 2012 15:41:41 EST." <50BD0E85.9030007@a1poweruser.com> Date: Mon, 03 Dec 2012 22:38:02 +0100 Sender: jhs@berklix.com Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 21:38:25 -0000 Hi, Fbsd8 wrote: > With cvs having support ending next year and svn becoming the main work > horse, Just what is the status of CTM? I would think its more out dated > than cvs. You havent grasped what CTM is: A method of distributing trees man ctm: source code mirror program The trees of sources comprise collections of cvs, svn, src*, ports. See ctm* lists listed here: http://lists.freebsd.org/mailman/listinfo Users list ctm-users@freebsd.org is referenced here http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ctm.html Read recent announcements in archive of ctm-announce@freebsd.org Summary: CVS by CTM will stop, 1 of 2 SVN by CTM will stop. CTM will continue. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 22:10:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89792409 for ; Mon, 3 Dec 2012 22:10:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 39DF38FC1E for ; Mon, 3 Dec 2012 22:10:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfeDn-00082r-6V for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 23:10:39 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 23:10:39 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 23:10:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 22:10:10 +0000 (UTC) Lines: 28 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 22:10:30 -0000 On Mon, 03 Dec 2012 20:51:59 +0000, Matthew Seaman wrote: > Curious. I can't reproduce the problem on my dev system: > > worm:...cache/pkg/All:# pkg info -s -F git-1.7.11.5.txz git-1.7.11.5 > 10 MB > > I wonder... I'm using portmaster to build packages on my dev box, and > poudriere on my work machine. Could poudriere be at fault? > I think there's a problem with 'pkg info' irrespective of how the package is built. $ pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 flat size is: 0 B gcc-4.6.4.20121123 package size is: 0 B $ pkg query -F gcc-4.6.4.20121123.txz %sh 567 MB $ It seems that 'pkg info' is looking at one measure, while 'pkg query' is looking at another. Maybe portmaster is populating both correctly, but poudriere is only doing one of the two. I'm using a straightforward 'pkg create' to build my package files, by the way. But why should there be two (apparently discrete) measures? From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 22:42:14 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7C456F for ; Mon, 3 Dec 2012 22:42:14 +0000 (UTC) (envelope-from boyrules@live.com) Received: from dub0-omc4-s33.dub0.hotmail.com (dub0-omc4-s33.dub0.hotmail.com [157.55.2.108]) by mx1.freebsd.org (Postfix) with ESMTP id 4BDAA8FC13 for ; Mon, 3 Dec 2012 22:42:13 +0000 (UTC) Received: from DUB113-W95 ([157.55.2.72]) by dub0-omc4-s33.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 3 Dec 2012 14:41:06 -0800 X-Originating-IP: [85.241.218.240] X-EIP: [BReRSFQKwaXQ7zNyokmV/4wdjVjpe3Ad] X-Originating-Email: [boyrules@live.com] Message-ID: From: BOY RULES To: Subject: i am new with this Date: Mon, 3 Dec 2012 22:41:06 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 03 Dec 2012 22:41:06.0752 (UTC) FILETIME=[485EAC00:01CDD1A7] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 22:42:14 -0000 hello there i am new with this software never used it yet but would like t= o try it=20 i want to ask if this software supports MAC and Windows applications to in= stallation =20 i would like to ask after if this software freebsd supports FMS and ASP ne= t applications=20 if not i would like to give me ideas if possible to build a new applicatio= n to run flash media server =20 and a great webserver similar as MAC Admin tools =20 i want to run a server from home running open source software and easy to m= anage it like in 3 clicks and done=20 the site is up and running=20 if possible the developers to build a new freebsd and use skins like t= he plasma TV that type of black colour=20 skins and all the freebsd be like that=20 and build one application like IIS 7 or mac admin tools for easy up and = run sites=20 another application is one listview to add all the websites hostes on the = server like add folder name to the disk =20 disk www=20 folder chat=20 folder hosting=20 folder business=20 folder family=20 listview details=20 IP address Server Host Domain Name date / time = directory=20 123.023.02 localhost www.freebsd 20.12.02 12h 23m = www/videos i hope you understand=20 = From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 22:53:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDA3051B for ; Mon, 3 Dec 2012 22:53:04 +0000 (UTC) (envelope-from cpet@sdf.org) Received: from sdf.lonestar.org (mx.sdf.org [192.94.73.19]) by mx1.freebsd.org (Postfix) with ESMTP id B60178FC12 for ; Mon, 3 Dec 2012 22:53:04 +0000 (UTC) Received: from [192.168.1.65] (dsl-187-150-79-65-dyn.prod-infinitum.com.mx [187.150.79.65] (may be forged)) (authenticated (0 bits)) by sdf.lonestar.org (8.14.5/8.14.5) with ESMTP id qB3MqvTD010938 for ; Mon, 3 Dec 2012 22:52:57 GMT Message-ID: <50BD2D3F.1090000@sdf.org> Date: Mon, 03 Dec 2012 16:52:47 -0600 From: Chris Petrik User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: i am new with this References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 22:53:05 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/3/2012 4:41 PM, BOY RULES wrote: > > hello there i am new with this software never used it yet but would like to try it > i want to ask if this software supports MAC and Windows applications to installation > i would like to ask after if this software freebsd supports FMS and ASP net applications > > > if not i would like to give me ideas if possible to build a new application to run flash media server > and a great webserver similar as MAC Admin tools > > > i want to run a server from home running open source software and easy to manage it like in 3 clicks and done > the site is up and running > > > if possible the developers to build a new freebsd and use skins like the plasma TV that type of black colour > skins and all the freebsd be like that > > > and build one application like IIS 7 or mac admin tools for easy up and run sites > > > another application is one listview to add all the websites hostes on the server like add folder name to the disk > > > disk www > folder chat > folder hosting > folder business > folder family > > > listview details > > > IP address Server Host Domain Name date / time directory > 123.023.02 localhost www.freebsd 20.12.02 12h 23m www/videos > > > i hope you understand > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi you can't natively install/run windows apps but you can install wine and use that to run your programs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJQvS0/AAoJEAGnn5Nn8qWUAKgIAJhWEra0KDlRt2dnCStQ7zZM QuSK+c5J/outxTPDPaYUUch8GIHC3vcmZgybaygs3o4l5HszduHJp71Uv5pmm674 KHbEEDPhbJk4ZBmMkOJcGecNyfxeWExDxBDfYXqsNS7Gu8CLBk+dq5aeXO5QVaZ8 9d6qUfk7VsMoykqvhkDVvuOE/pLRh6gKFFj24DpOo8dAC5RJoI9hbDeyykIe5STH 6b+gcCbDVflMctW2CGiv2jMi5YED9eXOvfmKhlk/2lL5mnQsX1QOBubq3cmR75z0 vqEJvb9eo69mbxGr+qTyaDQoZyubtMLItBQiE72Xmmw+rdDrCiuGXGqStfEXWcQ= =VLps -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 23:40:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5BA119F for ; Mon, 3 Dec 2012 23:40:26 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm2.bullet.mail.ird.yahoo.com (nm2.bullet.mail.ird.yahoo.com [77.238.189.59]) by mx1.freebsd.org (Postfix) with ESMTP id 1F8478FC15 for ; Mon, 3 Dec 2012 23:40:25 +0000 (UTC) Received: from [77.238.189.233] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 03 Dec 2012 23:40:24 -0000 Received: from [217.146.188.174] by tm14.bullet.mail.ird.yahoo.com with NNFMP; 03 Dec 2012 23:40:24 -0000 Received: from [127.0.0.1] by smtp142.mail.ird.yahoo.com with NNFMP; 03 Dec 2012 23:40:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1354578024; bh=Hwr7lZVFFxmQhqUJw9DESfn3kv96/NzjBPlJ/Kuacts=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=Ic/WwJUUvcxXlFX9qO4F2T5Wd+7uMGRRtGw9eb11u6u0f7tFnqLQIxX+tPqEpwkqnDAc1fa/1TIl75TH6UlLmoqcCmhLYoy2ze9zHCu/EIGXs+uFTEJ1GpZGN2mqJrWUbrrHWwYGoPMsLIo3j4/tpMz9aKDRBanDvmz4wyRJRU0= X-Yahoo-Newman-Id: 785877.73696.bm@smtp142.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: .U.bd80VM1kjxeHWNraNwAgguARSvfhpB1Y1XnXFr7VIPmH 4c.OXQuzik09MzGOgArkQY7xIfJAfAN5wBbMcsVWLQafiJfbKFP7T9xLAHgJ FDPxM0HsCq0z.2C7WMbfiN0beHDpROB86TAf9cmeYDp8.OYbLj8fyi58og8X 1dmvDHF0S5ZMk5Peq4050K_uWEBzuSXQqP2ExlbIeKbYVENxI0oK3eXBX3Sh g1xvuKrvLPDiQ0KbDiZBMU1wnqLbVXbhH.AMVTpxHi0mYOP7ON65udmcU0si EvrMosGMgytNeV2SzIrVXHxfYtF4i_mzkaxSZykPvDw7yuBdGnQUN_beoVAF 39EJQ1Ugmp4ry4Tuw0t5fhN0FQMUUzpio3ldulyrBmWDqy9zawCW9q5hOhUE G6CXburh4aCFYzQFe0uEzBA1TE7NzFuZm8SIKzw-- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [92.224.210.31] (ralf.mardorf@92.224.210.31 with login) by smtp142.mail.ird.yahoo.com with SMTP; 03 Dec 2012 15:40:24 -0800 PST Message-ID: <1354578024.2465.16.camel@q> Subject: [solved] Cannot boot - creating partition and installing FreeBSD is [solved] From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Tue, 04 Dec 2012 00:40:24 +0100 In-Reply-To: <50B8B9A5.8060200@thanelange.no> References: <1353795280.2662.12.camel@q> <20121124233520.7ad4b4be.freebsd@edvax.de> <1353798889.2662.46.camel@q> <20121125002717.11a61c8d.freebsd@edvax.de> <1353807268.2773.16.camel@q> <20121125131908.671f6d31.freebsd@edvax.de> <1353846552.2508.23.camel@q> <1353877782.2508.225.camel@q> <1354029192.2827.11.camel@q> <1354046327.2528.15.camel@q> <1354086404.2528.89.camel@q> <1354119648.3152.4.camel@q> <1354156932.2393.22.camel@q> <87fw3tj9m1.fsf@oak.localnet> <50B8A1CB.3010007@thanelange.no> <1354279739.3059.163.camel@q> <50B8B9A5.8060200@thanelange.no> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 23:40:27 -0000 On Linux I switched from GRUB legacy to GRUB 2. To transform menu.lst into grub.cfg: SYNOPSIS grub-menulst2cfg [INFILE [OUTFILE]] To boot FreeBSD: menuentry "FreeBSD"{ set root=(hd0,msdos1) chainloader +1 } From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 23:50:46 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F04605FD for ; Mon, 3 Dec 2012 23:50:46 +0000 (UTC) (envelope-from erich@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id B17378FC08 for ; Mon, 3 Dec 2012 23:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=qNQDKDAwCyCPPY6u1GGCMIsfrBkbTX0j40inMlst0dc=; b=gYzpoBi5wAFFPaxwtNo9mB7Q9QO3CyQI8urgFm6jMh6Bdl7QZXOMC4+UzuGQsab+P0p55bfuox1HtwETFxWRm89IB6xQExV/KAjlzJxCth0+c77CzeXDHWlmdPXl5Smz; Received: from [122.129.203.50] (port=55170 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TffmZ-003bXv-1Y; Mon, 03 Dec 2012 16:50:45 -0700 Date: Tue, 4 Dec 2012 06:50:24 +0700 From: Erich Dollansky To: BOY RULES Subject: Re: i am new with this Message-ID: <20121204065024.6e4c3191@X220.ovitrap.com> In-Reply-To: References: Organization: ALO Green Technologies X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 23:50:47 -0000 Hi, On Mon, 3 Dec 2012 22:41:06 +0000 BOY RULES wrote: > i want to run a server from home running open source software and > easy to manage it like in 3 clicks and done the site is up and > running > three clicks? Not really. It is a bit more. > > if possible the developers to build a new freebsd and use skins > like the plasma TV that type of black colour skins and all the > freebsd be like that > It is possible but do developers want this? > > and build one application like IIS 7 or mac admin tools for easy > up and run sites > The majority uses Apache for this purpose anyway. > > another application is one listview to add all the websites hostes > on the server like add folder name to the disk > > > disk www > folder chat > folder hosting > folder business > folder family > > > listview details > > > IP address Server Host Domain Name date / > time directory 123.023.02 localhost > www.freebsd 20.12.02 12h 23m www/videos > At least my webserver does something like this. But I get a bit of more information. > > i hope you understand I hope so too. Erich > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 23:54:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 189A86C0 for ; Mon, 3 Dec 2012 23:54:26 +0000 (UTC) (envelope-from lists.dan@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE96A8FC15 for ; Mon, 3 Dec 2012 23:54:25 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so3174211iad.13 for ; Mon, 03 Dec 2012 15:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=U9/B/VVErl3JlD5uUrYECOZKhPLd+1zQZuee+U3Qd0E=; b=IgOOxxM5I+TiatHBvTEePAhrBh0++TuLb4Or+MtfGahiHcDd4kFPvxsQzUJbc+uYag n9qMSwLT+GTBtFeEcdqc/svhzZ168fbiV0vH9BWswjapWdLzqekmJ3S0OSAkbm7SCaQu CfXQ3FqJmrJjHGsLPC8on5HtBHw0gnmnnKiV5A0nFLjhvT4cVlRtyPO0Ve1HzpQsmUNz E1gY77MfgWNuvZvmfsU4vJ2LYapXgOQEHXNG9Tea4mpma07WLClNGBTrJQNO+R8nSMei gXCEVu/8KLh7BIQLr2TcXwQjrpvPm7YW0iqG4LGAbn0XBgx2kujjheWGo77SY9PIFzVY kIlw== MIME-Version: 1.0 Received: by 10.42.139.74 with SMTP id f10mr9401481icu.4.1354578865036; Mon, 03 Dec 2012 15:54:25 -0800 (PST) Received: by 10.64.13.194 with HTTP; Mon, 3 Dec 2012 15:54:24 -0800 (PST) Date: Mon, 3 Dec 2012 17:54:24 -0600 Message-ID: Subject: getpwnam_r returns EINVAL on FreeBSD 8.3 From: Dan Lists To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 23:54:26 -0000 After upgrading a server from FreeBSD 7.3 to FreeBSD 8.3 I noticed this bug. Since upgrading, getpwnam_r is acting inconsistently. If I look up a user that does not exist and the name is 16 characters or less, getpwnam_r returns 0 and the result is NULL. If the name is more than 16 characters, getpwnam_r returns EINVAL. Everything works correctly for users that exist. This only happens when the nsswitch.conf passwd: line contains files. You need to use files if you are using another module such as msql or ldap. The problem exists without the other modules listed. For example: passwd: files Below is a simple test program. Set passwd: to files in nsswitch.conf and run the program. Any idea how to fix this bug with getpwnam_r? #include #include #include main() { lookup("doesnotexistXXXX"); lookup("doesnotexistXXXXy"); } int lookup( char *name) { struct passwd pwd; char buffer[1024]; struct passwd *result; int err; printf("\nLooking up: %s\n", name); err = getpwnam_r(name, &pwd, buffer, sizeof(buffer), &result); if( err != 0 ){ printf("Return code: %d\n", err); }else if( result == 0 ){ printf("Returned no result!\n"); }else{ printf("Returned: %s (%d)\n", result->pw_name, result->pw_uid); } } From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 23:54:49 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F025C75D for ; Mon, 3 Dec 2012 23:54:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 98B488FC16 for ; Mon, 3 Dec 2012 23:54:47 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 0B1443CD25; Tue, 4 Dec 2012 00:54:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qB3Nsg9c001978; Tue, 4 Dec 2012 00:54:42 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 4 Dec 2012 00:54:42 +0100 From: Polytropon To: BOY RULES Subject: Re: i am new with this Message-Id: <20121204005442.0a5e2702.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 23:54:49 -0000 On Mon, 3 Dec 2012 22:41:06 +0000, BOY RULES wrote: > > hello there i am new with this software never used it yet but would like to try it You will appreciate this step. > i want to ask if this software supports MAC and Windows applications to installation I doubt there will be enough compatibility with Mac OS X software (I assume this is what you mean by "MAC"), but "Windows" software is supported surprisingly well. There are different means to do it, for example using the software "wine", or one of the virtualisation solutions such as VirtualBox or VMWare. Depending on the complexity of the software you wish to install, one solution might be better than the other. Attention: Licensing restrictions may apply! > i would like to ask after if this software freebsd supports FMS > and ASP net applications I have no idea about that, sorry. > if not i would like to give me ideas if possible to build a > new application to run flash media server > and a great webserver similar as MAC Admin tools "Flash" suffers from degrading support on the _client_ side, so I doubt it's worth investing into this dying technology. Because "media server" can mean a lot, let me answer in a broad way: There are lots of server tools for FreeBSD: web and streaming servers, plus web based administration tools for them. > i want to run a server from home running open source software and > easy to manage it like in 3 clicks and done > the site is up and running While the default configuration of most software pacakges provides you with everything you should need to run, edge cases might force you to install additional stuff. Furthermore, from a security point of view, "3 clicks and done" doesn't sound to carry the required trust and knowledge. Basically, it's about _your_ security and the security of your customers / clients / users. Those running FreeBSD based servers know this very well and spend some time _learning_ to build and administrate a server properly. > if possible the developers to build a new freebsd and use skins > like the plasma TV that type of black colour > skins and all the freebsd be like that You can add skins and styles to whatever you like. FreeBSD is free in this regards, as is the software that you install on it. For example, desktop environments can be themed, and many preprogrammed web content providing systems can also be styled in any manner you wish. > and build one application like IIS 7 or mac admin tools Honestly, nobody with a working brain wants "IIS". :-) For FreeBSD there are various servers (web servers, mail servers and media streaming servers) that can be combined if required. They are usually fast and secure, easy to configure, to update, and they come with source code -- the opposite of "IIS". > for easy up and run sites If you don't want to deal with technical details, knowledge and neccessary basics (such as terminology, protocols etc.), why not use a free hosting provider and rely on _their_ solution? > another application is one listview to add all the websites hostes > on the server like add folder name to the disk > > > disk www > folder chat > folder hosting > folder business > folder family > > > listview details > > > IP address Server Host Domain Name date / time directory > 123.023.02 localhost www.freebsd 20.12.02 12h 23m www/videos This remotely looks like what you can achieve with Apache's configuration file (httpd.conf), but would also apply if you'd choose to employ jails to maintain web servers on a per-jail basis. I'm almost sure there is a web-based administration tool for the typical "Apache + PHP + MySQL" combination that offers such kind of interface. > i hope you understand It's possible, thanks. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 01:31:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29654D61 for ; Tue, 4 Dec 2012 01:31:43 +0000 (UTC) (envelope-from prvs=1685a61a7f=evendas@krazer.com.br) Received: from krazer.com.br (usaimport.com.br [74.208.147.131]) by mx1.freebsd.org (Postfix) with ESMTP id D5BCA8FC2B for ; Tue, 4 Dec 2012 01:31:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=krazer.com.br; s=MDaemon; t=1354583462; x=1355188262; q=dns/txt; h=DomainKey-Signature: Received:From:To:Subject:Date:MIME-Version:Content-Type: Message-ID; bh=/AGF6JRzB/J7iTsWt8UkF/2jJ0/KNRujXWNnXTa6qHA=; b=V Ck3rweofzEhv78eoHO7JW8o92RfjA3B/c40x4KnV5Mv/diwHRW+1xMmsxbaUrXQU FtdrZLM6z+D4fqVnY+Nika+AHLmgKiHL1xIBENmChlbo9Ju9Wi/W9DFwwZwbb8Gp SS3v+Tj8HtEJbYIavKHJuBt63IXuhhnGiL/DcFUol4= DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=krazer.com.br; c=simple; q=dns; h=from:message-id; b=XBsRxR8S/ZqqJITRbNMd+pkdz5lx2vZEcqn79o3gC78RRvfrznu3qaZSYcQm 9Ip3Q7Tvm8EQiOMBoBZFRPRZ7ay1vb58eYgNJC8OqY/m67X3+E9XuR6Ft /oDRD1duFtj6S97QOTWI8tGc9ywom9eulnnkii+4b+yWl4DFXE6w4A=; X-MDAV-Processed: allearth.com.br, Mon, 03 Dec 2012 23:11:02 -0200 Received: from krazer by allearth.com.br (MDaemon PRO v11.0.0) with ESMTP id md50003170660.msg for ; Mon, 03 Dec 2012 23:11:01 -0200 X-Spam-Processed: allearth.com.br, Mon, 03 Dec 2012 23:11:01 -0200 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: evendas@krazer.com.br X-MDRemoteIP: 74.208.167.75 X-Return-Path: prvs=1685a61a7f=evendas@krazer.com.br X-Envelope-From: evendas@krazer.com.br X-MDaemon-Deliver-To: freebsd-questions@freebsd.org From: "Vendas Krazer Technologies" To: Subject: =?utf-8?B?Tm92YSBDUEUgS3JhemVyIFNreSBTdGF0aW9uIDVHSHo=?= =?utf-8?B?IE4gLSBDUEUgQW50ZW5hIEludGVncmFkYSBkZSAxOGRCaQ==?= =?utf-8?B?IGUgQ29tIFNhw61kYSBwYXJhIEFudGVuYSBFeHRlcm5h?= Date: Mon, 03 Dec 2012 22:08:17 -0200 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=45652905_3502_4801_0078_850943129657" Message-ID: X-Mailer: Clientes Krazer X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 01:31:43 -0000 This is a multi-part message in MIME format. ------=45652905_3502_4801_0078_850943129657 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lan=C3=A7amento CPE Krazer Sky Station 5GHz N Voc=C3=AA cliente pediu que a Krazer fizesse uma nova CPE num formato mais = estiloso, pequena, de menor tamanho e que tivesse novas funcionabilidade, m= ais especificamente acesso f=C3=A1cil ao bot=C3=A3o de reset, prote=C3=A7= =C3=A3o contra queima e a t=C3=A3o desejada SA=C3=8DDA PARA ANTENA EXTERNA!= !! R$ 179.90 Antena Integrada de 18dBi 60=C2=BA Duas Portas de Rede Lan e Wan PA Real de 630mW e LNA Ultra Ganho PoE Passivo com Prote=C3=A7=C3=A3o Dupla de 12 a 24V Fonte Chaveada 12V Full Range 110 a 220V Exclusiva Sa=C3=ADda para Antena Externa Homologa=C3=A7=C3=A3o Anatel 0269-11-5280 Instala=C3=A7=C3=A3o R=C3=A1pida e Simples. Software Amigavel e em Portugu=C3=AAs! Suporte a PPPoE Wisp Cliente! Controle de Banda! Excelente sinal de recep=C3=A7=C3=A3o! Longa Dist=C3=A2ncia! Fa=C3=A7a um teste em sua rede e compare com os concorrentes, muito mais si= nal que UBNT, muito mais dados, transmiss=C3=A3o de quase 90Mbps TCP/IP con= tinuamente! Lat=C3=AAncia de rede de 1 a 5 ms com carga completa! Contate-nos Val Campos // Carla Maria // Eder Roberto Email / MSN: vendas@allearth.com.br Vendas / SAC (19) 3256-5557 (19) 3245-0708 www.krazer.com.br Envio de Email n=C3=A3o autorizado =C3=A9 crime, n=C3=A3o seja o vil=C3=A3o= da hist=C3=B3ria! Email =C3=A9 protegido sobre sigilo fiscal e federal. Le= i Federal Brasil. ------=45652905_3502_4801_0078_850943129657-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 01:59:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5456E3A for ; Tue, 4 Dec 2012 01:59:05 +0000 (UTC) (envelope-from 34li9UBIJABUD9A23.E9ADz9Cv85zC17v36.x97@maestro.bounces.google.com) Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by mx1.freebsd.org (Postfix) with ESMTP id 834FA8FC08 for ; Tue, 4 Dec 2012 01:59:05 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id h2so16622231oag.7 for ; Mon, 03 Dec 2012 17:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=K42ZAmWIk1C2tsKepVliknbyElTJh9E1YltUlk25GgE=; b=wIHPxJ6m4LPvh2zT82FgXWf41paKugHjwy/2qV2hUDTD4nK7TMqmBxIe2PnL5K9c5L O38nMPceE6nmB6RpGl/Ja3zW4wrUSdngFCP+Ox/1l/NUL/hKvrGl/Rp+9D8SRZylTmuN SImR41ZzyDHzI6aycT51gaTKLKS5XNEomJSWPMK8A34FHYTTcqeGVhpCRv3dNYG9zfBT cWRjA+DrKjKUZhomvSkFuvnMO9z2lT9fVO1itli1yaS93uL+2OFav7WmKCw0DvWhtT3N LP4/G2z7MgBMQPm70a3GzvxqgoVNxRDthUDCR8vdGuEqNhHu97DxXsGFSh5gACc7G9qt 3LZA== MIME-Version: 1.0 Received: by 10.42.98.148 with SMTP id s20mr8525088icn.8.1354586338797; Mon, 03 Dec 2012 17:58:58 -0800 (PST) Message-ID: <20cf30223e818aac9104cffd3513@google.com> Date: Tue, 04 Dec 2012 01:58:58 +0000 Subject: Organic SEO for Freebsddiary.org From: Sophi Nelson To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 01:59:05 -0000 PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCAgDQpjb2xvcj0iIzAwMDBmZiI+RnJl ZWJzZGRpYXJ5Lm9yZzwvZm9udD48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDAsMCwyNTUpIj6g PC9zcGFuPjxmb250IHN0eWxlPSJjb2xvcjpyZ2IoMCwwLDI1NSkiICANCmZhY2U9IlZlcmRhbmEs IHNhbnMtc2VyaWYiPjxmb250PlRlYW0sPC9mb250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFy Z2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5h LCAgDQpzYW5zLXNlcmlmIj5JDQp0aG91Z2h0IHlvdSBtaWdodCBsaWtlIHRvIGtub3cgc29tZSBv ZiB0aGUgcmVhc29ucyB3aHkgeW91IGFyZSBub3QNCmdldHRpbmcgZW5vdWdoIFNvY2lhbCBNZWRp YSBhbmQgT3JnYW5pYyBzZWFyY2ggZW5naW5lIHRyYWZmaWMgIA0KZm9yoDwvZm9udD48L2ZvbnQ+ PGZvbnQgY29sb3I9IiMwMDAwZmYiIGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPkZyZWVi c2RkaWFyeS5vcmc8L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9u dCBjb2xvcj0iIzAwMDBmZiI+MS5Zb3VyICANCndlYnNpdGWgRnJlZWJzZGRpYXJ5Lm9yZ6BpcyBu b3QgcmFua2luZyB0b3AgaW4gR29vZ2xlIG9yZ2FuaWMgc2VhcmNoIGZvciAgDQptYW55IGNvbXBl dGl0aXZlIGtleXdvcmQgcGhyYXNlcy48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0 b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+Mi4gWW91ciB3ZWJzaXRlIHByb2ZpbGUgIA0K aXMgbm90IGF2YWlsYWJsZSBpbiBtb3N0IG9mIHRoZSBTb2NpYWwgTWVkaWEgV2Vic2l0ZXMuPC9m b250PjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAw ZmYiPjMuIFlvdXIgc2l0ZSBoYXMgMTE5ICANCkdvb2dsZSBiYWNrIGxpbmtzLCB0aGlzIGNhbiBi ZSBpbXByb3ZlZCBmdXJ0aGVyLjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTow Y20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNl cmlmIj5UaGVyZQ0KYXJlIG1hbnkgYWRkaXRpb25hbCBpbXByb3ZlbWVudHMgdGhhdCBjb3VsZCBi ZSBtYWRlIHRvIHlvdXIgd2Vic2l0ZSwNCmFuZCBpZiB5b3Ugd291bGQgbGlrZSB0byBsZWFybiBh Ym91dCB0aGVtLCBhbmQgYXJlIGN1cmlvdXMgdG8ga25vdw0Kd2hhdCBvdXIgd29ya2luZyB0b2dl dGhlciB3b3VsZCBpbnZvbHZlLCB0aGVuIEkgd291bGQgYmUgZ2xhZCB0bw0KcHJvdmlkZSB5b3Ug d2l0aCBhIGRldGFpbGVkIGFuYWx5c2lzIGluIHRoZSBmb3JtIG9mIGEgPGI+V0VCU0lURQ0KQVVE SVQgUkVQT1JUIGZvciBGUkVFPC9iPi48L2ZvbnQ+PC9mb250PjwvcD4NCjxwIHN0eWxlPSJtYXJn aW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEs ICANCnNhbnMtc2VyaWYiPk91cg0KY2xpZW50cyBjb25zaXN0ZW50bHkgdGVsbCB1cyB0aGF0IHRo ZWlyIGN1c3RvbWVycyBmaW5kIHRoZW0gYmVjYXVzZQ0KdGhleSBhcmUgYXQgdGhlIHRvcCBvZiB0 aGUgR29vZ2xlIHNlYXJjaCByYW5raW5ncy4gIEJlaW5nIGF0IHRoZSB0b3ANCmFjbGVmdCBvZiBH b29nbGUgKCMxLSAjMyBvcmdhbmljIHBvc2l0aW9ucykgaXMgdGhlIGJlc3QgdGhpbmcgeW91IGNh bg0KZG8gZm9yIHlvdXIgY29tcGFueSYjMzk7cyB3ZWJzaXRlIHRyYWZmaWMgYW5kIG9ubGluZSBy ZXB1dGF0aW9uLiAgDQo8L2ZvbnQ+PC9mb250Pg0KPC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0 b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fu cy1zZXJpZiI+SQ0KZm91bmQgeW91ciBzaXRlIGluIHRoZSBHb29nbGUgc2VhcmNoIGFuZCBhZnRl ciBoYXZpbmcgYSBsb29rIG92ZXINCnlvdXIgd2Vic2l0ZSBJIHRoaW5rIHlvdSBzaG91bGQgZ28g Zm9yIGFuIFNFTyBjYW1wYWlnbiB0byBib29zdCB5b3VyDQptYXJrZXRpbmcgc3RyYXRlZ3kuPC9m b250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9y PSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj5Tb3VuZHMNCmlu dGVyZXN0aW5nPyBGZWVsIGZyZWUgdG8gZW1haWwgdXMgb3IgYWx0ZXJuYXRpdmVseSB5b3UgY2Fu IHByb3ZpZGUNCm1lIHdpdGggeW91ciBwaG9uZSBudW1iZXIgYW5kIHRoZSBiZXN0IHRpbWUgdG8g Y2FsbCB5b3UuPC9mb250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20i Pjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlm Ij4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLTxXQlI+LS0tLS0NCjwvZm9udD48L2ZvbnQ+DQo8L3A+DQo8cCBzdHlsZT0ibWFy Z2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5h LCAgDQpzYW5zLXNlcmlmIj5CZXN0DQpSZWdhcmRzLDxicj48Yj5Tb3BoaSBOZWxzb248L2I+PGJy PjxiPlNFTyBDb25zdWx0YW50PC9iPjxicj4oMzAxKQ0KODU5LTQ5MDM8L2ZvbnQ+PC9mb250Pjwv cD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxm b250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLTxXQlI+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tPFdCUj4tLS0tLQ0KPC9m b250PjwvZm9udD4NCjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29s b3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPjxiPlBTMTwv Yj46DQpUaGlzIGlzIG9uZXRpbWUgZW1haWwgYW5kIHlvdSBtYXkgYXNrIHVzIHRvIJNSRU1PVkWU IHlvdSBmcm9tIG91cg0KbWFpbGluZyBsaXN0LiA8L2ZvbnQ+PC9mb250Pg0KPC9wPg0KPHAgc3R5 bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0i VmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+PGI+UFMyPC9iPjoNCkkgZm91bmQgeW91ciBzaXRlIGZy b20gb25saW5lIGFkdmVydGlzaW5nIGJ1dCBkaWQgbm90IGNsaWNrLiA8L2ZvbnQ+PC9mb250Pg0K PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+ PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+PGI+UFMzPC9iPjoNCldlIG9wZXJh dGUgMjQgeDcuIEkgd2lsbCBiZSBoYXBweSB0byBzZW5kIHlvdSBsaW5rcyB0byBwcmljZQ0KbGlz dCxtb25leSBiYWNrIGd1YXJhbnRlZSwgY2xpZW50IHJhbmtpbmdzLCBjbGllbnQgdGVzdGltb25p YWxzLCCTSG93DQp3ZSBhcmUgZGlmZmVyZW50IGZyb20gb3RoZXJzP5QsIGFuZCCTV2h5IHNob3Vs ZCB5b3UgY2hvb3NlIHVzP5QNCm9uIHJlY2VpdmluZyBhIHJlc3BvbnNlIGZyb20geW91LjwvZm9u dD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48L3A+DQo= From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 07:17:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 248A66C3 for ; Tue, 4 Dec 2012 07:17:20 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 92BE58FC23 for ; Tue, 4 Dec 2012 07:17:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB47HFJn037023 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 4 Dec 2012 07:17:15 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB47HFJn037023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354605435; bh=ln1k+RSDObmW+VgYP9YBGM3QSrkonKTF7KPDM+24EqE=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Tue,=2004=20Dec=202012=2007:17:08=20+0000|From:=20Matthew =20Seaman=20|To:=20Walter=20Hurry =20|CC:=20freebsd-questions@freebsd.org|Sub ject:=20Re:=20pkg=20upgrade?|References:=20=20<50BC4790.5010707@FreeBSD.org>=20=20<50BCCA1C.7010800@freebsd.org>=20<50BD10EF.3000601@infracani nophile.co.uk>=20|In-Reply-To:=20; b=wAHHNOD29jmLSxaRcvF8y9D3T9mzJHkjnv+qm5ZevSWNza3OqmUe6mDezle2J9MIj 9Nbiwc0x0RVSbrZH4SE8kbD+nSWpmSWnz796yKLNWJRhb4OJGiZOD+jVXLkVRlhK5U 4QJE0ssedFiIr8UWkAeBUhLTI8mzq0AZnzR6p320= Message-ID: <50BDA374.5090305@infracaninophile.co.uk> Date: Tue, 04 Dec 2012 07:17:08 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCB479C1223337F600C9E770D" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 07:17:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCB479C1223337F600C9E770D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/12/2012 22:10, Walter Hurry wrote: > I think there's a problem with 'pkg info' irrespective of how the packa= ge=20 > is built. >=20 > $ pkg info -s -F gcc-4.6.4.20121123.txz > gcc-4.6.4.20121123 flat size is: 0 B > gcc-4.6.4.20121123 package size is: 0 B > $ pkg query -F gcc-4.6.4.20121123.txz %sh > 567 MB > $=20 >=20 > It seems that 'pkg info' is looking at one measure, while 'pkg query' i= s=20 > looking at another. Maybe portmaster is populating both correctly, but = > poudriere is only doing one of the two. No -- the data is stored in the pkg structure in memory in exactly the same way irrespective of the program used to access it. The problem would occur as a fault in converting the value as it is read into or out of that structure. The poudriere devs tell me that poudriere doesn't do anything different when creating packages -- it just uses 'make package' in the usual way from the ports. So I now doubt that is the problem. The fact that 'pkg info' gets it wrong, but 'pkg query' gets it right implies the problem is localised to 'pkg info'. That I'm not seeing it on my dev system, which is running pretty much the latest from the git repo, suggests that the problem may already have been fixed, although I can't see a relevant commit message. > I'm using a straightforward 'pkg create' to build my package files, by = > the way. But why should there be two (apparently discrete) measures? It's clear that there is a flaw somewhere, but it's not where I first thought. I need to recheck things more thoroughly on my work machine which I believe was showing the same symptoms. Starting to doubt what I saw yesterday. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enigCB479C1223337F600C9E770D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC9o3sACgkQ8Mjk52CukIzu/ACeL8cwIkkk0GxGwdufpE86aCLL tZAAnRJI1xAfg1iwdfrCcwpSJoza9272 =Szps -----END PGP SIGNATURE----- --------------enigCB479C1223337F600C9E770D-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 08:27:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71957597 for ; Tue, 4 Dec 2012 08:27:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1ECA68FC0C for ; Tue, 4 Dec 2012 08:27:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tfnqk-0001X6-S3 for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 09:27:33 +0100 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 09:27:30 +0100 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 09:27:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: bash pipe redirection gets stuck Date: Tue, 4 Dec 2012 08:27:00 +0000 (UTC) Lines: 20 Message-ID: References: <23353.144.36.114.84.1354545315.squirrel@mail.rule.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 08:27:24 -0000 rule.lv> writes: > > Dear all, > I stumbled upon a problem where multiple pipe redirection occasionally get > stuck when trying to get sha256 sum of a stream. > > You can try to reproduce the problem if you have /usr/ports/shells/bash > installed (output redirection used in this command is possible only in > bash). > Create temporary test file with command: "dd if=/dev/urandom of=/tmp/file1 > bs=1k count=10" > And the command I'm using is: > /usr/local/bin/bash -c 'cat /tmp/file1 | tee >(/sbin/sha256 > > /tmp/file1.sha256) > /tmp/file1.copy' ; echo $status I could reproduce it on FreeBSD 9.0-RELEASE-p3 on 3rd try, but after upgrade of bash-4.1.11 to bash-4.2.37 it works (tested 30 times). jb From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 10:34:39 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14753600 for ; Tue, 4 Dec 2012 10:34:39 +0000 (UTC) (envelope-from ksg@teleguam.net) Received: from tancho.teleguam.net (tancho.teleguam.net [202.151.64.107]) by mx1.freebsd.org (Postfix) with ESMTP id C8CCC8FC16 for ; Tue, 4 Dec 2012 10:34:38 +0000 (UTC) Received: from carlosacfc2fc3 (117-20-122-96.dsl.static.teleguam.net [117.20.122.96]) by tancho.teleguam.net (Postfix) with ESMTPA id 0A58196857E for ; Tue, 4 Dec 2012 20:28:45 +1000 (ChST) Message-ID: From: "ksg" To: Subject: Install on Intel Date: Tue, 4 Dec 2012 20:28:58 +1000 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 10:34:39 -0000 Do you know if FreeBSD will install with a Intel Core 2 CPU 6400 @ 2.13 = GHz Carlos Griffith From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 10:35:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B49386A7 for ; Tue, 4 Dec 2012 10:35:49 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCE78FC12 for ; Tue, 4 Dec 2012 10:35:48 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so1860606wey.13 for ; Tue, 04 Dec 2012 02:35:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=zEEWws6c2bW/hyVuDdIAAByWqY7ILgvfKVrAQFHYf34=; b=Yo7hN2OQZUzgddHNLg+XPEUUemApajHxS4Vf17qLwoyuLo3320kIzMb77mx7+RZCdi z8xTWWnyl37V2adFIFWKXHr/7Qr060opHll8mjbRE3tojio9KFPwOfYzdh2vceo8zpN5 utiGY5pEAlGfZrxseaB8MdIiCOc8qnjv/VETvt3uTwqbeaZjJ2i7OmAi60e7QI1DBARX ojKXWVrEnMGUpxra9b9qlMVzH8o4OOaA0qpbUpS5JL3CX5l7eM1K+rRvNWCBH36bzWyY 6baTy/VsO2moo3f+nVRndqx9wHYH//n62US/AGGW689QZAXCmLYTojasCKlF9OBjeeFD Vcow== Received: by 10.216.217.205 with SMTP id i55mr4866148wep.90.1354617342296; Tue, 04 Dec 2012 02:35:42 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id y3sm14507437wix.6.2012.12.04.02.35.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 02:35:40 -0800 (PST) Subject: Re: Install on Intel Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Fleuriot Damien X-Priority: 3 In-Reply-To: Date: Tue, 4 Dec 2012 11:35:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "ksg" X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQkYYwdkxc8UqdLXMUjIKfnzr3Mf8Hgz7eqHYt5V1Uk4AMBI0DjtRmvyWKpNwJV+c3lNT3TQ Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 10:35:49 -0000 On Dec 4, 2012, at 11:28 AM, "ksg" wrote: > Do you know if FreeBSD will install with a Intel Core 2 CPU 6400 @ = 2.13 GHz >=20 > Carlos Griffith Yes it will. You'll want the amd64 version, likely. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 11:07:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45FBCC9A for ; Tue, 4 Dec 2012 11:07:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0232B8FC12 for ; Tue, 4 Dec 2012 11:07:13 +0000 (UTC) Received: from r56.edvax.de (port-92-195-51-39.dynamic.qsc.de [92.195.51.39]) by mx01.qsc.de (Postfix) with ESMTP id 3A1643CA3C; Tue, 4 Dec 2012 12:07:12 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id qB4B7En3005647; Tue, 4 Dec 2012 12:07:14 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 4 Dec 2012 12:07:14 +0100 From: Polytropon To: "ksg" Subject: Re: Install on Intel Message-Id: <20121204120714.c8de67bc.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 11:07:14 -0000 On Tue, 4 Dec 2012 20:28:58 +1000, ksg wrote: > Do you know if FreeBSD will install with a Intel Core 2 CPU 6400 @ 2.13 GHz There's basically nothing that would speak against it. You could use amd64 for this one (as it is a 64 Bit CPU), and you probably have more than enough RAM to justify. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 14:24:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAF0D866 for ; Tue, 4 Dec 2012 14:24:43 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC648FC14 for ; Tue, 4 Dec 2012 14:24:42 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so4343946lbb.13 for ; Tue, 04 Dec 2012 06:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=kym2IS1CZLpm+aDUX26n0NAPI3QVW2tfu1YjX6Zccfo=; b=ZEgFLLxY5dX10g8mQStSrvgZ8kbgXH/tVDTU9AvtC6k7vyu2FlE2NC2dEt2xC0VdVO 1p/qOpr6OQpvfWu0OMgYGox8roKZvSYhnX9VJ1eYfuvuhjmC/YeJJbCkHpgH2baEnsdM WmZgB9Pl4y5rRukJ0enyMgHg8kiw6PmiMi2paBJndWffvTZXOJ+VrncN5vQDoEw2LKCn 989O5K5ajOWicuokYaGcW+ATHgFDDg9EW2Kxs/jPOvyqXdnMfRQ3DOFGXO5PtDRetfnA wlaxlw/2QtSwp+ucbh3hxmQn4OXig+RzyWSBbcK3bQ+e/oFeeTMp1S0EE0iESGjBeCqy KDkA== MIME-Version: 1.0 Received: by 10.112.44.164 with SMTP id f4mr5788050lbm.111.1354631075961; Tue, 04 Dec 2012 06:24:35 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Tue, 4 Dec 2012 06:24:35 -0800 (PST) Date: Tue, 4 Dec 2012 09:24:35 -0500 X-Google-Sender-Auth: 6ixqoxAqe1MWm4pm64NVWv7PvDg Message-ID: Subject: ipfwNG project? From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 14:24:43 -0000 I came across the wiki doc for ipfwNG (http://wiki.freebsd.org/IpfwNg) and wondered if any of the concepts of this project are currently being developed for FreeBSD and when we might start seeing those concepts included in releng/ code. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 15:55:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94BF2ED5 for ; Tue, 4 Dec 2012 15:55:46 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6558FC1E for ; Tue, 4 Dec 2012 15:55:45 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so4450951lbb.13 for ; Tue, 04 Dec 2012 07:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=3NrlrC/ni4BmmoLISkNDhYg4Fcio+//uCVNxvTvkixg=; b=PIws9ZKUVnaTezI2JtzXcgN3HQpEWxv8a9LXpPkYScBtYob+UnMH63QCAOqLPVwlAL 0BNyIFtp7vAQ1/VV0UDmc4lBf4JGmdjzJ+B+8ellIl65XooImiBAuR/JYuX67W3Afk85 UUnbr/QrVECE+go8/4kRwohaFfa9My8xP+9zTJ+1zDJ0bNSiReirB+ymrGKM7Au8HP4j 5CSQVE8jG5MFL9FUgjhMKD1d6JJQTMOH3ard2lnk2ybAuK1XZO1Pp44G1+JV3Q9yd0le 1jW3sLCnHnla0JHo+TYxQnzzL4Tt6rbdXUfIVf0XAEeHd62W8JwW7+H3/t1czUIXbSKF edpw== MIME-Version: 1.0 Received: by 10.152.105.68 with SMTP id gk4mr13286259lab.48.1354636544269; Tue, 04 Dec 2012 07:55:44 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Tue, 4 Dec 2012 07:55:44 -0800 (PST) Date: Tue, 4 Dec 2012 10:55:44 -0500 X-Google-Sender-Auth: XztOjplJZ-B_dDn1f2T-f1ofEck Message-ID: Subject: gPXE booting FreeBSD? From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 15:55:46 -0000 Hi All, Does anyone have any experience booting FreeBSD via gPXE and have pointers to relevant documentation and/or blog posts? -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 17:21:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9724BEE2 for ; Tue, 4 Dec 2012 17:21:49 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 4E9578FC08 for ; Tue, 4 Dec 2012 17:21:49 +0000 (UTC) Received: from nber6 (nber6.nber.org [66.251.72.76]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id qB4Gtjtn000733; Tue, 4 Dec 2012 11:55:46 -0500 (EST) (envelope-from feenberg@nber.org) Date: Tue, 4 Dec 2012 11:44:52 -0500 (EST) From: Daniel Feenberg X-X-Sender: feenberg@nber6 To: Rick Miller Subject: Re: gPXE booting FreeBSD? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20121204 #8614946, check: 20121204 clean Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 17:21:49 -0000 On Tue, 4 Dec 2012, Rick Miller wrote: > Hi All, > > Does anyone have any experience booting FreeBSD via gPXE and have > pointers to relevant documentation and/or blog posts? > In the last paragraph of our description of PXE booting FreeBSD: http://www.nber.org/sys-admin/FreeBSD-diskless.html we report that "gpxelinux did not work for us. (It hangs once a menu item is selected, or if more than one choice is available)." Have you tried and gotten better/worse/similar results? Our trial was about a year ago, it would be worth trying again. dan feenberg NBER > -- > Take care > Rick Miller > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 17:35:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C7932BB for ; Tue, 4 Dec 2012 17:35:31 +0000 (UTC) (envelope-from freebsd@rgbaz.eu) Received: from titan.secsrv.net (titan.secsrv.net [69.175.78.10]) by mx1.freebsd.org (Postfix) with ESMTP id 196EA8FC08 for ; Tue, 4 Dec 2012 17:35:30 +0000 (UTC) Received: from amadeus.demon.nl ([82.161.18.200]:58248 helo=[10.0.1.101]) by titan.secsrv.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1Tfw1W-00013v-Ty; Tue, 04 Dec 2012 11:11:11 -0600 Subject: Re: gPXE booting FreeBSD? Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: FBSD UG In-Reply-To: Date: Tue, 4 Dec 2012 17:48:32 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <953859FF-A34B-4FD4-ADF5-38A5EA5F6981@rgbaz.eu> References: To: Rick Miller X-Mailer: Apple Mail (2.1085) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - titan.secsrv.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - rgbaz.eu X-Get-Message-Sender-Via: titan.secsrv.net: authenticated_id: arno@rgbaz.eu Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 17:35:31 -0000 Hey Rick, I've managed to setup an gPXE boot where a diskless client booted OpenSUSE over AoE from a FreeBSD server. Not exactly what you want, yet the setup is mostly the same for all OS's...=20 My main source of info came from this site: http://etherboot.org/wiki/howtos greets Arno Beekman On 4 dec 2012, at 16:55, Rick Miller wrote: > Hi All, >=20 > Does anyone have any experience booting FreeBSD via gPXE and have > pointers to relevant documentation and/or blog posts? >=20 > --=20 > Take care > Rick Miller > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 18:24:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71797B48 for ; Tue, 4 Dec 2012 18:24:09 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id DD86C8FC0C for ; Tue, 4 Dec 2012 18:24:08 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so4623887lbb.13 for ; Tue, 04 Dec 2012 10:24:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=BWFI8Qj6zpmSYa7KjN4nVZO1auDE8Y4WpK7sjVYoy98=; b=r5+iPrY6AhzjpjurjSM7DhmEjmObrZKdbEt8pA6zkNAOxFg8nG/IP7whfEYjWldSoF pRRsEikTUvkbI+ear6Z/MRBl3hBuKfGxn28O80ERtIB2VzQdYczUFt4tR3AD+YE5KgdF rZttcjocc6dJQxqt7WkY3PtY5lkXHoG9dxp848A9DBcJE7W5A+NsNGG+8iNZGdhbuFC+ C645NCJaw4pGM65dBj1Dl4ez/9PFiM63+XJYaHXZ5/uiKNNPHfQ55Cb3OD+uAUg4h/V4 kH+G7Nd2pY/MWKB49jXyJawNnuHBElxQIIy8ZanXgV26GkbAyN15i7ShgSl5JgmD5OS6 6fJg== MIME-Version: 1.0 Received: by 10.152.110.74 with SMTP id hy10mr14066795lab.54.1354645447587; Tue, 04 Dec 2012 10:24:07 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Tue, 4 Dec 2012 10:24:07 -0800 (PST) In-Reply-To: References: Date: Tue, 4 Dec 2012 13:24:07 -0500 X-Google-Sender-Auth: 5YMy_9Ww9Isi_v-WdCtXjqoYvgY Message-ID: Subject: Re: gPXE booting FreeBSD? From: Rick Miller To: Daniel Feenberg Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 18:24:09 -0000 Hi Dan, On Tue, Dec 4, 2012 at 11:44 AM, Daniel Feenberg wrote: > > > On Tue, 4 Dec 2012, Rick Miller wrote: > >> Hi All, >> >> Does anyone have any experience booting FreeBSD via gPXE and have >> pointers to relevant documentation and/or blog posts? >> > > In the last paragraph of our description of PXE booting FreeBSD: > > http://www.nber.org/sys-admin/FreeBSD-diskless.html > > we report that "gpxelinux did not work for us. (It hangs once a menu item is > selected, or if more than one choice is available)." Have you tried and > gotten better/worse/similar results? Our trial was about a year ago, it > would be worth trying again. Thanks for the reply and link. We've not tried booting FreeBSD from gPXE yet. Our goal is to PXE boot clients into a non-interactive FreeBSD installation. We do this now utilizing pxegrub from Grub2 to pass environment/kernel variables to stage 2 as documented at http://blog.hostileadmin.com/2012/05/04/pxe-booting-into-a-freebsd-installation/ Where $kernel_path is the FreeBSD kernel and $initrd_path is the mfsroot from the release build. The rest of the environment variables are dynamically derived based on data stored in a database for each host. We want to replace pxegrub with gPXE with the hope that we can still pass the environment/kernel variables to stage 2. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 19:17:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 240C3EA8 for ; Tue, 4 Dec 2012 19:17:27 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id DBD068FC08 for ; Tue, 4 Dec 2012 19:17:26 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qB4JHJ8E093569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Dec 2012 13:17:20 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 04 Dec 2012 13:17:19 -0600 From: dweimer To: Damien Fleuriot Subject: Re: CARP within VirtualBox Does it =?UTF-8?Q?work=3F?= Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: <737f4b1c8bff13850af119f917ed811c@dweimer.net> <9232DDFC-F40B-4914-A92D-3B5D9C1ECE5F@my.gd> Message-ID: <316715d0c46c4e5f5eb92a3b6c084f55@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 19:17:27 -0000 On 2012-12-01 03:14, Damien Fleuriot wrote: > On 30 November 2012 20:44, dweimer wrote: >> On 2012-11-29 14:07, dweimer wrote: >>> >>> On 2012-11-29 12:53, Fleuriot Damien wrote: >>>> >>>> On Nov 29, 2012, at 6:43 PM, dweimer wrote: >>>> >>>>> I was trying to setup a test of CARP on two virtual machines >>>>> running in >>>>> VirtualBox 4.2.4r81684 I am not sure if I have something wrong >>>>> with my CARP >>>>> configuration or if VirtualBox just doesn't work right with it. >>>>> I can only >>>>> ping the CARP interface IP address from the machine listed as >>>>> MASTER, if I >>>>> do an ifconfig carp0 down on the MASTER the other machine >>>>> correctly switches >>>>> form BACKUP to MASTER and then I can ping the interface from it >>>>> but not from >>>>> the Original system. >>>>> >>>>> The VirtualBox systems are both using bridged networking, and the >>>>> host >>>>> cannot ping the carp0 IP address but can ping the interface IP >>>>> address. >>>>> >>>>> Before I go through more trouble shooting, does anyone know if >>>>> CARP >>>>> doesn't work with VirtualBox? >>>>> >>>>> carp configuration >>>>> Machine1: >>>>> ifconfig_em0="UP" >>>>> ifconfig_em0_name="LAN" >>>>> ipv4_addrs_LAN="10.20.190.201/16" >>>>> defaultrouter="10.20.111.2" >>>>> cloned_interfaces="carp0" >>>>> ifconfig_carp0="vhid 1 advskew 100 pass ReduntantCarpTest >>>>> 10.20.190.203/16 >>>>> >>>>> ifconfig carp0: >>>>> carp0 flags=49 metric 0 mtu 1500 >>>>> inet 10.20.190.203 netmask 0xffff0000 >>>>> nd6 options=29 >>>>> carp: MASTER vhid 1 advbase 1 advskew 100 >>>>> >>>>> >>>>> Machine2: >>>>> ifconfig_em0="UP" >>>>> ifconfig_em0_name="LAN" >>>>> ipv4_addrs_LAN="10.20.190.202/16" >>>>> defaultrouter="10.20.111.2" >>>>> cloned_interfaces="carp0" >>>>> ifconfig_carp0="vhid 1 pass ReduntantCarpTest 10.20.190.203/16 >>>>> >>>>> ifconfig carp0: >>>>> carp0 flags=49 metric 0 mtu 1500 >>>>> inet 10.20.190.203 netmask 0xffff0000 >>>>> nd6 options=29 >>>>> carp: BACKUP vhid 1 advbase 1 advskew 0 >>>>> >>>>> FreeBSD version is 9.1RC3 on both test machines. >>>> >>>> >>>> >>>> >>>> We're using FreeBSD and CARP in virtualized environments at work, >>>> albeit not on VirtualBox but on Proxmox/KVM. >>>> >>>> First, I would advise replacing 10.20.190.203/16 with >>>> 10.20.190.203/32 >>>> >>>> >>>> I notice your carp0 is MASTER on machine1 with an advskew of 100 >>>> vs >>>> machine 2 advskew 0, same advbase. >>>> Confirm this is *after* you've set carp0 down on machine2. >>>> >>>> If both carps are up and machine1 with advskew 100 beats machine2 >>>> with advskew 0, you have an additional problem. >>>> >>>> >>>> See if you have any more luck with the /32 address on carp0 >>>> anyway. >>> >>> >>> The documentation shows the mask matching that of the interface: >>> hostname="hostb.example.org" >>> ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" >>> cloned_interfaces="carp0" >>> ifconfig_carp0="vhid 2 pass testpass 192.168.1.51/24" >>> >>> This is consistent with the man page for CARP on the system as >>> well. >>> Regardless I tried with the /32 and had the same result as I did >>> with >>> the /16. I had done various UP/DOWN on interfaces so the current >>> MASTER was just the last one to have not been DOWN. I think I >>> might >>> just copy these VMs to my VMWARE Workstation 9 install on my home >>> PC >>> after work tonight and see if the problem persists. >> >> >> The behavior definitely changed going from VirtualBox to VMWare, the >> only >> change in my configuration was the IP addresses to match the home >> network. >> However now I can talk to the carp interface form other machines, >> but they >> receive two response one from each of the test systems. TCPDUMP >> shows that >> they are each seeing the others broadcasts, but for some reason they >> are >> both running as MASTER. If you run a DOWN/UP on the interface, it >> briefly >> shows as BACKUP before switching to MASTER. I tried with both /24 >> subnet of >> my home network, and setting the carp0 interface to /32, both >> behaved the >> same. Any one have any other ideas, as to whether this comes down >> to a >> Virtual Network Issue, or a setup issue on my part. >> > > > Well, it definitely works here for us on Proxmox/KVM. > > When you tcpdump on your either host, do you see the CARP > advertisements from the other ? > > > FInd below the advertisements as seen from our CARP backup firewall: > $ sudo tcpdump -ni vlan14 vrrp > tcpdump: verbose output suppressed, use -v or -vv for full protocol > decode > listening on vlan14, link-type EN10MB (Ethernet), capture size 96 > bytes > 10:11:09.084568 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, > Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 > 10:11:10.282826 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, > Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 > 10:11:11.481075 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, > Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 Proabbly should have been more clear early when I mentioned I could see the others broadcasts, this is what I menat, yes they do see the others advertisements. It most definitely was virtual network related, found some information on the pfSense wiki that directed me to the advanced settings on the ethernet adapters within the VirtualBox network settings on the virtual machines. Promiscuous mode was set to Deny, change this to Enable All, problem solved on VirtualBox, CARP is now working as intended. Still haven't figured out a fix for the issue I discovered in VMware, found a lot of things about changing adapters permissions on Linux hosts to allow promiscuous mode, and suspect it is a permissions issue with the Windows 7 host, but I haven't found out how to fix it yet. However I now know my configuration works and its not a FreeBSD issue. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:01:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C1DAC74 for ; Tue, 4 Dec 2012 20:01:44 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 567E88FC13 for ; Tue, 4 Dec 2012 20:01:44 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by x.it.okstate.edu (8.14.5/8.14.5) with ESMTP id qB4JdfGt085863 for ; Tue, 4 Dec 2012 13:39:41 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201212041939.qB4JdfGt085863@x.it.okstate.edu> To: freebsd-questions@freebsd.org Subject: Safe Way to Tell if Process is Running MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <85861.1354649981.1@dc.cis.okstate.edu> Date: Tue, 04 Dec 2012 13:39:41 -0600 From: Martin McCormick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:01:44 -0000 About 20 years ago, I saw some code in which you verified whether or not a process was running by giving it a kill -0 command. If the process was running, nothing happened to it but your kill -0 command exited with a 0 status. If there was no process with that PID, the kill command exited non-zero. I use this in a system(command); in a C program I wrote some years ago and I think this is now causing a segmentation fault when the process number being signalled doesn't exist. Is there a better way to determine if process number 12345 is running without bothering it? None of the documentation on kill (1) shows a signal 0 nor does kill -l. Something tells me this is a bad idea these days, but I still need an easy way to see if XYZ process is still alive. Thank you. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:08:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F84ECF for ; Tue, 4 Dec 2012 20:08:14 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 097368FC19 for ; Tue, 4 Dec 2012 20:08:13 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id qB4K9b60009439; Tue, 4 Dec 2012 14:09:37 -0600 (CST) Date: Tue, 4 Dec 2012 14:09:37 -0600 (CST) From: Robert Bonomi Message-Id: <201212042009.qB4K9b60009439@mail.r-bonomi.com> To: martin@dc.cis.okstate.edu Subject: Re: Safe Way to Tell if Process is Running In-Reply-To: <201212041939.qB4JdfGt085863@x.it.okstate.edu> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:08:14 -0000 > Subject: Safe Way to Tell if Process is Running > Date: Tue, 04 Dec 2012 13:39:41 -0600 > From: Martin McCormick > > About 20 years ago, I saw some code in which you > verified whether or not a process was running by giving it a > kill -0 command. If the process was running, nothing happened to > it but your kill -0 command exited with a 0 status. If there was > no process with that PID, the kill command exited non-zero. > > I use this in a system(command); in a C program I wrote > some years ago and I think this is now causing a segmentation > fault when the process number being signalled doesn't exist. Is > there a better way to determine if process number 12345 is > running without bothering it? > > None of the documentation on kill (1) shows a signal 0 > nor does kill -l. > > Something tells me this is a bad idea these days, but I > still need an easy way to see if XYZ process is still alive. 'man 2 kill' tells all. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:27:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CBA1AA56 for ; Tue, 4 Dec 2012 20:27:31 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 449488FC0C for ; Tue, 4 Dec 2012 20:27:31 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB4KRMwd050270 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 4 Dec 2012 20:27:22 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB4KRMwd050270 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354652842; bh=12C6JaQ4yfWCRI+KpUk2XjbQ33XjTqUiXmOUZi/Bx7c=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2004=20Dec=202012=2020:27:15=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20upgrade?|References:=20=20<50BC4790.5010707@FreeBSD.org>=20=20<50BCCA1C.7010800@freebsd.org>=20<50BD10E F.3000601@infracaninophile.co.uk>=20=2 0<50BDA374.5090305@infracaninophile.co.uk>|In-Reply-To:=20<50BDA37 4.5090305@infracaninophile.co.uk>; b=mO4NR4DYFB+C9cIzWlnOujAoR2klqQKaLWjNrFHbqAI7zjkoOuU1QWB8fV+yB5vy+ 50l27uOSS9ZCRndlq7XfwNIy+HUa8ZgxhAayEsA+sJ1pVWKycIaqzngWc4YcGwDT1J PexT7AxMwfKVkaokY02CVVIgj5TuDuNB8qtwWAmo= Message-ID: <50BE5CA3.3050308@infracaninophile.co.uk> Date: Tue, 04 Dec 2012 20:27:15 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> <50BDA374.5090305@infracaninophile.co.uk> In-Reply-To: <50BDA374.5090305@infracaninophile.co.uk> X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig97DEFB45B23693FA8120BAC6" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:27:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig97DEFB45B23693FA8120BAC6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > On 03/12/2012 22:10, Walter Hurry wrote: >> I think there's a problem with 'pkg info' irrespective of how the pack= age=20 >> is built. >> >> $ pkg info -s -F gcc-4.6.4.20121123.txz >> gcc-4.6.4.20121123 flat size is: 0 B >> gcc-4.6.4.20121123 package size is: 0 B >> $ pkg query -F gcc-4.6.4.20121123.txz %sh >> 567 MB On 04/12/2012 07:17, Matthew Seaman wrote: > It's clear that there is a flaw somewhere, but it's not where I first > thought. I need to recheck things more thoroughly on my work machine > which I believe was showing the same symptoms. Starting to doubt what I= > saw yesterday. I just committed a fix to the release-1.0 branch which will be in the next release. Was already fixed in master. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig97DEFB45B23693FA8120BAC6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC+XKoACgkQ8Mjk52CukIz6UwCfYZKVirWDmIUatYqKkERDe3/u +2UAn0Mca2au+vpxgyvUcsz3v0+583NR =QoYg -----END PGP SIGNATURE----- --------------enig97DEFB45B23693FA8120BAC6-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:27:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E174AAE9 for ; Tue, 4 Dec 2012 20:27:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 985A68FC12 for ; Tue, 4 Dec 2012 20:27:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id qB4KRXkr012997; Tue, 4 Dec 2012 13:27:33 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id qB4KRXWj012994; Tue, 4 Dec 2012 13:27:33 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 4 Dec 2012 13:27:33 -0700 (MST) From: Warren Block To: Rick Miller Subject: Re: gPXE booting FreeBSD? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 04 Dec 2012 13:27:33 -0700 (MST) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:27:39 -0000 On Tue, 4 Dec 2012, Rick Miller wrote: > Does anyone have any experience booting FreeBSD via gPXE and have > pointers to relevant documentation and/or blog posts? gpxelinux.0 is what I've used in my PXE article. The latest version I tried was from SYSLINUX 4.04. gPXE is loaded as a secondary boot loader because it is more versatile than the typical TFTP-only loaders. In other words, the client PXE boots and loads gPXE. http://www.wonkity.com/~wblock/docs/html/pxe.html This is set up to boot into a menu. I have not tried direct booting without the menu. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:43:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10FFB4D7 for ; Tue, 4 Dec 2012 20:43:11 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id B1DB88FC08 for ; Tue, 4 Dec 2012 20:43:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfzKi-00080L-J7 for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:43:12 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:43:12 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:43:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Tue, 4 Dec 2012 20:42:44 +0000 (UTC) Lines: 9 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> <50BDA374.5090305@infracaninophile.co.uk> <50BE5CA3.3050308@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:43:11 -0000 On Tue, 04 Dec 2012 20:27:15 +0000, Matthew Seaman wrote: > I just committed a fix to the release-1.0 branch which will be in the > next release. Was already fixed in master. Thanks! Does that fix 'pkg info' reporting zero size, or the 'pkg update' misreporting of size difference, or both? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:48:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B40C5F4 for ; Tue, 4 Dec 2012 20:48:40 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E104D8FC13 for ; Tue, 4 Dec 2012 20:48:39 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB4Kmapp050794 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 4 Dec 2012 20:48:36 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB4Kmapp050794 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354654116; bh=GdYw+lFpkkslF/PGtUhAdOWviAZpj2CY7jqcAtvR+Ps=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2004=20Dec=202012=2020:48:36=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20upgrade?|References:=20=20<50BC4790.5010707@FreeBSD.org>=20=20<50BCCA1C.7010800@freebsd.org>=20<50BD10E F.3000601@infracaninophile.co.uk>=20=2 0<50BDA374.5090305@infracaninophile.co.uk>=20<50BE5CA3.3050308@inf racaninophile.co.uk>=20|In-Reply-To:=2 0; b=i6oYp0HCnLPP3fq434F0sE/qGqOQp+zOoNTkg0fKHYGS3DiQa6dSlFLxCT0igBvU6 IKlEVNf9Brvpj0dJaMqgXV697gtjoWaqocPAfISowCqRyfiCoFpjNGycnGJN435iX1 G9ueL0uWy5YSfLOinKi5AA6xmGukUdr72lfOmB1o= Message-ID: <50BE61A4.9010503@infracaninophile.co.uk> Date: Tue, 04 Dec 2012 20:48:36 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> <50BDA374.5090305@infracaninophile.co.uk> <50BE5CA3.3050308@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6C0754F8B063FB1D53EB2693" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:48:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6C0754F8B063FB1D53EB2693 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2012 20:42, Walter Hurry wrote: > On Tue, 04 Dec 2012 20:27:15 +0000, Matthew Seaman wrote: >=20 >> I just committed a fix to the release-1.0 branch which will be in the >> next release. Was already fixed in master. >=20 > Thanks! >=20 > Does that fix 'pkg info' reporting zero size, or the 'pkg update'=20 > misreporting of size difference, or both? Oh, yes. That was to fix pkg info getting the installed size of packages wrong when reading a pkg tarball. The other issue with pkg update had temporarily escaped me. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig6C0754F8B063FB1D53EB2693 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC+YaQACgkQ8Mjk52CukIxUvgCeILfza4GsAAnPo/Z1tIzzZO1L TugAnA/d/ekhk943IQ2jOAbsGsS+Aw16 =omwC -----END PGP SIGNATURE----- --------------enig6C0754F8B063FB1D53EB2693-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:50:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A80C9A7 for ; Tue, 4 Dec 2012 20:50:40 +0000 (UTC) (envelope-from martin@x.it.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id B2E4D8FC08 for ; Tue, 4 Dec 2012 20:50:39 +0000 (UTC) Received: from x.it.okstate.edu (localhost [127.0.0.1]) by x.it.okstate.edu (8.14.5/8.14.5) with ESMTP id qB4Koc70086364 for ; Tue, 4 Dec 2012 14:50:38 -0600 (CST) (envelope-from martin@x.it.okstate.edu) Message-Id: <201212042050.qB4Koc70086364@x.it.okstate.edu> cc: freebsd-questions@freebsd.org Subject: Re: Safe Way to Tell if Process is Running Date: Tue, 04 Dec 2012 14:50:38 -0600 From: Martin McCormick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:50:40 -0000 Robert Bonomi writes: > 'man 2 kill' tells all. I believe that is the first or second time I have used Section 2. I appreciate the reminder. It looks like ps -p ### >/dev/null appears to do what I need without producing output ps -p 54321 >/dev/null && date ran the date command if there was a process with that number and produced nothing if no process 54321 existed. Martin From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:51:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17204A4D for ; Tue, 4 Dec 2012 20:51:55 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id BFE088FC0C for ; Tue, 4 Dec 2012 20:51:54 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by x.it.okstate.edu (8.14.5/8.14.5) with ESMTP id qB4KpruD086384 for ; Tue, 4 Dec 2012 14:51:54 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201212042051.qB4KpruD086384@x.it.okstate.edu> To: freebsd-questions@freebsd.org Subject: Re: Safe Way to Tell if Process is Running Date: Tue, 04 Dec 2012 14:51:53 -0600 From: Martin McCormick X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:51:55 -0000 Robert Bonomi writes: > 'man 2 kill' tells all. I believe that is the first or second time I have used Section 2. I appreciate the reminder. It looks like ps -p ### >/dev/null appears to do what I need without producing output ps -p 54321 >/dev/null && date ran the date command if there was a process with that number and produced nothing if no process 54321 existed. Martin From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:52:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E836EAEF for ; Tue, 4 Dec 2012 20:52:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 978838FC08 for ; Tue, 4 Dec 2012 20:52:54 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfzUG-0004KV-VP for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:53:04 +0100 Received: from p4fc54df7.dip.t-dialin.net ([79.197.77.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:04 +0100 Received: from jumper99 by p4fc54df7.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: "Helmut Schneider" Subject: Re: gPXE booting FreeBSD? Date: Tue, 4 Dec 2012 20:52:42 +0000 (UTC) Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fc54df7.dip.t-dialin.net User-Agent: XanaNews/1.19.1.320 X-Ref: news.gmane.org ~XNS:0000006D X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:52:55 -0000 Rick Miller wrote: > Does anyone have any experience booting FreeBSD via gPXE and have > pointers to relevant documentation and/or blog posts? I use mfsBSD (http://mfsbsd.vx.sk/) and pxelinux. DEFAULT boot/menu.c32 PROMPT 0 TIMEOUT 0 MENU TITLE network boot menu - FreeBSD LABEL ^1 - mfsBSD 8.2 i386 (user=root pass=mfsroot) KERNEL boot/memdisk APPEND raw initrd=FreeBSD/8.2/i386/mfsboot.img LABEL ^2 - mfsBSD 8.2 i386 mini (user=root pass=mfsroot) KERNEL boot/memdisk APPEND raw initrd=FreeBSD/8.2/i386/mfsboot_mini.img LABEL ^3 - mfsBSD 8.2 amd64 (user=root pass=mfsroot) KERNEL boot/memdisk APPEND raw initrd=FreeBSD/8.2/amd64/mfsboot.img LABEL ^4 - mfsBSD 8.2 amd64 mini (user=root pass=mfsroot) KERNEL boot/memdisk APPEND raw initrd=FreeBSD/8.2/amd64/mfsboot_mini.img LABEL back KERNEL boot/menu.c32 APPEND pxelinux.cfg/default HTH, Helmut From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 20:53:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B413B86 for ; Tue, 4 Dec 2012 20:53:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id E0D458FC17 for ; Tue, 4 Dec 2012 20:53:04 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfzUQ-0004YE-G9 for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:53:14 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:14 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 21:53:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Issue with the pkgng repository Date: Tue, 4 Dec 2012 20:52:43 +0000 (UTC) Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 20:53:05 -0000 I have another minor issue with pkgng: Say package foo-1.0 depends on bar-1.0. Then bar-1.0 is upgraded to version 1.1. So a new package bar-1.1 is built (from the port), and replaces bar-1.0 in the repository. The repository database is then updated using 'pkg repo'. Now the repository database is out of whack: It still thinks foo-1.0 depends on bar-1.0 (the deps table in the compressed repo.sqlite database - i.e. repo.txz in the repository). Admittedly the packages will still install (from the repository in question) on another machine, but nevertheless it doesn't seem quite right. One workaround is to re-create the foo package (plus any others depending on bar) and refresh the repository, but is this an omission? From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:08:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F72EF36 for ; Tue, 4 Dec 2012 21:08:49 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE638FC15 for ; Tue, 4 Dec 2012 21:08:48 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Tfzk3-0006gH-St for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:09:23 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TfzjL-000Aqj-Q1 for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:08:39 +0000 Date: Tue, 4 Dec 2012 21:08:37 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Safe Way to Tell if Process is Running Message-Id: <20121204210837.1eaa847ea1eaec7850ba8054@sohara.org> In-Reply-To: <201212042050.qB4Koc70086364@x.it.okstate.edu> References: <201212042050.qB4Koc70086364@x.it.okstate.edu> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:08:49 -0000 On Tue, 04 Dec 2012 14:50:38 -0600 Martin McCormick wrote: > Robert Bonomi writes: > > 'man 2 kill' tells all. > > I believe that is the first or second time I have used > Section 2. I appreciate the reminder. It looks like ps -p ### > >/dev/null appears to do what I need without producing output > > ps -p 54321 >/dev/null && date ran the date command if there was > a process with that number and produced nothing if no process > 54321 existed. That's not a certain test, ps can miss processes. Given that you are working in C you would be better off calling kill directly rather than spawning a process with system and risking picking up some odd implementation of a command. if (-1 != kill(pid, 0)) { // Process exists } else if (EPERM == errno) { // No permission to signal process - belongs to someone else } else if (ESRCH == errno) { // Process does not exist } else { // Something weird and undocumented went wrong } -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:10:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EFC5BD for ; Tue, 4 Dec 2012 21:10:47 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 79CAE8FC14 for ; Tue, 4 Dec 2012 21:10:45 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB4LAgwf051246 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 4 Dec 2012 21:10:42 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB4LAgwf051246 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354655442; bh=axh9dTyAR7KOfX1yjPG+v2tOfmm2r+EvlWNAtuj3sM0=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Tue,=2004=20Dec=202012=2021:10:41=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20pkg=20upgrade?|References:=20=20<50BC4790.5010707@FreeBSD.org>=20=20<50BCCA1C.7010800@freebsd.org>=20<50BD10E F.3000601@infracaninophile.co.uk>=20=2 0<50BDA374.5090305@infracaninophile.co.uk>=20<50BE5CA3.3050308@inf racaninophile.co.uk>=20=20<50BE61A4.90 10503@infracaninophile.co.uk>|In-Reply-To:=20<50BE61A4.9010503@inf racaninophile.co.uk>; b=bO4UwvITA085ZEf5F3NiqSQ93YZTOK6Tou+L7jyf0Q+tgrThlV9JJ18PbnOAUcNo9 JI4rC9Waq2QUiARWYgKISpQUarB6KvjrhncxPm5rdUeecaSwPb4/7tZ/E1aBv0SAQ8 7L25r6dwdKemKrq8kLQ8AUiN+IYx276oqWs2/pws= Message-ID: <50BE66D1.6030409@infracaninophile.co.uk> Date: Tue, 04 Dec 2012 21:10:41 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg upgrade? References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> <50BDA374.5090305@infracaninophile.co.uk> <50BE5CA3.3050308@infracaninophile.co.uk> <50BE61A4.9010503@infracaninophile.co.uk> In-Reply-To: <50BE61A4.9010503@infracaninophile.co.uk> X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3E0521ABB6CC8692BCA25696" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:10:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3E0521ABB6CC8692BCA25696 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2012 20:48, Matthew Seaman wrote: > On 04/12/2012 20:42, Walter Hurry wrote: >> On Tue, 04 Dec 2012 20:27:15 +0000, Matthew Seaman wrote: >> >>> I just committed a fix to the release-1.0 branch which will be in the= >>> next release. Was already fixed in master. >> >> Thanks! >> >> Does that fix 'pkg info' reporting zero size, or the 'pkg update'=20 >> misreporting of size difference, or both? >=20 > Oh, yes. That was to fix pkg info getting the installed size of > packages wrong when reading a pkg tarball. >=20 > The other issue with pkg update had temporarily escaped me. Yeah. Committed a fix for the pkg upgrade disk space thing too. If you upgraded to a package that was smaller than the one it was replacing it would report the change in space used as the sum of the old and new sizes, when clearly it should be the difference. D'Oh! Surprised no one spotted that before now. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig3E0521ABB6CC8692BCA25696 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC+ZtIACgkQ8Mjk52CukIwNrwCfdT1+09DVelql3FbI2IYjGnpO LwsAnR/uweb7oHKhzFmJrJLfv9FVExli =eoAf -----END PGP SIGNATURE----- --------------enig3E0521ABB6CC8692BCA25696-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:14:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29ECA32C for ; Tue, 4 Dec 2012 21:14:09 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id C7A618FC17 for ; Tue, 4 Dec 2012 21:14:08 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tfzon-0007U5-Kg for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 22:14:17 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 22:14:17 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Dec 2012 22:14:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Tue, 4 Dec 2012 21:13:54 +0000 (UTC) Lines: 26 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> <50BDA374.5090305@infracaninophile.co.uk> <50BE5CA3.3050308@infracaninophile.co.uk> <50BE61A4.9010503@infracaninophile.co.uk> <50BE66D1.6030409@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:14:09 -0000 On Tue, 04 Dec 2012 21:10:41 +0000, Matthew Seaman wrote: > On 04/12/2012 20:48, Matthew Seaman wrote: >> On 04/12/2012 20:42, Walter Hurry wrote: >>> On Tue, 04 Dec 2012 20:27:15 +0000, Matthew Seaman wrote: >>> >>>> I just committed a fix to the release-1.0 branch which will be in the >>>> next release. Was already fixed in master. >>> >>> Thanks! >>> >>> Does that fix 'pkg info' reporting zero size, or the 'pkg update' >>> misreporting of size difference, or both? >> >> Oh, yes. That was to fix pkg info getting the installed size of >> packages wrong when reading a pkg tarball. >> >> The other issue with pkg update had temporarily escaped me. > > Yeah. Committed a fix for the pkg upgrade disk space thing too. If you > upgraded to a package that was smaller than the one it was replacing it > would report the change in space used as the sum of the old and new > sizes, when clearly it should be the difference. D'Oh! Surprised no > one spotted that before now. Excellent. Thanks again. From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:32:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19DC78B7 for ; Tue, 4 Dec 2012 21:32:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 7858E8FC12 for ; Tue, 4 Dec 2012 21:32:27 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB4LWJaP051663 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 4 Dec 2012 21:32:19 GMT (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB4LWJaP051663 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1354656739; bh=+AKAfST3F3h3Xb7SA+ybA2ugdJHi4krVF99c76KI3hU=; h=Date:From:To:CC:Subject:References:In-Reply-To; z=Date:=20Tue,=2004=20Dec=202012=2021:32:19=20+0000|From:=20Matthew =20Seaman=20|To:=20Walter=20Hurry =20|CC:=20freebsd-questions@freebsd.org|Sub ject:=20Re:=20Issue=20with=20the=20pkgng=20repository|References:= 20|In-Reply-To:=20; b=GH5kUv7p9x+ZrwfZLguZjpQICeWmtAmic8mrDJFgrZtzNRoMoiZa4DFmYxQeCpJFX 6KhNxJid+fs4qrCxtqWTfXnh879q7ZH0vtkwbveRkBT71aF9lYojdhMNjQDgg4M+b3 f8toQANSRnsKFEa9WqS1T+jwGKQyP3YKpVny6fOo= Message-ID: <50BE6BE3.8050606@infracaninophile.co.uk> Date: Tue, 04 Dec 2012 21:32:19 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Walter Hurry Subject: Re: Issue with the pkgng repository References: In-Reply-To: X-Enigmail-Version: 1.4.6 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDA9E09B4BB4E7DBE2FE4BBEF" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:32:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA9E09B4BB4E7DBE2FE4BBEF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/12/2012 20:52, Walter Hurry wrote: > I have another minor issue with pkgng: >=20 > Say package foo-1.0 depends on bar-1.0. Then bar-1.0 is upgraded to=20 > version 1.1. >=20 > So a new package bar-1.1 is built (from the port), and replaces bar-1.0= =20 > in the repository. The repository database is then updated using 'pkg=20 > repo'.=20 >=20 > Now the repository database is out of whack: It still thinks foo-1.0=20 > depends on bar-1.0 (the deps table in the compressed repo.sqlite databa= se=20 > - i.e. repo.txz in the repository). >=20 > Admittedly the packages will still install (from the repository in=20 > question) on another machine, but nevertheless it doesn't seem quite=20 > right. >=20 > One workaround is to re-create the foo package (plus any others dependi= ng=20 > on bar) and refresh the repository, but is this an omission? This is a flaw in your package repository maintenance process. If bar-1.0 is upgraded to bar-1.1 then you should rebuild all the packages that have a direct dependency on it, and possibly many of the packages that have an indirect dependency too. I say 'rebuild' because that is generally what happens in practice, even though in many cases you could probably get away with simply repackaging everything that requires bar-1.= x. Not always though, and it's hard to tell the difference programatically in the general case. If, for example, bar-1.0 provides libbar.so.1 and bar-1.1 provides libbar.so.2 then full rebuilds are definitely required for anything that ultimately links against libbar.so. And to discover that 100% accurately, you have to examine the dynamic linkage characteristics of every ELF file in every package with bar-1.x somewhere in its dependency tree. (No, LIB_DEPENDS cannot be relied on for this) That's just once example reason why you might need a full rebuild. There are many more. Which is why it is standard to just punt and rebuild everything that requires bar-1.x. Tracking this sort of stuff manually is pretty tedious. Which is why things like poudriere and tinderbox exist; so you can automate. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enigDA9E09B4BB4E7DBE2FE4BBEF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlC+a+MACgkQ8Mjk52CukIwPrgCdGdAsNhTM373ime9RquJluLoc LmgAn05omyX5xgLdeiD0OqOdcr8I9rH0 =t6H1 -----END PGP SIGNATURE----- --------------enigDA9E09B4BB4E7DBE2FE4BBEF-- From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:50:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AEBE203 for ; Tue, 4 Dec 2012 21:50:44 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B166E8FC12 for ; Tue, 4 Dec 2012 21:50:43 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so4683805lah.13 for ; Tue, 04 Dec 2012 13:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=+z941QUARys81QQOcdJJbU9nZrmIkp1Vr2tR0udj0z8=; b=dMn1yARNyfIeNBQs/FeUKOrs7H3nQkM+90SobBShxltYkh4bLKoPMsJPqrrbNIpo2k JBpJy8AB3ZbLclnlOfIwsxuGigZlhk7CjX6Yig8UzwJF3ZmqPVAgUDBBANEK08XzvxjC k0q1/Tr6NgKp/uEUUaluPYOjoeg/YVbv8Ze4I8d6covVTWweu09sl3sxXy785WdMiR/y RsJL/yI0uZwcs26TmxmEtpRow988Uf7tUx+FFLpQ1ZnEs3TNbVkxwn7Ei3ZlxcVKeXXl Bm83wPTMMFzMluysBPNeoMuLi3UOY9cD1pZCHr1hqoC714irE3Y8u01eXQthTZH0aIEb EEng== MIME-Version: 1.0 Received: by 10.112.84.102 with SMTP id x6mr6606537lby.35.1354657842374; Tue, 04 Dec 2012 13:50:42 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Tue, 4 Dec 2012 13:50:42 -0800 (PST) Date: Tue, 4 Dec 2012 16:50:42 -0500 X-Google-Sender-Auth: PC-9Ttcdk96Uxxd5alwacHltzZE Message-ID: Subject: root filesystem and soft-update From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:50:44 -0000 Hi all, I remember one time seeing a site that explained why soft-updates was not enabled for the root filesystem. I tried looking for it earlier, but failed to locate it. Is there someone who knows where it is? -- Rick -- Sent from my mobile device Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 21:57:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B995F497 for ; Tue, 4 Dec 2012 21:57:56 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 3C7CA8FC2F for ; Tue, 4 Dec 2012 21:57:55 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 4 Dec 2012 22:57:53 +0100 Message-ID: <50BE71E1.9010701@ose.nl> Date: Tue, 04 Dec 2012 22:57:53 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: root filesystem and soft-update References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 21:57:56 -0000 On 12/04/12 22:50, Rick Miller wrote: > Hi all, > > I remember one time seeing a site that explained why soft-updates was > not enabled for the root filesystem. I tried looking for it earlier, > but failed to locate it. Is there someone who knows where it is? > > -- > Rick > Hi Rick Maybe in the FAQ? http://www.freebsd.org/doc/faq/disks.html#safe-softupdates From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 22:07:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C19838F4 for ; Tue, 4 Dec 2012 22:07:06 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5858FC13 for ; Tue, 4 Dec 2012 22:07:06 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Tg0eZ-00058r-GN for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 22:07:47 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tg0dq-000B5e-VR for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 22:07:03 +0000 Date: Tue, 4 Dec 2012 22:07:01 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: root filesystem and soft-update Message-Id: <20121204220701.3aa322b9507fb55c7b391af9@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2012 22:07:06 -0000 On Tue, 4 Dec 2012 16:50:42 -0500 Rick Miller wrote: > Hi all, > > I remember one time seeing a site that explained why soft-updates was > not enabled for the root filesystem. I tried looking for it earlier, > but failed to locate it. Is there someone who knows where it is? No idea about where it is, but I can recall the reasons. The root filesystem is often quite small and the delay in space freed by deletions could cause the filesystem to fill up during an update resulting in a failed update and a partially hosed root filesystem (not inconsistent, just incomplete - but if it's /bin/sh that's gone it could be tricky recovering). The other reason is that softupdates is about optimising write performace, and the root filesystem shouldn't be getting many writes in normal use so softupdates is of no benefit. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 00:10:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2092924D for ; Wed, 5 Dec 2012 00:10:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id C352B8FC08 for ; Wed, 5 Dec 2012 00:10:37 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tg2ZZ-0006fG-1M for freebsd-questions@freebsd.org; Wed, 05 Dec 2012 01:10:45 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2012 01:10:45 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Dec 2012 01:10:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Issue with the pkgng repository Date: Wed, 5 Dec 2012 00:10:18 +0000 (UTC) Lines: 7 Message-ID: References: <50BE6BE3.8050606@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 00:10:38 -0000 On Tue, 04 Dec 2012 21:32:19 +0000, Matthew Seaman wrote: > This is a flaw in your package repository maintenance process. Thanks. Noted. I shall rethink the process accordingly. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 03:47:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E865FAD for ; Wed, 5 Dec 2012 03:47:39 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id 02CC48FC08 for ; Wed, 5 Dec 2012 03:47:38 +0000 (UTC) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id DEC9D32251 for ; Wed, 5 Dec 2012 03:55:55 +0000 (UTC) Message-ID: <50BEC3CD.3080002@growveg.net> Date: Wed, 05 Dec 2012 03:47:25 +0000 From: John User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: svn incantation for 9.1-RELEASE References: <50BC2796.5000708@growveg.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 03:47:39 -0000 On 03/12/2012 07:42, Christer Solskogen wrote: > On Mon, Dec 3, 2012 at 5:16 AM, John wrote: >> Hello list, >> >> At the moment, I get sources via a line like this: >> >> svn checkout svn://svn.freebsd.org/base/releng/9.1/ /usr/src >> > > > That one should give you 9.1-RELEASE. > thanks for this -- freebsd at growveg dot net From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 05:38:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C81342F for ; Wed, 5 Dec 2012 05:38:56 +0000 (UTC) (envelope-from rloefgren@forethought.net) Received: from mzpi3.forethought.net (mzpi3.forethought.net [216.241.36.12]) by mx1.freebsd.org (Postfix) with ESMTP id 53C7D8FC0C for ; Wed, 5 Dec 2012 05:38:55 +0000 (UTC) Received: from 216-241-45-95.static.forethought.net ([216.241.45.95] helo=auden.jmla.com) by mz1.forethought.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1Tg6ti-0004C0-5F for freebsd-questions@freebsd.org; Tue, 04 Dec 2012 21:47:50 -0700 Message-ID: <50BED1F5.2030503@forethought.net> Date: Tue, 04 Dec 2012 21:47:49 -0700 From: Reed Loefgren User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: svn incantation for 9.1-RELEASE References: <50BC2796.5000708@growveg.net> <50BEC3CD.3080002@growveg.net> In-Reply-To: <50BEC3CD.3080002@growveg.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 05:38:56 -0000 On 12/04/12 20:47, John wrote: > On 03/12/2012 07:42, Christer Solskogen wrote: >> On Mon, Dec 3, 2012 at 5:16 AM, John wrote: >>> Hello list, >>> >>> At the moment, I get sources via a line like this: >>> >>> svn checkout svn://svn.freebsd.org/base/releng/9.1/ /usr/src >>> >> >> That one should give you 9.1-RELEASE. >> > thanks for this Hi all, I re-built my home and work machines to 9.1-RELEASE today and tonight a lap top is next, all using the same URL for svn. They all have a different revision number: Home machine is r243863M, work machine is r243864M and the laptop source is 243875. How long do changes go on under the 'RELEASE' badge, before it becomes 9-STABLE? I thought they picked a rev and nailed the tag there. thanks, r From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 07:30:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 144129D7 for ; Wed, 5 Dec 2012 07:30:41 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CCF28FC13 for ; Wed, 5 Dec 2012 07:30:39 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id go10so5166660lbb.13 for ; Tue, 04 Dec 2012 23:30:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hr6jd0Kj1+YAre7rkMWYuJ3TzsedNVCIOws+bmy4U38=; b=Zmy+27x2pLB6LEoqzDAUXNA+ivGjCbkUll9Z9G+fXZqM6A+hPXGRIA4u9Q7StS8KM0 lPdqWHN7o0WE93Ikc1xjjZdCRM9QragXzbqLwc17+sSDGglv4bKkXxaiff4XDPVJYsET sk+OfB+rHR2dkxWv/85rTsYpzzVNnMstaLBVDtf3rj7EN8YDh9MGgpgbuT6pli3IGYqW kMMFxAm8z9nUmTeJzb4k86Xxn+E9aeGl/BWMrO8Uk5x3s1zPszNzixyxun3LXf2wp4s+ VD+0UE7HOu7lHCykKCQrvoSsq1G81+YaZ3H9aB65dtnyFPyFkUKZSoyqbRcoC3VfcgxX kqBw== Received: by 10.112.39.74 with SMTP id n10mr7044738lbk.56.1354692638799; Tue, 04 Dec 2012 23:30:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.45.129 with HTTP; Tue, 4 Dec 2012 23:30:18 -0800 (PST) In-Reply-To: <50BED1F5.2030503@forethought.net> References: <50BC2796.5000708@growveg.net> <50BEC3CD.3080002@growveg.net> <50BED1F5.2030503@forethought.net> From: Christer Solskogen Date: Wed, 5 Dec 2012 08:30:18 +0100 Message-ID: Subject: Re: svn incantation for 9.1-RELEASE To: Reed Loefgren Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 07:30:41 -0000 On Wed, Dec 5, 2012 at 5:47 AM, Reed Loefgren wrote: > I re-built my home and work machines to 9.1-RELEASE today and tonight a > lap top is next, all using the same URL for svn. They all have a > different revision number: Home machine is r243863M, work machine is > r243864M and the laptop source is 243875. How long do changes go on > under the 'RELEASE' badge, before it becomes 9-STABLE? I thought they > picked a rev and nailed the tag there. > Yes, and no. releng/9.1 will get very imporant fixes and security fixes (if any) release/9.1.0 however will not - this is a read-only tag. stable/9 will be a moving target. And at a certain point in time, that become releng/9.2. Don't be fooled by the revision number. The revision number is for the whole subversion repository. svn info will tell you: Last Changed Rev: 243710 -- chs, From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 09:01:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F002E9E for ; Wed, 5 Dec 2012 09:01:54 +0000 (UTC) (envelope-from alexey.w.tyurikov@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B4C798FC1E for ; Wed, 5 Dec 2012 09:01:53 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so2439519wey.13 for ; Wed, 05 Dec 2012 01:01:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=r1yrj7zjosy57iTMeoefwoIAqOPh+3uQl3L5UQeyj4U=; b=NacPnVP4MR2eBL8n8yzCVAx4oYv9S0ByfFYqfcaKHM9qogmCkTsBietm6oc864cnKP ekVu+Epd/1/b9O8n6b6dUF8IYV2Y98AgNZhU27S05Cbr+zDeJnpmATG6Vgu93vUxwm5d tyjeIt6jmPNhEcRneau7smqFcFGQePw5g0/n2RU2CP90LrBLwtAIwfDIVj6bRTXIgOYj HD2tZ3p0pL9QPplleI8v+H8NQ0vWh3hZmzzh20F+yD9Ae/gAfxrDMGTRMpKsSegzfvO9 kI8rFzuPwGAixlvCccqo7USUREnTzrEa76enIimVVLNza0MFfjcOqvDM0IYbCPJxzfQY 8vnA== MIME-Version: 1.0 Received: by 10.180.81.170 with SMTP id b10mr1820517wiy.16.1354698112625; Wed, 05 Dec 2012 01:01:52 -0800 (PST) Sender: alexey.w.tyurikov@gmail.com Received: by 10.194.51.67 with HTTP; Wed, 5 Dec 2012 01:01:52 -0800 (PST) Date: Wed, 5 Dec 2012 10:01:52 +0100 X-Google-Sender-Auth: A6OWGVxLcGXN2QF3i94LhI0XDR0 Message-ID: Subject: sssd 1.8.4 From: Alexey Tyurikov To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 09:01:54 -0000 Dear list members, does anyone use sssd 1.8.4? I try to set it up on on FreeBSD 9.1-RC3 but get no success. First of all, there is no log files under /var/log/sssd, so that I can not see, what is going wrong. I've edited two config files and expect to be able to list LDAP(SAMBA4) users but it doesn't work. Do I miss something here? ---------------------- sssd.conf ------------------------------ [sssd] config_file_version = 2 reconnection_retries = 3 sbus_timeout = 30 services = nss, pam domains = DOM [nss] filter_groups = root filter_users = root reconnection_retries = 3 [pam] reconnection_retries = 3 [domain/DOM] debug_level = 7 # kerberos auth_provider = krb5 chpass_provider = krb5 krb5_server = srv.test.dom krb5_realm = TEST.DOM ldap_force_upper_case_realm = true # ldap id_provider = ldap timeout = 20 ldap_uri = ldap://srv.test.dom ldap_search_base = DC=test,DC=dom ldap_schema = rfc2307bis ldap_default_bind_dn = CN=Administrator,CN=Users,DC=test,DC=dom ldap_default_authtok_type = password ldap_default_authtok = secret ldap_user_uid_number = uidNumber ldap_user_gid_number = gidNumber ldap_user_object_class = user ldap_group_object_class = group ldap_user_home_directory = unixHomeDirectory ldap_user_principal = userPrincipalName ldap_account_expire_policy = ad enumerate = true -------------------------------------------------------------------- -------------------- nsswitsch.conf -------------------------- group: files sss group_compat: nis hosts: files dns networks: files passwd: files sss passwd_compat: nis shells: files services: compat services_compat: nis protocols: files rpc: files --------------------------------------------------------------------- I would be very appreciated for any help and hints. Best regards -- Alexey Tyurikov From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 10:13:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CCD123C for ; Wed, 5 Dec 2012 10:13:26 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D4C48FC0C for ; Wed, 5 Dec 2012 10:13:24 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so2473974wey.13 for ; Wed, 05 Dec 2012 02:13:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=KZpMPXF10+kU53dzV1yr5x6nY9grx/lmdPCrdjwwYxo=; b=NtXgBMozM77mj67l8fQqV6VUalzbc8pPa3n/CzbPuALDOudWmNkW66w3qfHCyugclQ Zwdv+UZwwC5Z1umrGIWXhh5h2cL509pcrmxdmtWdOQSGHMKBOdIBAnEaUHUHHnV/Ry4I 5I7Ei4KsitcE9ZeVPEqpb8hdIHSfMVuXL4m0edN9kGJ/iF1zEfF6VocaCdUvYzrxcSHy vNjVIbC5nEyPZRjXi64pNHYDD4l9MhAXJd13qq4uqumO4HHyAoD+ZZLtMGwThkDNebbY 89jDaFTqWKtSHmVHyq1nbyRh3GYB5Ah5X2ydECE7yvk9IIC5JG5r5LzVMqx5cHvxZHFs ta2A== Received: by 10.180.78.161 with SMTP id c1mr2198847wix.4.1354702403613; Wed, 05 Dec 2012 02:13:23 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id dw4sm5732149wib.1.2012.12.05.02.13.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Dec 2012 02:13:22 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: SOLVED - Re: CARP within VirtualBox Does it work? From: Fleuriot Damien In-Reply-To: <316715d0c46c4e5f5eb92a3b6c084f55@dweimer.net> Date: Wed, 5 Dec 2012 11:13:22 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <0FD323C7-DD76-4FE6-8FD0-1EE85E8C3848@my.gd> References: <737f4b1c8bff13850af119f917ed811c@dweimer.net> <9232DDFC-F40B-4914-A92D-3B5D9C1ECE5F@my.gd> <316715d0c46c4e5f5eb92a3b6c084f55@dweimer.net> To: X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlKzk5rliJNoV675h9ufn3aM2b1/bUPxe9YfWwP/rsvWi3UkY359xQNIpcjQRi1Mroimvt9 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 10:13:26 -0000 On Dec 4, 2012, at 8:17 PM, dweimer wrote: > On 2012-12-01 03:14, Damien Fleuriot wrote: >> On 30 November 2012 20:44, dweimer wrote: >>> On 2012-11-29 14:07, dweimer wrote: >>>>=20 >>>> On 2012-11-29 12:53, Fleuriot Damien wrote: >>>>>=20 >>>>> On Nov 29, 2012, at 6:43 PM, dweimer wrote: >>>>>=20 >>>>>> I was trying to setup a test of CARP on two virtual machines = running in >>>>>> VirtualBox 4.2.4r81684 I am not sure if I have something wrong = with my CARP >>>>>> configuration or if VirtualBox just doesn't work right with it. = I can only >>>>>> ping the CARP interface IP address from the machine listed as = MASTER, if I >>>>>> do an ifconfig carp0 down on the MASTER the other machine = correctly switches >>>>>> form BACKUP to MASTER and then I can ping the interface from it = but not from >>>>>> the Original system. >>>>>>=20 >>>>>> The VirtualBox systems are both using bridged networking, and the = host >>>>>> cannot ping the carp0 IP address but can ping the interface IP = address. >>>>>>=20 >>>>>> Before I go through more trouble shooting, does anyone know if = CARP >>>>>> doesn't work with VirtualBox? >>>>>>=20 >>>>>> carp configuration >>>>>> Machine1: >>>>>> ifconfig_em0=3D"UP" >>>>>> ifconfig_em0_name=3D"LAN" >>>>>> ipv4_addrs_LAN=3D"10.20.190.201/16" >>>>>> defaultrouter=3D"10.20.111.2" >>>>>> cloned_interfaces=3D"carp0" >>>>>> ifconfig_carp0=3D"vhid 1 advskew 100 pass ReduntantCarpTest >>>>>> 10.20.190.203/16 >>>>>>=20 >>>>>> ifconfig carp0: >>>>>> carp0 flags=3D49 metric 0 mtu 1500 >>>>>> inet 10.20.190.203 netmask 0xffff0000 >>>>>> nd6 options=3D29 >>>>>> carp: MASTER vhid 1 advbase 1 advskew 100 >>>>>>=20 >>>>>>=20 >>>>>> Machine2: >>>>>> ifconfig_em0=3D"UP" >>>>>> ifconfig_em0_name=3D"LAN" >>>>>> ipv4_addrs_LAN=3D"10.20.190.202/16" >>>>>> defaultrouter=3D"10.20.111.2" >>>>>> cloned_interfaces=3D"carp0" >>>>>> ifconfig_carp0=3D"vhid 1 pass ReduntantCarpTest 10.20.190.203/16 >>>>>>=20 >>>>>> ifconfig carp0: >>>>>> carp0 flags=3D49 metric 0 mtu 1500 >>>>>> inet 10.20.190.203 netmask 0xffff0000 >>>>>> nd6 options=3D29 >>>>>> carp: BACKUP vhid 1 advbase 1 advskew 0 >>>>>>=20 >>>>>> FreeBSD version is 9.1RC3 on both test machines. >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> We're using FreeBSD and CARP in virtualized environments at work, >>>>> albeit not on VirtualBox but on Proxmox/KVM. >>>>>=20 >>>>> First, I would advise replacing 10.20.190.203/16 with = 10.20.190.203/32 >>>>>=20 >>>>>=20 >>>>> I notice your carp0 is MASTER on machine1 with an advskew of 100 = vs >>>>> machine 2 advskew 0, same advbase. >>>>> Confirm this is *after* you've set carp0 down on machine2. >>>>>=20 >>>>> If both carps are up and machine1 with advskew 100 beats machine2 >>>>> with advskew 0, you have an additional problem. >>>>>=20 >>>>>=20 >>>>> See if you have any more luck with the /32 address on carp0 = anyway. >>>>=20 >>>>=20 >>>> The documentation shows the mask matching that of the interface: >>>> hostname=3D"hostb.example.org" >>>> ifconfig_fxp0=3D"inet 192.168.1.4 netmask 255.255.255.0" >>>> cloned_interfaces=3D"carp0" >>>> ifconfig_carp0=3D"vhid 2 pass testpass 192.168.1.51/24" >>>>=20 >>>> This is consistent with the man page for CARP on the system as = well. >>>> Regardless I tried with the /32 and had the same result as I did = with >>>> the /16. I had done various UP/DOWN on interfaces so the current >>>> MASTER was just the last one to have not been DOWN. I think I = might >>>> just copy these VMs to my VMWARE Workstation 9 install on my home = PC >>>> after work tonight and see if the problem persists. >>>=20 >>>=20 >>> The behavior definitely changed going from VirtualBox to VMWare, the = only >>> change in my configuration was the IP addresses to match the home = network. >>> However now I can talk to the carp interface form other machines, = but they >>> receive two response one from each of the test systems. TCPDUMP = shows that >>> they are each seeing the others broadcasts, but for some reason they = are >>> both running as MASTER. If you run a DOWN/UP on the interface, it = briefly >>> shows as BACKUP before switching to MASTER. I tried with both /24 = subnet of >>> my home network, and setting the carp0 interface to /32, both = behaved the >>> same. Any one have any other ideas, as to whether this comes down = to a >>> Virtual Network Issue, or a setup issue on my part. >>>=20 >>=20 >>=20 >> Well, it definitely works here for us on Proxmox/KVM. >>=20 >> When you tcpdump on your either host, do you see the CARP >> advertisements from the other ? >>=20 >>=20 >> FInd below the advertisements as seen from our CARP backup firewall: >> $ sudo tcpdump -ni vlan14 vrrp >> tcpdump: verbose output suppressed, use -v or -vv for full protocol = decode >> listening on vlan14, link-type EN10MB (Ethernet), capture size 96 = bytes >> 10:11:09.084568 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, >> Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 >> 10:11:10.282826 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, >> Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 >> 10:11:11.481075 IP 195.158.240.[snip] > 224.0.0.18: VRRPv2, >> Advertisement, vrid 114, prio 50, authtype none, intvl 1s, length 36 >=20 > Proabbly should have been more clear early when I mentioned I could = see the others broadcasts, this is what I menat, yes they do see the = others advertisements. It most definitely was virtual network related, = found some information on the pfSense wiki that directed me to the = advanced settings on the ethernet adapters within the VirtualBox network = settings on the virtual machines. Promiscuous mode was set to Deny, = change this to Enable All, problem solved on VirtualBox, CARP is now = working as intended. Still haven't figured out a fix for the issue I = discovered in VMware, found a lot of things about changing adapters = permissions on Linux hosts to allow promiscuous mode, and suspect it is = a permissions issue with the Windows 7 host, but I haven't found out how = to fix it yet. However I now know my configuration works and its not a = FreeBSD issue. >=20 > --=20 > Thanks, > Dean E. Weimer > http://www.dweimer.net/ Glad that fixed it for you, marking as Solved for people googling around = ;) Fix: edit ethernet adapters advanced settings to Permit promiscuous mode From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 11:48:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDA68A37 for ; Wed, 5 Dec 2012 11:48:09 +0000 (UTC) (envelope-from bounce-mc.us4_9350649.409421-freebsd-questions=freebsd.org@mail333.us2.mcsv.net) Received: from mail333.us2.mcsv.net (mail333.us2.mcsv.net [173.231.184.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0928FC12 for ; Wed, 5 Dec 2012 11:48:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail333.us2.mcsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version; i=gandirect=3Dgandirect.com@mail333.us2.mcsv.net; bh=EFIgn/WaM/BkNCgRsBS6gHTa22w=; b=yTKfWLI7P//TtxXgHstdP6TYMMVnv8IFunmiMJaUFIUqUWLDA12b0ygoVPODfCROP7yVo03avG1K IFYAB7DUd+4y33+AG1ukmQOeEYFVj41FC8Ss8+Sba9rqATDty1yzgCL0YYqgdcGuKyOzoCcr8r29 5Zhm4MWanOWbSqCoR+w= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=mail333.us2.mcsv.net; b=yS5HiAitwrxLHt5EF1tGo5FHA0KZznToU7wbwcc3q9OhPq9UNFyx6pXqdh09GNnMyQAdHfU35uDx T3O97K4u+sKha7/WHqkMB0xERnz/5ebiA1yNSkAO7bBk4p2IfTsNFb4/gkTycWZy4SzgeiNiryMM 17H8g/TVG2GJM6VgaNk=; Received: from (127.0.0.1) by mail333.us2.mcsv.net id hnsq3o14i1sh for ; Wed, 5 Dec 2012 11:30:55 +0000 (envelope-from ) Subject: =?utf-8?Q?Save=20=E2=82=AC=202=2C000=20with=20Gan=20Direct=20All=2Din=2DOne=20Insurance?= From: =?utf-8?Q?Gan=20Direct?= To: =?utf-8?Q??= Date: Wed, 5 Dec 2012 11:30:55 +0000 Message-ID: <953e7a73414b04f0ff6056f55a8af35d56f.20121205113137@mail333.us2.mcsv.net> X-Mailer: MailChimp Mailer - **CIDd52abfa867a8af35d56f** X-Campaign: mailchimp953e7a73414b04f0ff6056f55.d52abfa867 X-campaignid: mailchimp953e7a73414b04f0ff6056f55.d52abfa867 X-Report-Abuse: Please report abuse for this campaign here: http://www.mailchimp.com/abuse/abuse.phtml?u=953e7a73414b04f0ff6056f55&id=d52abfa867&e=a8af35d56f x-accounttype: pd Sender: "Gan Direct" x-mcda: FALSE MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="fixed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?utf-8?Q?Gan=20Direct?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 11:48:10 -0000 Save =E2=82=AC 2,000 by switching your Motor, Property and Health Insuranc= e to Gan Direct All-in-One ------------------------------------------------------------ http://us4.campaign-archive1.com/?u=3D953e7a73414b04f0ff6056f55&id=3Dd52ab= fa867&e=3Da8af35d56f (http://www.GanDirect.com?utm_source=3DNew+Prospective+Customers&utm_campa= ign=3Dd52abfa867-Pros_Bundled_offer11_28_2012&utm_medium=3Demail) Save =E2=82=AC 2,000 by switching your Motor, Property and Health Insurance to Gan Direct All-in-One We don't believe in empty promises. Gan Direct More for Less. Guaranteed. At Gan Direct, we believe in a world where life is simpler, easier, and mo= re affordable. Now by switching your Motor, Property and Health Insurance to Gan Direct A= ll-in-One you can save =E2=82=AC 2,000 per year. The savings example is for the average family, with two cars, two children= , in a four bedroom home with Health Insurance based on the most popular p= lan in Cyprus. And with Gan's Easy Switch service we will take the hassle off you by deal= ing with all the paperwork. Call us at 800 5 10 15. Gan Direct's All-in-One. Not just savings, but easy savings. Gan Direct | Simpler, Better, Faster The acceptance of your proposal is subject to terms and conditions and we= reserve the right to decline =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Copyright =C2=A9 2012 Gan Direct Insurance, All rights reserved. Our mailing address is: Gan Direct Insurance, PO Box 51998, 3509 Limassol ** forward to a friend (http://us4.forward-to-friend.com/forward?u=3D953e7= a73414b04f0ff6056f55&id=3Dd52abfa867&e=3Da8af35d56f) ** unsubscribe from this list (http://gandirect.us4.list-manage.com/unsubs= cribe?u=3D953e7a73414b04f0ff6056f55&id=3D63b7e8c64f&e=3Da8af35d56f&c=3Dd52ab= fa867) ** update subscription preferences (http://gandirect.us4.list-manage.com/p= rofile?u=3D953e7a73414b04f0ff6056f55&id=3D63b7e8c64f&e=3Da8af35d56f) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 11:50:19 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E20FEBE8 for ; Wed, 5 Dec 2012 11:50:19 +0000 (UTC) (envelope-from bounce-mc.us4_9350649.409421-questions=freebsd.org@mail338.us2.mcsv.net) Received: from mail338.us2.mcsv.net (mail338.us2.mcsv.net [173.231.184.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5B7A88FC13 for ; Wed, 5 Dec 2012 11:50:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail338.us2.mcsv.net; h=Subject:From:Reply-To:To:Date:Message-ID:List-Unsubscribe:Sender:Content-Type:MIME-Version; i=gandirect=3Dgandirect.com@mail338.us2.mcsv.net; bh=izeqwqi8/7njb0Jowm/rlQms/XQ=; b=GvzY12P9Erue8fF2kI7/eeZWaa2PQbsGNdebYVmCCrq8pUYGFujj6GBBt2QLSzZpIKu+YcxEgs3/ 4dpPBIewSGSGKmnpfkUappy0HyWJO/IY6HNyszpYXJyvcblsLIXX9+3vR9hx8QF5lvofR74g889u mjnox13epdUfBIWkVyE= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=mail338.us2.mcsv.net; b=UBS10qrkFvGQAoPj5zdHRen/OZHDI9eEz4ILJVfTD2oOo5n4/mA6vF0lCVSNdkCf4zZcoIWO3yKb +NbrZ0EYf4hvpTgfYEWKi0N1YEHwybfyoFbee6eMCQvxtcPpHG7KhGhJ5n8+3iyozbRj3PjS9qhV erXTosiBKaibSGmw154=; Received: from (127.0.0.1) by mail338.us2.mcsv.net id hnsqbs14i1st for ; Wed, 5 Dec 2012 11:34:04 +0000 (envelope-from ) Subject: =?utf-8?Q?Save=20=E2=82=AC=202=2C000=20with=20Gan=20Direct=20All=2Din=2DOne=20Insurance?= From: =?utf-8?Q?Gan=20Direct?= To: =?utf-8?Q??= Date: Wed, 5 Dec 2012 11:34:04 +0000 Message-ID: <953e7a73414b04f0ff6056f5545a40e088c.20121205113446@mail338.us2.mcsv.net> X-Mailer: MailChimp Mailer - **CIDd52abfa86745a40e088c** X-Campaign: mailchimp953e7a73414b04f0ff6056f55.d52abfa867 X-campaignid: mailchimp953e7a73414b04f0ff6056f55.d52abfa867 X-Report-Abuse: Please report abuse for this campaign here: http://www.mailchimp.com/abuse/abuse.phtml?u=953e7a73414b04f0ff6056f55&id=d52abfa867&e=45a40e088c x-accounttype: pd Sender: "Gan Direct" x-mcda: FALSE MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="fixed" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?utf-8?Q?Gan=20Direct?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 11:50:20 -0000 Save =E2=82=AC 2,000 by switching your Motor, Property and Health Insuranc= e to Gan Direct All-in-One ------------------------------------------------------------ http://us4.campaign-archive1.com/?u=3D953e7a73414b04f0ff6056f55&id=3Dd52ab= fa867&e=3D45a40e088c (http://www.GanDirect.com?utm_source=3DNew+Prospective+Customers&utm_campa= ign=3Dd52abfa867-Pros_Bundled_offer11_28_2012&utm_medium=3Demail) Save =E2=82=AC 2,000 by switching your Motor, Property and Health Insurance to Gan Direct All-in-One We don't believe in empty promises. Gan Direct More for Less. Guaranteed. At Gan Direct, we believe in a world where life is simpler, easier, and mo= re affordable. Now by switching your Motor, Property and Health Insurance to Gan Direct A= ll-in-One you can save =E2=82=AC 2,000 per year. The savings example is for the average family, with two cars, two children= , in a four bedroom home with Health Insurance based on the most popular p= lan in Cyprus. And with Gan's Easy Switch service we will take the hassle off you by deal= ing with all the paperwork. Call us at 800 5 10 15. Gan Direct's All-in-One. Not just savings, but easy savings. Gan Direct | Simpler, Better, Faster The acceptance of your proposal is subject to terms and conditions and we= reserve the right to decline =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Copyright =C2=A9 2012 Gan Direct Insurance, All rights reserved. Our mailing address is: Gan Direct Insurance, PO Box 51998, 3509 Limassol ** forward to a friend (http://us4.forward-to-friend.com/forward?u=3D953e7= a73414b04f0ff6056f55&id=3Dd52abfa867&e=3D45a40e088c) ** unsubscribe from this list (http://gandirect.us4.list-manage.com/unsubs= cribe?u=3D953e7a73414b04f0ff6056f55&id=3D63b7e8c64f&e=3D45a40e088c&c=3Dd52ab= fa867) ** update subscription preferences (http://gandirect.us4.list-manage.com/p= rofile?u=3D953e7a73414b04f0ff6056f55&id=3D63b7e8c64f&e=3D45a40e088c) From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 17:27:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F9DA61B for ; Wed, 5 Dec 2012 17:27:14 +0000 (UTC) (envelope-from lists.dan@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5746F8FC17 for ; Wed, 5 Dec 2012 17:27:14 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id x2so4978402iad.13 for ; Wed, 05 Dec 2012 09:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=AOEqnBisZFTfihVKjnNJDIJ5sneTTy85oiKzyImyhNc=; b=kvS/wmd/XWoSlawLyv35FrQD55AZpArJxDu7E5k1SWn7Q4XHmCVXXPbMtEVYzMxakj uyodXooexyRK7POSDAObf6E5xg8QyN8+YvoAqRZSv0K1b4VZGypP6cTYcog7fLyTyCpF hTRo59h92Nl9nW3bGzWjdX4LAzXVa0O6SsyBreekIgXmFrlafei1vbiilGydl3DY/fmG /xUHqDRzAs4tjZuk2Y0AavqdXAwaxaSiMjPyXBXplmfdbuomSg/tqR137+GNLUfvWZjO 51pQiEzh7M3OAVJsgs6bJApsHtWpmJI7MZxLt3BNaGjxkDWAXXwccSKqucpIbiZPOLJN ca6g== MIME-Version: 1.0 Received: by 10.50.46.129 with SMTP id v1mr2932038igm.42.1354728433618; Wed, 05 Dec 2012 09:27:13 -0800 (PST) Received: by 10.64.13.194 with HTTP; Wed, 5 Dec 2012 09:27:13 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Dec 2012 11:27:13 -0600 Message-ID: Subject: Re: getpwnam_r returns EINVAL on FreeBSD 8.3 From: Dan Lists To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 17:27:14 -0000 On Mon, Dec 3, 2012 at 5:54 PM, Dan Lists wrote: > After upgrading a server from FreeBSD 7.3 to FreeBSD 8.3 I noticed > this bug. Since upgrading, getpwnam_r is acting inconsistently. If I > look up a user that does not exist and the name is 16 characters or > less, getpwnam_r returns 0 and the result is NULL. If the name is > more than 16 characters, getpwnam_r returns EINVAL. Everything works > correctly for users that exist. I was incorrect. The behavior of getpwnam_r is the same on 7.3 and 8.3. The software I was testing acted differently on the two versions. > This only happens when the nsswitch.conf passwd: line contains files. > You need to use files if you are using another module such as msql or > ldap. The problem exists without the other modules listed. For > example: > > passwd: files I would like to emphasize that this does NOT happen when passwd: is set to compat. I believe this is a bug. getpwnam_r should have the same return values (or errno for getpwnam) whether nsswitch.conf has compat or files. If there is a really good reason for them to be different, it should be documented. > Below is a simple test program. Set passwd: to files in nsswitch.conf > and run the program. Any idea how to fix this bug with getpwnam_r? > > #include > #include > #include > > main() > { > lookup("doesnotexistXXXX"); > lookup("doesnotexistXXXXy"); > } > > int lookup( char *name) > { > > struct passwd pwd; > char buffer[1024]; > struct passwd *result; > int err; > > printf("\nLooking up: %s\n", name); > > err = getpwnam_r(name, &pwd, buffer, sizeof(buffer), &result); > > if( err != 0 ){ > printf("Return code: %d\n", err); > }else if( result == 0 ){ > printf("Returned no result!\n"); > }else{ > printf("Returned: %s (%d)\n", result->pw_name, result->pw_uid); > } > } From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 17:49:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19596DAA for ; Wed, 5 Dec 2012 17:49:29 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CA0CB8FC0C for ; Wed, 5 Dec 2012 17:49:28 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so6767536obc.13 for ; Wed, 05 Dec 2012 09:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Hou4DyhfxonGI91JBg6oVx9rEKqvZfWrxvc7pw6PaoI=; b=TVcOdX8B0WgFcnGTjfblwbdxq1mhIEnE0SXTnphXwJ2e9T7uC+ZFffVrU5rc8NO37X +FOVBFvYyB8yCsCSt/uYC8paSF1lXElZmLOjyZB5Dp/Jj9eUogC8zrlc55veGYRLI0qj zM2ina63zUpQ2Pg/do5lGNmFEGe/d0MsSpMGaex1NKZtzmRNU6cwaYlpgRa0ZWEh9QJq DX0j1KyQu8O9NNAOHI2EJhRJFlHkh0ZhcFlu5+94E4ll0aBvGByYis9YjhDWRM0sFXet VC58Gtvj9lB313lmDe/QicFp97xDCn29i3zoMAz7E+1eLhapv1/UX5ufn7lgcRvp6Gxk uSxg== MIME-Version: 1.0 Received: by 10.60.3.168 with SMTP id d8mr12213236oed.112.1354729767993; Wed, 05 Dec 2012 09:49:27 -0800 (PST) Received: by 10.76.172.98 with HTTP; Wed, 5 Dec 2012 09:49:27 -0800 (PST) In-Reply-To: References: <3DE339B11CC937D606BD7028@Pauls-MacBook-Pro.local> Date: Wed, 5 Dec 2012 11:49:27 -0600 Message-ID: Subject: Re: installworld strangeness From: David Noel To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 17:49:29 -0000 On 11/22/12, David Noel wrote: > On 11/22/12, Paul Schmehl wrote: >> --On November 22, 2012 7:14:35 AM -0600 David Noel >> >> >> wrote: >> >>> Updating from 8.2 to 8.3 I'm running into the following: >>> >>> ===> include (install) >>> creating osreldate.h from newvers.sh >>> dirname: not found >>> *** Error code 127 >>> >>> Stop in /usr/src/include. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> >>> Has anyone managed to work past this error message? >> >> I just upgraded a system from 8.2 to 8.3 without a problem. World build >> find as did kernel. >> >> It sounds like you're missing source files. >> >> Try fetching the source from svn and starting over. >> >> svn co svn://svn.freebsd.org/base/releng/8.3/ /usr/src >> >> Paul Schmehl, Senior Infosec Analyst >> > > I pulled with `svn co https://svn0.us-west.FreeBSD.org/base/releng/8.3 > /usr/src`, so everything should be in order there. > Out of frustration I resorted to the last measure of a clean install. I was afraid that I'd forgotten to record other filesystem changes and that they were causing the error so I figured it would be the easiest way to be sure. There was one mention of this error message on the questions mailing list that I'd missed earlier. In it the theory that file dates were causing the error message was discussed. Prior to reinstallation I ran `make -d A installworld` and in the verbose output was given a message supporting that theory: that the error was caused by sys/param.h being newer than osreldate.h, so it seems safe to say that was the cause. In retrospect though it seems strange. If that really was the case it makes little sense that a clean install would fix things. I built off of the exact same code so it stands to reason that error message should have presented itself again were the dates truly the cause. So I'm not entirely certain, unfortunately. At any rate, the problem has been resolved. For future readers struggling with a similar problem I'd suggest fiddling with the date-stamps to see if it resolves the error. Thanks, all. -David From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 20:19:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DEC2DA07 for ; Wed, 5 Dec 2012 20:19:26 +0000 (UTC) (envelope-from zonal.repit@insurer.com) Received: from smtp.ufl.edu (smtp-prod01.osg.ufl.edu [128.227.74.217]) by mx1.freebsd.org (Postfix) with ESMTP id 76E058FC12 for ; Wed, 5 Dec 2012 20:19:25 +0000 (UTC) Received: from REXSYLVA-PC ([41.58.46.210]) (authenticated bits=0) by smtp.ufl.edu (8.13.8/8.13.8/3.0.0) with ESMTP id qB5KHlLR004056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 5 Dec 2012 15:19:17 -0500 From: "LOTTO IT" Subject: 12/5/2012 To: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Wed, 5 Dec 2012 21:19:17 +0100 Message-ID: <608019374541018359@smtp.ufl.edu> X-Antivirus: avast! (VPS 121205-1, 12/05/2012), Outbound message X-Antivirus-Status: Clean X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185, 1.0.431, 0.0.0000 definitions=2012-12-05_08:2012-12-05,2012-12-05,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=25 spamscore=25 ipscore=0 suspectscore=3 phishscore=0 bulkscore=2 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1203120001 definitions=main-1212050172 X-Spam-Level: * X-UFL-Spam-Level: * Content-Type: text/plain ; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: rzonal@yahoo.cn List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 20:19:26 -0000 Hello freebsd-questions@freebsd.org , Please confirm if you are the ow= ner of this email. Reply =20 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:15:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 918418D1 for ; Wed, 5 Dec 2012 23:15:31 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0935E8FC12 for ; Wed, 5 Dec 2012 23:15:29 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 9101B8B14E6 for ; Thu, 6 Dec 2012 00:07:50 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.888 X-Spam-Level: X-Spam-Status: No, score=-100.888 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=-0.042, TW_MK=0.077, TW_PR=0.077, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id MT8YxzPqDKIF for ; Thu, 6 Dec 2012 00:07:48 +0100 (CET) Received: from probsd.c0c0.intra (p54B0BCDD.dip.t-dialin.net [84.176.188.221]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 4A1908B14E7 for ; Thu, 6 Dec 2012 00:07:48 +0100 (CET) Date: Thu, 6 Dec 2012 00:07:32 +0100 (CET) From: Marco Steinbach X-X-Sender: coco@probsd.c0c0.intra To: freebsd-questions@freebsd.org Subject: grep -Dskip doesn't skip FIFOs Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:15:31 -0000 Hi there, grep(1) does not seem to skip FIFOs when told to. coco@probsd:~ > uname -a FreeBSD probsd.c0c0.intra 8.3-STABLE FreeBSD 8.3-STABLE #0 r243477: Sat Nov 24 11:07:17 CET 2012 root@x2.c0c0.intra:/usr/obj/usr/src/sys/GATEKEEPER i386 coco@probsd:~ > mkfifo bleh coco@probsd:~ > ls -l bleh prw-r--r-- 1 coco coco 0 Dec 5 23:55 bleh coco@probsd:~ > grep -Dskip foobar bleh ^C coco@probsd:~ > truss grep -Dskip foobar bleh __sysctl(0xbfbfe074,0x2,0xbfbfe07c,0xbfbfe080,0x0,0x0) = 0 (0x0) mmap(0x0,336,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 671711232 (0x28098000) munmap(0x28098000,336) = 0 (0x0) __sysctl(0xbfbfe0d8,0x2,0x2808ee7c,0xbfbfe0e0,0x0,0x0) = 0 (0x0) mmap(0x0,32768,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 671711232 (0x28098000) issetugid(0x280878ab,0xbfbfe59c,0x104,0x0,0x0,0x0) = 0 (0x0) open("/etc/libmap.conf",O_RDONLY,0666) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",O_RDONLY,00) = 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0\M-1\0\0"...,128) = 128 (0x80) lseek(3,0x80,SEEK_SET) = 128 (0x80) read(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,177) = 177 (0xb1) close(3) = 0 (0x0) access("/lib/libgnuregex.so.5",0) ERR#2 'No such file or directory' access("/usr/lib/libgnuregex.so.5",0) = 0 (0x0) open("/usr/lib/libgnuregex.so.5",O_RDONLY,00) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=5484738,size=64244,blksize=16384 }) = 0 (0x0) pread(0x3,0x2808ddc0,0x1000,0x0,0x0,0x0) = 4096 (0x1000) mmap(0x0,69632,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671744000 (0x280a0000) mmap(0x280a0000,65536,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 671744000 (0x280a0000) mmap(0x280b0000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xf000) = 671809536 (0x280b0000) close(3) = 0 (0x0) access("/lib/libbz2.so.4",0) ERR#2 'No such file or directory' access("/usr/lib/libbz2.so.4",0) = 0 (0x0) open("/usr/lib/libbz2.so.4",O_RDONLY,027757760314) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=5484473,size=66668,blksize=16384 }) = 0 (0x0) pread(0x3,0x2808ddc0,0x1000,0x0,0x0,0x0) = 4096 (0x1000) mmap(0x0,65536,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671813632 (0x280b1000) mmap(0x280b1000,61440,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 671813632 (0x280b1000) mmap(0x280c0000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xf000) = 671875072 (0x280c0000) close(3) = 0 (0x0) access("/lib/libz.so.5",0) = 0 (0x0) open("/lib/libz.so.5",O_RDONLY,027757760314) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=5470199,size=72328,blksize=16384 }) = 0 (0x0) pread(0x3,0x2808ddc0,0x1000,0x0,0x0,0x0) = 4096 (0x1000) mmap(0x0,73728,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671879168 (0x280c1000) mmap(0x280c1000,69632,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 671879168 (0x280c1000) mmap(0x280d2000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0x11000) = 671948800 (0x280d2000) close(3) = 0 (0x0) access("/lib/libc.so.7",0) = 0 (0x0) open("/lib/libc.so.7",O_RDONLY,027757760314) = 3 (0x3) fstat(3,{ mode=-r--r--r-- ,inode=5470167,size=1158944,blksize=16384 }) = 0 (0x0) pread(0x3,0x2808ddc0,0x1000,0x0,0x0,0x0) = 4096 (0x1000) mmap(0x0,1167360,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) = 671952896 (0x280d3000) mmap(0x280d3000,1048576,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,3,0x0) = 671952896 (0x280d3000) mmap(0x281d3000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,3,0xff000) = 673001472 (0x281d3000) mmap(0x281da000,90112,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) = 673030144 (0x281da000) close(3) = 0 (0x0) mmap(0x0,880,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 673120256 (0x281f0000) munmap(0x281f0000,880) = 0 (0x0) mmap(0x0,600,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 673120256 (0x281f0000) munmap(0x281f0000,600) = 0 (0x0) mmap(0x0,712,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 673120256 (0x281f0000) munmap(0x281f0000,712) = 0 (0x0) mmap(0x0,1048,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 673120256 (0x281f0000) munmap(0x281f0000,1048) = 0 (0x0) mmap(0x0,22000,PROT_READ|PROT_WRITE,MAP_ANON,-1,0x0) = 673120256 (0x281f0000) munmap(0x281f0000,22000) = 0 (0x0) sysarch(0xa,0xbfbfe140,0x2805d51b,0x2808d318,0x28070159,0x2808d318) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0xbfbfe0f4,0x2,0x805b780,0xbfbfe0fc,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) __sysctl(0xbfbfe074,0x2,0x281df8e0,0xbfbfe07c,0x0,0x0) = 0 (0x0) __sysctl(0xbfbfdf84,0x2,0xbfbfdf1c,0xbfbfdf8c,0x281ca314,0xc) = 0 (0x0) __sysctl(0xbfbfdf1c,0x2,0x281df9d8,0xbfbfdfd8,0x0,0x0) = 0 (0x0) readlink("/etc/malloc.conf",0xbfbfe083,1024) ERR#2 'No such file or directory' issetugid(0x281c901d,0xbfbfe083,0x400,0xbfbfe07c,0x0,0x0) = 0 (0x0) break(0x8100000) = 0 (0x0) __sysctl(0xbfbfe284,0x2,0xbfbfe28c,0xbfbfe290,0x0,0x0) = 0 (0x0) mmap(0x0,1048576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 673120256 (0x281f0000) mmap(0x282f0000,65536,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 674168832 (0x282f0000) munmap(0x281f0000,65536) = 0 (0x0) [Hangs] ^Copen("bleh",O_RDONLY,0601403006) ERR#4 'Interrupted system call' SIGNAL 2 (SIGINT) process exit, rval = 0 coco@probsd:~ > Error on my part ? Hitting a bug ? MfG CoCo From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:19:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A45B4988 for ; Wed, 5 Dec 2012 23:19:38 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 461F48FC14 for ; Wed, 5 Dec 2012 23:19:37 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB5NJLYw007899 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Dec 2012 17:19:21 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50BFD674.8000305@tundraware.com> Date: Wed, 05 Dec 2012 17:19:16 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Somewhat OT: Is Full Command Logging Possible? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Wed, 05 Dec 2012 17:19:21 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB5NJLYw007899 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:19:38 -0000 This is a little bit outside the strict boundaries of a FreeBSD question, but I am hoping someone in this community has solved this problem and that I might be able to adapt it for non-FreeBSD systems (AIX and Linux, specifically). I am working with an institution that today provides limited privilege escalation on their servers via very specific sudo rules. The problem is that the administrators can do 'sudo su -'. The fact that they became root is logged, *but everything thereafter they do is not*. What these people need is something that does the following things - this need not be sudo based, any FOSS or commercial solution would be considered: - Log the fact that someone became effective root - Log every command they execute *as* root - If they run a script as root, log the individual actions of that script - Have visibility into all this no matter how they access the system - console, ssh, xterm .... Nothing I have found so far meets all these criterion. Verbose syslogging will not catch the case where you start a subshell from the main shell. Keylogging seems to only have limited coverage and does not appear it would work if, say, I log in via ssh and then kick off an xterm. Other solutions fail if I start an editor and shell out from there. The current proposal is to install sudo rules such that NO one is allowed 'sudo su -' and *every single command* you want to run as root has to start with 'sudo'. This has two big drawbacks: - It's an enormous pain for the admins and fundamentally changes their workflow - It cannot see into scripts. So I can circumvent it pretty easily with: sudo chown root:wheel my_naughty_script sudo chmod 700 my_naughty script sudo ./my_naughty_script The sudo log will note that I ran the script, but not what it did. So Gentle Geniuses, is there prior art here that could be applied to give me full coverage logging of every action taken by any person or thing running with effective or actual root? P.S. I do not believe auditd does this either. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:30:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B4E7CB7 for ; Wed, 5 Dec 2012 23:30:17 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id DBE648FC14 for ; Wed, 5 Dec 2012 23:30:15 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so7446874oag.13 for ; Wed, 05 Dec 2012 15:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=t+SMIpfiN5OEARsdYb9FfLUcxtf0pT/m+gdXcY3muFQ=; b=n8iSd7DN60UkfjN00snVmoHFJk4lNln1QHIwFiMF4U5fN877kR3YuxYuUAsYs8hfr8 iJ69X3bxVLvQomfllcvdGjDgRdv0cTpcArzZZ95YNWBOflseyn0nxtno82877dEH72vm YUUMKmujbjNn2GxcdDtuMMMJgydiZgqBlvrgP+zI5uOxUCH5hzuBjs8Kdvybi+xWG/EA W+zXoWbeaaKCpKY2h+rC2rfEm/0sIB/qqr47HhmA8d5V5HRBHXb2sF3e4ila0o1q02oR zCpaPyNOO7goC3r3kBm5nXFOu/n697kLSyjtUcI2zPUoODF0bgft7X2igt4HM40+KFko vqKg== MIME-Version: 1.0 Received: by 10.60.32.193 with SMTP id l1mr14843445oei.114.1354750215069; Wed, 05 Dec 2012 15:30:15 -0800 (PST) Received: by 10.76.80.104 with HTTP; Wed, 5 Dec 2012 15:30:14 -0800 (PST) In-Reply-To: <50BFD674.8000305@tundraware.com> References: <50BFD674.8000305@tundraware.com> Date: Wed, 5 Dec 2012 17:30:14 -0600 Message-ID: Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Adam Vande More To: Tim Daneliuk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:30:17 -0000 On Wed, Dec 5, 2012 at 5:19 PM, Tim Daneliuk wrote: > This is a little bit outside the strict boundaries of a FreeBSD question, > but I am hoping someone in this community has solved this problem and > that I might be able to adapt it for non-FreeBSD systems (AIX and Linux, > specifically). > > P.S. I do not believe auditd does this either. > Challenge your beliefs. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:43:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 942A7BB for ; Wed, 5 Dec 2012 23:43:19 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id 1A59F8FC13 for ; Wed, 5 Dec 2012 23:43:18 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so46190wib.13 for ; Wed, 05 Dec 2012 15:43:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=OJ/2sAVhDYliW9LyAxAAQlG34adH9Mu1LYEXZ1Ou/x0=; b=UO4gJrvhJmcWgCaAzQLg6rArsCoJG87I2tCURNB0yObXQTqsmGrUTEBuZUcvVMA6bY F3RUaLfRia68YuUiEkO5ruVtFSZoz8x5y5+ntAdrMHENkEXzWGAGfH5aSEb8bFWlnuNM kAGjNoGIyJCbogYiATZrAW2fCXuvj9YLxP0y8fFSTNrz51jQdPBYcUBdI4EEFp6oMZnj MV7kvX28VgECByrpwIX1q43M/jbtF/F573XFmW84FtXchgehXOiCWb+5tOZ6bljiO53p 2vKCdXLHEsA4KXAV45Bd3HeY/RzTES4HumW8Ufn9SZfPRP7AIVfdSrzs1TBcSyPVi6SW p1aQ== Received: by 10.180.20.109 with SMTP id m13mr5965232wie.16.1354750997371; Wed, 05 Dec 2012 15:43:17 -0800 (PST) Received: from [10.9.246.181] ([92.90.20.47]) by mx.google.com with ESMTPS id dm3sm21055815wib.9.2012.12.05.15.43.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Dec 2012 15:43:16 -0800 (PST) References: <50BFD674.8000305@tundraware.com> In-Reply-To: <50BFD674.8000305@tundraware.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: Somewhat OT: Is Full Command Logging Possible? Date: Thu, 6 Dec 2012 00:42:35 +0100 To: Tim Daneliuk X-Gm-Message-State: ALoCoQnhcfgHNW0lzsEaQ9C8/BFkucMMXT2rh+uYdCiFAS6ZvfQpu0G7WmzXJLxlSprHRGaX4CIP Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:43:19 -0000 On 6 Dec 2012, at 00:19, Tim Daneliuk wrote: > sudo chown root:wheel my_naughty_script > sudo chmod 700 my_naughty script > sudo ./my_naughty_script >=20 > The sudo log will note that I ran the script, but not what it did. >=20 >=20 wow, way to complicate matters. sudo csh > So Gentle Geniuses, is there prior art here that could be applied > to give me full coverage logging of every action taken by any person or > thing running with effective or actual root? >=20 > P.S. I do not believe Now would be a good time to start, then. The only things you need to ensure are: - auditd cannot be killed off (this is an interesting bit actually, anyone k= nows how to do that ?) - the audit trail files can only be appended to ; man chflags An alternative would be lshell, however you'll have to whitelist commands pe= ople can execute. From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:44:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D09C515C for ; Wed, 5 Dec 2012 23:44:11 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 54B268FC0C for ; Wed, 5 Dec 2012 23:44:11 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so4033084eek.13 for ; Wed, 05 Dec 2012 15:44:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kUAOUwQT/nQ/9vTSXyd6maBZQRYCZ484dOS7OQn3ACw=; b=eRWuWFBqIAT/CLBZhnjvMC5qPfm+zFbTCse8UmwkjTZtiplpF3WQU8+hVgFqq/1nzQ 7EYK0yDwpkriTvJ1mru02eTnRi4Exl9rr3qyWN9Cx0HavMgSFadkDM1V6KDAR5nOpd01 hpbZn5dEs5W0yRhEiden5FSWkZJ7To/1TWmPUNb1ZRe6LLB58qPq2zh6Nn7Qwax1TrDp DODjV1LvJEchyFS9VbLv7fgBSltcr98O8T7Scyee02ifzM6IHZSuEHDGqvuTPrBOETed 1n7KJeWd7JEqFGT6BhzDMQpGu8TBerUNeE8SMS9+Vvs7KaIW3Ql2sOUd70QngUKkoy2A KJAA== MIME-Version: 1.0 Received: by 10.14.2.196 with SMTP id 44mr66163661eef.25.1354751050434; Wed, 05 Dec 2012 15:44:10 -0800 (PST) Received: by 10.14.221.135 with HTTP; Wed, 5 Dec 2012 15:44:10 -0800 (PST) In-Reply-To: <50BFD674.8000305@tundraware.com> References: <50BFD674.8000305@tundraware.com> Date: Wed, 5 Dec 2012 15:44:10 -0800 Message-ID: Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Kurt Buff To: Tim Daneliuk Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:44:11 -0000 On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: > I am working with an institution that today provides limited privilege > escalation > on their servers via very specific sudo rules. The problem is that the > administrators can do 'sudo su -'. sudo is misconfigured. man 5 sudoers and man 8 visudo Kurt From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:47:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6EA632C for ; Wed, 5 Dec 2012 23:47:22 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 7B81A8FC0C for ; Wed, 5 Dec 2012 23:47:22 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB5NlE8M008378 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Dec 2012 17:47:14 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50BFDCFD.4010108@tundraware.com> Date: Wed, 05 Dec 2012 17:47:09 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 CC: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> In-Reply-To: <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Wed, 05 Dec 2012 17:47:14 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB5NlE8M008378 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:47:22 -0000 On 12/05/2012 05:42 PM, Damien Fleuriot wrote: > > > On 6 Dec 2012, at 00:19, Tim Daneliuk wrote: > >> sudo chown root:wheel my_naughty_script >> sudo chmod 700 my_naughty script >> sudo ./my_naughty_script >> >> The sudo log will note that I ran the script, but not what it did. >> >> > > wow, way to complicate matters. Hey, I didn't dream up this problem :) > > sudo csh > > > >> So Gentle Geniuses, is there prior art here that could be applied >> to give me full coverage logging of every action taken by any person or >> thing running with effective or actual root? >> >> P.S. I do not believe > > Now would be a good time to start, then. Well ... does auditd provide a record of every command issued within a script? I was under the impression (and I may well be wrong) that it noted only the name of the script being executed. > > The only things you need to ensure are: > - auditd cannot be killed off (this is an interesting bit actually, anyone knows how to do that ?) > - the audit trail files can only be appended to ; man chflags > > > An alternative would be lshell, however you'll have to whitelist commands people can execute. > > Remember that we want admins to be able to do *anything* but we just want to log what they do, in fact do. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 23:48:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3BC503D6 for ; Wed, 5 Dec 2012 23:48:47 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id E84238FC08 for ; Wed, 5 Dec 2012 23:48:46 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB5NmcJm008415 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Dec 2012 17:48:38 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50BFDD51.5000100@tundraware.com> Date: Wed, 05 Dec 2012 17:48:33 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 CC: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Wed, 05 Dec 2012 17:48:38 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB5NmcJm008415 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 23:48:47 -0000 On 12/05/2012 05:44 PM, Kurt Buff wrote: > On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk wrote: >> I am working with an institution that today provides limited privilege >> escalation >> on their servers via very specific sudo rules. The problem is that the >> administrators can do 'sudo su -'. > > > > sudo is misconfigured. > > man 5 sudoers and man 8 visudo > > > > Kurt > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're saying. Are you suggesting that there is a way to configure sudo so that if someone does 'sudo su -' to become an admin, sudo can be made to log every command they execute thereafter? -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 00:35:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E9AFAA7 for ; Thu, 6 Dec 2012 00:35:35 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C08958FC13 for ; Thu, 6 Dec 2012 00:35:34 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id a14so2793332eaa.13 for ; Wed, 05 Dec 2012 16:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=G04oVAsV9FcD5bzFtSaaJf2FsMAYnOcNwjiIxHjohEI=; b=J8OfVVfv1yNO/aoxCGE6pXNM4x409CCs7wmo/lFxpjFf9bTXT86ZgnfpTDbA/ZWiI7 xrJqWhPqFsTHOFTtOND+WOR1MzdCrdjnxZZc3hy6siD8toAQN1TRQ67RJ/qppnqFIZFV xL95UK5rzhwNasRHBwg6XoDeWRuaKxrRIDkwS0d34lUXNsvgGrSRskWCjeU80N+Mi1ok KHao5VeZtsVMqCppL7o2n9dnRJ2fTtJjzRYwRVnsheClZR+qO4P4wCxiHt5hlRRIqshj hrHXPfY4+KQ244ksH3kYD4YAdMztOjPlDuOsZPGeGoVggQ57vd5n2Ut3uSVOeQsMNIKH wREw== MIME-Version: 1.0 Received: by 10.14.176.66 with SMTP id a42mr66544134eem.34.1354754133566; Wed, 05 Dec 2012 16:35:33 -0800 (PST) Received: by 10.14.221.135 with HTTP; Wed, 5 Dec 2012 16:35:33 -0800 (PST) In-Reply-To: <50BFDD51.5000100@tundraware.com> References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> Date: Wed, 5 Dec 2012 16:35:33 -0800 Message-ID: Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Kurt Buff To: Tim Daneliuk Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 00:35:35 -0000 On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk wrote: > On 12/05/2012 05:44 PM, Kurt Buff wrote: >> >> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >> wrote: >>> >>> I am working with an institution that today provides limited privilege >>> escalation >>> on their servers via very specific sudo rules. The problem is that the >>> administrators can do 'sudo su -'. >> >> >> >> >> sudo is misconfigured. >> >> man 5 sudoers and man 8 visudo >> >> >> >> Kurt >> > > I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're > saying. Are you suggesting that there is a way to configure > sudo so that if someone does 'sudo su -' to become an admin, > sudo can be made to log every command they execute thereafter? No, I'm saying that sudo should not be configured to allow 'sudo su -'. Since you say that the users are provided "limited privilege escalation on their servers via very specific sudo rules", it seems to me that one of three things is going wrong: o- Something is wrong with the configuration of sudoers if they can su to root when they shouldn't be able to do so o- Someone has misconceived what "limited privilege escalation on their servers via very specific sudo rules" actually means, and deliberately has it configured to allows users to su to root o- The users' accounts are already root equivalent, which, depending on the version and configuration of sudo, might give them the ability to sudo to root regardless of the contents of the sudoers file (see, for instance, the screen in FreeBSD when you perform 'cd /usr/ports/security/sudo' and then 'make config') Kurt From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 01:01:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14BDB28C for ; Thu, 6 Dec 2012 01:01:38 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id D052E8FC08 for ; Thu, 6 Dec 2012 01:01:37 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB611QIw009791 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 5 Dec 2012 19:01:26 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50BFEE61.7070005@tundraware.com> Date: Wed, 05 Dec 2012 19:01:21 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 CC: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Wed, 05 Dec 2012 19:01:26 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB611QIw009791 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 01:01:38 -0000 On 12/05/2012 06:35 PM, Kurt Buff wrote: > On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk wrote: >> On 12/05/2012 05:44 PM, Kurt Buff wrote: >>> >>> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >>> wrote: >>>> >>>> I am working with an institution that today provides limited privilege >>>> escalation >>>> on their servers via very specific sudo rules. The problem is that the >>>> administrators can do 'sudo su -'. >>> >>> >>> >>> >>> sudo is misconfigured. >>> >>> man 5 sudoers and man 8 visudo >>> >>> >>> >>> Kurt >>> >> >> I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >> saying. Are you suggesting that there is a way to configure >> sudo so that if someone does 'sudo su -' to become an admin, >> sudo can be made to log every command they execute thereafter? > > No, I'm saying that sudo should not be configured to allow 'sudo su -'. > > Since you say that the users are provided "limited privilege > escalation on their servers via very specific sudo rules", it seems to > me that one of three things is going wrong: > > o- Something is wrong with the configuration of sudoers if they can su > to root when they shouldn't be able to do so > > o- Someone has misconceived what "limited privilege escalation on > their servers via very specific sudo rules" actually means, and > deliberately has it configured to allows users to su to root > > o- The users' accounts are already root equivalent, which, depending > on the version and configuration of sudo, might give them the ability > to sudo to root regardless of the contents of the sudoers file (see, > for instance, the screen in FreeBSD when you perform 'cd > /usr/ports/security/sudo' and then 'make config') > > Kurt > Oh, OK, I wasn't being clear: - *Some* users are granted the ability to do sudo su - These are the sysadmins. - All other user are given selective ability to run only a few things via sudo. This varies by department and is controlled through a combination of sudo rules and central LDAP group membership control. This is necessary because, for example, some DBAs need this when installing a particular client. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 01:02:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF7C532D for ; Thu, 6 Dec 2012 01:02:33 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 90A018FC08 for ; Thu, 6 Dec 2012 01:02:33 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so7521934oag.13 for ; Wed, 05 Dec 2012 17:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9AM8jWB18RB5c+sqkNKFNVei2VPVQ8Op1wZj8TOF+3o=; b=M1xKJwOMs3NabcQowYnSCqVUvNR7qHNKaN0cMLpyzKMPIN7K1yCySQ8OkMTCxlu9Ro 7oo7rZergcFpsOMywS/f/Zs25iEw92YGtp6tJmkaz1ierPaPFQX/jsitvPJGz2mHVTcX KtAIYK2KJmqbvr7OlkEtVRAxsQnaS5ahC3WXyRNk/ELDeApKv7rt3dvdb3sZ/hTxY3HP VovdVXNBe4auDsC7mPDfWiOcCEcgMtvAJmIXBvMvUeb2qifClrP+HsFjeeXWKpAMNR9s KV1XUnxGqleyjh8zssWVBUgqMhFTsgpBYwBmCx9Ye324Y3JGexxY2NZQ6hV5wK4Wg9+D nq0Q== MIME-Version: 1.0 Received: by 10.182.18.196 with SMTP id y4mr11574916obd.52.1354755752712; Wed, 05 Dec 2012 17:02:32 -0800 (PST) Received: by 10.76.80.104 with HTTP; Wed, 5 Dec 2012 17:02:32 -0800 (PST) In-Reply-To: <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> Date: Wed, 5 Dec 2012 19:02:32 -0600 Message-ID: Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Adam Vande More To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Tim Daneliuk , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 01:02:34 -0000 On Wed, Dec 5, 2012 at 5:42 PM, Damien Fleuriot wrote: > > > On 6 Dec 2012, at 00:19, Tim Daneliuk wrote: > > > sudo chown root:wheel my_naughty_script > > sudo chmod 700 my_naughty script > > sudo ./my_naughty_script > > > > The sudo log will note that I ran the script, but not what it did. > > > > > > wow, way to complicate matters. > > sudo csh > > > > > So Gentle Geniuses, is there prior art here that could be applied > > to give me full coverage logging of every action taken by any person or > > thing running with effective or actual root? > > > > P.S. I do not believe > > Now would be a good time to start, then. > > The only things you need to ensure are: > - auditd cannot be killed off (this is an interesting bit actually, anyone > knows how to do that ?) > Can't be done really for an id 0 account. Not without extensive customization anyway. However the Audit Distribution Daemon was recently committed so audit logs could potentially be stored in different location easily. > - the audit trail files can only be appended to ; man chflags Audit Distribution Daemon would alleviate this as well. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 02:27:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87A67C36 for ; Thu, 6 Dec 2012 02:27:04 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id 344D88FC08 for ; Thu, 6 Dec 2012 02:27:03 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=OOOlLFmB c=1 sm=0 a=+L5dYfeubEW4PLvjDgtIXQ==:17 a=WAZfUmVf-EkA:10 a=CTRC7nxYIvUA:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=cd2htP0gDKkA:10 a=MnkTnmICAAAA:8 a=W6u0E1Bvrrh4OckPRT0A:9 a=CjuIK1q_8ugA:10 a=VAeyC-Qft3gA:10 a=+L5dYfeubEW4PLvjDgtIXQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:53130] helo=[10.0.0.7]) by cdptpa-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id E6/0B-21565-07200C05; Thu, 06 Dec 2012 02:26:57 +0000 Date: Wed, 05 Dec 2012 20:26:55 -0600 From: Paul Schmehl To: Tim Daneliuk Subject: Re: Somewhat OT: Is Full Command Logging Possible? Message-ID: <2C35284AF2FD11FE2D62871A@Pauls-MacBook-Pro.local> In-Reply-To: <50BFEE61.7070005@tundraware.com> References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> <50BFEE61.7070005@tundraware.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 02:27:04 -0000 --On December 5, 2012 7:01:21 PM -0600 Tim Daneliuk wrote: > On 12/05/2012 06:35 PM, Kurt Buff wrote: >> On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk >> wrote: >>> On 12/05/2012 05:44 PM, Kurt Buff wrote: >>>> >>>> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >>>> wrote: >>>>> >>>>> I am working with an institution that today provides limited privilege >>>>> escalation >>>>> on their servers via very specific sudo rules. The problem is that >>>>> the administrators can do 'sudo su -'. >>>> >>>> >>>> >>>> >>>> sudo is misconfigured. >>>> >>>> man 5 sudoers and man 8 visudo >>>> >>>> >>>> >>>> Kurt >>>> >>> >>> I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >>> saying. Are you suggesting that there is a way to configure >>> sudo so that if someone does 'sudo su -' to become an admin, >>> sudo can be made to log every command they execute thereafter? >> >> No, I'm saying that sudo should not be configured to allow 'sudo su -'. >> >> Since you say that the users are provided "limited privilege >> escalation on their servers via very specific sudo rules", it seems to >> me that one of three things is going wrong: >> >> o- Something is wrong with the configuration of sudoers if they can su >> to root when they shouldn't be able to do so >> >> o- Someone has misconceived what "limited privilege escalation on >> their servers via very specific sudo rules" actually means, and >> deliberately has it configured to allows users to su to root >> >> o- The users' accounts are already root equivalent, which, depending >> on the version and configuration of sudo, might give them the ability >> to sudo to root regardless of the contents of the sudoers file (see, >> for instance, the screen in FreeBSD when you perform 'cd >> /usr/ports/security/sudo' and then 'make config') >> >> Kurt >> > Oh, OK, I wasn't being clear: > > - *Some* users are granted the ability to do sudo su - These > are the sysadmins. > > - All other user are given selective ability to run only a few > things via sudo. This varies by department and is controlled > through a combination of sudo rules and central LDAP group > membership control. This is necessary because, for example, > some DBAs need this when installing a particular client. > Install security/sudoscript. Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 03:28:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 421135D1 for ; Thu, 6 Dec 2012 03:28:01 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 0EB218FC08; Thu, 6 Dec 2012 03:28:01 +0000 (UTC) Received: from xyf.my.dom (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB63RxSR088804; Thu, 6 Dec 2012 03:28:00 GMT (envelope-from davidxu@freebsd.org) Message-ID: <50C010D0.3070205@freebsd.org> Date: Thu, 06 Dec 2012 11:28:16 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120822 Thunderbird/14.0 MIME-Version: 1.0 To: Marco Steinbach Subject: Re: grep -Dskip doesn't skip FIFOs References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 03:28:01 -0000 On 2012/12/06 07:07, Marco Steinbach wrote: > Hi there, > > grep(1) does not seem to skip FIFOs when told to. I think you need a patch to fix it, the bug is in ggrep, it tries to open a FIFO before checking if it is a FIFO, then blocked. http://people.freebsd.org/~davidxu/patch/grep.c.diff From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 03:46:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85859914 for ; Thu, 6 Dec 2012 03:46:16 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1D58FC08; Thu, 6 Dec 2012 03:46:16 +0000 (UTC) Received: from xyf.my.dom (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB63kFNZ090466; Thu, 6 Dec 2012 03:46:15 GMT (envelope-from davidxu@freebsd.org) Message-ID: <50C01518.5090705@freebsd.org> Date: Thu, 06 Dec 2012 11:46:32 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120822 Thunderbird/14.0 MIME-Version: 1.0 To: Marco Steinbach Subject: Re: grep -Dskip doesn't skip FIFOs References: <50C010D0.3070205@freebsd.org> In-Reply-To: <50C010D0.3070205@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 03:46:16 -0000 On 2012/12/06 11:28, David Xu wrote: > On 2012/12/06 07:07, Marco Steinbach wrote: >> Hi there, >> >> grep(1) does not seem to skip FIFOs when told to. > > > > I think you need a patch to fix it, the bug is in ggrep, it tries to > open a FIFO before checking if it is a FIFO, then blocked. > > http://people.freebsd.org/~davidxu/patch/grep.c.diff > > _______________________________________________ > or the patch: http://people.freebsd.org/~davidxu/patch/grep.c.diff2 The patch opens file with O_NONBLOCK, then turns off O_NONBLOCK, and only checks if a file is a FIFO in reset() function. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 06:00:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F27F11988 for ; Thu, 6 Dec 2012 06:00:49 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 96CB98FC0C for ; Thu, 6 Dec 2012 06:00:49 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 500BD3A387C for ; Thu, 6 Dec 2012 12:51:42 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1354773102; x=1356587503; bh=EaYdlZYex jHSnSW8R5jAbnU1Eo/q9r+FhjgRd1xTRMY=; b=Zp82PE/xtyIyJJAJQLxEwMbDd rCgDFtwZnSowSOhpyDB0QNbPOSD6xrexHoFGvKoqUpR42GcPYYPAvOGrrNmIZfPJ hzfbEI8wQBUm9M/j5VtHRyidGJcEGW7wFLIFxFoftizH0RrQppsK+dDSZMn2dzaW 587+bYDiff1D/++bC4= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id C4-SWl0uEvIk for ; Thu, 6 Dec 2012 12:51:42 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id DFD003A3844 for ; Thu, 6 Dec 2012 12:51:41 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id qB65phdO016130; Thu, 6 Dec 2012 12:51:43 +0700 (ICT) (envelope-from on) Date: Thu, 6 Dec 2012 12:51:43 +0700 (ICT) Message-Id: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: netstat -i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 06:00:50 -0000 Hello, I used netstat -i for the first time and I saw something I cannot understand: # netstat -ibh -I em1 Name Mtu Network Address Ipkts Opkts em1 9000 00:0e:0c:5c:32:29 92M 129M em1 9000 10.41.170/24 ufo2000 924K 926K I understand that the line reporting MAc address means the traffic seen at layer2, while the line reporting IP address means the traffic seen at layer3. How would that be possible to have suh a difference (on a switched network)? Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 09:05:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72340D05 for ; Thu, 6 Dec 2012 09:05:48 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id F31768FC15 for ; Thu, 6 Dec 2012 09:05:47 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB695Wp7091707 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 09:05:38 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB695Wp7091707 Authentication-Results: smtp.infracaninophile.co.uk/qB695Wp7091707; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50C05FD8.1040609@freebsd.org> Date: Thu, 06 Dec 2012 09:05:28 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Olivier Nicole Subject: Re: netstat -i References: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> In-Reply-To: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 09:05:48 -0000 On 06/12/2012 05:51, Olivier Nicole wrote: > I used netstat -i for the first time and I saw something I cannot > understand: > > # netstat -ibh -I em1 > Name Mtu Network Address Ipkts Opkts > em1 9000 00:0e:0c:5c:32:29 92M 129M > em1 9000 10.41.170/24 ufo2000 924K 926K > > I understand that the line reporting MAc address means the traffic > seen at layer2, while the line reporting IP address means the traffic > seen at layer3. > > How would that be possible to have suh a difference (on a switched > network)? It's certainly possible -- arp (and dhcp to some extent) involve sending broadcast packets at layer 2. There can be a lot of arp traffic on a well-populated network, or if you're going things like running multiple layer 3 networks over the same physical infrastructure. There can be other forms of Ethernet-only (rather than IP traffic) -- switches often speak to each other like that. Generally it is not a problem unless it is affecting performance, at which point the answer is to segment the network into smaller broadcast domains by sub-netting and/or using VLANs. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 09:12:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD5168F; Thu, 6 Dec 2012 09:12:39 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 531788FC0C; Thu, 6 Dec 2012 09:12:38 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id B92953A387C; Thu, 6 Dec 2012 16:12:37 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1354785157; x= 1356599558; bh=u3CAalr5epAOHKNnIuUiykBDr554a20IJQKttoTFv1s=; b=U vbriu8M6CcSyLaYSip+cDGjhdXt6X01fiKyi7bVu78rc9FSRu/qks/BGSn0QNxAe /h98oMy0TDaN85zbtvU1morAl/bhkhMgYC/fJqXfUHSAKAYAhBg4CGCf4cUv2ns9 c0D4jBAPkQ3kAspkLLLC+d7mxlboseF4tO5Ks0NnOk= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eIj01DJ6Q-0g; Thu, 6 Dec 2012 16:12:37 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 6B9AD3A384A; Thu, 6 Dec 2012 16:12:37 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id qB69CcTG018111; Thu, 6 Dec 2012 16:12:38 +0700 (ICT) (envelope-from on) Date: Thu, 6 Dec 2012 16:12:38 +0700 (ICT) Message-Id: <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> From: Olivier Nicole To: matthew@freebsd.org In-reply-to: <50C05FD8.1040609@freebsd.org> (message from Matthew Seaman on Thu, 06 Dec 2012 09:05:28 +0000) Subject: Re: netstat -i References: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> <50C05FD8.1040609@freebsd.org> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 09:12:40 -0000 Matthew, > > Name Mtu Network Address Ipkts Opkts > > em1 9000 00:0e:0c:5c:32:29 92M 129M > > em1 9000 10.41.170/24 ufo2000 924K 926K > > > > I understand that the line reporting MAc address means the traffic > > seen at layer2, while the line reporting IP address means the traffic > > seen at layer3. > > > > How would that be possible to have suh a difference (on a switched > > network)? > > It's certainly possible -- arp (and dhcp to some extent) involve sending > broadcast packets at layer 2. There can be a lot of arp traffic on a > well-populated network, or if you're going things like running multiple > layer 3 networks over the same physical infrastructure. There can be > other forms of Ethernet-only (rather than IP traffic) -- switches often > speak to each other like that. Generally it is not a problem unless it > is affecting performance, at which point the answer is to segment the > network into smaller broadcast domains by sub-netting and/or using VLANs. There is only one layer 3 network on that physical infrastructure (at least in that VLAN). And there are only 8 machines in that VLAN, no routing, as the VLAN is primarily designed for NFS. I did not sjow the most disturbing figure where at output bytes is 3.7 TB at MAC level but only 156 GB at IP level (2000 times less). The large amount of output bytes is understandable for the machine is an NFS server. 3TB is not big, but is at IP level, not at MAC level. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 09:22:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B89E56B for ; Thu, 6 Dec 2012 09:22:23 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx1.freebsd.org (Postfix) with ESMTP id 80A658FC0C for ; Thu, 6 Dec 2012 09:22:21 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj13so246144wib.13 for ; Thu, 06 Dec 2012 01:22:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=vkP0V/HEz6Y1wMq5kj1oEpyMb8kYRaJs4O37C7VU+ww=; b=GYiruSRFRX+bFBFtVER5KIz0ZCY7YcL96vfnXOFvI2YHEm2YoytyAZmIKiwmgSIaHb TIcGynsZRGOJAJfEaBMzc2KnIashLPlUanU6w1UP7SLdmd7AbNPLDGQv/FQWf10mz/0K iX9jLL+voxwB60w3A/BLfQLaaFqdZMGWZKe7ijmxooy0WufuZMRFKQrEjwMUIL5oBILy uXK5N2wvKDSxzZkn7O1GvBZMzlS43w7EBpr5UUUtlLyQh4SffguoC0kKTAeTTyVjkY0E JRBqZvYQv0WKx7KHNGrOchEOao521rgQBWPKA4D84J+eEYYOvgTo0PeRy/AiRJ5IqgQj 8I2Q== Received: by 10.180.86.167 with SMTP id q7mr1392196wiz.21.1354785740059; Thu, 06 Dec 2012 01:22:20 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id cf6sm10153734wib.3.2012.12.06.01.22.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 01:22:19 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Fleuriot Damien In-Reply-To: <50BFDCFD.4010108@tundraware.com> Date: Thu, 6 Dec 2012 10:22:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQljqRXEyoYa2xrvWdm/xqauUtW2jzhfyoyADkULoWxACFsucLpEJA9rtjfkaM3dphV3ohEA Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 09:22:23 -0000 On Dec 6, 2012, at 12:47 AM, Tim Daneliuk wrote: > On 12/05/2012 05:42 PM, Damien Fleuriot wrote: >>=20 >>=20 >> On 6 Dec 2012, at 00:19, Tim Daneliuk wrote: >>=20 >>> sudo chown root:wheel my_naughty_script >>> sudo chmod 700 my_naughty script >>> sudo ./my_naughty_script >>>=20 >>> The sudo log will note that I ran the script, but not what it did. >>>=20 >>>=20 >>=20 >> wow, way to complicate matters. >=20 > Hey, I didn't dream up this problem :) >=20 >>=20 >> sudo csh >>=20 >>=20 >>=20 >>> So Gentle Geniuses, is there prior art here that could be applied >>> to give me full coverage logging of every action taken by any person = or >>> thing running with effective or actual root? >>>=20 >>> P.S. I do not believe >>=20 >> Now would be a good time to start, then. >=20 >=20 > Well ... does auditd provide a record of every command issued within a = script? > I was under the impression (and I may well be wrong) that it noted = only > the name of the script being executed. >=20 While it won't log every single command invoked from inside a script, it = *can* log every single file access that's made. Apart from IBM z/Series and i/Series mainframes, there is no = hardware/software combination that I am aware of which will do that. The Audit framework is your next best bet IMHO. >>=20 >> The only things you need to ensure are: >> - auditd cannot be killed off (this is an interesting bit actually, = anyone knows how to do that ?) >> - the audit trail files can only be appended to ; man chflags >>=20 >>=20 >> An alternative would be lshell, however you'll have to whitelist = commands people can execute. >>=20 >>=20 >=20 > Remember that we want admins to be able to do *anything* but we just = want > to log what they do, in fact do. >=20 > --=20 > = --------------------------------------------------------------------------= -- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 09:26:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A526465D for ; Thu, 6 Dec 2012 09:26:17 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 2B51E8FC13 for ; Thu, 6 Dec 2012 09:26:16 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so3602637wgh.31 for ; Thu, 06 Dec 2012 01:26:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=rLBtDA8rcXv2mV7gCRrkk2TdNV3/h3dpUpEnbvAwpB4=; b=auaflgf9J0g696x0Qb7CDAjkAAI0KRGrVTzug4/2XJa4jwrffC8wuhgFDi5wGiH9VT MHjPT1g23WZaJR0SzKVn4umDhIq2te/MD9u+Y317ebQtXVeYsx4w27KEh4gl/0siVjci EwOEkW0LtB3lt1vW0GwCrsulZff6JsEJVpExXdeCZU0zmFlo1MUlpmcsDM1grVUW0YKN 3I5zOdx8XTdmUPP0b5KGDJB4/Wj4smA5rk1zhOv9opBEmhcvFoblkCHTGaDlzzJhkCVN OMWagYhcqMd8k/5FVliVpLgGkAzssT2QnV1u3pdxMjsl4YbENwPzxeMNmOqRt8nIH3hL T1+A== Received: by 10.216.91.80 with SMTP id g58mr317716wef.150.1354785976153; Thu, 06 Dec 2012 01:26:16 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id i6sm22354310wix.5.2012.12.06.01.26.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 01:26:14 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Fleuriot Damien In-Reply-To: Date: Thu, 6 Dec 2012 10:26:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> To: Kurt Buff X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlxvZK2D5jcOC9cZZTPs8vY3bSDdrkLu16WN/8fZw8nhM/Ga80Jcyo6/XuC5GpgfLFIQKsK Cc: Tim Daneliuk , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 09:26:17 -0000 On Dec 6, 2012, at 1:35 AM, Kurt Buff wrote: > On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk = wrote: >> On 12/05/2012 05:44 PM, Kurt Buff wrote: >>>=20 >>> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >>> wrote: >>>>=20 >>>> I am working with an institution that today provides limited = privilege >>>> escalation >>>> on their servers via very specific sudo rules. The problem is that = the >>>> administrators can do 'sudo su -'. >>>=20 >>> >>>=20 >>>=20 >>> sudo is misconfigured. >>>=20 >>> man 5 sudoers and man 8 visudo >>>=20 >>>=20 >>>=20 >>> Kurt >>>=20 >>=20 >> I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >> saying. Are you suggesting that there is a way to configure >> sudo so that if someone does 'sudo su -' to become an admin, >> sudo can be made to log every command they execute thereafter? >=20 > No, I'm saying that sudo should not be configured to allow 'sudo su = -'. This is an ineffective solution. So what, you're going to forbid "sudo su -" Fine, I'll just run "sudo csh" . If you forbid csh, I'll just copy the existing `which csh` to ~/toto and = "sudo ~/toto" . Basically, anything short of actually whitelisting what people can run = won't do. And apparently that's not in Tim's list of desirable things ;) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 09:30:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB4BCA61 for ; Thu, 6 Dec 2012 09:30:21 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 3EEF58FC0C for ; Thu, 6 Dec 2012 09:30:21 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB69UEYo092244 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 09:30:14 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB69UEYo092244 Authentication-Results: smtp.infracaninophile.co.uk/qB69UEYo092244; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50C065A6.6080704@freebsd.org> Date: Thu, 06 Dec 2012 09:30:14 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Olivier Nicole Subject: Re: netstat -i References: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> <50C05FD8.1040609@freebsd.org> <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> In-Reply-To: <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 09:30:21 -0000 On 06/12/2012 09:12, Olivier Nicole wrote: > There is only one layer 3 network on that physical infrastructure (at > least in that VLAN). And there are only 8 machines in that VLAN, no > routing, as the VLAN is primarily designed for NFS. > > I did not sjow the most disturbing figure where at output bytes is 3.7 > TB at MAC level but only 156 GB at IP level (2000 times less). The > large amount of output bytes is understandable for the machine is an > NFS server. > > 3TB is not big, but is at IP level, not at MAC level. It could be down to broken equipment attached to the network. If something is spewing out malformed packets, you might well see that sort of effect. Try firing up tcpdump or wireshark -- they'll both capture the layer 2 traffic and given the volumes you're seeing, it should be fairly obvious from visual inspection of the output what is going on. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 10:43:33 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 90654A11 for ; Thu, 6 Dec 2012 10:43:33 +0000 (UTC) (envelope-from 3gXXAUBoJAPgxtumn.ytuzxftsqnsjywfkknhjlrfnq.htr@maestro.bounces.google.com) Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by mx1.freebsd.org (Postfix) with ESMTP id 539298FC08 for ; Thu, 6 Dec 2012 10:43:32 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id k13so30172468iea.7 for ; Thu, 06 Dec 2012 02:43:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=i8JEnK0fmnkv0GYCEJkVf/ma+nR0R1hDoCF/UZjAi+g=; b=tI8jo0fXNpgLbiQuzF/6vSZCqYHz6/5vslWBUrqqNuTX12wHeS47TwSgvWT9kEs045 DLDk77ByCYiRBNkGRgxM75IC8yAzy79Q25D8gdoCjMWHIsjcC0TWxedQuxojfK6n4hjZ 8WJWZ0RTk5UiEqg4y7aeG4esvNwBiu4Ma7d4HCCb8+AcDOu6Fbq1tciIUxWTCA/MMMFP 3KHP3VRwgCf2Qey37h+O5VdggOiJ8wt3M6oqNP2SLOGwGZ4sGYNVE6lwGRbUZxrAaHqr N9SB6cCElEdxIOQgBWIOsYp/MFw9xxeejTYZ+90eTzs6R8BSN0f6Zr/qJ1acF/zKnPVg XcuA== MIME-Version: 1.0 Received: by 10.43.49.195 with SMTP id vb3mr830896icb.24.1354790273739; Thu, 06 Dec 2012 02:37:53 -0800 (PST) Message-ID: Date: Thu, 06 Dec 2012 10:37:53 +0000 Subject: Organic SEO for Freebsd.org From: Sophi Nelson To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 10:43:33 -0000 PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+RnJlZWJz ZC5vcmc8L2ZvbnQ+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOnJnYigwLDAsMjU1KSI+oDwvc3Bhbj48 Zm9udCBzdHlsZT0iY29sb3I6cmdiKDAsMCwyNTUpIiAgDQpmYWNlPSJWZXJkYW5hLCBzYW5zLXNl cmlmIj48Zm9udD5UZWFtLDwvZm9udD48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0 b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fu cy1zZXJpZiI+SQ0KdGhvdWdodCB5b3UgbWlnaHQgbGlrZSB0byBrbm93IHNvbWUgb2YgdGhlIHJl YXNvbnMgd2h5IHlvdSBhcmUgbm90DQpnZXR0aW5nIGVub3VnaCBTb2NpYWwgTWVkaWEgYW5kIE9y Z2FuaWMgc2VhcmNoIGVuZ2luZSB0cmFmZmljICANCmZvcqA8L2ZvbnQ+PC9mb250Pjxmb250IGNv bG9yPSIjMDAwMGZmIiBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj5GcmVlYnNkLm9yZzwv Zm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAw MGZmIj4xLllvdXIgIA0Kd2Vic2l0ZaBGcmVlYnNkLm9yZ6BpcyBub3QgcmFua2luZyB0b3AgaW4g R29vZ2xlIG9yZ2FuaWMgc2VhcmNoIGZvciBtYW55ICANCmNvbXBldGl0aXZlIGtleXdvcmQgcGhy YXNlcy48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xv cj0iIzAwMDBmZiI+Mi4gWW91ciB3ZWJzaXRlIHByb2ZpbGUgIA0KaXMgbm90IGF2YWlsYWJsZSBp biBtb3N0IG9mIHRoZSBTb2NpYWwgTWVkaWEgV2Vic2l0ZXMuPC9mb250PjwvcD4NCjxwIHN0eWxl PSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjMuIFlvdXIgc2l0ZSBo YXMgMjA1MCAgDQpHb29nbGUgYmFjayBsaW5rcywgdGhpcyBjYW4gYmUgaW1wcm92ZWQgZnVydGhl ci48L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0i IzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+VGhlcmUNCmFyZSBt YW55IGFkZGl0aW9uYWwgaW1wcm92ZW1lbnRzIHRoYXQgY291bGQgYmUgbWFkZSB0byB5b3VyIHdl YnNpdGUsDQphbmQgaWYgeW91IHdvdWxkIGxpa2UgdG8gbGVhcm4gYWJvdXQgdGhlbSwgYW5kIGFy ZSBjdXJpb3VzIHRvIGtub3cNCndoYXQgb3VyIHdvcmtpbmcgdG9nZXRoZXIgd291bGQgaW52b2x2 ZSwgdGhlbiBJIHdvdWxkIGJlIGdsYWQgdG8NCnByb3ZpZGUgeW91IHdpdGggYSBkZXRhaWxlZCBh bmFseXNpcyBpbiB0aGUgZm9ybSBvZiBhIDxiPldFQlNJVEUNCkFVRElUIFJFUE9SVCBmb3IgRlJF RTwvYj4uPC9mb250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxm b250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj5P dXINCmNsaWVudHMgY29uc2lzdGVudGx5IHRlbGwgdXMgdGhhdCB0aGVpciBjdXN0b21lcnMgZmlu ZCB0aGVtIGJlY2F1c2UNCnRoZXkgYXJlIGF0IHRoZSB0b3Agb2YgdGhlIEdvb2dsZSBzZWFyY2gg cmFua2luZ3MuICBCZWluZyBhdCB0aGUgdG9wDQphY2xlZnQgb2YgR29vZ2xlICgjMS0gIzMgb3Jn YW5pYyBwb3NpdGlvbnMpIGlzIHRoZSBiZXN0IHRoaW5nIHlvdSBjYW4NCmRvIGZvciB5b3VyIGNv bXBhbnkmIzM5O3Mgd2Vic2l0ZSB0cmFmZmljIGFuZCBvbmxpbmUgcmVwdXRhdGlvbi4gIA0KPC9m b250PjwvZm9udD4NCjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29s b3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMtc2VyaWYiPkkNCmZvdW5k IHlvdXIgc2l0ZSBpbiB0aGUgR29vZ2xlIHNlYXJjaCBhbmQgYWZ0ZXIgaGF2aW5nIGEgbG9vayBv dmVyDQp5b3VyIHdlYnNpdGUgSSB0aGluayB5b3Ugc2hvdWxkIGdvIGZvciBhbiBTRU8gY2FtcGFp Z24gdG8gYm9vc3QgeW91cg0KbWFya2V0aW5nIHN0cmF0ZWd5LjwvZm9udD48L2ZvbnQ+PC9wPg0K PHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQg ZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+U291bmRzDQppbnRlcmVzdGluZz8gRmVlbCBm cmVlIHRvIGVtYWlsIHVzIG9yIGFsdGVybmF0aXZlbHkgeW91IGNhbiBwcm92aWRlDQptZSB3aXRo IHlvdXIgcGhvbmUgbnVtYmVyIGFuZCB0aGUgYmVzdCB0aW1lIHRvIGNhbGwgeW91LjwvZm9udD48 L2ZvbnQ+PC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48Zm9udCBjb2xvcj0iIzAw MDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+LS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tPFdCUj4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0t LS0tDQo8L2ZvbnQ+PC9mb250Pg0KPC9wPg0KPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206MGNtIj48 Zm9udCBjb2xvcj0iIzAwMDBmZiI+PGZvbnQgZmFjZT0iVmVyZGFuYSwgIA0Kc2Fucy1zZXJpZiI+ QmVzdA0KUmVnYXJkcyw8YnI+PGI+U29waGkgTmVsc29uPC9iPjxicj48Yj5TRU8gQ29uc3VsdGFu dDwvYj48YnI+KDMwMSkNCjg1OS00OTAzPC9mb250PjwvZm9udD48L3A+DQo8cCBzdHlsZT0ibWFy Z2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9udCBmYWNlPSJWZXJkYW5h LCAgDQpzYW5zLXNlcmlmIj4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS08V0JSPi0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTxXQlI+LS0tLS0NCjwvZm9udD48L2ZvbnQ+DQo8L3A+ DQo8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTowY20iPjxmb250IGNvbG9yPSIjMDAwMGZmIj48Zm9u dCBmYWNlPSJWZXJkYW5hLCAgDQpzYW5zLXNlcmlmIj48Yj5QUzE8L2I+Og0KVGhpcyBpcyBvbmV0 aW1lIGVtYWlsIGFuZCB5b3UgbWF5IGFzayB1cyB0byCTUkVNT1ZFlCB5b3UgZnJvbSBvdXINCm1h aWxpbmcgbGlzdC4gPC9mb250PjwvZm9udD4NCjwvcD4NCjxwIHN0eWxlPSJtYXJnaW4tYm90dG9t OjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRhbmEsICANCnNhbnMt c2VyaWYiPjxiPlBTMjwvYj46DQpJIGZvdW5kIHlvdXIgc2l0ZSBmcm9tIG9ubGluZSBhZHZlcnRp c2luZyBidXQgZGlkIG5vdCBjbGljay4gPC9mb250PjwvZm9udD4NCjwvcD4NCjxwIHN0eWxlPSJt YXJnaW4tYm90dG9tOjBjbSI+PGZvbnQgY29sb3I9IiMwMDAwZmYiPjxmb250IGZhY2U9IlZlcmRh bmEsICANCnNhbnMtc2VyaWYiPjxiPlBTMzwvYj46DQpXZSBvcGVyYXRlIDI0IHg3LiBJIHdpbGwg YmUgaGFwcHkgdG8gc2VuZCB5b3UgbGlua3MgdG8gcHJpY2UNCmxpc3QsbW9uZXkgYmFjayBndWFy YW50ZWUsIGNsaWVudCByYW5raW5ncywgY2xpZW50IHRlc3RpbW9uaWFscywgk0hvdw0Kd2UgYXJl IGRpZmZlcmVudCBmcm9tIG90aGVycz+ULCBhbmQgk1doeSBzaG91bGQgeW91IGNob29zZSB1cz+U DQpvbiByZWNlaXZpbmcgYSByZXNwb25zZSBmcm9tIHlvdS48L2ZvbnQ+PC9mb250PjwvcD4NCg== From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 11:13:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8742AFFE for ; Thu, 6 Dec 2012 11:13:35 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id C7DC88FC0C for ; Thu, 6 Dec 2012 11:13:34 +0000 (UTC) Received: (qmail invoked by alias); 06 Dec 2012 11:13:28 -0000 Received: from 188.4.178.221.dsl.dyn.forthnet.gr (EHLO [192.168.1.77]) [188.4.178.221] by mail.gmx.com (mp-eu006) with SMTP; 06 Dec 2012 12:13:28 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1//zdRVl8H/jQ4q1Ot1dPfUREnqdjhHiLneJlZVJh VZYLKza0F51xhz Message-ID: <50C07DCE.6070403@gmx.com> Date: Thu, 06 Dec 2012 13:13:18 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: Rick Miller Subject: Re: ipfwNG project? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 11:13:35 -0000 On 12/4/2012 4:24 PM, Rick Miller wrote: > I came across the wiki doc for ipfwNG (http://wiki.freebsd.org/IpfwNg) > and wondered if any of the concepts of this project are currently > being developed for FreeBSD and when we might start seeing those > concepts included in releng/ code. > Hi, I would ask first ipfw@, then net@ and last and most importantly the author of the wiki page directly. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 11:41:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0C629E7 for ; Thu, 6 Dec 2012 11:41:46 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7CFCE8FC0C for ; Thu, 6 Dec 2012 11:41:46 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id 16so7794558obc.13 for ; Thu, 06 Dec 2012 03:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hQjaZEmga4SUiEmYVeH8dAk08dp44Cpnr0EeOqYDG+g=; b=L4HgZCSCpUUFhljcAPkE5u0Efixct9ND8R+1+z/sIip2UGCBJc4kDuTkBNQLlNL1m3 Oz+UCLngc/BVQgg81OjLHCdf1VXX5WUZFg3nJSZ71vC8WK1LjOmdGBQP4O+b3uoaBlBd LTC6CfSWexO848Ibbw7SnrsqLn2wTFNGqk+H6gBAKKSykkYsxqsAmEKrADRptTnTYZQu Nb/8KaBHL2Lw42BMrvwNIupzMgpPGc7lV6enmmBhyI0UsE+TVc4GcLzNVqFEVBvrUK8R Lhhv3V0o5jGAFp+Kg437V0ln/QikrWIZocBrhXjyeJqVaM+Dl7XP04Fkg1Gsqnev4uvy cQHg== MIME-Version: 1.0 Received: by 10.182.18.165 with SMTP id x5mr619245obd.73.1354794099826; Thu, 06 Dec 2012 03:41:39 -0800 (PST) Received: by 10.60.38.104 with HTTP; Thu, 6 Dec 2012 03:41:39 -0800 (PST) In-Reply-To: <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> References: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> <50C05FD8.1040609@freebsd.org> <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> Date: Thu, 6 Dec 2012 15:41:39 +0400 Message-ID: Subject: Re: netstat -i From: Ilya Kazakevich To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 11:41:46 -0000 Hello Oliver, > > Name Mtu Network Address Ipkts Opkts > > > em1 9000 00:0e:0c:5c:32:29 92M 129M > > > em1 9000 10.41.170/24 ufo2000 924K 926K > Use tcpdump to find out what traffic do you have there. There are a lot of protocols that work on the top of Ethernet and has nothing to do with IP. Ilya. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 14:32:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98862D9D for ; Thu, 6 Dec 2012 14:32:10 +0000 (UTC) (envelope-from vagner@bsdway.ru) Received: from bsdway.ru (bsdway.ru [62.109.17.46]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA7C8FC0C for ; Thu, 6 Dec 2012 14:32:09 +0000 (UTC) Received: from localhost (off-40.addr.fotocdn.net [193.105.179.40]) (authenticated bits=0) by bsdway.ru (8.14.4/8.14.5) with ESMTP id qB6EW1MP023808 for ; Thu, 6 Dec 2012 17:32:01 +0300 (MSK) (envelope-from vagner@bsdway.ru) Date: Thu, 6 Dec 2012 18:32:01 +0400 From: Vagner To: FreeBSD questions Mail List Subject: Login class and limit Message-ID: <20121206143201.GB42583@vagner-wrk.bsdway.ru> Mail-Followup-To: FreeBSD questions Mail List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bsdway.ru [62.109.17.46]); Thu, 06 Dec 2012 17:32:01 +0300 (MSK) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 14:32:10 -0000 Hi all! I need help configuring limits for users at FreeBSD 8.3. I set next options and parametrs at login.conf(5): > mydaemon:\ > :cputime=5s:\ > :memoryuse=500m:\ > :vmemoryuse=500m:\ > :tc=default: changed class for user, running cap_mkdb(1). But if i running process a user with the class mydaemon, which uses cpu time > 5s , process not finished. > # sudo -u daemon limits > Resource limits (current): > cputime infinity secs but: > # su - daemon -c 'limits' > Resource limits (current): > cputime 5 secs Why? And how can i running process without su(1) to apply limits for my user class? Thx! -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner@bsdway.ru email: putrya@playform.ru email: root.vagner@gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:08:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A82D7F0 for ; Thu, 6 Dec 2012 15:08:24 +0000 (UTC) (envelope-from scott@netsight.co.uk) Received: from mail.netsight.co.uk (mail.netsight.co.uk [213.133.64.13]) by mx1.freebsd.org (Postfix) with ESMTP id 2260A8FC13 for ; Thu, 6 Dec 2012 15:08:23 +0000 (UTC) Received: from dhcp72.bristol.offices.netsight.co.uk ([192.168.87.72]) by mail.netsight.co.uk with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1TgcKJ-0003kM-Bj for freebsd-questions@freebsd.org; Thu, 06 Dec 2012 14:21:23 +0000 Message-ID: <1354803683.4685.8.camel@scottles-desktop.netsight.co.uk> Subject: Resizing HAST volumes From: Scott Hilleard To: freebsd-questions@freebsd.org Date: Thu, 06 Dec 2012 14:21:23 +0000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Authenticated-User: scott X-SA-Exim-Connect-IP: 192.168.87.72 X-SA-Exim-Mail-From: scott@netsight.co.uk X-SA-Exim-Scanned: No (on mail.netsight.co.uk); SAEximRunCond expanded to false X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:08:24 -0000 Hi, I was looking at setting up a HAST volume that gets exported by iSCSI. the HAST volume was going to sit on top of a ZFS managed zpool. I know that using ZFS I can grow the size of a volume by adding more vdevs and then any ZFS or UFS filesystem on top of that can expanded to accommodate the extra available space (for example using "growfs" for ufs filesystems). However as I plan to have a HAST volume on top of the zvolume, then I would need to expand the size of that to make use of the extra volume capacity. Is there any way to non-destructively resize a HAST volume once the underlying storage has been expanded? Scott -- Scott Hilleard scott@netsight.co.uk Netsight Internet Solutions, Ltd. Business Vision on the Internet http://www.netsight.co.uk +44 (0)117 9090901 Web Design | Zope/Plone Development & Consulting | Co-location | Hosting From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:13:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 222278EA for ; Thu, 6 Dec 2012 15:13:44 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm24-vm6.bullet.mail.ird.yahoo.com (nm24-vm6.bullet.mail.ird.yahoo.com [212.82.109.197]) by mx1.freebsd.org (Postfix) with ESMTP id 1166B8FC12 for ; Thu, 6 Dec 2012 15:13:42 +0000 (UTC) Received: from [77.238.189.234] by nm24.bullet.mail.ird.yahoo.com with NNFMP; 06 Dec 2012 15:13:42 -0000 Received: from [217.146.189.64] by tm15.bullet.mail.ird.yahoo.com with NNFMP; 06 Dec 2012 15:13:41 -0000 Received: from [127.0.0.1] by smtp144.mail.ird.yahoo.com with NNFMP; 06 Dec 2012 15:13:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1354806821; bh=lGagZgr6NLEnZ3Y09RdwvW+pM6QvmDZPTHEIxWKYwcM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=Ps0vOJ+lytNIDQ6PxWW/H+BwhpMA5Qh9B+dEsqY+5vL2/h1pk4R4SzzzW5R2aa1nmFnFIMReBgFamcFPsHe5jYoGIiOGXb2w0m3ykxo9bqbahmykA12Kf/+Ewhr1QH0vtDT7umQQWebod1w545ffmS1gTnC/iicu5M+YSVg8KkU= X-Yahoo-Newman-Id: 978093.89909.bm@smtp144.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: BV6cGpkVM1kOVY1X8CD8oRE97J6uz7I17XYu4Chlug34IC_ NfjSN6P7zkKb6AHCBUXSZpYANEsSGxO6zHBcaKNRjncktvPf0rFr1XtApJfd 2LGpcZMHUa3s_zL.x1RUOzCAoRwa7bEjJPt4iXGClZiN.ozkZ1an8iYVO6Hf 5.cp.n9eX04y1ILwtW7ncafxkXMGcjvNsh9y8.cnMlR7xlP_Drmu2vnBkNWA 1ws67PYK2xQ6q9P1Djx5USUUdmZ5jRehbv9_GDVVsekfM7IN3Ad57ciolf4S XW5NdP_hyrXGRgmCqwxf3LyXYS9YxlNWBkJVRRwHk4iUGNUKZTHSzI1zb7VL ckmzSOhC6HJz_IrDcDUp3MxrRQt2YcodNl_Ewisu6hDU01GrUF.0rgrzQ6A0 cppAY2PriU4BUex3_N98rd2R_nzzPjN9FdjswR6mPPxnJ9bO5RJepZbXva_s TSRThVo0ZMHF8XAK1XxWvXVgpUEAi1H9bzJuGyZ1rhb6UhdXsi0yY8hPbSnN 3Tg4pRKgQV.trNY69asiag29bt7wgxBpNNfOd X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.24.241] (ralf.mardorf@85.182.24.241 with login) by smtp144.mail.ird.yahoo.com with SMTP; 06 Dec 2012 07:13:41 -0800 PST Message-ID: <1354806820.2597.7.camel@q> Subject: PPPoE From: Ralf Mardorf To: FreeBSD questions Mail List Date: Thu, 06 Dec 2012 16:13:40 +0100 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:13:44 -0000 Hi, how do I have to set up PPPoE? This doesn't work: [1] Regards, Ralf [1] [rocketmouse@freebsd] /usr/home/rocketmouse# ppp -ddial alice Working in ddial mode Using interface: tun0 [rocketmouse@freebsd] /usr/home/rocketmouse# cat /etc/ppp/ppp.conf ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD$ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ##ident user-ppp VERSION # Ensure that "device" references the correct serial port # for your modem. (cuau0 = COM1, cuau1 = COM2) # ##set device /dev/cuau1 set device PPPoE:re0 ##set speed 115200 ##set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ ## \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" ##set timeout 180 # 3 minute idle timer (the default) ##enable dns # request DNS info (for resolv.conf) ##papchap: alice: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # ##set phone PHONE_NUM ##set authname USERNAME ##set authkey PASSWORD set authname [*!SNIP!*] set authkey [*!SNIP!*] set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route [rocketmouse@freebsd] /usr/home/rocketmouse# ifconfig re0: flags=8843 metric 0 mtu 1500 options=389b ether 00:1e:8c:80:2a:eb inet6 fe80::21e:8cff:fe80:2aeb%re0 prefixlen 64 scopeid 0x1 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 02:11:d8:84:b5:f7 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 0.11.d8.0.1.84.b5.f7.a.2.ff.fe.0.0.0.0 plip0: flags=8810 metric 0 mtu 1500 pflog0: flags=0<> metric 0 mtu 33152 pfsync0: flags=0<> metric 0 mtu 1460 syncpeer: 224.0.0.240 maxupd: 128 lo0: flags=8049 metric 0 mtu 16384 options=3 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 nd6 options=3 lo1: flags=8049 metric 0 mtu 16384 options=3 inet 10.1.1.1 netmask 0xffffff00 tun0: flags=8051 metric 0 mtu 1492 options=80000 inet 92.224.211.44 --> 213.191.89.25 netmask 0xffffff00 Opened by PID 21614 [rocketmouse@freebsd] /usr/home/rocketmouse# uname -a FreeBSD freebsd 8.2-RELEASE FreeBSD 8.2-RELEASE #7: Wed Feb 16 13:33:10 PST 2011 root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build82/fbsd-source/8.2/sys/PCBSD amd64 [rocketmouse@freebsd] /usr/home/rocketmouse# cat /var/log/ppp.log Dec 3 23:57:17 freebsd newsyslog[1569]: logfile first created Dec 6 15:09:12 freebsd ppp[21604]: Phase: Using interface: tun0 Dec 6 15:09:12 freebsd ppp[21604]: Phase: deflink: Created in closed state Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: default: set device PPPoE:re0 Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: set authname [*!SNIP!*] Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: set authkey ******** Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: set dial Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: set login Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Dec 6 15:09:12 freebsd ppp[21604]: tun0: Command: alice: add default HISADDR Dec 6 15:09:12 freebsd ppp[21614]: tun0: Phase: PPP Started (ddial mode). Dec 6 15:09:12 freebsd ppp[21614]: tun0: Phase: bundle: Establish Dec 6 15:09:12 freebsd ppp[21614]: tun0: Phase: deflink: closed -> opening Dec 6 15:09:13 freebsd ppp[21614]: tun0: Phase: deflink: Connected! Dec 6 15:09:13 freebsd ppp[21614]: tun0: Phase: deflink: opening -> dial Dec 6 15:09:13 freebsd ppp[21614]: tun0: Phase: deflink: dial -> carrier Dec 6 15:09:14 freebsd ppp[21614]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "HN-XDSL") Dec 6 15:09:14 freebsd ppp[21614]: tun0: Phase: Received NGM_PPPOE_SESSIONID Dec 6 15:09:14 freebsd ppp[21614]: tun0: Phase: Received NGM_PPPOE_SUCCESS Dec 6 15:09:14 freebsd ppp[21614]: tun0: Phase: deflink: carrier -> login Dec 6 15:09:14 freebsd ppp[21614]: tun0: Phase: deflink: login -> lcp Dec 6 15:09:14 freebsd ppp[21614]: tun0: LCP: FSM: Using "deflink" as a transport Dec 6 15:09:14 freebsd ppp[21614]: tun0: LCP: deflink: State change Initial --> Closed Dec 6 15:09:14 freebsd ppp[21614]: tun0: LCP: deflink: State change Closed --> Stopped Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: LayerStart Dec 6 15:09:15 freebsd ppp[21614]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: ACFCOMP[2] Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: PROTOCOMP[2] Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: ACCMAP[6] 0x00000000 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MRU[4] 1492 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MAGICNUM[6] 0xab89c240 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: State change Stopped --> Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: RecvConfigReq(222) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MRU[4] 1492 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MAGICNUM[6] 0x29be247b Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: SendConfigAck(222) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MRU[4] 1492 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MAGICNUM[6] 0x29be247b Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: ACFCOMP[2] Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: PROTOCOMP[2] Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: ACCMAP[6] 0x00000000 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MRU[4] 1492 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: MAGICNUM[6] 0xab89c240 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: State change Ack-Sent --> Opened Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: LayerUp Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: bundle: Authenticate Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: deflink: his = PAP, mine = none Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: Pap Output: [*!SNIP!*] ******** Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: Pap Input: SUCCESS () Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: Using trigger address 0.0.0.0 Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: FSM: Using "deflink" as a transport Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: deflink: State change Initial --> Closed Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: deflink: LayerStart. Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: MPPE: Not usable without CHAP81 Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: deflink: SendConfigReq(1) state = Closed Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: DEFLATE[4] win 15 Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: PRED1[2] Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: deflink: State change Closed --> Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: deflink: lcp -> open Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: bundle: Network Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: FSM: Using "deflink" as a transport Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: State change Initial --> Closed Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: LayerStart. Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 0.0.0.0 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: State change Closed --> Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(223) state = Opened Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected! Dec 6 15:09:15 freebsd ppp[21614]: tun0: CCP: deflink: State change Req-Sent --> Stopped Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: RecvConfigRej(1) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: SendConfigReq(2) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 0.0.0.0 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(224) state = Opened Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: RecvConfigReq(146) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 213.191.89.25 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: SendConfigAck(146) state = Req-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 213.191.89.25 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 92.224.211.44 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] changing address: 0.0.0.0 --> 92.224.211.44 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 92.224.211.44 Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(225) state = Opened Dec 6 15:09:15 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:15 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: IPADDR[6] 92.224.211.44 Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: State change Ack-Sent --> Opened Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: deflink: LayerUp. Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: myaddr 92.224.211.44 hisaddr = 213.191.89.25 Dec 6 15:09:15 freebsd ppp[21614]: tun0: Warning: 0.0.0.0: Change route failed: errno: No such process Dec 6 15:09:18 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(226) state = Opened Dec 6 15:09:18 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:18 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:21 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(227) state = Opened Dec 6 15:09:21 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:21 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:24 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(228) state = Opened Dec 6 15:09:24 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:24 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:27 freebsd ppp[21614]: tun0: LCP: deflink: RecvProtocolRej(229) state = Opened Dec 6 15:09:27 freebsd ppp[21614]: tun0: LCP: deflink: -- Protocol 0x8057 (Internet Protocol V6 Control Protocol) was rejected! Dec 6 15:09:27 freebsd ppp[21614]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! Dec 6 15:09:45 freebsd ppp[21614]: tun0: LCP: deflink: RecvEchoRequest(230) state = Opened Dec 6 15:09:45 freebsd ppp[21614]: tun0: LCP: deflink: SendEchoReply(230) state = Opened [*!SNIP!*] Dec 6 15:32:50 freebsd ppp[21614]: tun0: LCP: deflink: RecvEchoRequest(249) state = Opened Dec 6 15:32:50 freebsd ppp[21614]: tun0: LCP: deflink: SendEchoReply(249) state = Opened From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:17:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 707B99D4 for ; Thu, 6 Dec 2012 15:17:42 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out1.external.iinet.net.au (icp-osb-irony-out1.external.iinet.net.au [203.59.1.210]) by mx1.freebsd.org (Postfix) with ESMTP id D710B8FC13 for ; Thu, 6 Dec 2012 15:17:41 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQHAAK2wFA6BuTJ/2dsb2JhbABEg0eCBLheFnOCHgEBBAEnEz8FCwsNKBEUGDETh34DCQW4VRuJRotQhEthA5YChVk1ijqDBw X-IronPort-AV: E=Sophos;i="4.84,230,1355068800"; d="scan'208";a="66380167" Received: from unknown (HELO smtp.phoenix) ([58.6.228.201]) by icp-osb-irony-out1.iinet.net.au with ESMTP; 06 Dec 2012 23:17:32 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 4E64C1B1; Fri, 7 Dec 2012 02:17:32 +1100 (EST) Date: Fri, 7 Dec 2012 02:17:32 +1100 From: andrew clarke To: Ralf Mardorf Subject: Re: PPPoE Message-ID: <20121206151731.GA42235@ozzmosis.com> References: <1354806820.2597.7.camel@q> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1354806820.2597.7.camel@q> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD questions Mail List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:17:42 -0000 On Thu 2012-12-06 16:13:40 UTC+0100, Ralf Mardorf (ralf.mardorf@rocketmail.com) wrote: > how do I have to set up PPPoE? > This doesn't work: [1] In what way does it not work? In your example, at the very least you should be able to ping 213.191.89.25: > tun0: flags=8051 metric 0 mtu 1492 > options=80000 > inet 92.224.211.44 --> 213.191.89.25 netmask 0xffffff00 > Opened by PID 21614 > Dec 6 15:09:15 freebsd ppp[21614]: tun0: IPCP: myaddr 92.224.211.44 hisaddr = 213.191.89.25 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:20:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B95DB9F for ; Thu, 6 Dec 2012 15:20:36 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id F24128FC14 for ; Thu, 6 Dec 2012 15:20:35 +0000 (UTC) Received: from [192.168.43.26] (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.5/8.14.5) with ESMTP id qB6FKXBB008019; Thu, 6 Dec 2012 10:20:34 -0500 (EST) (envelope-from mike@sentex.net) Message-ID: <50C0B7BC.40803@sentex.net> Date: Thu, 06 Dec 2012 10:20:28 -0500 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Ralf Mardorf Subject: Re: PPPoE References: <1354806820.2597.7.camel@q> In-Reply-To: <1354806820.2597.7.camel@q> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.72 on 64.7.153.18 Cc: FreeBSD questions Mail List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:20:36 -0000 On 12/6/2012 10:13 AM, Ralf Mardorf wrote: > Hi, > > how do I have to set up PPPoE? > This doesn't work: [1] > [rocketmouse@freebsd] /usr/home/rocketmouse# ifconfig > re0: flags=8843 metric 0 mtu 1500 > options=389b > ether 00:1e:8c:80:2a:eb > inet6 fe80::21e:8cff:fe80:2aeb%re0 prefixlen 64 scopeid 0x1 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > tun0: flags=8051 metric 0 mtu 1492 > options=80000 > inet 92.224.211.44 --> 213.191.89.25 netmask 0xffffff00 > Opened by PID 21614 What is not working ? you do have an IP from your provider. Is it your default route not getting installed ? Are you expecting nat to be working ? After you are connected, what does netstat -Wnra show ? You might also disable DHCP on re0 since its not getting an address, or in dhclient.conf set it so it uses a default IP that does not have 0/8 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:25:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D93AACF6 for ; Thu, 6 Dec 2012 15:25:39 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm23.bullet.mail.ukl.yahoo.com (nm23.bullet.mail.ukl.yahoo.com [217.146.177.232]) by mx1.freebsd.org (Postfix) with ESMTP id 2BB5A8FC13 for ; Thu, 6 Dec 2012 15:25:38 +0000 (UTC) Received: from [217.146.183.184] by nm23.bullet.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:22:45 -0000 Received: from [217.146.183.124] by tm15.bullet.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:22:45 -0000 Received: from [127.0.0.1] by smtp101.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:22:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1354807365; bh=8XSnnuw2epYNPA6zIisq1pOJWgteBma4MbunC+KaMR4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=N5d0HPQMmPSAAxyzet69PbXdpfFgyKYGV+Ju7aH/kFyatnl0dE0JG5AuX7ft+wiwGAoEkAT8SfWJrgAV0jTEmispgBCTSl6FmiJzscjPH/jKPzOOEoUQuHzgwOJuFpdbzROeaVX7Ywp9u59LfUEFT11HGkbzkRbrSM9mBMhN2sU= X-Yahoo-Newman-Id: 896649.36380.bm@smtp101.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: HFYposIVM1k8KmHd5iT0s3P5UQYHLSyG_LhUak.bvdeUbZD 9Fh7la5vSej1cxOlJkChGSr8y9QsVh9nSVIGoOycqlEQZ_.puMsJQY7XmtLU OJHsIV.6PFgVlfCs6Yjx0vUhkZ2KavoDqV8B7tKX4U.LynCjRnws7I1PyxmB Gn2HE1PqSibK3Ig7GxW3bXrwbPcgtGSJT3QZ7HfF0VvN4Z7j6_eZoh8tVkXD DvC28hvjfPqESJxDbXn94fh6Z76m.R7E_XzEMnRiBpB0Uuz8KXCrRRM5X3g3 Ba_IyeFGnIsdjB26XhnxXbVR8d5tNQzcrrMtlneb_vx3QLrq4pfLoh5CUImj 3Xtbu_4dcy159sg1bXkcyOg3bOIyQ9VWqE3P4X5dHm7rHw3K93tfvUAD9hXI swR10DuG.TCjTAdtAuCRXN4JLf.MtxpU4nHtlh6dms0lVOgd3m_3_v1HYxw3 FYq41Dliqbb3wI_Mk2hJ.x.0gjVATawkKQZUN8t.xZ6K5 X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.24.241] (ralf.mardorf@85.182.24.241 with login) by smtp101.mail.ukl.yahoo.com with SMTP; 06 Dec 2012 07:22:45 -0800 PST Message-ID: <1354807365.2597.11.camel@q> Subject: Re: PPPoE From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Thu, 06 Dec 2012 16:22:45 +0100 In-Reply-To: <20121206151731.GA42235@ozzmosis.com> References: <1354806820.2597.7.camel@q> <20121206151731.GA42235@ozzmosis.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:25:39 -0000 On Fri, 2012-12-07 at 02:17 +1100, andrew clarke wrote: > On Thu 2012-12-06 16:13:40 UTC+0100, Ralf Mardorf (ralf.mardorf@rocketmail.com) wrote: > > > how do I have to set up PPPoE? > > This doesn't work: [1] > > In what way does it not work? > > In your example, at the very least you should be able to ping 213.191.89.25: [snip] Firefox can't connect to the Internet. I didn't ping. The problem is, that I have to reboot between Linux (to send and receive emails, read howtos in the Internet) and FreeBSD (to set it up, run a command as "ping"). Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:29:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72B87DC7 for ; Thu, 6 Dec 2012 15:29:27 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm18-vm0.bullet.mail.ukl.yahoo.com (nm18-vm0.bullet.mail.ukl.yahoo.com [217.146.183.95]) by mx1.freebsd.org (Postfix) with ESMTP id B51D58FC17 for ; Thu, 6 Dec 2012 15:29:26 +0000 (UTC) Received: from [217.12.10.88] by nm18.bullet.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:29:20 -0000 Received: from [217.146.183.109] by tm18.bullet.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:29:20 -0000 Received: from [127.0.0.1] by smtp110.mail.ukl.yahoo.com with NNFMP; 06 Dec 2012 15:29:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1354807760; bh=Zsc/12e+wYmOO8bObc+XH8u95HKD+9YaVfHlJStTzaY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=xSN9pFRNxqTqf2keBAIbUyPP6Rrny/Eyd2YuG5rSSxgFy/ckgVrQ6z93HnABKvJPjsTMpNRQRIYrfq1PEHIQaGD7YFPZ6vw2lY9oAEu0sNdaqYCWpv2iXwqT72h9XfkKMydWRsfmJ/nOL2RG3wWn49fQrX38tAYf4RqW1o0o/dc= X-Yahoo-Newman-Id: 628718.29773.bm@smtp110.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vdDqw_gVM1kT7khWBi_eQqrNPd5m79kw0y2pBpEPpFDDFD5 W39s6SKiN.2tB7Vm5sqMRor5Bwp5B52IOWiTpHiUlzgnxdTxB6Xi7YJAjuEz aQVUfJCmm67nIJO6Ewcg.J0jRZFXAoUCtTG.ww5tfhXRHzouqjNwuGJyPoGJ jPFf7K1VX84nmo2qaupqDfktAOK._0U34lJRyTjLpF5Z7Keftl3dwAuWfYY7 oHsw2RJmjSIT5vZRdfyJmki0HvzJwk0dKVZIZ9YADiDsuKAEvVr90zmGFZlX jsLT2Cinsy1yMCrh7_LAyn5dWXTkVVkbpLP3sTOx406iQ4uKWztWVfVSbh1e qt0zHwc69TmRZTpK5ARZUpdro7Xynlsbm_Z28zkePKXQ4zK12nNSfPrxUb8h 00UMZv2X5YTlworEwqpwhuAcgRELU9qphuCQ9stmIhSE- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.24.241] (ralf.mardorf@85.182.24.241 with login) by smtp110.mail.ukl.yahoo.com with SMTP; 06 Dec 2012 07:29:20 -0800 PST Message-ID: <1354807759.2597.16.camel@q> Subject: Re: PPPoE From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Thu, 06 Dec 2012 16:29:19 +0100 In-Reply-To: <50C0B7BC.40803@sentex.net> References: <1354806820.2597.7.camel@q> <50C0B7BC.40803@sentex.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:29:27 -0000 On Thu, 2012-12-06 at 10:20 -0500, Mike Tancsa wrote: > you do have an IP from your provider. No. > Is it your default route not getting installed ? What is the default route? By Ethernet I want to connect to an ADSL modem. > Are you expecting nat to be working ? No. > After you are connected, what does > netstat -Wnra > > show ? I'll reboot ASAP. > You might also disable DHCP on re0 since its not getting an address, or > in dhclient.conf set it so it uses a default IP that does not have 0/8 Ok, I'll google for that. Thank you! Regards, Ralf From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 15:54:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BAAC63EB for ; Thu, 6 Dec 2012 15:54:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtpout002.mac.com [17.172.108.237]) by mx1.freebsd.org (Postfix) with ESMTP id 81DA68FC12 for ; Thu, 6 Dec 2012 15:54:08 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Received: from [17.153.59.91] (unknown [17.153.59.91]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MEM001B76PRGK00@st11p05mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Thu, 06 Dec 2012 14:53:56 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-12-06_04:2012-12-06,2012-12-06,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=18 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1212060093 Subject: Re: Login class and limit From: Charles Swiger In-reply-to: <20121206143201.GB42583@vagner-wrk.bsdway.ru> Date: Thu, 06 Dec 2012 06:53:50 -0800 Content-transfer-encoding: quoted-printable Message-id: <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> References: <20121206143201.GB42583@vagner-wrk.bsdway.ru> To: Vagner X-Mailer: Apple Mail (2.1499) Cc: FreeBSD questions Mail List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 15:54:08 -0000 Hi-- On Dec 6, 2012, at 6:32 AM, Vagner wrote: > Hi all! > I need help configuring limits for users at FreeBSD 8.3. > I set next options and parametrs at login.conf(5): [ =85 ] >=20 >> # sudo -u daemon limits >> Resource limits (current): >> cputime infinity secs >=20 > but: >=20 >> # su - daemon -c 'limits' >> Resource limits (current): >> cputime 5 secs >=20 > Why? And how can i running process without su(1) to apply limits for > my user class? "su -", "su -l", and "sudo -i" provide a login shell, which gets the limits setup by login.conf. Normally daemons are started at boot via rc mechanism (or perhaps get spawned from inetd) and do not have a login shell associated with them to setup the limits. Either use one of the su/sudo flavors I mention above, or "/bin/sh -l" to provide a login env to the process=85 Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 16:47:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C0D01A4 for ; Thu, 6 Dec 2012 16:47:30 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 86B8C8FC12 for ; Thu, 6 Dec 2012 16:47:29 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so3327242bkc.13 for ; Thu, 06 Dec 2012 08:47:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=Bvfm7gVsKLHuzJ0mgGnbCekiZUf46T78EEj1xBfKhXE=; b=z3NaLK3QWYQYg1NsitNxylf4WX0dgObNq0k4iCzdmZQr+0Omz4tebxq8sAwSTPB9wG iz3DTdUHxojsmzKlzQnWEA7Qd2Nx4fhrB7tkTZrS+xhYEP/R5ilZMBv4RDJtQB3FtYR7 OZCDJ3Ys6EKPO/OvC+FooWpZ7WWy4x2FmQjsuWiu2adaIprO2eaBF+g8iqNzNtnAkKUo tlRBiuxsqmwAAhnI42cqPhmz37XTmi1i0YvCpAO9EUG2BSD+1Qq+rd9hGc4ffA929yo7 rk6UkTjvryxrR+q2p+D6u7FQrxXudCve6qLn6/bYxoEzmvMhb5yxgTBjqmQpA1BVP6JC +CAQ== Received: by 10.204.4.131 with SMTP id 3mr872516bkr.25.1354812448156; Thu, 06 Dec 2012 08:47:28 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id y11sm7070063bkw.8.2012.12.06.08.47.25 (version=SSLv3 cipher=OTHER); Thu, 06 Dec 2012 08:47:26 -0800 (PST) Date: Thu, 6 Dec 2012 16:47:23 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: PPPoE Message-ID: <20121206164723.1f60311f@gumby.homeunix.com> In-Reply-To: <1354806820.2597.7.camel@q> References: <1354806820.2597.7.camel@q> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 16:47:30 -0000 On Thu, 06 Dec 2012 16:13:40 +0100 Ralf Mardorf wrote: ##enable dns # request DNS info (for resolv.conf) You probably need this if you haven't set resolv.conf manually > set dial > set login I don't think you need these. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 18:38:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09BF05C8 for ; Thu, 6 Dec 2012 18:38:44 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 987238FC08 for ; Thu, 6 Dec 2012 18:38:43 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id e5so1182803ggh.13 for ; Thu, 06 Dec 2012 10:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:x-mailer:face :mime-version:content-type:content-transfer-encoding; bh=3+/Sfr7pMaGL9RtZfKVRB/PGtoFYydjjuMPI3zR9zsM=; b=ZrDVMbbeKD6j/dd/mJaWa4R/Vt/XZkzUNp+gUO6TIvy7mN6v6oZyDW1+DJd34mOSxK 51vcBHFWd8LmSP6RjcX0NR8nYaYxj9B+frCV7Dn3GzXyPyovVI6z+16Y/ZFT0SyEmoW9 c9f8CT8BT2v07TpeGBpekwmvYm/HkXZTIq64c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:reply-to:organization:x-mailer:face :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=3+/Sfr7pMaGL9RtZfKVRB/PGtoFYydjjuMPI3zR9zsM=; b=oL8oUysHz+HftmxZqj1tQknk672UXijMbZ74fvz5eZBqYeBhfOjm9Gcc7VeCyMUaZR D5rHM/RyOgckQIAJ0VpvVzkmLz0isR4OuGgm7dposbZufQRr7rTqCFal49wTXJJXTMr0 QG22uJsFQ0oxaIUknw0AZNFrRX9WyE3zu1ZPbddC2JOWY6owL5+jUjMivZBJrLv8uI79 uPZBx30dZdTPpE7FN4JU1YfWdjvO/pGkL0CXIe8kNRMeIDr8VmZESYm9p1yInQpJ5gfW 4XJlinFXwS0q1FZ6LXkrl2xxVxpne4/YDciEqkvxlRD3us6os55Oi2u9EiAQ9/TZ2RP6 d5+Q== Received: by 10.236.131.69 with SMTP id l45mr3577429yhi.46.1354819116842; Thu, 06 Dec 2012 10:38:36 -0800 (PST) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id g79sm10225618yhj.6.2012.12.06.10.38.35 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 10:38:36 -0800 (PST) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3YHQYj4RF5z2CG4L for ; Thu, 6 Dec 2012 13:38:33 -0500 (EST) Date: Thu, 6 Dec 2012 13:38:33 -0500 From: Jerry To: FreeBSD Subject: kdialog error message Message-ID: <20121206133833.6ce07791@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmW9VE17VR79vxJdTXrlRY7v4mKTG2bBICRihiiz/TwK4l3nf2yw9QMQk8xcMZvxlNobmRu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 18:38:44 -0000 FreeBSD 8.3-STABLE kde Platform Version 4.8.4 (4.8.4) I am attempting to create a custom action in "claws-mail". The action command line reads: | kdialog --msgbox "Characters: $(wc -c)" This works fine except it also issues an error message: --- Ended: kdialog --msgbox "Characters: $(wc -c)" kdialog(26489)/KSharedDataCache: Unable to find an appropriate lock to guard the shared cache. This *should* be essentially impossible. :( kdialog(26489)/KSharedDataCache: Unable to perform initial setup, this system probably does not really support process-shared pthreads or semaphores, even though it claims otherwise. kdialog(26489)/KSharedDataCache: Unable to unmap shared memory segment 0x8095c3000 Since this works on other OSs, it appears to be a problem with FreeBSD. Can anyone elaborate on it? -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 18:56:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C3C2E53 for ; Thu, 6 Dec 2012 18:56:19 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9FD8FC0C for ; Thu, 6 Dec 2012 18:56:19 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id e13so13232235iej.18 for ; Thu, 06 Dec 2012 10:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ReAx7OWTBD/RbHkuJ75viczuR+oS0w8g6vcuGHVrxnU=; b=0+vrvQVnZenWEahm8uUq5b+EvYeXqTtOxvT8jI+eLdh1UnD6lfY4n8tv1u65w5FSz/ 8w3KiIkESKhWn/76drYug9SrDuOusIcH9S/6XkTCRE04KF1kYKT1kQDy+zePltVTSXLt yQ9p+qumLu5g7cjJ512npx4Nr5ml0juhlpS70wl9Wnx5wrYj3cVowXL67Ncfn2GreoBV VKd2cJrNGupOfUHvcSdN7PR186dPkiE/3NlSv2BoGmKijn/sQcY9iZGq346EMOmTXj0D 0SX+S22VLmnJuPOJuuMOWTIbf2MAJflUty0HTkVfAR8BHgE0IWoJasPaTGBsQXpNEIO+ e8KQ== Received: by 10.50.12.166 with SMTP id z6mr2557692igb.56.1354820178564; Thu, 06 Dec 2012 10:56:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.43.19.71 with HTTP; Thu, 6 Dec 2012 10:55:58 -0800 (PST) In-Reply-To: <50BFDCFD.4010108@tundraware.com> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> From: n j Date: Thu, 6 Dec 2012 19:55:58 +0100 Message-ID: Subject: Re: Somewhat OT: Is Full Command Logging Possible? To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 18:56:19 -0000 On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk wrote: > ... > Well ... does auditd provide a record of every command issued within a > script? > I was under the impression (and I may well be wrong) that it noted only > the name of the script being executed. Even if you configured auditd to record every command issued within a script, you'd still have a problem if a malicious user put the same commands inside a binary. As some people already pointed out, there is practically no way to control users once you give them root privileges. The only thing that would really solve your problem is probably something like http://www.balabit.com/network-security/scb/features (no personal experience with it, but seems it does what you need). -- Nino From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 19:18:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42C29479 for ; Thu, 6 Dec 2012 19:18:32 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id ED4F68FC12 for ; Thu, 6 Dec 2012 19:18:31 +0000 (UTC) Received: from [10.219.130.115] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB6JIJXu059380 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 13:18:20 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50C0EFA4.3010902@tundraware.com> Date: Thu, 06 Dec 2012 13:19:00 -0600 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: n j Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Thu, 06 Dec 2012 13:18:20 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB6JIJXu059380 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 19:18:32 -0000 On 12/06/2012 12:55 PM, n j wrote: > On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk wrote: >> ... >> Well ... does auditd provide a record of every command issued within a >> script? >> I was under the impression (and I may well be wrong) that it noted only >> the name of the script being executed. > > Even if you configured auditd to record every command issued within a > script, you'd still have a problem if a malicious user put the same > commands inside a binary. > > As some people already pointed out, there is practically no way to > control users once you give them root privileges. I understand this. Even the organization in question understands this. They are not trying to *prevent* any kind of access. All they're trying to do *log* it. Why? To meet some obscure compliance requirement they have to adhere to in order to remain in business. I know all of this is silly but that's our future when you let Our Fine Government regulate pretty much anything. > > The only thing that would really solve your problem is probably > something like http://www.balabit.com/network-security/scb/features > (no personal experience with it, but seems it does what you need). > -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 19:54:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F142D3EE for ; Thu, 6 Dec 2012 19:54:28 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE748FC14 for ; Thu, 6 Dec 2012 19:54:28 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so4717117eek.13 for ; Thu, 06 Dec 2012 11:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JNMTqnMKlpKX8040/bXRq3/m04qh6MawD80NITpwkGM=; b=TzQjdHKNSCcHIUxG7sxyPHyAvgUWuLrxFlFv0eafqYi+73D/FS/9QYwEa8bo9GeuQm fRamFiALsJpkCtlVlJo2iCzzzjfq28t26y27Rb74HPXVRz1T7s2B9ydSFVZutMTuCj/C EPl7pjhc445uo/I+e6l3xf47/rUgHTIJsEU6chyVG2zPQpvlrUGxbp4qnxebtGSqgLaJ 2pRMnbU7MHooZFf3+AwufXduovJzCH+KHKRmJRG0ZHn/juNBN+jfatFRkXCnixKUr8Ge N87b0zWs37/gvJSi5IBGbZD4fYMveJwutjTwngUbIdhVF3wTp5u2E8MNtNpV6uOWBY+H AeOQ== MIME-Version: 1.0 Received: by 10.14.176.66 with SMTP id a42mr8597425eem.34.1354823667203; Thu, 06 Dec 2012 11:54:27 -0800 (PST) Received: by 10.14.221.135 with HTTP; Thu, 6 Dec 2012 11:54:27 -0800 (PST) In-Reply-To: References: <50BFD674.8000305@tundraware.com> <50BFDD51.5000100@tundraware.com> Date: Thu, 6 Dec 2012 11:54:27 -0800 Message-ID: Subject: Fwd: Somewhat OT: Is Full Command Logging Possible? From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Damien Fleuriot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 19:54:29 -0000 Sorry, forgot to replay all... Kurt ---------- Forwarded message ---------- From: Kurt Buff Date: Thu, Dec 6, 2012 at 11:53 AM Subject: Re: Somewhat OT: Is Full Command Logging Possible? To: Fleuriot Damien On Thu, Dec 6, 2012 at 1:26 AM, Fleuriot Damien wrote: > > On Dec 6, 2012, at 1:35 AM, Kurt Buff wrote: > >> On Wed, Dec 5, 2012 at 3:48 PM, Tim Daneliuk wrote: >>> On 12/05/2012 05:44 PM, Kurt Buff wrote: >>>> >>>> On Wed, Dec 5, 2012 at 3:19 PM, Tim Daneliuk >>>> wrote: >>>>> >>>>> I am working with an institution that today provides limited privilege >>>>> escalation >>>>> on their servers via very specific sudo rules. The problem is that the >>>>> administrators can do 'sudo su -'. >>>> >>>> >>>> >>>> >>>> sudo is misconfigured. >>>> >>>> man 5 sudoers and man 8 visudo >>>> >>>> >>>> >>>> Kurt >>>> >>> >>> I'm sorry Kurt, I'm sort of dense today, I'm not sure what you're >>> saying. Are you suggesting that there is a way to configure >>> sudo so that if someone does 'sudo su -' to become an admin, >>> sudo can be made to log every command they execute thereafter? >> >> No, I'm saying that sudo should not be configured to allow 'sudo su -'. > > > This is an ineffective solution. > > So what, you're going to forbid "sudo su -" > > Fine, I'll just run "sudo csh" . > > If you forbid csh, I'll just copy the existing `which csh` to ~/toto and "sudo ~/toto" . > > > > Basically, anything short of actually whitelisting what people can run won't do. > > And apparently that's not in Tim's list of desirable things ;) Whitelisting commands is exactly what the sudoers file is for. If he wants to do otherwise, then he's using the wrong tool. Kurt From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:00:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9731E6C5 for ; Thu, 6 Dec 2012 20:00:52 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s9.blu0.hotmail.com (blu0-omc4-s9.blu0.hotmail.com [65.55.111.148]) by mx1.freebsd.org (Postfix) with ESMTP id 43FF48FC14 for ; Thu, 6 Dec 2012 20:00:52 +0000 (UTC) Received: from BLU0-SMTP19 ([65.55.111.137]) by blu0-omc4-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 6 Dec 2012 11:59:46 -0800 X-Originating-IP: [76.182.104.150] X-EIP: [gNVwCwOmHU6mFJoHNvEZD4tLyE3/kj86] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.182.104.150]) by BLU0-SMTP19.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 6 Dec 2012 11:59:45 -0800 Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3YHSMN2DfFz2CG5X for ; Thu, 6 Dec 2012 14:59:44 -0500 (EST) Date: Thu, 6 Dec 2012 14:59:43 -0500 From: Carmel To: FreeBSD Subject: SMS application X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Dec 2012 19:59:45.0879 (UTC) FILETIME=[3D5BEE70:01CDD3EC] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:00:52 -0000 Can anyone recommend a good SMS application that works on FreeBSD? I have used several different ones on MS Windows; however, I cannot find one that works on FreeBSD. There doesn't appear to be a fully functional one in the ports system either, although I might have missed it. -- Carmel carmel_ny@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:10:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C203896E for ; Thu, 6 Dec 2012 20:10:36 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 63B908FC17 for ; Thu, 6 Dec 2012 20:10:35 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Tghmm-0004xH-Da; Thu, 06 Dec 2012 20:11:08 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tghm5-000NRr-18; Thu, 06 Dec 2012 20:10:25 +0000 Date: Thu, 6 Dec 2012 20:10:23 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Somewhat OT: Is Full Command Logging Possible? Message-Id: <20121206201023.750cace0181d4756a3111c2f@sohara.org> In-Reply-To: <50C0EFA4.3010902@tundraware.com> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: tundra@tundraware.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:10:36 -0000 On Thu, 06 Dec 2012 13:19:00 -0600 Tim Daneliuk wrote: > On 12/06/2012 12:55 PM, n j wrote: > > On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk > > wrote: > >> ... > >> Well ... does auditd provide a record of every command issued within a > >> script? > >> I was under the impression (and I may well be wrong) that it noted > >> only the name of the script being executed. > > > > Even if you configured auditd to record every command issued within a > > script, you'd still have a problem if a malicious user put the same > > commands inside a binary. > > > > As some people already pointed out, there is practically no way to > > control users once you give them root privileges. > > I understand this. Even the organization in question understands > this. They are not trying to *prevent* any kind of access. All > they're trying to do *log* it. Why? To meet some obscure > compliance requirement they have to adhere to in order to > remain in business. It occurs to me to wonder how the users are connecting to the machine and whether the logging could be achieved at that level using (for example) a customised sshd that logs all the traffic. It doesn't quite log what commands get executed but it does log what gets typed and everything else will follow from that. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:18:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1A84B75 for ; Thu, 6 Dec 2012 20:18:39 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx1.freebsd.org (Postfix) with ESMTP id 80FEA8FC12 for ; Thu, 6 Dec 2012 20:18:39 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj13so714530wib.13 for ; Thu, 06 Dec 2012 12:18:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=w2mqyWXN2d/QVEojAKqAEfBDoqxiGFAIrzCTZpn69aA=; b=rUsKqmwlXhSeZSzYBBRtkBDfwUfNbIp+fxBEYMgfDsl4bFAu5Ap8ufzQJzpA0yEbWd yTeN8X5Ipt7mIsloys8ynMU5Ce2aFgssf7A9vpEctRlesfP/eyw2yMFDPRV5+1R0Slxu midGJW9ROnpXSiEJSUZ7jE7JwrJHyDCycA9nqev/srTHrUUfGXSqa/1CXuJ4N7KpYC6p vCv5qMqb5UNj4mIf0+c9B5z5y6Dt22f0uL4cljxaHEYljbN7dSAleCN1/sxDB4t1aI/l q7yttGvaaFKb5EuRduyziNsqWWwHw27Z46Ci5+P4Z59ytj/tb9uLtomcfxdOjjmaxgKV YG4w== MIME-Version: 1.0 Received: by 10.180.86.7 with SMTP id l7mr4494959wiz.5.1354825118264; Thu, 06 Dec 2012 12:18:38 -0800 (PST) Received: by 10.216.241.143 with HTTP; Thu, 6 Dec 2012 12:18:38 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Dec 2012 12:18:38 -0800 Message-ID: Subject: Re: SMS application From: Waitman Gobble To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:18:40 -0000 On Thu, Dec 6, 2012 at 11:59 AM, Carmel wrote: > Can anyone recommend a good SMS application that works on FreeBSD? I > have used several different ones on MS Windows; however, I cannot find > one that works on FreeBSD. There doesn't appear to be a fully > functional one in the ports system either, although I might have missed > it. > > -- > Carmel > carmel_ny@hotmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hi, you might check out David Sugar's sipwitch (gnu telephony). I believe this project is in ports but it's likely kind-of dated.. you'd probably want to check into the devel releases. -- Waitman Gobble San Jose California USA 510-830-7975 From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:20:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3BA5C6E for ; Thu, 6 Dec 2012 20:20:22 +0000 (UTC) (envelope-from prvs=680cec957=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id BB7BB8FC08 for ; Thu, 6 Dec 2012 20:20:22 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvAEAJv8wFCBbgogTmdsb2JhbABEvkUDAQFugh4BAQU4Aj8QCxguQxQGARKIEMJtjDmDYmEDiF+JcZcM X-IronPort-AV: E=Sophos;i="4.84,232,1355119200"; d="scan'208";a="113910142" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Dec 2012 14:20:15 -0600 Date: Thu, 06 Dec 2012 14:20:13 -0600 From: Paul Schmehl To: tundra@tundraware.com, n j Subject: Re: Somewhat OT: Is Full Command Logging Possible? Message-ID: <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> In-Reply-To: <50C0EFA4.3010902@tundraware.com> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1058 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:20:23 -0000 --On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk wrote: > > I understand this. Even the organization in question understands > this. They are not trying to *prevent* any kind of access. All > they're trying to do *log* it. Why? To meet some obscure > compliance requirement they have to adhere to in order to > remain in business. > > > I know all of this is silly but that's our future when you > let Our Fine Government regulate pretty much anything. > > I sent this last night, but for some reason it never showed up. /usr/ports/security/sudoscript I believe this will meet your requirements. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:21:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8C52D17; Thu, 6 Dec 2012 20:21:18 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 67E208FC15; Thu, 6 Dec 2012 20:21:18 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 2F57C8B14E4; Thu, 6 Dec 2012 21:21:17 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.965 X-Spam-Level: X-Spam-Status: No, score=-100.965 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.035, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id sj4PvUE2HOyy; Thu, 6 Dec 2012 21:21:12 +0100 (CET) Received: from [192.168.100.30] (p54B0A324.dip.t-dialin.net [84.176.163.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 19BCB8B14E2; Thu, 6 Dec 2012 21:21:12 +0100 (CET) Message-ID: <50C0FE2E.8090606@executive-computing.de> Date: Thu, 06 Dec 2012 21:21:02 +0100 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: David Xu Subject: Re: grep -Dskip doesn't skip FIFOs References: <50C010D0.3070205@freebsd.org> In-Reply-To: <50C010D0.3070205@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:21:18 -0000 David Xu wrote on 06.12.2012 04:28: > On 2012/12/06 07:07, Marco Steinbach wrote: >> Hi there, >> >> grep(1) does not seem to skip FIFOs when told to. > > > > I think you need a patch to fix it, the bug is in ggrep, it tries to > open a FIFO before checking if it is a FIFO, then blocked. > > http://people.freebsd.org/~davidxu/patch/grep.c.diff This patch seems to fix it. Thank you for taking care of this. MfG CoCo From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:25:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB447E82; Thu, 6 Dec 2012 20:25:41 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5F08FC14; Thu, 6 Dec 2012 20:25:41 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 6EF4C8B14E2; Thu, 6 Dec 2012 21:25:40 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.965 X-Spam-Level: X-Spam-Status: No, score=-100.965 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.035, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id pBDANtI5Uczx; Thu, 6 Dec 2012 21:25:38 +0100 (CET) Received: from [192.168.100.30] (p54B0A324.dip.t-dialin.net [84.176.163.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 70FCD8B14E0; Thu, 6 Dec 2012 21:25:38 +0100 (CET) Message-ID: <50C0FF38.4020502@executive-computing.de> Date: Thu, 06 Dec 2012 21:25:28 +0100 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: David Xu Subject: Re: grep -Dskip doesn't skip FIFOs References: <50C010D0.3070205@freebsd.org> <50C01518.5090705@freebsd.org> In-Reply-To: <50C01518.5090705@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:25:41 -0000 David Xu wrote on 06.12.2012 04:46: > On 2012/12/06 11:28, David Xu wrote: >> On 2012/12/06 07:07, Marco Steinbach wrote: >>> Hi there, >>> >>> grep(1) does not seem to skip FIFOs when told to. >> >> >> >> I think you need a patch to fix it, the bug is in ggrep, it tries to >> open a FIFO before checking if it is a FIFO, then blocked. >> >> http://people.freebsd.org/~davidxu/patch/grep.c.diff >> >> _______________________________________________ > >> > > or the patch: > http://people.freebsd.org/~davidxu/patch/grep.c.diff2 > > The patch opens file with O_NONBLOCK, then turns off O_NONBLOCK, > and only checks if a file is a FIFO in reset() function. This patch also seems to fix it. I can't comment on the patches themselves, though. Anyway, thank you again for taking care of this. MfG CoCo From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:36:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C3CC4D2 for ; Thu, 6 Dec 2012 20:36:47 +0000 (UTC) (envelope-from vagner@bsdway.ru) Received: from bsdway.ru (bsdway.ru [62.109.17.46]) by mx1.freebsd.org (Postfix) with ESMTP id D466C8FC0C for ; Thu, 6 Dec 2012 20:36:46 +0000 (UTC) Received: from localhost ([188.134.95.3]) (authenticated bits=0) by bsdway.ru (8.14.4/8.14.5) with ESMTP id qB6Kahpk097100; Thu, 6 Dec 2012 23:36:43 +0300 (MSK) (envelope-from vagner@bsdway.ru) Date: Fri, 7 Dec 2012 00:36:38 +0400 From: Vagner To: Charles Swiger Subject: Re: Login class and limit Message-ID: <20121206203638.GA4540@vagner-wrk.bsdway.ru> Mail-Followup-To: Charles Swiger , FreeBSD questions Mail List References: <20121206143201.GB42583@vagner-wrk.bsdway.ru> <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bsdway.ru [62.109.17.46]); Thu, 06 Dec 2012 23:36:43 +0300 (MSK) Cc: FreeBSD questions Mail List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:36:47 -0000 On 06:53 Thu 06 Dec , Charles Swiger wrote: > Hi-- > > On Dec 6, 2012, at 6:32 AM, Vagner wrote: > > Hi all! > > I need help configuring limits for users at FreeBSD 8.3. > > I set next options and parametrs at login.conf(5): > [ ? ] > > > >> # sudo -u daemon limits > >> Resource limits (current): > >> cputime infinity secs > > > > but: > > > >> # su - daemon -c 'limits' > >> Resource limits (current): > >> cputime 5 secs > > > > Why? And how can i running process without su(1) to apply limits for > > my user class? > > "su -", "su -l", and "sudo -i" provide a login shell, which gets the > limits setup by login.conf. Normally daemons are started at boot > via rc mechanism (or perhaps get spawned from inetd) and do not > have a login shell associated with them to setup the limits. > > Either use one of the su/sudo flavors I mention above, or "/bin/sh -l" > to provide a login env to the process? > > Regards, > -- > -Chuck > > ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible? -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner@bsdway.ru email: putrya@playform.ru email: root.vagner@gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:48:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0C006EF for ; Thu, 6 Dec 2012 20:48:37 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0398FC12 for ; Thu, 6 Dec 2012 20:48:37 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so13278593iec.13 for ; Thu, 06 Dec 2012 12:48:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l+E85kMeqiORBUC1SDjWh/fFcbTkE8jLhNyiX8BBIqM=; b=oLEs4McLuZUriImzDKJcYR6n6Q5ZkzLqRcNFdbrAWWqvqbzuIZ2p3b1fOUVQchQXCc uPfaq1V52SL0dsHjwAahi66vipoGtxZJ4Ve0tG5HkIOkIpju18dYHcc6edhYC/zePwZE zuX5deDJm8oA1DsxfrxD6YNK50WUjNnh+WlpMYdSxIyoH52gFqzaMcQ+l86RBVnIdA1Y Tnj4M6r6nkcLcUNB1NAkY6GXwHn2ML6w5nrQLc5+ngsM31867jjErJSUCRVfBMrK2qLr 7MWkinZsbW6gyIuGR9plHuRPtwvJI57b9XeAmYQ5RExosB1al9Rou22jh/0adCCYAldh aLUg== MIME-Version: 1.0 Received: by 10.42.63.145 with SMTP id c17mr2590182ici.22.1354826911362; Thu, 06 Dec 2012 12:48:31 -0800 (PST) Received: by 10.50.13.204 with HTTP; Thu, 6 Dec 2012 12:48:31 -0800 (PST) In-Reply-To: References: <50B8E48A.3000805@gmail.com> <50B8EA11.8090503@gmail.com> Date: Thu, 6 Dec 2012 14:48:31 -0600 Message-ID: Subject: Re: what replaces javaws? using icedtea-web and openjdk6. From: Antonio Olivares To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 Cc: Mike Clarke , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:48:37 -0000 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603 >> > > I apply the suggested fix: > > $ sh -x `which itweb-javaws` jviewer.jnlp > + JAVA=/usr/local/openjdk6/jre/bin/java > + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar > + LAUNCHER_FLAGS=-Xms8m > + CLASSNAME=net.sourceforge.jnlp.runtime.Boot > + BINARY_LOCATION=/usr/local/bin/itweb-javaws > + PROGRAM_NAME=itweb-javaws > + CP=/usr/local/openjdk6/jre/lib/rt.jar > /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name > I try once more on another machine not 64 bit, it returns the same error and java web start does not work :( $ sh -x `which itweb-javaws` jviewer.jnlp + JAVA=/usr/local/openjdk6/jre/bin/java + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar + LAUNCHER_FLAGS=-Xms8m + CLASSNAME=net.sourceforge.jnlp.runtime.Boot + BINARY_LOCATION=/usr/local/bin/itweb-javaws + PROGRAM_NAME=itweb-javaws + CP=/usr/local/openjdk6/jre/lib/rt.jar /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name Any other ideas as to how to fix this? TIA, Antonio From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 20:51:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 597DEA1B for ; Thu, 6 Dec 2012 20:51:25 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 17A368FC16 for ; Thu, 6 Dec 2012 20:51:24 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id qB6Ki8rI014281 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 6 Dec 2012 14:44:08 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.2.309.2; Thu, 6 Dec 2012 14:44:07 -0600 Subject: Re: Somewhat OT: Is Full Command Logging Possible? MIME-Version: 1.0 (Apple Message framework v1283) From: Devin Teske In-Reply-To: <50BFD674.8000305@tundraware.com> Date: Thu, 6 Dec 2012 12:44:03 -0800 Message-ID: <66A35C1E-351C-477E-8655-F46264006BDA@fisglobal.com> References: <50BFD674.8000305@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185, 1.0.431, 0.0.0000 definitions=2012-12-06_06:2012-12-06,2012-12-06,1970-01-01 signatures=0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 20:51:25 -0000 On Dec 5, 2012, at 3:19 PM, Tim Daneliuk wrote: > This is a little bit outside the strict boundaries of a FreeBSD question, > but I am hoping someone in this community has solved this problem and > that I might be able to adapt it for non-FreeBSD systems (AIX and Linux, > specifically). >=20 > I am working with an institution that today provides limited privilege es= calation > on their servers via very specific sudo rules. The problem is that the > administrators can do 'sudo su -'. The fact that they became root is > logged, *but everything thereafter they do is not*. What these people > need is something that does the following things - this need not be > sudo based, any FOSS or commercial solution would be considered: >=20 > - Log the fact that someone became effective root >=20 > - Log every command they execute *as* root >=20 > - If they run a script as root, log the individual > actions of that script >=20 > - Have visibility into all this no matter how they access > the system - console, ssh, xterm =85. There's a kernel module floating around the Intarwebs=85 lrexec We used it for some years to satisfy governance regulations. But let me tell you=85 it got so noisy, it was ultimately disabled for sani= ty. But don't let that stop You. =85 Quick search of "lrexec module" yields the following: http://freebsd.munk.me.uk/archives/112-Installed-and-Configured-lrexec-modu= le-For-Logging-System-Calls.html NOTE: Our plan for replacing this functionality in our organization was to = use the praudit fire-hose available in FreeBSD-8.x. It too could be a solut= ion to your problem. --=20 Devin > Nothing I have found so far meets all these criterion. Verbose > syslogging will not catch the case where you start a subshell > from the main shell. Keylogging seems to only have limited > coverage and does not appear it would work if, say, I log in > via ssh and then kick off an xterm. Other solutions > fail if I start an editor and shell out from there. >=20 > The current proposal is to install sudo rules such that NO one > is allowed 'sudo su -' and *every single command* you want > to run as root has to start with 'sudo'. This has two big > drawbacks: >=20 > - It's an enormous pain for the admins and fundamentally changes > their workflow >=20 > - It cannot see into scripts. So I can circumvent it pretty > easily with: >=20 > sudo chown root:wheel my_naughty_script > sudo chmod 700 my_naughty script > sudo ./my_naughty_script >=20 > The sudo log will note that I ran the script, but not what it did. >=20 >=20 > So Gentle Geniuses, is there prior art here that could be applied > to give me full coverage logging of every action taken by any person or > thing running with effective or actual root? >=20 > P.S. I do not believe auditd does this either. >=20 >=20 > --=20 > -------------------------------------------------------------------------= --- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 21:33:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48C77970 for ; Thu, 6 Dec 2012 21:33:05 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from leila.iecc.com (leila6.iecc.com [IPv6:2001:470:1f07:1126:0:4c:6569:6c61]) by mx1.freebsd.org (Postfix) with ESMTP id C63F38FC08 for ; Thu, 6 Dec 2012 21:33:04 +0000 (UTC) Received: (qmail 53051 invoked from network); 6 Dec 2012 21:33:03 -0000 Received: from leila.iecc.com (64.57.183.34) by mail1.iecc.com with QMQP; 6 Dec 2012 21:33:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:vbr-info; s=50c10f0f.xn--3zv.k1211; i=johnl@user.iecc.com; bh=p/MMe64z0YI1418a3j0I+bcs241lCNE5qRgC3jWnl6A=; b=KY9wiEm0ge0MrglBBhS2/gptS7n1fw5FHJA0j9YjtKosYWETzucIi8ABYAP8VxKy8HosWLYhhwO8H0uNTp3wXKfYeGMboL14TKp0/O+xBY4Im5pnuousYxFwEzAFZ99EIq+Gvjmkfcr4HRy3KS37Yt37gJYwbxQtYW214lKZohc= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 6 Dec 2012 21:32:41 -0000 Message-ID: <20121206213241.10433.qmail@joyce.lan> From: "John Levine" To: freebsd-questions@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: SMS application In-Reply-To: Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 21:33:05 -0000 In article you write: >Can anyone recommend a good SMS application that works on FreeBSD? I >have used several different ones on MS Windows; however, I cannot find >one that works on FreeBSD. There doesn't appear to be a fully >functional one in the ports system either, although I might have missed >it. What do you want to do? If you just want to send SMS, there are plenty of vendors that have http interfaces that you can script with wget or www libraries in perl, python, and the other usual suspects. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 21:47:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7B69E7 for ; Thu, 6 Dec 2012 21:47:07 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 536A38FC13 for ; Thu, 6 Dec 2012 21:47:06 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.5/8.14.5) with ESMTP id qB6LkwIh010909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 15:46:58 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id qB6LkwgE046156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 15:46:58 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id qB6Lkwvp046019; Thu, 6 Dec 2012 15:46:58 -0600 (CST) (envelope-from dan) Date: Thu, 6 Dec 2012 15:46:58 -0600 From: Dan Nelson To: Antonio Olivares Subject: Re: what replaces javaws? using icedtea-web and openjdk6. Message-ID: <20121206214658.GI18331@dan.emsphone.com> References: <50B8E48A.3000805@gmail.com> <50B8EA11.8090503@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.3-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Thu, 06 Dec 2012 15:46:59 -0600 (CST) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.73 Cc: Volodymyr Kostyrko , Mike Clarke , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 21:47:07 -0000 In the last episode (Dec 06), Antonio Olivares said: > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603 > > > > I apply the suggested fix: > > > > $ sh -x `which itweb-javaws` jviewer.jnlp > > + JAVA=/usr/local/openjdk6/jre/bin/java > > + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar > > + LAUNCHER_FLAGS=-Xms8m > > + CLASSNAME=net.sourceforge.jnlp.runtime.Boot > > + BINARY_LOCATION=/usr/local/bin/itweb-javaws > > + PROGRAM_NAME=itweb-javaws > > + CP=/usr/local/openjdk6/jre/lib/rt.jar > > /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name > > > I try once more on another machine not 64 bit, it returns the same > error and java web start does not work :( > > $ sh -x `which itweb-javaws` jviewer.jnlp > + JAVA=/usr/local/openjdk6/jre/bin/java > + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar > + LAUNCHER_FLAGS=-Xms8m > + CLASSNAME=net.sourceforge.jnlp.runtime.Boot > + BINARY_LOCATION=/usr/local/bin/itweb-javaws > + PROGRAM_NAME=itweb-javaws > + CP=/usr/local/openjdk6/jre/lib/rt.jar > /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name > > Any other ideas as to how to fix this? Don't try and run it through /bin/sh . The script uses bash-isms (array syntax specifically). Just run "itweb-javaws jviewer.jnlp". -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 21:47:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E7CE193 for ; Thu, 6 Dec 2012 21:47:43 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from nk11p00mm-asmtp004.mac.com (nk11p00mm-asmtp004.mac.com [17.158.161.3]) by mx1.freebsd.org (Postfix) with ESMTP id DEFFE8FC08 for ; Thu, 6 Dec 2012 21:47:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by nk11p00mm-asmtp004.mac.com (Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit (built Jul 13 2012)) with ESMTPSA id <0MEM0023QN12DQ00@nk11p00mm-asmtp004.mac.com> for freebsd-questions@freebsd.org; Thu, 06 Dec 2012 20:46:15 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-12-06_06:2012-12-06,2012-12-06,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1212060137 Subject: Re: Login class and limit From: Chuck Swiger In-reply-to: <20121206203638.GA4540@vagner-wrk.bsdway.ru> Date: Thu, 06 Dec 2012 12:46:13 -0800 Message-id: <9412CF9C-AF9B-4D58-8FD7-D8971180D8AC@mac.com> References: <20121206143201.GB42583@vagner-wrk.bsdway.ru> <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> <20121206203638.GA4540@vagner-wrk.bsdway.ru> To: Vagner X-Mailer: Apple Mail (2.1085) Cc: FreeBSD questions Mail List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 21:47:43 -0000 On Dec 6, 2012, at 12:36 PM, Vagner wrote: [ ... ] >> Either use one of the su/sudo flavors I mention above, or "/bin/sh -l" >> to provide a login env to the process? > > ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible? Sure, it's possible: run the daemon within a login shell. However, normally, daemons aren't started from a login shell and do not inherit the limits setup by login.conf. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 22:47:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1623BA06 for ; Thu, 6 Dec 2012 22:47:51 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id D1BA28FC0C for ; Thu, 6 Dec 2012 22:47:50 +0000 (UTC) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 4D168A7195B for ; Thu, 6 Dec 2012 17:47:44 -0500 (EST) Received: (qmail 20450 invoked from network); 6 Dec 2012 22:47:43 -0000 Received: by simscan 1.4.0 ppid: 29622, pid: 9796, t: 0.1659s scanners: clamav: m: Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Dec 2012 22:47:43 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 2D9FB33C23; Thu, 6 Dec 2012 17:47:37 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id B1B9239855; Thu, 6 Dec 2012 17:47:37 -0500 (EST) From: Lowell Gilbert To: Vagner Subject: Re: Login class and limit References: <20121206143201.GB42583@vagner-wrk.bsdway.ru> <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> <20121206203638.GA4540@vagner-wrk.bsdway.ru> Date: Thu, 06 Dec 2012 17:47:37 -0500 In-Reply-To: <20121206203638.GA4540@vagner-wrk.bsdway.ru> (vagner@bsdway.ru's message of "Fri, 7 Dec 2012 00:36:38 +0400") Message-ID: <444njy6bna.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 22:47:51 -0000 Vagner writes: > On 06:53 Thu 06 Dec , Charles Swiger wrote: >> "su -", "su -l", and "sudo -i" provide a login shell, which gets the >> limits setup by login.conf. Normally daemons are started at boot >> via rc mechanism (or perhaps get spawned from inetd) and do not >> have a login shell associated with them to setup the limits. >> >> Either use one of the su/sudo flavors I mention above, or "/bin/sh -l" >> to provide a login env to the process? > > ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible? It's possible, but you would have to use a login shell, which is usually inconvenient for a daemon (not having an attached terminal for I/O). The usual way to do this is to start the daemon in a script that explicitly sets the limits with /usr/bin/limits (or maybe ulimit, but limits(1) seems more common). Several ports do this, for example. From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 23:30:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 545006DE for ; Thu, 6 Dec 2012 23:30:35 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2718FC08 for ; Thu, 6 Dec 2012 23:30:34 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 3EFD750822 for ; Thu, 6 Dec 2012 15:30:33 -0800 (PST) To: freebsd-questions@freebsd.org Subject: List all hard drives on system (with capacities)... How? Date: Thu, 06 Dec 2012 15:30:33 -0800 Message-ID: <9304.1354836633@tristatelogic.com> From: "Ronald F. Guilmette" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 23:30:35 -0000 I'd like to write a small program or shell script that simply lists all of the physical hard drives attached to the local system, along with their product identifiers and their respective capacities. The following simple script works well for both PATA/SATA and USB hard drives, but it does not list drive capacities: #!/bin/sh atacontrol list | grep ': ad[0-9]' | sed 's/^.*: //' camcontrol devlist | grep '(da[0-9]' | sed -E 's/^(.*) \((da[0-9]+).*$/\2 \1/' How can I modify the script above in order to get it to print out the respective drive capacities? From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 23:34:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B5017B6 for ; Thu, 6 Dec 2012 23:34:19 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4431D8FC14 for ; Thu, 6 Dec 2012 23:34:18 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB6NY4eM014078 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 6 Dec 2012 17:34:04 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50C12B6C.5020109@tundraware.com> Date: Thu, 06 Dec 2012 17:34:04 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Ronald F. Guilmette" Subject: Re: List all hard drives on system (with capacities)... How? References: <9304.1354836633@tristatelogic.com> In-Reply-To: <9304.1354836633@tristatelogic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Thu, 06 Dec 2012 17:34:04 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB6NY4eM014078 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 23:34:19 -0000 On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: > > I'd like to write a small program or shell script that simply lists all > of the physical hard drives attached to the local system, along with their > product identifiers and their respective capacities. > > The following simple script works well for both PATA/SATA and USB hard drives, > but it does not list drive capacities: > > #!/bin/sh > > atacontrol list | grep ': ad[0-9]' | sed 's/^.*: //' > camcontrol devlist | grep '(da[0-9]' | sed -E 's/^(.*) \((da[0-9]+).*$/\2 \1/' > > > How can I modify the script above in order to get it to print out the > respective drive capacities? Look into fdisk -s -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 23:43:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56917954 for ; Thu, 6 Dec 2012 23:43:14 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFD68FC12 for ; Thu, 6 Dec 2012 23:43:13 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 906BB5081A for ; Thu, 6 Dec 2012 15:43:13 -0800 (PST) To: freebsd-questions@freebsd.org Subject: Re: List all hard drives on system (with capacities)... How? In-Reply-To: <50C12B6C.5020109@tundraware.com> Date: Thu, 06 Dec 2012 15:43:13 -0800 Message-ID: <9477.1354837393@tristatelogic.com> From: "Ronald F. Guilmette" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 23:43:14 -0000 In message <50C12B6C.5020109@tundraware.com>, Tim Daneliuk wrote: >On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: >> >> I'd like to write a small program or shell script that simply lists all >> of the physical hard drives attached to the local system, along with their >> product identifiers and their respective capacities. >> >> The following simple script works well for both PATA/SATA and USB hard drive >s, >> but it does not list drive capacities: >> >> #!/bin/sh >> >> atacontrol list | grep ': ad[0-9]' | sed 's/^.*: //' >> camcontrol devlist | grep '(da[0-9]' | sed -E 's/^(.*) \((da[0-9]+).*$/\2 \1 >/' >> >> >> How can I modify the script above in order to get it to print out the >> respective drive capacities? > >Look into fdisk -s Thank you Tim. Silly me! Before I even got your reply, I had already doen a bit more research and I had found what I think may perhaps be an even better answer. I never knew about this utility program called "diskinfo", but I just now found it, and it seems to do the trick. There appears to be a small problem with using fdisk -s... It looks like it hiccups when and if the drive in question has not actually been partitioned yet: # fdisk -s /dev/ad6 fdisk: invalid fdisk partition table found (The diskinfo utility apparently does not suffer from this problem.) From owner-freebsd-questions@FreeBSD.ORG Thu Dec 6 23:59:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93D80ACC for ; Thu, 6 Dec 2012 23:59:09 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id D4C408FC15 for ; Thu, 6 Dec 2012 23:59:08 +0000 (UTC) Received: (qmail invoked by alias); 06 Dec 2012 23:59:07 -0000 Received: from 188.4.178.221.dsl.dyn.forthnet.gr (EHLO [192.168.1.77]) [188.4.178.221] by mail.gmx.com (mp-eu001) with SMTP; 07 Dec 2012 00:59:07 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19u2Zgk5hVuMaWKpa3iN8jHcR59MKU7nySzcAUnT/ XXUHntxZzuaVfl Message-ID: <50C1313C.4000201@gmx.com> Date: Fri, 07 Dec 2012 01:58:52 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Tim Daneliuk Subject: Re: List all hard drives on system (with capacities)... How? References: <9304.1354836633@tristatelogic.com> <50C12B6C.5020109@tundraware.com> In-Reply-To: <50C12B6C.5020109@tundraware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2012 23:59:09 -0000 On 12/7/2012 1:34 AM, Tim Daneliuk wrote: > On 12/06/2012 05:30 PM, Ronald F. Guilmette wrote: >> >> I'd like to write a small program or shell script that simply lists all >> of the physical hard drives attached to the local system, along with >> their >> product identifiers and their respective capacities. >> >> The following simple script works well for both PATA/SATA and USB hard >> drives, >> but it does not list drive capacities: >> >> #!/bin/sh >> >> atacontrol list | grep ': ad[0-9]' | sed 's/^.*: //' >> camcontrol devlist | grep '(da[0-9]' | sed -E 's/^(.*) >> \((da[0-9]+).*$/\2 \1/' >> >> >> How can I modify the script above in order to get it to print out the >> respective drive capacities? > > Look into fdisk -s > > I think fdisk should need a valid partition table, or not? diskinfo works nice with all disk-like devices be it a physical disk, a slice, a partition, a swap-backed device etc. Its output is easily parsable using a single line per device and if you use -v you will get the same info in human-readable form. HTH, Nikos From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 00:23:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7196ED74 for ; Fri, 7 Dec 2012 00:23:56 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 488F88FC13 for ; Fri, 7 Dec 2012 00:23:55 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id E03AE5081A for ; Thu, 6 Dec 2012 16:23:54 -0800 (PST) To: freebsd-questions@freebsd.org Subject: Re: List all hard drives on system (with capacities)... How? In-Reply-To: <50C1313C.4000201@gmx.com> Date: Thu, 06 Dec 2012 16:23:54 -0800 Message-ID: <11844.1354839834@tristatelogic.com> From: "Ronald F. Guilmette" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 00:23:56 -0000 In message <50C1313C.4000201@gmx.com>, Nikos Vassiliadis wrote: >I think fdisk should need a valid partition table, or not? Apparently, yes. >diskinfo works nice with all disk-like devices be it a physical disk, >a slice, a partition, a swap-backed device etc. Its output is easily >parsable using a single line per device and if you use -v you will get >the same info in human-readable form. Indeed. I just cooked up the attached trivial Perl script. It works nicely and does exactly what I wanted. (Please excuse my verbose Perl. That's just the way I code. I prefer clarity over brevity.) cut here ============================================================================ #!/usr/local/bin/perl -w use strict; sub calculate_dsize { my ($dname) = @_; my $count; my $suffix; my $bytes = `diskinfo $dname | awk '{print \$3}'`; chop $bytes; if ($bytes >= (1024 * 1024 * 1024 * 1024)) { $count = $bytes / (1024 * 1024 * 1024 * 1024); $suffix = "TiB"; } elsif ($bytes >= (1024 * 1024 * 1024)) { $count = $bytes / (1024 * 1024 * 1024); $suffix = "GiB"; } elsif ($bytes >= (1024 * 1024)) { $count = $bytes / (1024 * 1024); $suffix = "MiB"; } else { die "$dname is too small!\n"; } $count = sprintf ('%.1f', $count); return "$count $suffix"; } foreach my $line (`atacontrol list`) { if ($line =~ m/: (ad[0-9]+) (.*)/) { my $dsize = calculate_dsize ($1); print "$1 $2 ($dsize)\n"; } } foreach my $line (`camcontrol devlist`) { if ($line =~ m/^(.*>).*\((da[0-9]+)/) { my $dsize = calculate_dsize ($2); print "$2 $1 ($dsize)\n"; } } From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 03:04:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C217E93F; Fri, 7 Dec 2012 03:04:23 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 896498FC17; Fri, 7 Dec 2012 03:04:23 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so128056pad.13 for ; Thu, 06 Dec 2012 19:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EcCCMZ5CWWoOyt20iWggAEXgXH7ERauGAXCy0udqGEo=; b=OV8BqJyUU1E8ZqfFi0Hi7tmV7MgEzWkNsY6efTsi3A7AMUemswae/UvVb9+rieCI/v eDeB49lNP/ixsc6uCR7T8ppa37S3WXLPXPzKOsQfL4AmS2t+r4G8Y7n/Jao80bm3McNd +1QEwG/V+vp+m8Yxg27O0xwjcgF+sdn5+m8VCd9oDw6hrCX/5p7LelZmsuOwd2u4++wj nMAD24ia+hJYATD0fVoXURwyIgH9vlu1+Q6elIqhjMmXvuGRNnD4XQnGfbvGTlOTN9yn 7Fcq6YHBe/KdOKiBGnbu5g4JWdMa7KbhRKZ3hgdxbVdyoezlEgGXwtuJ3l7vFTYXZrW1 Ek6A== MIME-Version: 1.0 Received: by 10.68.234.229 with SMTP id uh5mr11237542pbc.123.1354849462061; Thu, 06 Dec 2012 19:04:22 -0800 (PST) Sender: olivier2553@gmail.com Received: by 10.68.22.41 with HTTP; Thu, 6 Dec 2012 19:04:21 -0800 (PST) In-Reply-To: <50C065A6.6080704@freebsd.org> References: <201212060551.qB65phdO016130@banyan.cs.ait.ac.th> <50C05FD8.1040609@freebsd.org> <201212060912.qB69CcTG018111@banyan.cs.ait.ac.th> <50C065A6.6080704@freebsd.org> Date: Fri, 7 Dec 2012 10:04:21 +0700 X-Google-Sender-Auth: e2DO3CYmt8x4K_blH8fqV-pW4NA Message-ID: Subject: Re: netstat -i From: Olivier Nicole To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 03:04:23 -0000 Thank you Matthew and Ilya, >> There is only one layer 3 network on that physical infrastructure (at >> least in that VLAN). And there are only 8 machines in that VLAN, no >> routing, as the VLAN is primarily designed for NFS. >> >> I did not sjow the most disturbing figure where at output bytes is 3.7 >> TB at MAC level but only 156 GB at IP level (2000 times less). The >> large amount of output bytes is understandable for the machine is an >> NFS server. >> >> 3TB is not big, but is at IP level, not at MAC level. > > It could be down to broken equipment attached to the network. If > something is spewing out malformed packets, you might well see that sort > of effect. > > Try firing up tcpdump or wireshark -- they'll both capture the layer 2 > traffic and given the volumes you're seeing, it should be fairly obvious > from visual inspection of the output what is going on. I tried wireshark with 2 filters: filter "not ip" shows only spanning tree packets, almost no traffic filter "ip" shows the bulk of traffic filter "ip and not host 10.41.170.1" shows no traffic That was expected. So I believe it has something to do with the way netstat -i reports the data. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 06:25:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87D24CCB for ; Fri, 7 Dec 2012 06:25:00 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy9.bluehost.com (oproxy9.bluehost.com [69.89.24.6]) by mx1.freebsd.org (Postfix) with SMTP id 4BF948FC12 for ; Fri, 7 Dec 2012 06:24:54 +0000 (UTC) Received: (qmail 13822 invoked by uid 0); 7 Dec 2012 06:24:33 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy9.bluehost.com with SMTP; 7 Dec 2012 06:24:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=4oXJYqXrqpIEfSkm5wdaqhLD3CYqNYxL6gQByHUFnUo=; b=Gzgu9BwuffYqCTdesXhPquefrNq5SV6kG4s+fGcJ6JljPK+Gj7cP1Hg1oEF4Hy/EbzwRLcnYuawGYS5s6sPpjd7rvi588srGz1lpZRmzRuJhuAFTU+faBdGLzl+4ugLm; Received: from [24.8.180.234] (port=61689 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:CAMELLIA128-SHA:128) (Exim 4.76) (envelope-from ) id 1TgrMP-00029K-92 for freebsd-questions@freebsd.org; Thu, 06 Dec 2012 23:24:33 -0700 Date: Thu, 6 Dec 2012 23:24:31 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Subject: Re: List all hard drives on system (with capacities)... How? Message-ID: <20121207062431.GA15665@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <50C1313C.4000201@gmx.com> <11844.1354839834@tristatelogic.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <11844.1354839834@tristatelogic.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 06:25:00 -0000 --ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 06, 2012 at 04:23:54PM -0800, Ronald F. Guilmette wrote: >=20 > if ($bytes >=3D (1024 * 1024 * 1024 * 1024)) { You know about the exponentiation operator in Perl -- right? if ($bytes >=3D (1024 ** 4)) { I don't think typing 1024 four times with * between each pair is really a helpful form of verbosity. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlDBi58ACgkQ9mn/Pj01uKVGRQCffOlkJBgjCzkpQp0ACJXYAcyY vdQAnRPdnFMhER6nxPDZ/vJkny5LP4gh =U3on -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd-- From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 06:54:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61D123B8 for ; Fri, 7 Dec 2012 06:54:58 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DF21C8FC0C for ; Fri, 7 Dec 2012 06:54:57 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so64519bkc.13 for ; Thu, 06 Dec 2012 22:54:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=PmwMAYdaXXp+VHL2pAcNK4OicvRojvQYkZbNat0OZJs=; b=cxUf5bAwN6+Zqd22DA3DzjxifpcSmYrtLbbKRb++khbFgT18VMpvXSoX60eobCHx90 LGSVPux42JI5spnZZnA7hJy6xNOR/+T0R8aquSRPuZkijdk09zvm2IVIkyJ3xOd+Fc6R LXtdohY8cZPzHGJKDGnf1KVy7MSVlWOg5Hz1j+j4kB7GNNL91rZjJY9jIK98JoVh1WM+ GHoYqy6kUzdM0A55WpwcHz4+gYayn2254HWtM7Nny48TxtKwViPHHGvU9yvbVXhFhhnp jIs0ZEGjFgfhejE/H2Og7UJQltB/E0qBs/rufEyfeQmDr7A+JcvyRgDBqOH6/B/vC5Or kRcg== MIME-Version: 1.0 Received: by 10.204.152.28 with SMTP id e28mr1639188bkw.3.1354863296622; Thu, 06 Dec 2012 22:54:56 -0800 (PST) Sender: jamebus@gmail.com Received: by 10.204.34.204 with HTTP; Thu, 6 Dec 2012 22:54:56 -0800 (PST) In-Reply-To: <20121207062431.GA15665@hemlock.hydra> References: <50C1313C.4000201@gmx.com> <11844.1354839834@tristatelogic.com> <20121207062431.GA15665@hemlock.hydra> Date: Fri, 7 Dec 2012 00:54:56 -0600 X-Google-Sender-Auth: u4C9iDtNawGoffbN-Fc-G8PhnzM Message-ID: Subject: Re: List all hard drives on system (with capacities)... How? From: James To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 06:54:58 -0000 And because I think geom(8) and awk(1) are awesome... geom disk list | awk ' BEGIN { FS=": *" } $1 == "Geom name" { device=$2 } $1 ~ "^ +Mediasize$" { match($2, /\([^)]+\)/) size=substr($2, RSTART+1, RLENGTH-2) } $1 ~ "^ +descr$" { if ($2 == "(null)") { descr="UNKNOWN" } else { descr=$2 gsub(/ /, "_", descr) } } /^$/ { if (device !~ /^cd[0-9]+/) { printf "%s %s %s\n", device, size, descr } } ' This likely won't handle every possible device type available. Something very similar is serving me well thus far. HTH! -- James. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 08:08:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE1EE5D1 for ; Fri, 7 Dec 2012 08:08:20 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) by mx1.freebsd.org (Postfix) with ESMTP id 4706D8FC19 for ; Fri, 7 Dec 2012 08:08:20 +0000 (UTC) Received: from smtp4h.mail.yandex.net (smtp4h.mail.yandex.net [84.201.186.21]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 052821B21541 for ; Fri, 7 Dec 2012 12:08:16 +0400 (MSK) Received: from smtp4h.mail.yandex.net (localhost [127.0.0.1]) by smtp4h.mail.yandex.net (Yandex) with ESMTP id CD3432C0280 for ; Fri, 7 Dec 2012 12:08:16 +0400 (MSK) Received: from 93.91.11.153.tel.ru (93.91.11.153.tel.ru [93.91.11.153]) by smtp4h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8GlKBhpt-8GlCMRO2; Fri, 7 Dec 2012 12:08:16 +0400 Message-ID: <50C1A3F0.4000605@passap.ru> Date: Fri, 07 Dec 2012 12:08:16 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Subject: Re: SMS application References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 08:08:20 -0000 06.12.2012 23:59, Carmel пишет: > Can anyone recommend a good SMS application that works on FreeBSD? I > have used several different ones on MS Windows; however, I cannot find > one that works on FreeBSD. There doesn't appear to be a fully > functional one in the ports system either, although I might have missed > it. > This command may be a good start to investigate: ----- % make -C /usr/ports search key=sms display=path ----- As for me I use comms/gammu as an sms-tool. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 08:30:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61CED120 for ; Fri, 7 Dec 2012 08:30:13 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id D5DD68FC16 for ; Fri, 7 Dec 2012 08:30:11 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so1170024wib.13 for ; Fri, 07 Dec 2012 00:30:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=UMzneiqHSkwuTPU0Q2SOzjSlWYvJTJ3yXkJOsy3bI58=; b=CUF1HO1YFHZyhOtZZUpRJUkPkXbFLWq+wmqZYhpqdjDCejpWWUzdMLxT9pqP1ik3c8 l8Z7OxV6YOxucr+/JdpEhY0Yo1vPzHzG2FSZ2dDY96FdOUuI1agMzkI0q5KlZ6l0/9bg uGsA8bw6GL+JWE5y/FHyZr5tW34Lsphps6NoqMR4tYCMnvTfUMljIWHmq1dBBgS6MISK 3zsGxAusmzC3EbEidjU08KotXO2BS29XvZMCw3ILxlMjpTB3c5qKWa/qw6rbUrIz+bnV 291uw9Wqneyl4Wo7uYbmmt6jYdsA+qnOAkW8N2v/G2VbT/VmBh/6EOyeseBttgQ1FOTK ANyQ== Received: by 10.180.78.161 with SMTP id c1mr7024393wix.4.1354869010011; Fri, 07 Dec 2012 00:30:10 -0800 (PST) Received: from [10.152.103.5] ([92.90.16.27]) by mx.google.com with ESMTPS id hv4sm26237125wib.0.2012.12.07.00.30.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Dec 2012 00:30:09 -0800 (PST) References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> In-Reply-To: <50C0EFA4.3010902@tundraware.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: Somewhat OT: Is Full Command Logging Possible? Date: Fri, 7 Dec 2012 09:29:27 +0100 To: "tundra@tundraware.com" X-Gm-Message-State: ALoCoQlYrCvq0Ke8fKkvraUZ9bcYNIzcFk9et1Bl5bPuDrzWP2otnAv/nn13Nig5Zp+MYb52uwAM Cc: n j , FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 08:30:13 -0000 On 6 Dec 2012, at 20:19, Tim Daneliuk wrote: > On 12/06/2012 12:55 PM, n j wrote: >> On Thu, Dec 6, 2012 at 12:47 AM, Tim Daneliuk wro= te: >>> ... >>> Well ... does auditd provide a record of every command issued within a >>> script? >>> I was under the impression (and I may well be wrong) that it noted only= >>> the name of the script being executed. >>=20 >> Even if you configured auditd to record every command issued within a >> script, you'd still have a problem if a malicious user put the same >> commands inside a binary. >>=20 >> As some people already pointed out, there is practically no way to >> control users once you give them root privileges. >=20 > I understand this. Even the organization in question understands > this. They are not trying to *prevent* any kind of access. All > they're trying to do *log* it. Why? To meet some obscure > compliance requirement they have to adhere to in order to > remain in business. >=20 > > I know all of this is silly but that's our future when you > let Our Fine Government regulate pretty much anything. > >=20 This sounds awfully similar to PCI DSS requirements to me. Nothing to do with .gov then ;)= From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 09:24:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0B16149 for ; Fri, 7 Dec 2012 09:24:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 633748FC08 for ; Fri, 7 Dec 2012 09:24:08 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id u54so138294wey.13 for ; Fri, 07 Dec 2012 01:24:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=+RWScnCuOhp34wq6ZPrxIXHnkZ6K5pawfv1T9CWX1YQ=; b=Rfwadifi+QDXQcNnZzCfBFwFN6ZcjIbtbM7kVuEZsZq5YuAuwvY4bNpp3mjU5q8+UU kl7YUvQQWbjfn86Yh/JqX1t8UFHORKlo0aMZGySGBV9oF0dZbHIfZAr4RxTr24jj1g0j eCv5kkMc88Kya7ZEPa3EmdL5GzHrewU99uvX4lj1sPJe/O1BFe7wuwzZI/Y95+RBQ7t7 8W6gv8yUYyOTuKI7K+Wh8hAfuAfsUGK1MPrZf0cWZwruRq3Y1iBGPGlL6ctPXy43fnzq n74pWvlWSLD8q5N1ixkJ61dYpGxKpmy9DR2Jo8Ln/sVe0jzQNVp/79CM9uhBVobaXHL+ Uqqw== Received: by 10.180.20.109 with SMTP id m13mr13660877wie.16.1354872248224; Fri, 07 Dec 2012 01:24:08 -0800 (PST) Received: from [10.75.0.66] ([83.167.62.196]) by mx.google.com with ESMTPS id gz3sm26415066wib.2.2012.12.07.01.23.56 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Dec 2012 01:24:07 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Somewhat OT: Is Full Command Logging Possible? From: Fleuriot Damien In-Reply-To: <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> Date: Fri, 7 Dec 2012 10:23:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> To: Paul Schmehl X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQld+SWnUHICvELN5/TticQw2uCJUAG3HtQKc/bwGmvdi0HBLhGRng+6D1WhikyAYKFygn+x Cc: n j , tundra@tundraware.com, FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 09:24:09 -0000 On Dec 6, 2012, at 9:20 PM, Paul Schmehl = wrote: > --On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk = wrote: >>=20 >> I understand this. Even the organization in question understands >> this. They are not trying to *prevent* any kind of access. All >> they're trying to do *log* it. Why? To meet some obscure >> compliance requirement they have to adhere to in order to >> remain in business. >>=20 >> >> I know all of this is silly but that's our future when you >> let Our Fine Government regulate pretty much anything. >> >>=20 >=20 > I sent this last night, but for some reason it never showed up. >=20 > /usr/ports/security/sudoscript >=20 > I believe this will meet your requirements. I'm sorry to say it won't. Nothing will prevent a user from removing sudoscript's FIFO once he gets = root privileges. Basically, what Tim wants to do sounds very akin to the PCI DSS = requirements that every user's action be logged. The bad news is _this is not achievable on MS/nux/bsd_ systems. The kind of logging and security required can only be attained on = mainframes (read: i/Series , z/Series) using RACF and other absolutely = awesome features. The only thing Tim can do is try to approach the level of security = that's required. Devin's suggestion of a kernel module is what comes closest to achieving = the goal, provided that: - the functionnality is compiled in-kernel to prevent kldunload'ing the = module - the system runs at a secure level high enough to prevent kldunloads , = if it can't be compiled in-kernel - the functions used by the module cannot be overriden by another module = (for example redeclare this module's sendlog() function with another = dummy module, making sendlog() basically do a NOOP) Another contestant that comes a close second is the use of the AUDIT = framework, however one would need to ensure: - audit trails cannot be tampered (chflags sappend) - the audit daemon cannot be killed From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 10:34:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36D1078D for ; Fri, 7 Dec 2012 10:34:52 +0000 (UTC) (envelope-from vagner@bsdway.ru) Received: from bsdway.ru (bsdway.ru [62.109.17.46]) by mx1.freebsd.org (Postfix) with ESMTP id A15B58FC0C for ; Fri, 7 Dec 2012 10:34:51 +0000 (UTC) Received: from localhost (off-40.addr.fotocdn.net [193.105.179.40]) (authenticated bits=0) by bsdway.ru (8.14.4/8.14.5) with ESMTP id qB7AYkfs005360 for ; Fri, 7 Dec 2012 13:34:47 +0300 (MSK) (envelope-from vagner@bsdway.ru) Date: Fri, 7 Dec 2012 14:34:46 +0400 From: Vagner To: freebsd-questions@freebsd.org Subject: Re: Login class and limit Message-ID: <20121207103446.GA26864@vagner-wrk.bsdway.ru> Mail-Followup-To: freebsd-questions@freebsd.org References: <20121206143201.GB42583@vagner-wrk.bsdway.ru> <37A52274-D877-4AED-82F3-CF058DEC9DBE@mac.com> <20121206203638.GA4540@vagner-wrk.bsdway.ru> <444njy6bna.fsf@lowell-desk.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <444njy6bna.fsf@lowell-desk.lan> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bsdway.ru [62.109.17.46]); Fri, 07 Dec 2012 13:34:48 +0300 (MSK) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 10:34:52 -0000 On 17:47 Thu 06 Dec , Lowell Gilbert wrote: > Vagner writes: > > > On 06:53 Thu 06 Dec , Charles Swiger wrote: > > >> "su -", "su -l", and "sudo -i" provide a login shell, which gets the > >> limits setup by login.conf. Normally daemons are started at boot > >> via rc mechanism (or perhaps get spawned from inetd) and do not > >> have a login shell associated with them to setup the limits. > >> > >> Either use one of the su/sudo flavors I mention above, or "/bin/sh -l" > >> to provide a login env to the process? > > > > ie means to implement restrictions limits(1) and login.conf(5) for daemons is not possible? > > It's possible, but you would have to use a login shell, which is usually > inconvenient for a daemon (not having an attached terminal for I/O). > > The usual way to do this is to start the daemon in a script that > explicitly sets the limits with /usr/bin/limits (or maybe ulimit, but > limits(1) seems more common). Several ports do this, for example. > Thx for all! I try starting daemon with explicitly sets from rc script. Thanks again! -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner@bsdway.ru email: putrya@playform.ru email: root.vagner@gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 10:55:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2035BCB for ; Fri, 7 Dec 2012 10:55:38 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 54CC88FC14 for ; Fri, 7 Dec 2012 10:55:37 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id CEFBF637357 for ; Fri, 7 Dec 2012 11:55:29 +0100 (CET) Received: from soth.ventu (adsl-ull-153-189.41-151.net24.it [151.41.189.153]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qB7AtMsO013535 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 7 Dec 2012 11:55:23 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.5/8.14.5) with ESMTP id qB7AtBeF020321 for ; Fri, 7 Dec 2012 11:55:11 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50C1CB0F.1090609@netfence.it> Date: Fri, 07 Dec 2012 11:55:11 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: SMS application References: <50C1A3F0.4000605@passap.ru> In-Reply-To: <50C1A3F0.4000605@passap.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Fri, 07 Dec 2012 11:55:23 +0100 (CET) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 10:55:38 -0000 On 12/07/12 09:08, Boris Samorodov wrote: > As for me I use comms/gammu as an sms-tool. There's also smstools, which should be similar. (Assuming SMS=Short Message Service and what the OP wants is simply send/receive). bye av. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 12:52:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2E781E4 for ; Fri, 7 Dec 2012 12:52:47 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B89F8FC0C for ; Fri, 7 Dec 2012 12:52:46 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so406512lah.13 for ; Fri, 07 Dec 2012 04:52:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=tiTI7jQCRGUft3Wps/5spFl+PnrwnSMkhkCC51zUEVE=; b=yvLC3nCEiBMBckXQleTteTFrpwS3hRGsduiy4rmdhzBQbUxhUOjh1MqRSshwwO7hCR 3Vv9PEzElVZbnykY3D5hPiAqFqTMplp9ilMtDm1Z1hb3/eehnj9ZsAPnlB46+e9PQOir RyDs/pJaARbWmUG/jA4gOpV/0sKgQNFNtCgix4PLeapduN9Ech03qPN9WopOU1ciCouZ x/PZ80Aj7stvE6YJlIHBpJCw2JuTWa+hbA6gLlaflLgbUe/olk2AFw3YFCtAtmYMGlh6 jSXKIUFA4/es5mxRC8oDjrr7o3Afn531CjRDntwsV2QfHKsEXfK+9N5waGWfP6rbBbJ2 jrRw== MIME-Version: 1.0 Received: by 10.152.108.48 with SMTP id hh16mr5281803lab.25.1354884765988; Fri, 07 Dec 2012 04:52:45 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Fri, 7 Dec 2012 04:52:45 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Dec 2012 07:52:45 -0500 X-Google-Sender-Auth: Ur8tNZKGn_Cn9syjreeG3GSgomE Message-ID: Subject: Re: gPXE booting FreeBSD? From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 12:52:47 -0000 On Tue, Dec 4, 2012 at 10:55 AM, Rick Miller wrote: > Hi All, > > Does anyone have any experience booting FreeBSD via gPXE and have > pointers to relevant documentation and/or blog posts? Thanks for all your replies. Our current direction appears to be one of modifying the FreeBSD bootonly ISO to perform installs and load it from gPXE as follows... The menu will appear something like (from memory, syntax may be wrong): kernel memdisk imgargs memdisk raw iso initrd http path to the ISO Once we have it tested and implemented, I'll likely blog the subject at http://blog.hostileadmin.com/ -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 12:54:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD5DC28C for ; Fri, 7 Dec 2012 12:54:12 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2398FC12 for ; Fri, 7 Dec 2012 12:54:12 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so407743lah.13 for ; Fri, 07 Dec 2012 04:54:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=Yg8v3jgxR4Ax1Gw91vyDZNVt7Af/vA6LAvE9+cq5JFc=; b=C7z6j4nBdIzgBgAzCTLrwb2u2LTTof0C3JnvYKaRLppOE2aCdac4qUKwQfC51XQWgU PpNCYxKpsQAkyLH5iyz8MK4hnr8J/GUfWbBkZAKPT9K6yDZVneakuev/vwMAPKGzX23V ZxonjqqLITY7giQllGXkBsRGjc/7x87wIGP5YfY8INU+Feg5dL8S0DPVghS40Oj++03p C7pO/FXNgD6lIjkhXcA+gscncjNj9u7tDA5S7HCf7WGC450TkK1xT5O3zqaHRyJYPZiq LifRnBgR2RUi1axlCVb2xLIg72XjHLWR7y3e0rqDqD8jNQt78MQrGA3MN4oMp/8FVqd5 LNWA== MIME-Version: 1.0 Received: by 10.152.110.74 with SMTP id hy10mr5364024lab.54.1354884851232; Fri, 07 Dec 2012 04:54:11 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.112.3.68 with HTTP; Fri, 7 Dec 2012 04:54:11 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Dec 2012 07:54:11 -0500 X-Google-Sender-Auth: 2Z4dOMIR2r1EWZRvirbFH-AIgQo Message-ID: Subject: Re: root filesystem and soft-update From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 12:54:13 -0000 On Tue, Dec 4, 2012 at 4:50 PM, Rick Miller wrote: > Hi all, > > I remember one time seeing a site that explained why soft-updates was > not enabled for the root filesystem. I tried looking for it earlier, > but failed to locate it. Is there someone who knows where it is? Thanks Steve and Bas. Both answers were helpful. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 13:55:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 899E330F for ; Fri, 7 Dec 2012 13:55:13 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD208FC19 for ; Fri, 7 Dec 2012 13:55:12 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id qB7Dsu6T003895 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 7 Dec 2012 07:54:58 -0600 (CST) (envelope-from tundra@tundraware.com) Message-ID: <50C1F530.2070708@tundraware.com> Date: Fri, 07 Dec 2012 07:54:56 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Re: Somewhat OT: Is Full Command Logging Possible? References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> In-Reply-To: <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [192.168.0.1]); Fri, 07 Dec 2012 07:54:58 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: qB7Dsu6T003895 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 13:55:13 -0000 On 12/07/2012 03:23 AM, Fleuriot Damien wrote: > - audit trails cannot be tampered (chflags sappend) Another way to achieve this is to send the logging output to a another log collection machine or appliance (think "Arcsite") to which even the root users under consideration do not have access. That is, implement a separation of powers scheme where no one organization has complete control of the entire monitoring workflow. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 14:09:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B359728 for ; Fri, 7 Dec 2012 14:09:43 +0000 (UTC) (envelope-from blencoeb@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE0248FC08 for ; Fri, 7 Dec 2012 14:09:42 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so564109vcb.13 for ; Fri, 07 Dec 2012 06:09:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:mime-version:content-type :x-priority:x-msmail-priority:importance:x-mailer:x-mimeole; bh=qDAlccbDAR7JYDudYYU0be81NWgasaqfYVtf8i2tTKA=; b=gd24NqSC1IC8gc6x+NifRXhA0jx6s8KJvbYTwyBm4rrHOKQf3esfs9soBqJoNGFkXT bdFT0F7tF/IHJI5jPmVeTx8J6QjF5jAIH4noxV10dtx+Yc8iXhKIGnSqIGb9icW1LjCU llhk6tBaGuQ4RL3D5jXo/GY4x3/Xxbhf+vZRxVn3n3G6PXJc0koDX5iEw+RHDd+vhCXt rokL3d0XibWqsTRx+vqZ/6ycLy6dtL65DARVFuRbFN+iai0d8upsN8lN69Yrnl+zzDGr lbd1RdEi5a/2RK7Aw4hoq51lit39xnOqCm7WYUVwHGTPlZbzLuzZgz0Iz3zdTg60Q69/ aSLw== Received: by 10.220.140.143 with SMTP id i15mr3779148vcu.15.1354889376184; Fri, 07 Dec 2012 06:09:36 -0800 (PST) Received: from BlencoeBrian (brian-blenco.wireless.um.maine.edu. [141.114.211.60]) by mx.google.com with ESMTPS id bm2sm3977451vdc.6.2012.12.07.06.09.33 (version=SSLv3 cipher=OTHER); Fri, 07 Dec 2012 06:09:34 -0800 (PST) Message-ID: From: "Brian Blencoe" To: Subject: Brian Blencoe Date: Fri, 7 Dec 2012 09:09:31 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 X-Mailman-Approved-At: Fri, 07 Dec 2012 14:19:19 +0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 14:09:43 -0000 Hello I am a student, doing a presentation project on FreeBSD. I have been = surfing your web site, getting some reading done. If you have any good = ideas that I could include into my presentation, please email me. Thank You=20 Brian Blencoe 910-470-7001 blencoeb@gmail.com From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 14:22:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B3CB8CF for ; Fri, 7 Dec 2012 14:22:02 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by mx1.freebsd.org (Postfix) with ESMTP id 477378FC0C for ; Fri, 7 Dec 2012 14:22:02 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id c14so1354813ieb.14 for ; Fri, 07 Dec 2012 06:21:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Yks9yftMAeuq25bmSUnnQZ9DTfx7bPwKCFzDI3E8+F4=; b=YRUgLKwtmq5h559CFWrY3xPKnUKBgNdRbrV8Zn32YkAFrmNmEYcX2cG9rZDwrvg8Rg hdtgFKhSHXX7+U9M6VjoByCswtKqt4r0mB9ok7mmSk917dU0kqJYtyiB0Ce+JVrlwpUv fg3DQ0ZrWBBUITG+msMAkUJ5sxIEEmzeajG9NOVlz3VoThq+jU/Rkh0ANvd/h1BmyaCh 3agf1YoINyNjz2iMYT+T/HNq4T3hBWe4IbQZgcjvadnOGzkNTcnNW5kVJoo3nNBgBhjC fhgDRhLx251jzw+ylYrNmna3lfXwh9nl1x4Cds9EHUosx1zSQVCA/uOYVWbnJtKsE9ko t1gA== MIME-Version: 1.0 Received: by 10.50.151.238 with SMTP id ut14mr9427229igb.72.1354890115990; Fri, 07 Dec 2012 06:21:55 -0800 (PST) Received: by 10.50.13.204 with HTTP; Fri, 7 Dec 2012 06:21:55 -0800 (PST) In-Reply-To: <20121206214658.GI18331@dan.emsphone.com> References: <50B8E48A.3000805@gmail.com> <50B8EA11.8090503@gmail.com> <20121206214658.GI18331@dan.emsphone.com> Date: Fri, 7 Dec 2012 08:21:55 -0600 Message-ID: Subject: Re: what replaces javaws? using icedtea-web and openjdk6. From: Antonio Olivares To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 Cc: Volodymyr Kostyrko , Mike Clarke , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 14:22:02 -0000 On Thu, Dec 6, 2012 at 3:46 PM, Dan Nelson wrote: > In the last episode (Dec 06), Antonio Olivares said: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/173603 >> > >> > I apply the suggested fix: >> > >> > $ sh -x `which itweb-javaws` jviewer.jnlp >> > + JAVA=/usr/local/openjdk6/jre/bin/java >> > + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar >> > + LAUNCHER_FLAGS=-Xms8m >> > + CLASSNAME=net.sourceforge.jnlp.runtime.Boot >> > + BINARY_LOCATION=/usr/local/bin/itweb-javaws >> > + PROGRAM_NAME=itweb-javaws >> > + CP=/usr/local/openjdk6/jre/lib/rt.jar >> > /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name >> > >> I try once more on another machine not 64 bit, it returns the same >> error and java web start does not work :( >> >> $ sh -x `which itweb-javaws` jviewer.jnlp >> + JAVA=/usr/local/openjdk6/jre/bin/java >> + LAUNCHER_BOOTCLASSPATH=-Xbootclasspath/a:/usr/local/share/icedtea-web/netx.jar >> + LAUNCHER_FLAGS=-Xms8m >> + CLASSNAME=net.sourceforge.jnlp.runtime.Boot >> + BINARY_LOCATION=/usr/local/bin/itweb-javaws >> + PROGRAM_NAME=itweb-javaws >> + CP=/usr/local/openjdk6/jre/lib/rt.jar >> /usr/local/bin/itweb-javaws: 11: Syntax error: Bad function name >> >> Any other ideas as to how to fix this? > > Don't try and run it through /bin/sh . The script uses bash-isms (array > syntax specifically). Just run "itweb-javaws jviewer.jnlp". > > -- > Dan Nelson > dnelson@allantgroup.com This is what I get when I run it: $ itweb-javaws jviewer.jnlp Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. $ E-213-3W# pkg_version "<" | grep 'openjdk' bootstrap-openjdk = openjdk6 = E-213-3W# pkg_version "<" | grep 'icedtea-web' icedtea-web = E-213-3W# Thanks for helping. Regards, Antonio From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 14:26:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4257BED for ; Fri, 7 Dec 2012 14:26:15 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECE58FC0C for ; Fri, 7 Dec 2012 14:26:13 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id 12so327254wgh.31 for ; Fri, 07 Dec 2012 06:26:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:x-priority:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=nPALf/ZXOXdRSswlt3p4d2BwvFTy2qIaB6QBMVx91V8=; b=fl9YoQnuiOtazNWS9pu1AlRs6n9v0nLzlJICpIFd48mfu5JnVx4JmvExUuJt0tvlrd eoVvxWDcVTtCRD/5i+g0JmCYuqRaTYAugosOyGRbD1ho5XRjFnz8nP4fHWJyMAlXmulr UlKwLKtaf/1XnKWm52z4skvV6v+PmA5Q9gijDYPnZ6mtMKmJh4Q7sbbtOfeFGeANSvzz 7KMc0eJ8ShhH21QrPeZhffbt7DYr+OHJZ6I8PcBpg7/yZ1rKD3rEzc8hvUB8qnUlOSfV OvVt5prnuU8ifGREpqEfiHdaL8DsRYwTF3xvu7nRY4hAUOrXkHde31NFwzyLE/JNTxBX 9g3g== Received: by 10.180.99.5 with SMTP id em5mr8905745wib.8.1354890371975; Fri, 07 Dec 2012 06:26:11 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id p2sm15855207wic.7.2012.12.07.06.26.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Dec 2012 06:26:11 -0800 (PST) Subject: Re: Brian Blencoe Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Fleuriot Damien X-Priority: 3 In-Reply-To: Date: Fri, 7 Dec 2012 15:26:10 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <74ED9FC9-1C69-49AF-BA39-A4B0D7CB6556@my.gd> References: To: Brian Blencoe X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQmzW8XLOtiquNHWAwiyYIwCtN5PNSql//bp+VZ5Kgg6zq6mplumA1xaehIEpzFNHEt/9H8e Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 14:26:16 -0000 On Dec 7, 2012, at 3:09 PM, Brian Blencoe wrote: > Hello >=20 > I am a student, doing a presentation project on FreeBSD. I have been = surfing your web site, getting some reading done. If you have any good = ideas that I could include into my presentation, please email me. >=20 > Thank You=20 >=20 > Brian Blencoe > 910-470-7001 > blencoeb@gmail.com What exactly is your presentation about ? Open source software ? Web servers ? root privileges and the 101 funniest ways to abuse them ? There are tons of things to be said about FreeBSD, or any OS for that = matter ;) From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 14:42:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD3C549E for ; Fri, 7 Dec 2012 14:42:08 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 75E7A8FC13 for ; Fri, 7 Dec 2012 14:42:07 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qB7Eg0AZ035103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 7 Dec 2012 08:42:00 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Dec 2012 08:42:00 -0600 From: dweimer To: Subject: Re: SMS application Organization: dweimer.net Mail-Reply-To: In-Reply-To: References: Message-ID: <0af6302e74f6f9717c12896904c78c17@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 14:42:08 -0000 On 2012-12-06 13:59, Carmel wrote: > Can anyone recommend a good SMS application that works on FreeBSD? I > have used several different ones on MS Windows; however, I cannot > find > one that works on FreeBSD. There doesn't appear to be a fully > functional one in the ports system either, although I might have > missed > it. Why not just check here: http://www.freebsd.org/cgi/ports.cgi?query=sms&stype=all -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 15:52:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FA26F3E for ; Fri, 7 Dec 2012 15:52:52 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 204B88FC08 for ; Fri, 7 Dec 2012 15:52:51 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Th0EX-0006aR-8N for freebsd-questions@freebsd.org; Fri, 07 Dec 2012 16:53:01 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 16:53:01 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Dec 2012 16:53:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: pkg version? Date: Fri, 7 Dec 2012 15:52:37 +0000 (UTC) Lines: 23 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 15:52:52 -0000 $ pkg query %v pkg 1.0.3 $ pkg -v 1.0.2 $ Why the discrepancy? By the way: ## SVN ## - update to 1.0.3 ## SVN ## - changes: ## SVN ## * Accept to query _https._tcp srv records ## SVN ## * Fix diskspace change calculation in pkg upgrade ## SVN ## * Fix pkg info -s -F apackage Excellent. Thanks, Matthew. $ pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 size is: 567 MB $ Yep, that bit works. From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 16:08:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F50E70F for ; Fri, 7 Dec 2012 16:08:31 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A2BFE8FC0C for ; Fri, 7 Dec 2012 16:08:30 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB7G8Mqi052537 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 7 Dec 2012 16:08:23 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB7G8Mqi052537 Authentication-Results: smtp.infracaninophile.co.uk/qB7G8Mqi052537; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50C21476.5080502@freebsd.org> Date: Fri, 07 Dec 2012 16:08:22 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Walter Hurry Subject: Re: pkg version? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 16:08:31 -0000 On 07/12/2012 15:52, Walter Hurry wrote: > $ pkg query %v pkg > 1.0.3 > $ pkg -v > 1.0.2 This is due to a mistake in the release process: we forgot to update the version number in the source code. Ooops. Will be rectified in version 1.0.4, if not sooner. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 22:01:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CF23A5F for ; Fri, 7 Dec 2012 22:01:15 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id CC12C8FC16 for ; Fri, 7 Dec 2012 22:01:13 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qB7M1Dfp047142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 7 Dec 2012 16:01:13 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Dec 2012 16:01:13 -0600 From: dweimer To: FreeBSD Questions Subject: openjdk port build failures Organization: dweimer.net Mail-Reply-To: Message-ID: <15497edcbfcf3caa5cf82e9cd7bf5e87@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 22:01:15 -0000 I am working on a 9.1-Release system built from source (Original Install from 9.1RC1), and am having trouble getting openjdk to build. I tried 7 first, and after that failed tried 6, has anyone else ran into this, Is it possibly because I have the system and ports where possible built with clang? Below is the output from the end of the openjdk6 build attempt. uname -v: FreeBSD 9.1-RELEASE #1 r243900: Wed Dec 5 14:05:38 CST 2012 >>>Recursively making corbalogcompile build @ Fri Dec 7 15:48:25 CST >>> 2012 ... gmake[5]: Entering directory `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi/corbalogcompile' # Java sources to be compiled: (listed in file /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/tmp/sun/com.sun.corba.se.impl.logging/.classes.list) /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/ActivationSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/IORSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/InterceptorsSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/NamingSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/OMGSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/ORBUtilSystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/POASystemException.java /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/UtilSystemException.java # Running javac: /usr/local/bootstrap-openjdk/bin/java -Xmx874m -Xms128m -Xbootclasspath/p:/var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar -XDignore.symbol.file=true -source 1.5 -target 5 -encoding ascii -classpath /usr/local/bootstrap-openjdk/lib/tools.jar -Xprefer:source -sourcepath /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc:../../../../src/solaris/classes:../../../../src/share/classes -d /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/classes @/var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/tmp/sun/com.sun.corba.se.impl.logging/.classes.list gmake[5]: *** [.compile.classlist] Killed: 9 gmake[5]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi/corbalogcompile' gmake[4]: *** [build] Error 1 gmake[4]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi' gmake[3]: *** [build] Error 1 gmake[3]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun' gmake[2]: *** [build] Error 1 gmake[2]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work/corba/make' gmake[1]: *** [corba-build] Error 2 gmake[1]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work' gmake: *** [build_product_image] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/java/openjdk6. *** [install] Error code 1 Stop in /usr/ports/java/openjdk6. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 22:09:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86368D47 for ; Fri, 7 Dec 2012 22:09:47 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 575878FC08 for ; Fri, 7 Dec 2012 22:09:46 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id qB7M9kSF047386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 7 Dec 2012 16:09:46 -0600 (CST) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 07 Dec 2012 16:09:46 -0600 From: dweimer To: Subject: Re: openjdk port build failures Organization: dweimer.net Mail-Reply-To: In-Reply-To: <15497edcbfcf3caa5cf82e9cd7bf5e87@dweimer.net> References: <15497edcbfcf3caa5cf82e9cd7bf5e87@dweimer.net> Message-ID: <77390ddcf3bd7e9f064eb804ff43d291@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 22:09:47 -0000 On 2012-12-07 16:01, dweimer wrote: > I am working on a 9.1-Release system built from source (Original > Install from 9.1RC1), and am having trouble getting openjdk to build. > I tried 7 first, and after that failed tried 6, has anyone else ran > into this, Is it possibly because I have the system and ports where > possible built with clang? Below is the output from the end of the > openjdk6 build attempt. > > uname -v: FreeBSD 9.1-RELEASE #1 r243900: Wed Dec 5 14:05:38 CST > 2012 > >>>>Recursively making corbalogcompile build @ Fri Dec 7 15:48:25 CST >>>> 2012 ... > gmake[5]: Entering directory > > `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi/corbalogcompile' > # Java sources to be compiled: (listed in file > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/tmp/sun/com.sun.corba.se.impl.logging/.classes.list) > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/ActivationSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/IORSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/InterceptorsSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/NamingSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/OMGSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/ORBUtilSystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/POASystemException.java > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc/com/sun/corba/se/impl/logging/UtilSystemException.java > # Running javac: > /usr/local/bootstrap-openjdk/bin/java -Xmx874m -Xms128m > > -Xbootclasspath/p:/var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar > -jar > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/langtools/dist/bootstrap/lib/javac.jar > -XDignore.symbol.file=true -source 1.5 -target 5 -encoding ascii > -classpath /usr/local/bootstrap-openjdk/lib/tools.jar -Xprefer:source > -sourcepath > > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/gensrc:../../../../src/solaris/classes:../../../../src/share/classes > -d > /var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/classes > > @/var/ports/usr/ports/java/openjdk6/work/build/bsd-amd64/corba/tmp/sun/com.sun.corba.se.impl.logging/.classes.list > gmake[5]: *** [.compile.classlist] Killed: 9 > gmake[5]: Leaving directory > > `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi/corbalogcompile' > gmake[4]: *** [build] Error 1 > gmake[4]: Leaving directory > `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun/rmi' > gmake[3]: *** [build] Error 1 > gmake[3]: Leaving directory > `/var/ports/usr/ports/java/openjdk6/work/corba/make/sun' > gmake[2]: *** [build] Error 1 > gmake[2]: Leaving directory > `/var/ports/usr/ports/java/openjdk6/work/corba/make' > gmake[1]: *** [corba-build] Error 2 > gmake[1]: Leaving directory `/var/ports/usr/ports/java/openjdk6/work' > gmake: *** [build_product_image] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/java/openjdk6. > *** [install] Error code 1 > > Stop in /usr/ports/java/openjdk6. Well, think I just noticed the cause, this test Virtual machine only has 1G of ram setup on it, I did create and additional 1G of swap space, but forgot to setup the fstab file so it wasn't turned on. Just happened to look at the console while closing windows on my laptop to head home from the office, and saw several processes were killed reason given: out of swap space. Will give this another go around with the swap active and see if it works.. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 23:20:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 666BD16C for ; Fri, 7 Dec 2012 23:20:13 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id E430A8FC0C for ; Fri, 7 Dec 2012 23:20:12 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 8 Dec 2012 00:20:09 +0100 Message-ID: <50C279A9.1070509@ose.nl> Date: Sat, 08 Dec 2012 00:20:09 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9.1-RC3 LiveCD missing features References: <50C26999.6090802@gmail.com> <50C26EF3.5070300@ose.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 23:20:13 -0000 On 12/08/12 00:05, Tomek CEDRO wrote: On 12/07/12 23:11, Chuck Burns wrote: > On 12/7/2012 3:50 PM, CeDeROM wrote: >> Hello >> >> I have tried to chceck for badblocks on my / but I did not find >> badblocks >> program on LiveCD and there is no option to install it. This is very >> useful >> utility, please add it as part of LiveCD >> >> Also there is a problem with DHCP based workstations using LiveCD - >> although interface gets configured it is impossible to update >> /etc/resolv.conf (by dhclient and by hand) and so this workstation >> pretty >> useless for IPv4 (is it more usable on IPv6?). Please update >> >> Thank you >> Tomek >> >> > > dd if=/dev/zer of=/dev/ada0 > > ^^^ There's your "badblocks" program. Any hard drive made in the last > decade have been self-remapping.. Attempting to write to a bad block > will cause the hard drive to remap an unused sector into it's place, > until the drive runs out of said "unused" backup sectors, and at that > time, will begin simply begin just "losing" storage space... IE the > number of total sectors on the drive will begin to shrink. > /dev/zero Badblocks is outdated for more than 17 years I guess The dd mentioned above will let the firmware remap all bad sectors until there are no spare sectors left (and wipe anything on disk as a bonus ;then you can begin to think about replacing your harddrive. As for DHCP, it works for me when booting from a netinstall for instance or going to fixit. Tomek, please try to describe more accurately what you are doing and try to accomplish > As I get ffs_valloc kernel panic on my / I want to check for badblocks but > cannot do that from the system itself so I need another FreeBSD instance to > run badblocks on unmounted /. There are no badblocks on LiveCD and I cannot > simply download it with pkg_add -r. Installing another system just to test > existing one seems silly. It would be nice to finally have swiss army knife > on generic LiveCD FreeBSD install, not using linux windows hirens etc :-) > > I have just started dd if=root of=root from LiveCD, Ill let you know if > that worked :-) I will be surprised what that will do for you I have lloked at the picture and all I can come up wih is either bad hardware or a very strange software/system configuration. Good luck Please reply to this list if any From owner-freebsd-questions@FreeBSD.ORG Fri Dec 7 23:38:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 443846B8; Fri, 7 Dec 2012 23:38:48 +0000 (UTC) (envelope-from noc@hdk5.net) Received: from moku60.aloha50.net (moku60.aloha50.net [66.180.132.237]) by mx1.freebsd.org (Postfix) with ESMTP id 155298FC0C; Fri, 7 Dec 2012 23:38:47 +0000 (UTC) Received: from mohawk7.intra.net (unknown [66.180.149.18]) by moku60.aloha50.net (Postfix) with ESMTP id 705DA17010; Fri, 7 Dec 2012 13:32:41 -1000 (HST) Message-ID: <50C27C98.7050409@hdk5.net> Date: Fri, 07 Dec 2012 13:32:40 -1000 From: Al Plant User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071128 FreeBSD/i386 SeaMonkey/1.1.7 MIME-Version: 1.0 To: freebsd-test@freebsd.org, "freebsd-questions@freebsd.org" Subject: Questions not working again? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: noc@hdk5.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Dec 2012 23:38:48 -0000 Aloha FreeBSD mail list. This is the second month that it questions have stopped working to my mail box. All the other lists are fine that I subscribe to. My firewall spam wall has not been changed. Any way to fix this? ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 00:00:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D14E6C5E; Sat, 8 Dec 2012 00:00:29 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 61DD38FC08; Sat, 8 Dec 2012 00:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=P0mT6k/lymW+ANFL1UmDP1L8k820bp/bvVPJxniiCxQ=; b=dGKmZ0dddP5aJ+BLIOqlb2l0+AlgWeIkm7/dvVaQq5r7R4oap5oP3VOFfKp5kkg6jt+GP9Fruvz9hmNRb1fyhh6msiGpsejtTNL4e1QDm5lIPgj4CvtEFBgXDrZL3Ucq; Received: from [122.129.203.50] (port=42713 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1Th7q4-003QAj-9n; Fri, 07 Dec 2012 17:00:16 -0700 Date: Sat, 8 Dec 2012 07:00:12 +0700 From: Erich Dollansky To: noc@hdk5.net Subject: Re: Questions not working again? Message-ID: <20121208070012.7ab3af70@X220.ovitrap.com> In-Reply-To: <50C27C98.7050409@hdk5.net> References: <50C27C98.7050409@hdk5.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" , freebsd-test@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 00:00:29 -0000 Hi, On Fri, 07 Dec 2012 13:32:40 -1000 Al Plant wrote: > Aloha FreeBSD mail list. > > This is the second month that it questions have stopped working to my > mail box. All the other lists are fine that I subscribe to. My > firewall spam wall has not been changed. > what Do you mean? You could not post to it? You did not get any messages from it anymore? Erich > Any way to fix this? > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis > Carrol > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 00:04:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D506EF5B for ; Sat, 8 Dec 2012 00:04:20 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 67F478FC08 for ; Sat, 8 Dec 2012 00:04:19 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 8 Dec 2012 01:04:17 +0100 Message-ID: <50C28401.4060700@ose.nl> Date: Sat, 08 Dec 2012 01:04:17 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Questions not working again? References: <50C27C98.7050409@hdk5.net> <20121208070012.7ab3af70@X220.ovitrap.com> In-Reply-To: <20121208070012.7ab3af70@X220.ovitrap.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 00:04:20 -0000 On 12/08/12 01:00, Erich Dollansky wrote: > Hi, > > On Fri, 07 Dec 2012 13:32:40 -1000 > Al Plant wrote: > >> Aloha FreeBSD mail list. >> >> This is the second month that it questions have stopped working to my >> mail box. All the other lists are fine that I subscribe to. My >> firewall spam wall has not been changed. >> > what Do you mean? You could not post to it? > > You did not get any messages from it anymore? > > Erich > >> Any way to fix this? There is no difference between the mails I get from questions and what I got in my mail >> >> ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 >> + http://hawaiidakine.com + http://freebsdinfo.org + >> + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + >> < email: noc@hdk5.net > >> "All that's really worth doing is what we do for others."- Lewis >> Carrol >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 00:06:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C42890 for ; Sat, 8 Dec 2012 00:06:28 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6468FC12 for ; Sat, 8 Dec 2012 00:06:27 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Sat, 8 Dec 2012 01:06:25 +0100 Message-ID: <50C28481.1090501@ose.nl> Date: Sat, 08 Dec 2012 01:06:25 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Questions not working again? References: <50C27C98.7050409@hdk5.net> <20121208070012.7ab3af70@X220.ovitrap.com> <50C28401.4060700@ose.nl> In-Reply-To: <50C28401.4060700@ose.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 00:06:28 -0000 On 12/08/12 01:04, Bas Smeelen wrote: > On 12/08/12 01:00, Erich Dollansky wrote: >> Hi, >> >> On Fri, 07 Dec 2012 13:32:40 -1000 >> Al Plant wrote: >> >>> Aloha FreeBSD mail list. >>> >>> This is the second month that it questions have stopped working to my >>> mail box. All the other lists are fine that I subscribe to. My >>> firewall spam wall has not been changed. >>> >> what Do you mean? You could not post to it? >> >> You did not get any messages from it anymore? >> >> Erich >> >>> Any way to fix this? > > There is no difference between the mails I get from questions and what > I got in my mail The mail in archives on http-list I meant From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 01:00:05 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61346550 for ; Sat, 8 Dec 2012 01:00:05 +0000 (UTC) (envelope-from crk3423@g.rit.edu) Received: from sc3app27.rit.edu (sc3app27.rit.edu [129.21.35.56]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5168FC08 for ; Sat, 8 Dec 2012 01:00:04 +0000 (UTC) Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by smtp-server.rit.edu (PMDF V6.3-x14 #31420) with ESMTPS id <0MEO006TFOAS97@smtp-server.rit.edu> for freebsd-questions@FreeBSD.org; Fri, 07 Dec 2012 18:08:53 -0500 (EST) Received: by mail-ee0-f72.google.com with SMTP id c13so1019033eek.7 for ; Fri, 07 Dec 2012 15:08:52 -0800 (PST) Received: by 10.112.46.37 with SMTP id s5mr3147654lbm.67.1354921732056; Fri, 07 Dec 2012 15:08:52 -0800 (PST) Received: by 10.112.46.37 with SMTP id s5mr3147650lbm.67.1354921731926; Fri, 07 Dec 2012 15:08:51 -0800 (PST) Received: by 10.112.36.129 with HTTP; Fri, 07 Dec 2012 15:08:51 -0800 (PST) Date: Fri, 07 Dec 2012 18:08:51 -0500 From: "CONNOR KELLY (RIT Student)" Subject: Stickers Sender: crk3423@rit.edu To: freebsd-questions@FreeBSD.org Message-id: MIME-version: 1.0 X-RIT-Received-From: 74.125.83.72 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:x-gm-message-state; bh=7n3VSWEUatICOJ92kTG73tn+j6cj4wzqFve6nAGxTX0=; b=E+NkSm4uuCbZb4uQ36AfAAdmQ4MWXwtFjJ+PL2P7EnHAuIznfmJmf6xRJ7OITVm0c0 arjA3h+63kE9syUxSbMr1ncmac6PYS4klI30mRdS9VGzOxUSM4AV3pZE+SaxxKox7uYg fWt3OoRGYGfId+/dfScU+FDA7fgJWIcPZYNqzodTAtldXETsPJbyRbZXdrBBsyW8XD/3 u+mWyu+AExAxfGavIbBXRFixhGro7nZSYUgLtgd3ut40kF49VJEVNZoqmKsQKAmVbY6p elUDYG5dKrsuuqg0qansHaIUj/MppssEVOy9lHGm4GTb9kwHkAZ7RHqIcXrWgI81ER+F RQqQ== X-Google-Sender-Auth: hgo2zGTShSpRG0F5xArDXECnKOM X-Gm-Message-State: ALoCoQmhK59TNKe7QoPBCy4bWDLbXLg9OP2adsF5reeKj2PkxpYpQ8Rg+OEYzqntOfIVtu363tUnA7VFrFj0vFRgZwJoGQY+16ERozC1H/tOdMFjZcIWzAm9lWGUJrckG8RJav04A9/XHw7VHqH79ty8+kE5WU0OQt7Y198iZlt/JIp7TGyKsfY= Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 01:00:05 -0000 I am a student at Rochester Institute of Technology. I was wondering if you could send any stickers or swag with the freebsd logo or something similar to me. I would probably keep some for myself and pass the rest out to my friends at my university. This is in no way an official communication from my school. If need be I'll be able to pay for postage. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 01:22:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3516BD55 for ; Sat, 8 Dec 2012 01:22:13 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id D98BE8FC13 for ; Sat, 8 Dec 2012 01:22:11 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=a52yBDuF c=1 sm=0 a=+L5dYfeubEW4PLvjDgtIXQ==:17 a=WAZfUmVf-EkA:10 a=CTRC7nxYIvUA:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=cd2htP0gDKkA:10 a=MnkTnmICAAAA:8 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 a=VAeyC-Qft3gA:10 a=+L5dYfeubEW4PLvjDgtIXQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:57219] helo=[10.0.0.6]) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 38/B9-00785-04692C05; Sat, 08 Dec 2012 01:22:10 +0000 Date: Fri, 07 Dec 2012 19:22:07 -0600 From: Paul Schmehl To: Fleuriot Damien , Paul Schmehl Subject: Re: Somewhat OT: Is Full Command Logging Possible? Message-ID: In-Reply-To: <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: n j , tundra@tundraware.com, FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 01:22:13 -0000 --On December 7, 2012 10:23:56 AM +0100 Fleuriot Damien wrote: > > On Dec 6, 2012, at 9:20 PM, Paul Schmehl wrote: > >> --On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk >> wrote: >>> >>> I understand this. Even the organization in question understands >>> this. They are not trying to *prevent* any kind of access. All >>> they're trying to do *log* it. Why? To meet some obscure >>> compliance requirement they have to adhere to in order to >>> remain in business. >>> >>> >>> I know all of this is silly but that's our future when you >>> let Our Fine Government regulate pretty much anything. >>> >>> >> >> I sent this last night, but for some reason it never showed up. >> >> /usr/ports/security/sudoscript >> >> I believe this will meet your requirements. > > > I'm sorry to say it won't. > Nothing will prevent a user from removing sudoscript's FIFO once he gets > root privileges. > Well, sure, but, if someone logs in and sudos to root, that will be logged by sudoscript. If the logging then ceases, that would be cause for disciplinary action up to and including dismissal. Not all problems can be solved with technology. Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 01:23:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7820E06 for ; Sat, 8 Dec 2012 01:23:36 +0000 (UTC) (envelope-from oroojeny@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 48DC28FC12 for ; Sat, 8 Dec 2012 01:23:35 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so1004336lah.13 for ; Fri, 07 Dec 2012 17:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=wuT0hxTpoi2fXzUyqnaPOVu0N0A+7AwI1RqnqoKclew=; b=R/9mLv2KD4Ahu0MoE3UxH2wxcs0IP6th2YY7uAKUogFgJKC1fZmA56AAn19xmPQClR LctlYb83iprdrUlbdhGQNtFsHc5nxFygi1pQBeh4r1Rf+clGaXrrEuHcS2yRHWIwlFxL J4xoYRSwuFIlod3xOTHWa3m+NQN0qQCKxj5V6qBwkIgDTzIucXaUT6pOm7b2eRYeHQTF 8biVlQaQjEL/NzRE6zI9XX71zdO4F4GAYoqvns5T9Nr8251RY6OlqPDhZkDecQ1mrvbW NBfcV6mstAo1a9zHJ2zX7sJg51xpZeSU60S9L4NP7xSe4xXkhljpF6zS+vBMLV3gr+yz A4rw== Received: by 10.152.111.166 with SMTP id ij6mr7136512lab.38.1354929814870; Fri, 07 Dec 2012 17:23:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.131.202 with HTTP; Fri, 7 Dec 2012 17:23:13 -0800 (PST) From: Hooman Oroojeni Date: Sat, 8 Dec 2012 01:23:13 +0000 Message-ID: Subject: FreeBSD 802.11 Testbed To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 01:23:36 -0000 Dear All, I would like to implement a physical 802.11 wireless testbed that all systems run Freebsd 9. Including a server enabling me to define traffic for the network as a file. And evaluate performance of network such as delay, throughput, bandwidth,... and analyse them. Any idea appreciated in this respect. Regards, Hooman -- From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 01:46:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD5D927B for ; Sat, 8 Dec 2012 01:46:19 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C0DF8FC08 for ; Sat, 8 Dec 2012 01:46:18 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so1263230vba.13 for ; Fri, 07 Dec 2012 17:46:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=a3/T+ls9B7GV3n3JHBr6SNEQeuJ3/Fj/4C636OIC0m0=; b=CZrcb69lfmD9YjYklN4vFUrlIBOQVnBdbbKv+SGd2RUbxm3keEp9g/VrK/MWjBCVjM fBZecUIW4w1K/aMq4f/HXkLKP2sl2WVDcNpIbEyX9UJl8U/acCltOSX0so6LCft+5zUJ hMiECcRZFuYqvocvGHnWA+bXzJytCbscZA5QOaTQ95xNiZ3SsFmqtKEA0SiKTBmuaY7A dTBAPwrIlFMNSgsAkLcibjS3FAW3as1YImudgHGjcBcqT7cshm3MBrudN3rI1thTve7M yjwQjBB4t3Rj0IWkK1asOqhM52VptatctH/HfSgCxW1FSvq/U6YMFHf4l/y4rJKNOb6V 1F3Q== MIME-Version: 1.0 Received: by 10.52.34.44 with SMTP id w12mr3585352vdi.77.1354931178172; Fri, 07 Dec 2012 17:46:18 -0800 (PST) Received: by 10.59.4.132 with HTTP; Fri, 7 Dec 2012 17:46:18 -0800 (PST) X-Originating-IP: [128.95.17.211] In-Reply-To: References: Date: Fri, 7 Dec 2012 17:46:18 -0800 Message-ID: Subject: Re: VPS FreeBSD Hosting From: David Brodbeck To: freebsd-questions@freebsd.org X-Gm-Message-State: ALoCoQmoaCbSmUGcxutuegxLTC7nlPNpZV6+lQoCOqJEnZlnSX/k9CXVV5eXMpV6WIFpr1Epi0im Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 01:46:19 -0000 On Sun, Nov 25, 2012 at 1:18 PM, Daniel Feenberg wrote: > We have had good experience with pair.com and rootbsd.com. Both were used > for websites. We never had any problems with either, so I can't report on > their problem solving skills, but customer service from both was good for > the handful of routine questions we had. > I'm using rootbsd.com as well. I run a few low-traffic websites and a couple MUDs off one of their Lambda instances. I've found their customer service to be prompt and helpful on the few occasions when I've had problems. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 02:13:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50F2C78D for ; Sat, 8 Dec 2012 02:13:08 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB808FC0C for ; Sat, 8 Dec 2012 02:13:07 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id qB82D68x015530 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 7 Dec 2012 20:13:06 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Fri, 7 Dec 2012 20:13:06 -0600 Subject: Re: Somewhat OT: Is Full Command Logging Possible? MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: Date: Fri, 7 Dec 2012 18:13:04 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <8E7AE88A-5241-42CC-807F-FA42162EE83E@fisglobal.com> References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> To: Paul Schmehl X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185, 1.0.431, 0.0.0000 definitions=2012-12-07_04:2012-12-07,2012-12-07,1970-01-01 signatures=0 Cc: n j , Fleuriot Damien , tundra@tundraware.com, FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 02:13:08 -0000 On Dec 7, 2012, at 5:22 PM, Paul Schmehl wrote: > --On December 7, 2012 10:23:56 AM +0100 Fleuriot Damien wrote: >=20 >>=20 >> On Dec 6, 2012, at 9:20 PM, Paul Schmehl wrot= e: >>=20 >>> --On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk >>> wrote: >>>>=20 >>>> I understand this. Even the organization in question understands >>>> this. They are not trying to *prevent* any kind of access. All >>>> they're trying to do *log* it. Why? To meet some obscure >>>> compliance requirement they have to adhere to in order to >>>> remain in business. >>>>=20 >>>> >>>> I know all of this is silly but that's our future when you >>>> let Our Fine Government regulate pretty much anything. >>>> >>>>=20 >>>=20 >>> I sent this last night, but for some reason it never showed up. >>>=20 >>> /usr/ports/security/sudoscript >>>=20 >>> I believe this will meet your requirements. >>=20 >>=20 >> I'm sorry to say it won't. >> Nothing will prevent a user from removing sudoscript's FIFO once he gets >> root privileges. >>=20 >=20 > Well, sure, but, if someone logs in and sudos to root, that will be logge= d by sudoscript. If the logging then ceases, that would be cause for disci= plinary action up to and including dismissal. >=20 What about the case of: sudo vim or sudo vim file Surely that wouldn't raise an eyebrow, but=85 Then execute within vim: :sh or ^_^ --=20 Devin =85 and another gem =85 sr env HOME=3D$HOME vim then :E _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 02:23:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A99868B4 for ; Sat, 8 Dec 2012 02:23:38 +0000 (UTC) (envelope-from sib@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id 39E058FC0C for ; Sat, 8 Dec 2012 02:23:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1ThA4k-0000dS-D9 for freebsd-questions@freebsd.org; Sat, 08 Dec 2012 05:23:35 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Transfer-Encoding:Content-Type:MIME-Version:To:From:Subject:Date; bh=4warSN0VVxCmx5h7pIPPWGH0IwWWebZ1t7zbkPGpzsU=; b=jUgEZPvlVAEWx/LexSc7ATeO6XAPhM2LUdhOVRlqH5o+BOQy+zwUvyWmwWzCBDWK5iOEWxuJdG7cIay7bRudDtX/mQnzQpwKVrp19lutHZ2J0C8ZMBEJgJIklDIT/pxaen+LqqEtZBTS+PCOHRiXqAHLlXGbh4PdJDU8yrqWyKc=; Received: from sib by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1ThA2d-00068H-PE for freebsd-questions@freebsd.org; Sat, 08 Dec 2012 02:21:23 +0000 Date: Sat, 8 Dec 2012 02:21:23 -0000 Subject: 9.1 on FTP From: sib@tormail.org To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit Importance: Normal X-TorMail-User: sib Message-Id: <1ThA2d-00068H-PE@internal.tormail.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 02:23:38 -0000 Hi freebsd-questions. While looking for a 9.1-rc3 ISO to test on my old PPC Mac, I saw a 9.1-RELEASE(!) ISO under releases/powerpc. I didn't think 9.1 was out or announced yet, even though it was supposed to be announced some days ago. I can't find it under any other directories for amd64,i386,etc. It's also not on freebsd-update. Why was there an ISO for PPC? As I check now, it's either been removed or I can't find it. Something fishy is going on? From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 10:39:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CD37BB5 for ; Sat, 8 Dec 2012 10:39:20 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx1.freebsd.org (Postfix) with ESMTP id F348B8FC13 for ; Sat, 8 Dec 2012 10:39:19 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj13so157958wib.13 for ; Sat, 08 Dec 2012 02:39:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=ibz8Bsu5p50L0lFAztoEovrh3DYpF+d+Fj/94EQ3KFM=; b=A+28BpxnA6BogehshtBUQlI37t0surde5FSgti8jNsq8LJSoGVB3mq5Oh0qygcZGu6 PaUbSYu4Gmetfw4HrdepfJ10rYml8pIfVdIKH+Rtz9BXWadfEXVanOT8qya8faQF4+Ek w3iuHOD/vx+EKQLyfZi/K7cSfSvgE5QU2dJRYEO50nOPSPBvom7eAPYsXQ/gO7SaEITu +O3k2fJaFeYw/bHYY8TsDQU9dp/9/sNaCgWF8liehTbFJSUYoRP/K5eA7bvbhe5skfbw v5CobmuMr5auNITtzpURpd4HpIyVSjEHqMubLAq4zBoqrhjZMOm8MELz78hQx6jetR0a qxMA== Received: by 10.180.86.39 with SMTP id m7mr2620636wiz.1.1354963152796; Sat, 08 Dec 2012 02:39:12 -0800 (PST) Received: from [10.41.48.50] ([92.90.16.94]) by mx.google.com with ESMTPS id eo10sm1959409wib.9.2012.12.08.02.39.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 08 Dec 2012 02:39:12 -0800 (PST) References: <50BFD674.8000305@tundraware.com> <8BFA2629-45CA-491B-9BA8-E8AC78A4D66E@my.gd> <50BFDCFD.4010108@tundraware.com> <50C0EFA4.3010902@tundraware.com> <6A61448BD1FE69ED206EB42E@utd71538.campus.ad.utdallas.edu> <04283347-1955-4C49-9ADD-6D2FBB1B0EDC@my.gd> <8E7AE88A-5241-42CC-807F-FA42162EE83E@fisglobal.com> In-Reply-To: <8E7AE88A-5241-42CC-807F-FA42162EE83E@fisglobal.com> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Message-Id: X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: Somewhat OT: Is Full Command Logging Possible? Date: Sat, 8 Dec 2012 11:38:30 +0100 To: Devin Teske X-Gm-Message-State: ALoCoQm+P28fe5xXbbJF2U1RYXxWq/VrdUKSm8bVUFawABdzF8mgSpOSSjKib9a7w6f425lhP1Kb Cc: Paul Schmehl , "" , FreeBSD Mailing List , n j X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 10:39:20 -0000 On 8 Dec 2012, at 03:13, Devin Teske wrote: >=20 > On Dec 7, 2012, at 5:22 PM, Paul Schmehl wrote: >=20 >> --On December 7, 2012 10:23:56 AM +0100 Fleuriot Damien wrote:= >>=20 >>>=20 >>> On Dec 6, 2012, at 9:20 PM, Paul Schmehl wrot= e: >>>=20 >>>> --On December 6, 2012 1:19:00 PM -0600 Tim Daneliuk >>>> wrote: >>>>>=20 >>>>> I understand this. Even the organization in question understands >>>>> this. They are not trying to *prevent* any kind of access. All >>>>> they're trying to do *log* it. Why? To meet some obscure >>>>> compliance requirement they have to adhere to in order to >>>>> remain in business. >>>>>=20 >>>>> >>>>> I know all of this is silly but that's our future when you >>>>> let Our Fine Government regulate pretty much anything. >>>>> >>>>>=20 >>>>=20 >>>> I sent this last night, but for some reason it never showed up. >>>>=20 >>>> /usr/ports/security/sudoscript >>>>=20 >>>> I believe this will meet your requirements. >>>=20 >>>=20 >>> I'm sorry to say it won't. >>> Nothing will prevent a user from removing sudoscript's FIFO once he gets= >>> root privileges. >>>=20 >>=20 >> Well, sure, but, if someone logs in and sudos to root, that will be logge= d by sudoscript. If the logging then ceases, that would be cause for discip= linary action up to and including dismissal. >>=20 >=20 > What about the case of: >=20 > sudo vim >=20 > or >=20 > sudo vim file >=20 > Surely that wouldn't raise an eyebrow, but=E2=80=A6 >=20 > Then execute within vim: >=20 > :sh >=20 > or >=20 > ^_^ > --=20 > Devin >=20 > =E2=80=A6 and another gem =E2=80=A6 >=20 > sr env HOME=3D$HOME vim >=20 > then >=20 > :E >=20 My point exactly, such levels of protection can't be reached on our day to d= ay OSes. The only thing that can be done is trying to approach the expected level of s= crutiny and security. The audit framework is a viable solution IMO, as long as it has limited prot= ection against kills (restart it, send a SMS alert...)= From owner-freebsd-questions@FreeBSD.ORG Sat Dec 8 13:20:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F4D779E for ; Sat, 8 Dec 2012 13:20:56 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 02E1C8FC0C for ; Sat, 8 Dec 2012 13:20:55 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qB8DKpMr008807 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 8 Dec 2012 13:20:51 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qB8DKpMr008807 Authentication-Results: smtp.infracaninophile.co.uk/qB8DKpMr008807; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50C33EAB.8070505@FreeBSD.org> Date: Sat, 08 Dec 2012 13:20:43 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: sib@tormail.org Subject: Re: 9.1 on FTP References: <1ThA2d-00068H-PE@internal.tormail.org> In-Reply-To: <1ThA2d-00068H-PE@internal.tormail.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7E0BB61D0589777427E8B44B" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2012 13:20:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E0BB61D0589777427E8B44B Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/12/2012 02:21, sib@tormail.org wrote: > While looking for a 9.1-rc3 ISO to test on my old PPC Mac, I saw a > 9.1-RELEASE(!) ISO under releases/powerpc. I didn't think 9.1 was out o= r > announced yet, even though it was supposed to be announced some days ag= o. > I can't find it under any other directories for amd64,i386,etc. It's al= so > not on freebsd-update. Why was there an ISO for PPC? As I check now, it= 's > either been removed or I can't find it. Something fishy is going on? It's not there until the official release announcement goes out. Any premature sightings are presumably a side effect of eating too much spicy food late at night. Or something. Seriously though: ftp servers will be preloaded with 9.1 install sets before the release, so that people can start using them the moment they get the release announcement. Before that point, there's no guarantee install sets will not be arbitrarily removed or modified in response to last minute problems. Good luck to you if you do get hold of them early: it's your 15 minutes of fame, no more. Yes, 9.1-RELEASE is delayed. Some of that is due to the effects of the security compromise, some is down to the release process not being pushed through as efficiently as it might be. It is coming. Soon. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig7E0BB61D0589777427E8B44B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDDPrIACgkQ8Mjk52CukIyO7wCeNSifaAJKpE5ovQwMwGDmU6EA lRkAnjcI/fUrjHVPwxU+VIIxDoLbJWQb =J//b -----END PGP SIGNATURE----- --------------enig7E0BB61D0589777427E8B44B--