From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:26:07 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71A5D106566B for ; Sun, 27 Feb 2011 00:26:07 +0000 (UTC) (envelope-from vermaden@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id C50178FC19 for ; Sun, 27 Feb 2011 00:26:06 +0000 (UTC) Received: (qmail 2088 invoked by uid 0); 27 Feb 2011 00:26:05 -0000 Received: from 85.89.187.172 by rms-eu005.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Sun, 27 Feb 2011 00:26:04 +0000 From: "Slawomir Wojtczak" Message-ID: <20110227002604.92530@gmx.com> MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Authenticated: #68675852 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: JK1ceVBjTiE+KX+IcGBw8UR9ZUVSRBet Cc: freebsd-fs@freebsd.org Subject: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 00:26:07 -0000 Hi, I have tried these guides: http://wiki.freebsd.org/RootOnZFS/ZFSBootSlice http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition ... but none of them seems to work, after installation it hangs at boot like that: http://ompldr.org/vN2tscQ I am using these guides with 8.2-RELEASE amd64 version. I know that there is way to do this on GPT partitions, but I need MBR ones ... Any help appreciated, vermaden From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:45:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26D48106564A for ; Sun, 27 Feb 2011 00:45:24 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id F08F58FC17 for ; Sun, 27 Feb 2011 00:45:23 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id C2D6A2845B; Sat, 26 Feb 2011 19:45:22 -0500 (EST) Date: Sat, 26 Feb 2011 19:45:22 -0500 From: Daniel Staal To: Slawomir Wojtczak , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <20110227002604.92530@gmx.com> References: <20110227002604.92530@gmx.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: Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 00:45:24 -0000 --As of February 27, 2011 12:26:04 AM +0000, Slawomir Wojtczak is alleged to have said: > ... but none of them seems to work, after installation it hangs at boot > like that: http://ompldr.org/vN2tscQ --As for the rest, it is mine. Hmm. Interesting. I'm having the same result when trying the 'root on ZFS, boot from UFS' guide here: Anything interesting happening during your install? I have an error late in the process (During 'Step 3.1') with this command: Fixit# mv boot bootdir/ It gives me an error saying that /bin/cp can't found/executed. (I've been trying to work around using `bin/cp -pRP boot bootdir/`. Note the lack of the leading slash.) I had tried several of the other installs from successfully, but I don't think I'd tried the MBR install. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 00:54:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01E161065670 for ; Sun, 27 Feb 2011 00:54:37 +0000 (UTC) (envelope-from vermaden@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 952B58FC16 for ; Sun, 27 Feb 2011 00:54:36 +0000 (UTC) Received: (qmail 21793 invoked by uid 0); 27 Feb 2011 00:54:35 -0000 Received: from 85.89.187.172 by rms-eu005.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Sun, 27 Feb 2011 00:54:32 +0000 From: "Slawomir Wojtczak" Message-ID: <20110227005432.92510@gmx.com> MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Authenticated: #68675852 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: n8UbbUdFeSEqIW2KfHAhXEV+IGRvb4AP Cc: DStaal@usa.net Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 00:54:37 -0000 > Anything interesting happening during your install? I would say no, everything seems smooth until I try to boot it. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 03:31:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D58B3106566B for ; Sun, 27 Feb 2011 03:31:30 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 76C4F8FC08 for ; Sun, 27 Feb 2011 03:31:29 +0000 (UTC) Received: by fxm19 with SMTP id 19so3202315fxm.13 for ; Sat, 26 Feb 2011 19:31:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.103.197 with SMTP id l5mr4732834fao.7.1298777489094; Sat, 26 Feb 2011 19:31:29 -0800 (PST) Received: by 10.223.83.194 with HTTP; Sat, 26 Feb 2011 19:31:29 -0800 (PST) In-Reply-To: <20110227005432.92510@gmx.com> References: <20110227005432.92510@gmx.com> Date: Sat, 26 Feb 2011 22:31:29 -0500 Message-ID: From: Carl Chave To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 03:31:30 -0000 How long are you waiting? What are you booting from? On Sat, Feb 26, 2011 at 7:54 PM, Slawomir Wojtczak wrote: > > Anything interesting happening during your install? > > I would say no, everything seems smooth until I try to boot it. > > _______________________________________________ > 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 Feb 27 03:49:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B807F1065672 for ; Sun, 27 Feb 2011 03:49:56 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web130210.mail.mud.yahoo.com (web130210.mail.mud.yahoo.com [66.94.238.157]) by mx1.freebsd.org (Postfix) with SMTP id 796098FC0A for ; Sun, 27 Feb 2011 03:49:56 +0000 (UTC) Received: (qmail 50702 invoked by uid 60001); 27 Feb 2011 03:23:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298776994; bh=gBGKlXtSZttgY7SuiQ8lX3Bh4LmB/PcpH/2SXR0ATL8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Wf92MNxpu2YZz7AX9eHbbyfTXj71mMDA9bTg1cteB7o18DXc6sRLfccyzuP1L+oMLonOTB2Q4AMV9k3K4VzrxrZmB3je0/Xnd4BG7VhLAY9Gh0ARC6rdq549gWOwaN66y0pelkniFw9iiOqp50eNL6YaxsJQXuO+8SJQZwPykyo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=jaZSLc+P4+ZO9UCoVF5ASJYtzYr5OEzfpxHQTnzGx/libgkEqBHEQXQOx5XLIDtclO04/wcmOY1ITXYhsmpJBrbIYqH75PqwrIgrVwpTmbI6qchiMtUuAbSHR8tFybFqBq3xgiRoywkp/G+n9oZpsqKGotRs9tz38GqQtki3eec=; Message-ID: <336353.49813.qm@web130210.mail.mud.yahoo.com> X-YMail-OSG: 4W1xEokVM1mqa4k2NNRkfcBdWZzJNRhXIqJlxFxcgdTZhsK cyAPKmJyao3SJ51cfT8Zf_.7dKXFy8_I7ZiL5KyuiuXqtVGBktxYXk51m6ea B4khr5NBrnjjucvjy412v2ZJxk0QTAMTGn2Uk31cghNXH6BY6FM3gdyqCutO 1wUWFPNl17FwTu0AtEkwiUV71d1zPPRgXJDsYIlJqW1Y.htaCW_WNJsRyErj dgxOXJryjEXv9SmXER9GH7n5CkIaCocP7hUb2oWHyjfoLLRYSuKEzoXV6vD8 kt_HfjOk0Zkxz8QuGAmzztYW2ng4RvgdscuWy5OtmziB52ORr9ZQDvUaTJvc MrZcZvqc3X1GcqqoGNUs_FnaiNn04IsRKC9BBsy7kvL2YqEs6_YecKvhWu5g Y7NnJQE8qfCCR Received: from [173.71.213.12] by web130210.mail.mud.yahoo.com via HTTP; Sat, 26 Feb 2011 19:23:14 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Sat, 26 Feb 2011 19:23:14 -0800 (PST) From: gahn To: freebsd general questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 03:49:56 -0000 hi all gurus: for usb external drive, i followed the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html but i have some problems for mounting a portable usb external drive: 1) when i plugged in, /dev/da0s1 appears: ip@hotty:/var/log:$ ls -al /dev/da0s1 crw-r----- 1 root operator 0, 108 Feb 26 22:05 /dev/da0s1 but i can't mount it: hotty# mount -t mdntfs /dev/da0s1 /mnt/mlu mount: /dev/da0s1 : Operation not supported by device 2) after i rebooted the system, even the usb external drive is still plugged in, but it disappears from the freebsd system: ip@hotty:$ ls -al /dev/da0s1 ls: /dev/da0s1: No such file or directory how could i fix this? thanks in advance From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 07:01:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22EB71065670 for ; Sun, 27 Feb 2011 07:01:03 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id A92158FC08 for ; Sun, 27 Feb 2011 07:01:02 +0000 (UTC) Received: by fxm19 with SMTP id 19so3255718fxm.13 for ; Sat, 26 Feb 2011 23:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uUYXvGINbKZ/yy5QixFcBFu8cDO5JqAesIEwX2BTsUg=; b=iN30yPdsn0fdZLQntc5d7OoY+QWnlMJ/kiP3wY6gPpUEhbWPTEiRdmBwcqENgrrvp1 KCTDw1QW0NK5GukE5GlANuqxQMcBfBI0QJfExjenqlVKyHKRC5YuayE/qU39H8XQCRLe ZTZY4XMJtfl58jRqViyWi7Gd5h4H+vG1AKwWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wxXhYyCKAiokJDjfJqPTQYZD7RE0jbt+KmYHsJBFxBuluAB+pHkGh63HY2OyqVuPYG QbpISJ2VJg+NBdy7UD4Q+1QFFXvGXF8Zmw3WFHiN/Rl4ZNN7rFMSCVI2Qe5qQf5Xe9kc HaUAIaBXPzZ/SP0KELPRRRMhkQWJP4ysZlO8o= MIME-Version: 1.0 Received: by 10.223.101.131 with SMTP id c3mr4862500fao.50.1298790059963; Sat, 26 Feb 2011 23:00:59 -0800 (PST) Received: by 10.223.103.4 with HTTP; Sat, 26 Feb 2011 23:00:59 -0800 (PST) In-Reply-To: <336353.49813.qm@web130210.mail.mud.yahoo.com> References: <336353.49813.qm@web130210.mail.mud.yahoo.com> Date: Sun, 27 Feb 2011 02:00:59 -0500 Message-ID: From: "illoai@gmail.com" To: gahn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd general questions Subject: Re: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 07:01:03 -0000 On 26 February 2011 22:23, gahn wrote: > hi all gurus: > > for usb external drive, i followed the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html > > but i have some problems for mounting a portable usb external drive: > > 1) when i plugged in, /dev/da0s1 appears: > > ip@hotty:/var/log:$ ls -al /dev/da0s1 > crw-r----- =A01 root =A0operator =A0 =A00, 108 Feb 26 22:05 /dev/da0s1 > > but i can't mount it: > > hotty# mount -t =A0mdntfs /dev/da0s1 /mnt/mlu > mount: /dev/da0s1 : Operation not supported by device > I am wholly unfamiliar with mdntfs, so I'll assume you meant to type ntfs. In any case, you probably have to mount it read-only (unless you install sysutils/fusefs-ntfs) as FreeBSD does not support writing to ntfs by default. Fat32 is still the only viable solution for (nearly) full portability. --=20 -- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 11:05:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B5A91065675 for ; Sun, 27 Feb 2011 11:05:39 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2AA028FC21 for ; Sun, 27 Feb 2011 11:05:38 +0000 (UTC) Received: by wwb31 with SMTP id 31so3925313wwb.31 for ; Sun, 27 Feb 2011 03:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rg36UknkTuRd4hiOtCeDREumVS5Avhww7y7i+uM6iF4=; b=Sw7Bt+Z6LR5G2/G4isvjX9hYOV8f54HMExev4c0SbAYGEZtn2uF8Gy6h0T9/zTod2g VoVaSO9NpBJUHEcFWoS77gknppL7S/ItqI1ssE4mpOJ/ob4+YJzZv7yWw2v7djNT2xWz 49RLfE4lRrZGQQHAlOStBx7Br/xbDUB+y3B8w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xJwN8cFHwr0v4+ZmC5rA/XzxGPVb4mMvGbKHW9e8QvwssNmWur/MPGcJWNJH4Uai/R Bx4T1i2ebWnY+MQVVn1TT1dppRtnf8bUhWXX74W8cWOUWFuiN3NVXB8wC2sORdxMGm+X b1zqrFtu1ZTLExeFzNrr3afYawjH3NFl/i3aI= MIME-Version: 1.0 Received: by 10.216.180.77 with SMTP id i55mr3597135wem.76.1298804736995; Sun, 27 Feb 2011 03:05:36 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 27 Feb 2011 03:05:36 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 11:05:36 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 11:05:39 -0000 On 26 February 2011 20:01, Tim Dunphy wrote: > Hey list, > > I just wanted to follow up with my /usr/local/etc/ldap.conf file and > nsswitch file because I thought they might be helpful in dispensing > advice as to what is going on: > > uri ldap://LBSD2.summitnjhome.com > base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom > bindpw secret > scope sub > pam_password exop > nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom > nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom > nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom > nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom > > > # nsswitch.conf(5) - name service switch configuration file > # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 > kensmith Exp $ > # > passwd: files ldap > passwd_compat: files ldap > group: files ldap > group_compat: nis > sudoers: ldap > hosts: files dns > networks: files > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > > On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrote: >> Hello List!! >> >> =A0I have an OpenLDAP 2.4 server functioning very nicely that >> authenticates a network of (mostly virtual) centos 5.5 machines. >> >> =A0But at the moment I am attempting to setup pam authentication for ssh >> via LDAP and having some difficulty. >> >> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >> >> # PAM configuration for the "sshd" service >> # >> >> # auth >> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0 = =A0 =A0 no_warn allow_local >> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass >> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >> >> # account >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >> >> # session >> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >> >> # password >> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0 = =A0 =A0 no_warn try_first_pass >> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >> >> >> And if I'm reading the logs correctly LDAP is searching for and >> finding the account information when I am making the login attempt: >> >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >> ))" >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr=3D= uid >> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >> description objectCla >> ss >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 >> first=3D106 last=3D137 >> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >> first=3D106 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D106 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fir= st=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D0 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fir= st=3D1 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >> first=3D1 last=3D0 >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RESUL= T >> tag=3D101 err=3D0 nentries=3D0 text=3D >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >> Feb 26 19:52:54 LBSD2 slapd[54891]: >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >> error=3D-2 id=3D34715, closing. >> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >> conn=3D34715 sd=3D212 for close >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >> active_threads=3D0 tvp=3DNULL >> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (connec= tion lost) >> >> >> But logins fail every time. Could someone offer an opinion as to what >> may be going on to prevent logging in via pam/sshd and LDAP? >> >> Thanks in advance! >> Tim >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > 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" > these are my files and are from a working setup # cat /usr/local/etc/ldap.conf # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=3DXXX,dc=3Dnet URI ldap://XXX.net #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never ssl start_tls tls_cacert /usr/local/etc/openldap/ssl/cert.crt pam_login_attribute uid sudoers_base ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet bind_timelimit 1 timelimit 1 bind_policy soft nss_initgroups_ignoreusers root,slapd,krad # ls -l /usr/local/etc/nss_ldap.conf lrwxr-xr-x 1 root wheel 24 Jan 16 22:31 /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf # nsswitch.conf group: cache files ldap [notfound=3Dreturn] passwd: cache files ldap [notfound=3Dreturn] these packages are installs nss_ldap-1.265_4 RFC 2307 NSS module openldap-client-2.4.23 Open source LDAP client implementation openldap-server-2.4.23 Open source LDAP server implementation pam_ldap-1.8.6 A pam module for authenticating with LDAP From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 11:10:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9E2C1065678 for ; Sun, 27 Feb 2011 11:10:08 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 71C108FC1A for ; Sun, 27 Feb 2011 11:10:08 +0000 (UTC) Received: by wyb32 with SMTP id 32so3437535wyb.13 for ; Sun, 27 Feb 2011 03:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zt7E4usySQN1eq7DAqBtUlonyJhF1mPfKEz5FVy+38s=; b=PKyXg1BXaiLaWF3ZEgOY7l65+Ao6snXfOEU/3v7u+67RPq2z3YBExGSXZrUYJ8oHCY 6mlZljx6Q6QReHtbk7MBuoYsQaCOeF30N/LrLGxv/omcGuNuiARof94WkbojLs0Yxh3u 0e0wX8VCrQpwlnbO51Tk5KrSotmaMUm8aaYTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AeOeW54tzH33rWNpgkQbUL1N+ubyyVIT9G9rrWucU8YPs0mDc76SqWw4igGgRxYI4h kAAs7cX5dh4WU1WGOeD/7GQR97ER9aUtnHjhNKPbrmuzDMn6J4eN7Nsg6MZzpZnP89jI aByass7gHtpp3ugds+w2sMiylT7nL8MMk1Zao= MIME-Version: 1.0 Received: by 10.216.47.71 with SMTP id s49mr1131545web.106.1298805006646; Sun, 27 Feb 2011 03:10:06 -0800 (PST) Received: by 10.216.80.147 with HTTP; Sun, 27 Feb 2011 03:10:06 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 11:10:06 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 11:10:09 -0000 On 27 February 2011 11:05, krad wrote: > On 26 February 2011 20:01, Tim Dunphy wrote: >> Hey list, >> >> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >> nsswitch file because I thought they might be helpful in dispensing >> advice as to what is going on: >> >> uri ldap://LBSD2.summitnjhome.com >> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >> bindpw secret >> scope sub >> pam_password exop >> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >> >> >> # nsswitch.conf(5) - name service switch configuration file >> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >> kensmith Exp $ >> # >> passwd: files ldap >> passwd_compat: files ldap >> group: files ldap >> group_compat: nis >> sudoers: ldap >> hosts: files dns >> networks: files >> shells: files >> services: compat >> services_compat: nis >> protocols: files >> rpc: files >> >> >> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrote= : >>> Hello List!! >>> >>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>> authenticates a network of (mostly virtual) centos 5.5 machines. >>> >>> =A0But at the moment I am attempting to setup pam authentication for ss= h >>> via LDAP and having some difficulty. >>> >>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>> >>> # PAM configuration for the "sshd" service >>> # >>> >>> # auth >>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0= =A0 =A0 no_warn allow_local >>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass >>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass >>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>> >>> # account >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>> >>> # session >>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>> >>> # password >>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0= =A0 =A0 no_warn try_first_pass >>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>> >>> >>> And if I'm reading the logs correctly LDAP is searching for and >>> finding the account information when I am making the login attempt: >>> >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>> ))" >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>> description objectCla >>> ss >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 >>> first=3D106 last=3D137 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>> first=3D106 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D106 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fi= rst=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D0 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 fi= rst=3D1 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>> first=3D1 last=3D0 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RESU= LT >>> tag=3D101 err=3D0 nentries=3D0 text=3D >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>> error=3D-2 id=3D34715, closing. >>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>> conn=3D34715 sd=3D212 for close >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>> active_threads=3D0 tvp=3DNULL >>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (conne= ction lost) >>> >>> >>> But logins fail every time. Could someone offer an opinion as to what >>> may be going on to prevent logging in via pam/sshd and LDAP? >>> >>> Thanks in advance! >>> Tim >>> >>> -- >>> GPG me!! >>> >>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>> >> >> >> >> -- >> GPG me!! >> >> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >> _______________________________________________ >> 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" >> > > > > these are my files and are from a working setup > > # cat /usr/local/etc/ldap.conf > # > # LDAP Defaults > # > > # See ldap.conf(5) for details > # This file should be world readable but not world writable. > > BASE =A0 =A0dc=3DXXX,dc=3Dnet > URI =A0 =A0 ldap://XXX.net > > #SIZELIMIT =A0 =A0 =A012 > #TIMELIMIT =A0 =A0 =A015 > #DEREF =A0 =A0 =A0 =A0 =A0never > > ssl start_tls > tls_cacert /usr/local/etc/openldap/ssl/cert.crt > > pam_login_attribute uid > > sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet > bind_timelimit 1 > timelimit 1 > bind_policy soft > > nss_initgroups_ignoreusers root,slapd,krad > > > # ls -l /usr/local/etc/nss_ldap.conf > lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 > /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf > > # nsswitch.conf > > > group: cache files ldap [notfound=3Dreturn] > passwd: cache files ldap [notfound=3Dreturn] > > these packages are installs > > nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module > openldap-client-2.4.23 Open source LDAP client implementation > openldap-server-2.4.23 Open source LDAP server implementation > pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP > and my slapd.conf security ssf=3D128 TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema #include /usr/local/etc/openldap/schema/ldapns.schema include /usr/local/etc/openldap/schema/samba.schema include /usr/local/etc/openldap/schema/sudo.schema logfile /var/log/slapd.log loglevel stats pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args modulepath /usr/local/libexec/openldap moduleload back_bdb database bdb directory /var/db/openldap-data #index uid pres,eq index cn,sn,uid pres,eq,sub index objectClass eq #index sudoUser suffix "dc=3DXXX,dc=3Dnet" rootdn "cn=3Dkrad,dc=3DXXX,dc=3Dnet" rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa access to attrs=3DuserPassword by self write by anonymous auth by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write by * none access to * by self write by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write by * read From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 14:16:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F331065674; Sun, 27 Feb 2011 14:16:17 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BEFC98FC0A; Sun, 27 Feb 2011 14:16:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so3463791bwz.13 for ; Sun, 27 Feb 2011 06:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=jbRjiyH3JcxsbYfk8NGhu2G/Bhm8dSAunTWaqwZ1h48=; b=G2A1LQUv9eooYJZWGlMBGBUpNtBPd7m7QQuyPno6+bWQRPZgCyYJjoC1eNbXEfSRq8 tJlbJYkL3pL2Bfje08JgkGaQsNaXkTT/g/Mjb8seKPL7cPp+8LfZBXlqKMBNJ+A6t2MT Uv8IQBcGdoe4MaYPs2GPj/akvpF3v5aZN7f0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q+BXYiOFGDcClKONgpeeh6Yc2OZ1uJoE4dMy+Er5P4A0rrQRgHBCP5pYNOGIDSDhOs 7VG0NrCdLs5e/LUxGJVCYlBk5pF7y90gn2bVCHBIueHLSaYiI/iskirwroBUmRaWKrI3 PuAb7S+DyRR5BqSdigGm4YmQ7RqAgbhl/fDwo= MIME-Version: 1.0 Received: by 10.204.14.6 with SMTP id e6mr3758287bka.9.1298814485712; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Received: by 10.204.62.205 with HTTP; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Date: Sun, 27 Feb 2011 15:48:05 +0200 Message-ID: From: Dan Naumov To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 14:16:17 -0000 I have a 8.0 host system with a few jails (using ezjail) that I am gearing to update to 8.2. I have used freebsd-update a few times in the past to upgrade a system between releases, but how I would I go about using it to also upgrade a few jails made using ezjail? I would obviously need to point freebsd-update to use /basejail as root which I assume isn't too hard, but what about having it merge the new/changed /etc files in individual jails? I've also discovered the "ezjail-admin install -h file://" option which installs a basejail using the host system as base, am I right in thinking I could also use this by first upgrading my host and then running this command to write the /basejail over with the updated files from the host to bring them into sync? I still don't know how I would then fix the /etc under each individual jail though. - Sincerely, Dan Naumov From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 15:02:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D612B106566B; Sun, 27 Feb 2011 15:02:16 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAD98FC0C; Sun, 27 Feb 2011 15:02:16 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id B3FCE6154; Sun, 27 Feb 2011 10:02:14 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1298818934; bh=dwFoD2SToxdZ1tl8CGHWe19nGqj/mJOmhSDVY9oMSsU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DQh8lmMJOrsPqy4ioJ1EWwl7jKi6H7Ll5b5gmQfbOL3YMIVp9C69BboFiJYRHj6Ci zb9Iz1hzsy/R7bTwjyxqrAGhWOYb7Mf6MWSgpNBkjM9abnrovg90HUerhscU027 DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=GooQa8dGzNJgYr6ieRXYWWCKlwp9xZkjxBqhweHq0c8NXO47Qh6j/skrClYq2qiw9 0rlv0jI5JZNHBPjs4so/dTNuxdmZ9QbHaozmCk96KoYV4q+J72ffxPSamlHsqNK Message-ID: <4D6A6774.70108@protected-networks.net> Date: Sun, 27 Feb 2011 10:02:12 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110116 Thunderbird/3.1.7 MIME-Version: 1.0 To: Dan Naumov References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 15:02:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/27/11 08:48, Dan Naumov wrote: > I've also discovered the "ezjail-admin install -h file://" option which > installs a basejail using the host system as base, am I right in thinking I > could also use this by first upgrading my host and then running this command > to write the /basejail over with the updated files from the host to bring > them into sync? I still don't know how I would then fix the /etc under each > individual jail though. I've been using .. ezjail-admin update -i .. to update the binaries after a full update of the host system and something like .. #!/bin/sh for JAIL in {list-your-jails-here} do mv /usr/src /usr/local/jails/${JAIL}/usr JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` echo "Updating: ${JAIL}" jexec ${JAIL_ID} mergemaster -scvi mv /usr/local/jails/${JAIL}/usr/src /usr done .. to update/merge with jail-specific config data, imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1qZ3IACgkQQv9rrgRC1JLqugCcCRUttSFubQnc6IJtgjR6wcjr xioAoKllN6juSk1A7hHso7/AXP8mMZ9p =tkVj -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 15:13:08 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B63A106566B; Sun, 27 Feb 2011 15:13:08 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C34758FC0A; Sun, 27 Feb 2011 15:13:07 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id E6AB56154; Sun, 27 Feb 2011 10:13:06 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1298819587; bh=/BSKcVc/1dF02GOOC0NSvMvOSDUKjVuIfB2B4kyJyzI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ml+iaKOL3kCVr/nahBk/FejVijMscHDsLBRGstOvHTO6KKlOc0MTCGu+GsK71+WG1 4gMrTdU4PEEK1/8GUHAKkcsU2XQko4pRdWWJo3JFOYQn2FWLBGly7K/FWYjTtGe DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=XmOPYBGUhWt8YwRTnElSYgO3ueDGEaW3HWNbqwCJZ+LUET27DC3moJA68/Kdg/2sL 6/+xSDvqcjlN85rk9FcimO9kqADkIksGK6Go/Nv8+LN1tZuFxERI4Dh6dasEI84 Message-ID: <4D6A6A01.4090104@protected-networks.net> Date: Sun, 27 Feb 2011 10:13:05 -0500 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110116 Thunderbird/3.1.7 MIME-Version: 1.0 To: Dan Naumov References: <4D6A6774.70108@protected-networks.net> In-Reply-To: <4D6A6774.70108@protected-networks.net> X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 15:13:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Apologies .. correcting myself here .. > .. to update the binaries after a full update of the host system and > something like .. > > #!/bin/sh > for JAIL in {list-your-jails-here} > do > mv /usr/src /usr/local/jails/${JAIL}/usr > JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` > echo "Updating: ${JAIL}" > jexec ${JAIL_ID} mergemaster -scvi > mv /usr/local/jails/${JAIL}/usr/src /usr > done This should, of course, be .. #!/bin/sh rmdir /usr/local/jails/basejail/usr/src mv /usr/src /usr/local/jails/basejail/usr/src for JAIL in {list-your-jails-here} do JAIL_ID=`jls | grep $JAIL | awk '{ print $1 };'` echo "Updating: ${JAIL}" jexec ${JAIL_ID} mergemaster -scvi done mv /usr/local/jails/basejail/usr/src /usr mkdir /usr/local/jails/basejail/usr/src imb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk1qagEACgkQQv9rrgRC1JJVdwCfWeTcTSheVvMDFDLMfZj/56he ZUcAoLwiSObA6UmCmALfiFK/tJaVyj8+ =1pnX -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:10:54 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0491065672 for ; Sun, 27 Feb 2011 16:10:54 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 25E4F8FC08 for ; Sun, 27 Feb 2011 16:10:53 +0000 (UTC) Received: by wwb31 with SMTP id 31so4088561wwb.31 for ; Sun, 27 Feb 2011 08:10:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=EblthtykP6jLpM0LRU3YJ6pYra7/l/pzc1rXzo06OfY=; b=QG0qKLbp6RdAh1Ay5WZqh93Tn4BDLev6MeZ3K5LKT5LaMLn5Qcwczra1lZXD+NdV0p B/l5VJMji+bEWwtw/QBKEdUxFPrCPPa7669sfCiBNti6v4ULOYcVX8MadhqhQK36fjCP fXuCMN2ZGUwFJWYPgf4BW0uy0MpN/QUk7AEQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=s7JyJsBBnnXmmTidToJfPJux8n1yU8K9MgFVScKQuGyBDekq0Md8pb91AFC7PzWos7 8AwDSL3pNv8HCQGNss4I1HSHOUxO1IwFWxFde2r3Nb7aW9HpmWbhPe8H0p0TkN9oo/YP TMkCUnPvsNs4iZGoh2rAxK2QF7ETtO6p8CHcA= MIME-Version: 1.0 Received: by 10.227.137.197 with SMTP id x5mr4066228wbt.199.1298823053141; Sun, 27 Feb 2011 08:10:53 -0800 (PST) Received: by 10.227.137.203 with HTTP; Sun, 27 Feb 2011 08:10:53 -0800 (PST) In-Reply-To: <7067C20FC67DC094A9561818@utd71538.local> References: <7067C20FC67DC094A9561818@utd71538.local> Date: Sun, 27 Feb 2011 08:10:53 -0800 Message-ID: From: Nerius Landys To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 16:10:54 -0000 My upgrades were a success. I upgraded 3 machines: 1. 7.1 -> 7.4 2. 8.0 -> 8.1 3. 7.1 -> 7.3 -> 7.4 I don't use STABLE, but rather e.g. RELENG_7_4 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:16:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DF0F1065679 for ; Sun, 27 Feb 2011 16:16:47 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 6863F8FC1B for ; Sun, 27 Feb 2011 16:16:47 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta10.emeryville.ca.mail.comcast.net with comcast id D3uy1g0031eYJf8AA4Gnd1; Sun, 27 Feb 2011 16:16:47 +0000 Received: from localhost ([67.180.204.190]) by omta19.emeryville.ca.mail.comcast.net with comcast id D4Gk1g00R46zqiB014Glpk; Sun, 27 Feb 2011 16:16:46 +0000 Date: Sun, 27 Feb 2011 08:16:44 -0800 From: Rem P Roberti To: FreeBSD Message-ID: <20110227161644.GA70750@bsd.remdog.net> Mail-Followup-To: FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Webkit-gtk2 upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 16:16:47 -0000 When I attempt to upgrade Webkit-gtk2 the upgrade chokes with this message: CC WebKit/gtk/tests/Programs_unittests_testwebview-test_utils.o CCLD Programs/unittests/testwebview CC WebKit/gtk/tests/Programs_unittests_testkeyevents-testkeyevents.o CCLD Programs/unittests/testkeyevents cp ./WebKit/gtk/JSCore-1.0.gir ./ GEN WebKit-1.0.gir /usr/local/share/gir-1.0/Soup-2.4.gir: Incompatible version 1.0 (supported: 1.2) gmake[1]: *** [WebKit-1.0.gir] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/www/webkit-gtk2/work/webkit-1.2.7' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/www/webkit-gtk2. The problem seem to be this incompatible version of /usr/local/share/gir-1.0. I'd like a heads up on how I can bring this up to the supported 1.2 version. Thanks... Rem From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 16:53:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA9421065670 for ; Sun, 27 Feb 2011 16:53:39 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out4.iinet.net.au (outbound.icp-qv1-irony-out4.iinet.net.au [203.59.1.104]) by mx1.freebsd.org (Postfix) with ESMTP id 580ED8FC12 for ; Sun, 27 Feb 2011 16:53:38 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACIKak18lLUR/2dsb2JhbACmQnS5DYVhBI9PJg X-IronPort-AV: E=Sophos;i="4.62,234,1297008000"; d="scan'208";a="636983658" Received: from unknown (HELO smtp.phoenix) ([124.148.181.17]) by outbound.icp-qv1-irony-out4.iinet.net.au with ESMTP; 28 Feb 2011 00:25:47 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6F3DD17164; Mon, 28 Feb 2011 03:25:47 +1100 (EST) Date: Mon, 28 Feb 2011 03:25:47 +1100 From: andrew clarke To: Neil Long Message-ID: <20110227162547.GA58054@ozzmosis.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update housekeeping? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 16:53:39 -0000 On Fri 2011-02-25 17:26:52 UTC+0000, Neil Long (neil@cymru.com) wrote: > Just noticed how large /var/db/freebsd-update has grown on a box I > just upgraded from 7.3 to 7.4 (but I can't recall when I started > using it). > > Is there a recommended approach or just rm the directory if I have > no need to roll it back? Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as my /var is "only" 1 GB and was running low on free space. Doing this should be no different to a fresh install where this directory is initially empty anyway. Of course if you're still wary you could make a tarball backup of that directory somewhere else before emptying it out. IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't exist, so you may need to mkdir it after using rm -rf. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 20:36:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9562106566C for ; Sun, 27 Feb 2011 20:36:59 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F0FA8FC13 for ; Sun, 27 Feb 2011 20:36:59 +0000 (UTC) Received: by pzk32 with SMTP id 32so666103pzk.13 for ; Sun, 27 Feb 2011 12:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=calGEs5SXHTsgSJC/JNu0/+/QoizlTt0CoFd+6PTgy0=; b=rtf+WWV8Yx+glALp/+QOxEUn4wKMHYM5BAbmfaoYHEkCveACkj4g96boOZoowqb99E 108OfnMs+BeIv6eNyuCD9EwlaDnl3Nv2L5ZxFqpDg+LQ61rug+RfAEuzokfMjBgdbElv uT+LRPT+yPpoetwJkALsuDjjeDlfWneYjL1SA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eVewYatbW/x6ERYhFrRC1W2bM/pGlc+aXpeXzu94HdPY1llnVou49NSMTMFa3jXBzD kyDIZ3VyLADuNq4A+VvettkrBEjKH62iHdyWZxUGM7NXq2trYayheqc1rf/oBKzUAJTY M2VSBD8sFWKuGmzjkmLOfL9n9EZQ+QKfg092M= MIME-Version: 1.0 Received: by 10.142.172.13 with SMTP id u13mr3698720wfe.361.1298839019065; Sun, 27 Feb 2011 12:36:59 -0800 (PST) Received: by 10.142.116.7 with HTTP; Sun, 27 Feb 2011 12:36:58 -0800 (PST) Date: Sun, 27 Feb 2011 15:36:58 -0500 Message-ID: From: Scott Ballantyne To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 20:36:59 -0000 Hi, Doing a source upgrade from 8.1->8.2, all went well up to the installworld step: Reboot into single user mode: mount -u ./ zfs mount -a cd /usr/src make installworld It goes fine up to this point: (copying by hand) ===>sys/boot/i386/zfsloader (install) cp zfsloader.sym zfsloader.bin cp:No such file or directory *** Error code 1 Stop in /usr/src/sys/boot/i386/zfsloader *** Error code 1 Stop in /usr/src/sys/boot/i386 Any suggestions would be *very* appreciated! Thanks, Scott -- boyvalue@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 20:46:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB3C5106566C for ; Sun, 27 Feb 2011 20:46:06 +0000 (UTC) (envelope-from cyber366@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD418FC13 for ; Sun, 27 Feb 2011 20:46:06 +0000 (UTC) Received: by qyk27 with SMTP id 27so2662574qyk.13 for ; Sun, 27 Feb 2011 12:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=JsA75rf5ZzeLC2ny5LDKY7L/zW+tHDDQsmIdImGv93k=; b=ipkTDmUxj86BwkkAwPOhCboN38CPD8MfseP0w05MAD1FIjkjPgcJ3Rhh8WIREVPNIG 2M83aswHHn/2lGTYJMu0aJYzLXR76zy+59cnoxzGv8aBFRPJC5P4O3yL227OBkLncZyK ygpfH27tB8r6hjt1o5B3usEmGGAV8po6ObMGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=axAcVm2S+0LeOdVbmz8zaJmgGGrnqqXz0H04VT3PdoR6CLNYjSVN94A28AlALawujG pMwWQ9O5roWCRE2Tmf64OtxghYJvhliXCZK1/3ngIHJ4hQ212D76RtRDXWlNdSKK7Dv4 WpBfH0nKw+SIe770C8F6cI3o3Kq+A7A3XDuC0= Received: by 10.224.33.14 with SMTP id f14mr1783592qad.270.1298839565711; Sun, 27 Feb 2011 12:46:05 -0800 (PST) Received: from [192.168.1.100] (c-66-31-125-134.hsd1.ma.comcast.net [66.31.125.134]) by mx.google.com with ESMTPS id g32sm2564524qck.22.2011.02.27.12.46.05 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Feb 2011 12:46:05 -0800 (PST) From: David Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 27 Feb 2011 15:46:03 -0500 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 20:46:07 -0000 Hello All: I am curious... does anyone know of a reasonably priced commodity server = capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE = network interfaces? Any ideas on how hard this would be to do with = FreeBSD? I know of a proprietary linux-based system, but looking for open-source = FreeBSD based system. Thanks, David. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:04:53 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB7D1065672 for ; Sun, 27 Feb 2011 21:04:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2C68FC18 for ; Sun, 27 Feb 2011 21:04:52 +0000 (UTC) Received: by fxm19 with SMTP id 19so3598332fxm.13 for ; Sun, 27 Feb 2011 13:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jbM7FwvzOzDGRfD3w2lChEONoPBjEzb54GEhCMZULjo=; b=TDdnuGllZjlwgSVm7mnsuqDMpoC515dnZzmTGaarsG/MSdPEcQsAi58OOXnW0wcsH3 AIn1Rm/PY8XliZWfXw0gpZq2SJZHgFB7dopsUNCiY96g1rvLsjZVyAQXpp8/mVX1ZZlG SS5WTM6QhZEeHtGc2dXSGkG39tnqYcr3fKtVo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=NfSHpvMRTGxeovBoTlXsl4COpj2quiZeYIglvtW1wrTnvKA4BK9QipYWATz4BAkpq7 5nnFI3me2wLZyNbjQmwrXfuZB2DEkf3Aa3Uk+zXVkMU2Tl5eIXz8M/P1+GaZ/U2jfebr PzqbuQj5W6myCpuvZRM9VHenGXFFig+I3voNw= MIME-Version: 1.0 Received: by 10.223.70.136 with SMTP id d8mr5654793faj.3.1298840691638; Sun, 27 Feb 2011 13:04:51 -0800 (PST) Received: by 10.223.94.67 with HTTP; Sun, 27 Feb 2011 13:04:51 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 15:04:51 -0600 Message-ID: From: Adam Vande More To: Scott Ballantyne Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:04:53 -0000 On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: > > ===>sys/boot/i386/zfsloader (install) > > cp zfsloader.sym zfsloader.bin > cp:No such file or directory > *** Error code 1 > Stop in /usr/src/sys/boot/i386/zfsloader > *** Error code 1 > > Stop in /usr/src/sys/boot/i386 > > Any suggestions would be *very* appreciated! > > Thanks, > Scott > You can follow the intructions for building the loader which I believe are in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:29:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 772921065675 for ; Sun, 27 Feb 2011 21:29:22 +0000 (UTC) (envelope-from boyvalue@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 495C58FC0A for ; Sun, 27 Feb 2011 21:29:22 +0000 (UTC) Received: by pvg11 with SMTP id 11so671348pvg.13 for ; Sun, 27 Feb 2011 13:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=x5RNbYSVZzpJdfjHIhbVFZ0FCk8pLjM/SvLhBHkEb74=; b=njXvaQ2Nb4vuiE0Ka1IOkrEz8pzGDzDxgVZxFqz/RRWAkRDs6Di2uFKGj3gZpvrkkR D/Tcw+7WN/E1pwY32hqYXKJYsNZtzAlwXki8z4C3odH4PB3iGmWeJdhobZzu6EwXK7Qt cO5dLAbKdxyWJVs+WYZKgv/o0Y4OE8jDulGH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EyA+eOv/1bXJOv9AnnJ/+H3rtSsRJIpeMNMkNJtlUpa9pwW0MUOdQWhsJF2g6BhCii tkbRxabfCy4Nts8LYb5Rm1NHd3hbgISr70oWR6ZtqcJxLMTHzN7B2nlQv5vtCHlD3/J1 Cremb9RY4TcyRzXK7LoIao9+El7cN/oqqgJ3I= MIME-Version: 1.0 Received: by 10.142.172.13 with SMTP id u13mr3732341wfe.361.1298842161957; Sun, 27 Feb 2011 13:29:21 -0800 (PST) Received: by 10.142.116.7 with HTTP; Sun, 27 Feb 2011 13:29:21 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 16:29:21 -0500 Message-ID: From: Scott Ballantyne To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:29:22 -0000 On Sun, Feb 27, 2011 at 4:04 PM, Adam Vande More wrote: > On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: > >> >> ===>sys/boot/i386/zfsloader (install) >> >> cp zfsloader.sym zfsloader.bin >> cp:No such file or directory >> *** Error code 1 >> Stop in /usr/src/sys/boot/i386/zfsloader >> *** Error code 1 >> >> Stop in /usr/src/sys/boot/i386 >> >> Any suggestions would be *very* appreciated! >> >> Thanks, >> Scott >> > > You can follow the intructions for building the loader which I believe are > in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. > > Thanks Adam, but it still comes to a screaming stop with that set. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:37:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99BFA1065673 for ; Sun, 27 Feb 2011 21:37:17 +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 6EE258FC16 for ; Sun, 27 Feb 2011 21:37:17 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p1RLhr0J027801; Sun, 27 Feb 2011 15:43:53 -0600 (CST) Date: Sun, 27 Feb 2011 15:43:53 -0600 (CST) From: Robert Bonomi Message-Id: <201102272143.p1RLhr0J027801@mail.r-bonomi.com> To: cyber366@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:37:17 -0000 > From owner-freebsd-questions@freebsd.org Sun Feb 27 14:54:09 2011 > From: David > Date: Sun, 27 Feb 2011 15:46:03 -0500 > To: freebsd-questions@freebsd.org > Subject: FreeBSD Performance > > Hello All: > > I am curious... does anyone know of a reasonably priced commodity server > capable of sourcing/sinking 10 Gbps of data from/to disk via 2 x 10 GE > network interfaces? Any ideas on how hard this would be to do with > FreeBSD? > > I know of a proprietary linux-based system, but looking for open-source > FreeBSD based system. A lot depends on what you need to do with the data. Do you need just the 'contents' of the network packets -- i.e. are you trying to send/recieve a single stream of data -- or do you need complete headers, augmented with timestamps, such that you can re- construct/replay what was 'seen on the wire'? Is the box 'dedicated' to receiving (or sending), and does -nothing-else- while that operation is in process? or do you need to sample the data in real-time as well? Another question is _how_long_ you need to handle the 2x10gbit/sec of data. a few seconds? a few tens of seconds? minutes? hours? If you need to 'go to disk' in real-time, you're looking at needing at least 3-4 gigabyte/sec of bandwith to disk. No commodity drives provide that kind of capacity, so you're looking at multiple drives 'in parallel' -- the logical equivalent of a 'striped' RAID array. Probably 12-16 spindles paralleled. Best handled with _hardware_ raid, directly in the disk controller, but I don't know of a commodity controller that supports enough spindles to give that bandwidth. This means one is best off doing it in the application softwre itself, rather than trusting the O/S to get it right. You're also looking at a _big_ disk array. Around 200 gigs for ONE MINUTE of data. Need 'only' an hour? That's merely 12 terabytes. The O/S is -relatively- unimportant. You need _good_ network cards, with good drivers -- preferably ones where most of the network stack can be off-loaded onto the card itself. You also need good disk controllers, ideally semi-autonomous (like SCSI), with fairly large data buffers. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 21:40:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A441F106566B for ; Sun, 27 Feb 2011 21:40:24 +0000 (UTC) (envelope-from 839273@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5E88D8FC13 for ; Sun, 27 Feb 2011 21:40:24 +0000 (UTC) Received: by yie12 with SMTP id 12so514202yie.13 for ; Sun, 27 Feb 2011 13:40:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=1fuZk/ykjFKLA0QHSEBYT6MFg1xa3Vtviv64fk+uKnY=; b=CKLDtnxYSqGJuRK/tS39D2AqxaFcsOvUF0XZxuCXZOBNteAONMdF+uh0NkThPMZk38 rAo87PhhOxnNtO7G4/bX8VcYIpSK7fzHWb3CTYE7aBarea8YD5SfoD52WVFHbwUz2oVh 8aeEw/fUJlOIyj/OUp6e5bETnhYYvei7JwFP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=X96JOPcUvKQA42JGcDvpVXCZ1GxhmLmus573ClGT3KmL3MSF+sKjZFzfO61zYUjikv ONCRbP06I9CGtsJHjXzu11QFesnrJjGQc6uGnUWTcpAb/KiQN1lJMPh4z7SVG48aoDDr wcJ1J3tYYCzv8iIS21RrQCVFId1bzC3EB3+zM= MIME-Version: 1.0 Received: by 10.150.196.6 with SMTP id t6mr6222830ybf.366.1298842823730; Sun, 27 Feb 2011 13:40:23 -0800 (PST) Sender: 839273@gmail.com Received: by 10.150.215.21 with HTTP; Sun, 27 Feb 2011 13:40:23 -0800 (PST) In-Reply-To: <20110205200638.7939.qmail@dusk.parklogic.com> References: <20110205200638.7939.qmail@dusk.parklogic.com> Date: Sun, 27 Feb 2011 17:10:23 -0430 X-Google-Sender-Auth: EZfCQhQfoY2oWwJhrCtBrD5ijY4 Message-ID: From: Andres Perera To: Jarrod Slick Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: qmail or postfix? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 839273@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 21:40:24 -0000 Dear Sir/Madam, Your email was unable reach the intended person that you were sending it to. For more information on our business please click on the following link: Click here for our website We look forward to your continued business in the future. Regards, Webmaster From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 01:04:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C10EA1065670 for ; Mon, 28 Feb 2011 01:04:00 +0000 (UTC) (envelope-from dedrick@vbnm.net) Received: from euclid.vbnm.net (euclid.vbnm.net [64.191.143.10]) by mx1.freebsd.org (Postfix) with ESMTP id 771748FC0A for ; Mon, 28 Feb 2011 01:04:00 +0000 (UTC) Received: from euclid.vbnm.net (localhost [127.0.0.1]) by euclid.vbnm.net (8.14.4/8.14.2) with ESMTP id p1S0UeoC004879 for ; Sun, 27 Feb 2011 19:30:40 -0500 (EST) (envelope-from dedrick@vbnm.net) Received: (from dedrick@localhost) by euclid.vbnm.net (8.14.4/8.14.2/Submit) id p1S0Uerx004878 for freebsd-questions@freebsd.org; Sun, 27 Feb 2011 19:30:40 -0500 (EST) (envelope-from dedrick@vbnm.net) X-Authentication-Warning: euclid.vbnm.net: dedrick set sender to dedrick@vbnm.net using -f Received: by euclid.vbnm.net (tmda-sendmail, from uid 1001); Sun, 27 Feb 2011 19:30:40 -0500 Date: Sun, 27 Feb 2011 19:30:38 -0500 To: freebsd-questions@freebsd.org Message-ID: <20110228003038.GA4842@vbnm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Eric Dedrick Subject: gcc45 wrong debug info? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 01:04:00 -0000 Wondering if anyone has encountered this problem where gdb/gcc doesn't seem to be getting the line number info right. I compiled code in as ---------------------------------------------------------------------- gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE -DFREEBSD -c interreflect3d.c -o x86-debug/objects/interreflections/interreflect3d.o gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE -DFREEBSD interreflect_driver.c x86-debug/objects/interreflections/interreflect3d.o -o x86-debug/bin/interreflect_driver -I./ -Ix86-debug/include -Ix86-debug/../external/include -Lx86-debug/../external/lib -llapack -lf77blas -lcblas -latlas -lgfortran ---------------------------------------------------------------------- and then I go to debug. I seem to stop in my function ok, locals and such seem ok, gdb seems to handle OK, except the line number information is wrong: #0 0x000000000040467b in reconstruction_prune (r=0x7fffffffe420, intensity_threshold_min=1, intensity_threshold_max=999999, jump_discontinuity_threshold=100, clustersize=5) at interreflect3d.c:296 #1 0x00000000004013ef in main (argc=26, argv=0x7fffffffe620) at interreflect_driver.c:103 For #0, the correct line is 1108, not 296. #1 is correct. This incorrect line number info is giving me grief while I'm trying to step through my code. Anyone have a hunch what's going on here? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 01:06:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2381F1065672 for ; Mon, 28 Feb 2011 01:06:20 +0000 (UTC) (envelope-from bluethundr@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DC7C98FC18 for ; Mon, 28 Feb 2011 01:06:19 +0000 (UTC) Received: by iwn33 with SMTP id 33so3029336iwn.13 for ; Sun, 27 Feb 2011 17:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=RKE5W+XsCQl23T/tKa22e428Vncfd/GKrtF8L+AHPMg=; b=tpRga0cxWjlK+Os9DJmZbzI+WTzGwC4zPGq+kcCeWsxELsRtsXwUeT2RQLxl5EkMuM XwonoM69CbrIgCVzQk1jgzovBF5LBpeOvp4hcRNk3e9dPGkXUQ5NQC64LswFMh166bfO CIrbIlbbmvY06RmIV+jAqUjDhbD+JLOwewHR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=equOYqkjAza80jyQlPnO7DMe2hvXf3b0AcVvjal7knNYXnl/fsZ4/L1IrzhkNsuMio MbeNPjXcFzpC0lSDMuBM0aj3CNbyLtWkNbFFT0M4jO3MKXlAi5+Ozb8t9ba/QVTBS/o6 /pM5K03a51GZrMjW7y3TgpgMDoTPRcuFRUfE0= MIME-Version: 1.0 Received: by 10.42.171.136 with SMTP id j8mr4124350icz.520.1298855179144; Sun, 27 Feb 2011 17:06:19 -0800 (PST) Received: by 10.42.219.199 with HTTP; Sun, 27 Feb 2011 17:06:19 -0800 (PST) In-Reply-To: References: Date: Sun, 27 Feb 2011 20:06:19 -0500 Message-ID: From: Tim Dunphy To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 01:06:20 -0000 Hello Krad and thank you for your reply! Well it seems that I am still unable to login to this machine using an LDAP account. I have tried applying the configurations you have provided and the result doesn't seem to have changed just yet. Here is my /usr/local/etc/ldap.conf file uri ldap://LBSD2.summitnjhome.com base dc=3Dsummitnjhome,dc=3Dcom sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom bindpw secret scope sub ssl start tls tls_cacert /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.crt pam_login_attribute uid bind_timelimit 1 timelimit 1 bind_policy soft pam_password exop nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom nss_base_group dc=3Dsummitnjhome,dc=3Dcom nss_base_sudo dc=3Dsummitnjhome,dc=3Dcom nss_initgroups_ignoreusers root,slapd #ls -l /usr/local/etc/nss_ldap.conf lrwxr-xr-x 1 root wheel 24 Feb 28 00:10 /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf #cat /usr/local/etc/nsswitch.conf # # nsswitch.conf(5) - name service switch configuration file # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # passwd: cache files ldap [notfound=3Dreturn] passwd_compat: files ldap group: cache files ldap [notfound =3D return] group_compat: nis sudoers: ldap hosts: files dns networks: files shells: files services: compat services_compat: nis protocols: files rpc: files Here is my slapd.conf file: # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/openldap.schema include /usr/local/etc/openldap/schema/sudo.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/misc.schema include /usr/local/etc/openldap/schema/openssh-lpk_openldap.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org loglevel 296 pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args ## TLS options for slapd TLSCipherSuite HIGH:MEDIUM:+SSLv2 TLSCertificateFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.cr= t TLSCertificateKeyFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.= key TLSCACertificateFile /usr/local/etc/openldap/certs/gd_bundle.crt # Load dynamic backend modules: modulepath /usr/local/libexec/openldap moduleload back_bdb # moduleload back_hdb # moduleload back_ldap # Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=3D1 update_ssf=3D112 simple_bind=3D64 # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: # access to dn.base=3D"" by * read access to * by read access to attrs=3DuserPassword by self write by anonymous auth access to * by self write by dn.children=3D"ou=3Dsummitnjops,ou=3Dstaff,dc=3Dsummitnjhome= ,dc=3Dcom" write by users read by anonymous auth access to * by self write by users read by anonymous auth # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING! ####################################################################### # BDB database definitions ####################################################################### database bdb suffix "dc=3Dsummitnjhome,dc=3Dcom" rootdn "cn=3DManager,dc=3Dsummitnjhome,dc=3Dcom" rootpw {SSHA}secret # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/db/summitnjhome.com # Indices to maintain index objectClass,uid,uidNumber eq index sudoUser eq these are the packages I have installed nss_ldap-1.265_4 RFC 2307 NSS module openldap-sasl-client-2.4.23 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.23 Open source LDAP server implementation pam_ldap-1.8.5 A pam module for authenticating with LDAP And this is what happens in the ldap logs after making those changes: Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001))" Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH attr=3Duid userPassword uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: OR Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 first=3D106 last=3D137 Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first=3D106 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D106 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first= =3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D0 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 first= =3D1 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 first=3D1 last=3D0 Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SEARCH RESULT tag=3D101 err=3D0 nentries=3D0 text=3D Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on: Feb 26 19:58:43 LBSD2 slapd[54891]: 425r Feb 26 19:58:43 LBSD2 slapd[54891]: Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: read activity on 425 Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: AND Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 active_threads=3D0 tvp=3DNULL Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter_list Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter_list Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 This is what's going on in the secure logs: Feb 27 19:02:05 LCENT01 su: pam_unix(su-l:session): session opened for user root by bluethundr(uid=3D10001) And this is my /etc/pam.d/sshd file: # # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1.4.1 2010/06/14 02:09:06 kensmith Exp $ # # PAM configuration for the "sshd" service # # auth auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_ldap.so #auth required pam_unix.so no_warn try_first_pass # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_ldap.so #account required pam_unix.so # session #session optional pam_ssh.so session sufficient pam_ldap.so session required pam_permit.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_ldap.so #password required pam_unix.so no_warn try_first_pass I really appreciate your input Krad and I appreciate any advice anyone may = have thanks tim On Sun, Feb 27, 2011 at 6:10 AM, krad wrote: > On 27 February 2011 11:05, krad wrote: >> On 26 February 2011 20:01, Tim Dunphy wrote: >>> Hey list, >>> >>> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >>> nsswitch file because I thought they might be helpful in dispensing >>> advice as to what is going on: >>> >>> uri ldap://LBSD2.summitnjhome.com >>> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >>> bindpw secret >>> scope sub >>> pam_password exop >>> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >>> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >>> >>> >>> # nsswitch.conf(5) - name service switch configuration file >>> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >>> kensmith Exp $ >>> # >>> passwd: files ldap >>> passwd_compat: files ldap >>> group: files ldap >>> group_compat: nis >>> sudoers: ldap >>> hosts: files dns >>> networks: files >>> shells: files >>> services: compat >>> services_compat: nis >>> protocols: files >>> rpc: files >>> >>> >>> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wrot= e: >>>> Hello List!! >>>> >>>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>>> authenticates a network of (mostly virtual) centos 5.5 machines. >>>> >>>> =A0But at the moment I am attempting to setup pam authentication for s= sh >>>> via LDAP and having some difficulty. >>>> >>>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>>> >>>> # PAM configuration for the "sshd" service >>>> # >>>> >>>> # auth >>>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so = =A0 =A0 =A0 no_warn allow_local >>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0= =A0 =A0 =A0 =A0no_warn try_first_pass >>>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>> >>>> # account >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>>> >>>> # session >>>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>>> >>>> # password >>>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>> >>>> >>>> And if I'm reading the logs correctly LDAP is searching for and >>>> finding the account information when I am making the login attempt: >>>> >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>>> ))" >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>>> description objectCla >>>> ss >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D2= 6 >>>> first=3D106 last=3D137 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>>> first=3D106 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D106 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 f= irst=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D0 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 f= irst=3D1 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 >>>> first=3D1 last=3D0 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RES= ULT >>>> tag=3D101 err=3D0 nentries=3D0 text=3D >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>>> error=3D-2 id=3D34715, closing. >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>>> conn=3D34715 sd=3D212 for close >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>> active_threads=3D0 tvp=3DNULL >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (conn= ection lost) >>>> >>>> >>>> But logins fail every time. Could someone offer an opinion as to what >>>> may be going on to prevent logging in via pam/sshd and LDAP? >>>> >>>> Thanks in advance! >>>> Tim >>>> >>>> -- >>>> GPG me!! >>>> >>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>> >>> >>> >>> >>> -- >>> GPG me!! >>> >>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>> _______________________________________________ >>> 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" >>> >> >> >> >> these are my files and are from a working setup >> >> # cat /usr/local/etc/ldap.conf >> # >> # LDAP Defaults >> # >> >> # See ldap.conf(5) for details >> # This file should be world readable but not world writable. >> >> BASE =A0 =A0dc=3DXXX,dc=3Dnet >> URI =A0 =A0 ldap://XXX.net >> >> #SIZELIMIT =A0 =A0 =A012 >> #TIMELIMIT =A0 =A0 =A015 >> #DEREF =A0 =A0 =A0 =A0 =A0never >> >> ssl start_tls >> tls_cacert /usr/local/etc/openldap/ssl/cert.crt >> >> pam_login_attribute uid >> >> sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet >> bind_timelimit 1 >> timelimit 1 >> bind_policy soft >> >> nss_initgroups_ignoreusers root,slapd,krad >> >> >> # ls -l /usr/local/etc/nss_ldap.conf >> lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 >> /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf >> >> # nsswitch.conf >> >> >> group: cache files ldap [notfound=3Dreturn] >> passwd: cache files ldap [notfound=3Dreturn] >> >> these packages are installs >> >> nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module >> openldap-client-2.4.23 Open source LDAP client implementation >> openldap-server-2.4.23 Open source LDAP server implementation >> pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP >> > > and my slapd.conf > > security ssf=3D128 > > TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt > TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key > TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sche= ma > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema > #include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/ldapns.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/samba.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema > logfile /var/log/slapd.log > loglevel stats > pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid > argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args > modulepath =A0 =A0 =A0/usr/local/libexec/openldap > moduleload =A0 =A0 =A0back_bdb > database =A0 =A0 =A0 =A0bdb > directory =A0 =A0 =A0 /var/db/openldap-data > #index uid pres,eq > index cn,sn,uid pres,eq,sub > index objectClass eq > #index sudoUser > suffix =A0"dc=3DXXX,dc=3Dnet" > rootdn =A0"cn=3Dkrad,dc=3DXXX,dc=3Dnet" > rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa > access to attrs=3DuserPassword > =A0 =A0 =A0 =A0 =A0 =A0by self write > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write > =A0 =A0 =A0 =A0 =A0 =A0by * none > access to * > =A0 =A0 =A0 =A0 =A0 =A0by self write > =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write > =A0 =A0 =A0 =A0 =A0 =A0by * read > --=20 GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 02:36:56 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE0CC1065670 for ; Mon, 28 Feb 2011 02:36:56 +0000 (UTC) (envelope-from dedrick@vbnm.net) Received: from euclid.vbnm.net (euclid.vbnm.net [64.191.143.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD598FC08 for ; Mon, 28 Feb 2011 02:36:56 +0000 (UTC) Received: from euclid.vbnm.net (localhost [127.0.0.1]) by euclid.vbnm.net (8.14.4/8.14.2) with ESMTP id p1S2asI1012505 for ; Sun, 27 Feb 2011 21:36:54 -0500 (EST) (envelope-from dedrick@vbnm.net) Received: (from dedrick@localhost) by euclid.vbnm.net (8.14.4/8.14.2/Submit) id p1S2asoK012504 for freebsd-questions@freebsd.org; Sun, 27 Feb 2011 21:36:54 -0500 (EST) (envelope-from dedrick@vbnm.net) X-Authentication-Warning: euclid.vbnm.net: dedrick set sender to dedrick@vbnm.net using -f Received: by euclid.vbnm.net (tmda-sendmail, from uid 1001); Sun, 27 Feb 2011 21:36:54 -0500 Date: Sun, 27 Feb 2011 21:36:54 -0500 To: freebsd-questions@freebsd.org Message-ID: <20110228023654.GA12469@vbnm.net> References: <20110228003038.GA4842@vbnm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110228003038.GA4842@vbnm.net> User-Agent: Mutt/1.4.2.3i X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Eric Dedrick Subject: Re: gcc45 wrong debug info? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 02:36:56 -0000 Hmm. When I compile with -gstabs -ggdb, at least addr2line and gdb can at least see the correct line info. The info below is correct except I don't know what's up with the argc thing. Ideas? Thanks. ---------------------------------------------------------------------- Breakpoint 1, main (argc=Cannot access memory at address 0x8000ffffe41c ) at interreflect_driver.c:9 (gdb) info breakpoints Num Type Disp Enb Address What 1 breakpoint keep y 0x0000000000400fed in main at interreflect_driver.c:9 breakpoint already hit 1 time 2 breakpoint keep y 0x00000000004013bb in main at interreflect_driver.c:103 3 breakpoint keep y 0x0000000000401cd3 in reconstruction_load_points at interreflect3d.c:296 4 breakpoint keep y 0x0000000000404419 in reconstruction_prune at interreflect3d.c:1107 ---------------------------------------------------------------------- On Sun, Feb 27, 2011 at 07:30:38PM -0500, Eric Dedrick wrote: > Wondering if anyone has encountered this problem where gdb/gcc doesn't > seem to be getting the line number info right. > > I compiled code in as > ---------------------------------------------------------------------- > gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE > -DFREEBSD -c interreflect3d.c > -o x86-debug/objects/interreflections/interreflect3d.o > > gcc45 -g -W -Wall -O0 -std=c99 -D_BSD_SOURCE -DDEBUG -D__BSD_VISIBLE > -DFREEBSD interreflect_driver.c > x86-debug/objects/interreflections/interreflect3d.o > -o x86-debug/bin/interreflect_driver > -I./ > -Ix86-debug/include > -Ix86-debug/../external/include > -Lx86-debug/../external/lib > -llapack -lf77blas -lcblas -latlas -lgfortran > ---------------------------------------------------------------------- > > and then I go to debug. I seem to stop in my function ok, locals and > such seem ok, gdb seems to handle OK, except the line number > information is wrong: > > #0 0x000000000040467b in reconstruction_prune (r=0x7fffffffe420, > intensity_threshold_min=1, > intensity_threshold_max=999999, jump_discontinuity_threshold=100, > clustersize=5) > at interreflect3d.c:296 > #1 0x00000000004013ef in main (argc=26, argv=0x7fffffffe620) at > interreflect_driver.c:103 > > For #0, the correct line is 1108, not 296. #1 is correct. > > This incorrect line number info is giving me grief while I'm trying to > step through my code. > > Anyone have a hunch what's going on here? > > Thanks. > From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 04:35:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BD12106566B for ; Mon, 28 Feb 2011 04:35:16 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from web130209.mail.mud.yahoo.com (web130209.mail.mud.yahoo.com [66.94.238.145]) by mx1.freebsd.org (Postfix) with SMTP id 4B2F48FC0C for ; Mon, 28 Feb 2011 04:35:16 +0000 (UTC) Received: (qmail 62971 invoked by uid 60001); 28 Feb 2011 04:35:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298867715; bh=LTynkqcEzqPNUR0Cr+n6HPfUmlfnAL1i3ykltQkEGdc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JkBf4hXlhtdMaZcwd1VrjYlrkgGCMph71uLo7Ngdt2B/bEuEimZCEX0M9khKIwnaipdCpPQ0zan6+Zt5tzrFj7/F84qrrsogcystZGs8otiIjg7uqd7QCf5ZKbSWzd2NqoPqq6CBNm7nqcuBgq/43k8n6/IQHS9C5207Pa1dNmc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KWTW2SZ2vGwgmoP2KWKrPfRpOxDQLUdxq/eZbIeBH+9ISg4J7Z5uNxxSbKr5JbQZp4IMxBkpIy6htTHEavQu0V7V0WQzYP1xmEg/HizhnCCDbFGDgFJNSEjv5pYyxHmZjLKR+P7PBjkEI+1HhAC7lcdIpDTovUEaZ6DMAzbJ13A=; Message-ID: <526798.48718.qm@web130209.mail.mud.yahoo.com> X-YMail-OSG: 2yEDITYVM1ldb6axEdKnAXC67AKhaiZHg_N4sOXj8ZgRdf2 sg6uUwDIJfSSxlZPUlasnAJ9L9mXEvXq1ftsR.U75R5M7ScbD.DxMlaU9Jrm nmKf6oo9nE1Vj22fjUAwm_UWZyxS8T0jkuJs2_4vedY5JBUbUvbWOD.liF1d v0FOTEbLmnOYYBw1v7jE55ayI8MdlRPGLnxDH3beKYGLm5RFGnu8_QQg9xz_ wSVDJSR16zpVZpAlmeQQDim4SFoqOnpaMY52wR0dehiJ77UJr5kdJIhtHypc mSj09qAnZTQJlWQreTXoQgZx3u.1U9Q7GYMvsy2oczKBHXO97UsBdp_YE7zM xyldMEg-- Received: from [173.71.213.12] by web130209.mail.mud.yahoo.com via HTTP; Sun, 27 Feb 2011 20:35:15 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.109.292656 Date: Sun, 27 Feb 2011 20:35:15 -0800 (PST) From: gahn To: "illoai@gmail.com" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd general questions Subject: Re: usb portable drive (ntfs) issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 04:35:16 -0000 thanks.=0A=0Aok, that was my mistake for that "mdntfs". it should be "ntfs"= .=0A=0Abest=0A=0A--- On Sat, 2/26/11, illoai@gmail.com w= rote:=0A=0A> From: illoai@gmail.com =0A> Subject: Re: usb= portable drive (ntfs) issues=0A> To: "gahn" =0A> Cc: "f= reebsd general questions" =0A> Date: Saturda= y, February 26, 2011, 11:00 PM=0A> On 26 February 2011 22:23, gahn=0A> =0A> wrote:=0A> > hi all gurus:=0A> >=0A> > for usb external= drive, i followed the handbook:=0A> >=0A> > http://www.freebsd.org/doc/en_= US.ISO8859-1/books/handbook/usb-disks.html=0A> >=0A> > but i have some prob= lems for mounting a portable usb=0A> external drive:=0A> >=0A> > 1) when i = plugged in, /dev/da0s1 appears:=0A> >=0A> > ip@hotty:/var/log:$ ls -al /dev= /da0s1=0A> > crw-r----- =A01 root =A0operator =A0 =A00, 108 Feb 26=0A> 22:0= 5 /dev/da0s1=0A> >=0A> > but i can't mount it:=0A> >=0A> > hotty# mount -t = =A0mdntfs /dev/da0s1 /mnt/mlu=0A> > mount: /dev/da0s1 : Operation not suppo= rted by device=0A> >=0A> =0A> I am wholly unfamiliar with mdntfs, so I'll a= ssume you=0A> meant to type ntfs.=A0 In any case, you probably have=0A> to= =0A> mount it read-only (unless you install=0A> sysutils/fusefs-ntfs)=0A> a= s FreeBSD does not support writing to ntfs by default.=0A> =0A> Fat32 is st= ill the only viable solution for (nearly) full=0A> portability.=0A> =0A> --= =0A> --=0A> =0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 05:00:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F9E1065672 for ; Mon, 28 Feb 2011 05:00:26 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 19DE78FC12 for ; Mon, 28 Feb 2011 05:00:25 +0000 (UTC) Received: by vws16 with SMTP id 16so3280740vws.13 for ; Sun, 27 Feb 2011 21:00:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.164.168 with SMTP id yr8mr8229357vdb.16.1298869223559; Sun, 27 Feb 2011 21:00:23 -0800 (PST) Received: by 10.52.166.193 with HTTP; Sun, 27 Feb 2011 21:00:23 -0800 (PST) In-Reply-To: References: <20110227002604.92530@gmx.com> Date: Mon, 28 Feb 2011 05:00:23 +0000 Message-ID: From: Gautham Ganapathy To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Daniel Staal , Slawomir Wojtczak Subject: Re: ROOT on ZFS with MBR partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 05:00:26 -0000 On Sun, Feb 27, 2011 at 12:45 AM, Daniel Staal wrote: > --As of February 27, 2011 12:26:04 AM +0000, Slawomir Wojtczak is alleged= to > have said: > >> ... but none of them seems to work, after installation it hangs at boot >> like that: http://ompldr.org/vN2tscQ > > --As for the rest, it is mine. > > Hmm. =A0Interesting. =A0I'm having the same result when trying the 'root = on ZFS, > boot from UFS' guide here: > > > Anything interesting happening during your install? =A0I have an error la= te in > the process (During 'Step 3.1') with this command: > Fixit# mv boot bootdir/ > > It gives me an error saying that /bin/cp can't found/executed. =A0(I've b= een > trying to work around using `bin/cp -pRP boot bootdir/`. =A0Note the lack= of > the leading slash.) > > I had tried several of the other installs from > successfully, but I don't think I'd > tried the MBR install. > > Daniel T. Staal > I had the same problem. Today, I tried using the PCBSD dvd to install FreeBSD on ZFS (with /boot on UFS). It kept giving errors just before completion. However, some comments I found while googling about that problem mentioned that the installation seemed to have completed, which seems to be the case. Both FreeBSD and FreeDOS are now installed on the same drive (in a VM, I'll try this on real h/w next). Still not sure what caused the error during installation though. Regards Gautham Ganapathy From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 08:23:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 228FA1065676 for ; Mon, 28 Feb 2011 08:23:28 +0000 (UTC) (envelope-from leprasko@yahoo.com) Received: from nm28.bullet.mail.ne1.yahoo.com (nm28.bullet.mail.ne1.yahoo.com [98.138.90.91]) by mx1.freebsd.org (Postfix) with SMTP id BADDA8FC19 for ; Mon, 28 Feb 2011 08:23:27 +0000 (UTC) Received: from [98.138.90.57] by nm28.bullet.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 Received: from [98.138.89.163] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 Received: from [127.0.0.1] by omp1019.mail.ne1.yahoo.com with NNFMP; 28 Feb 2011 08:09:58 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 507985.92243.bm@omp1019.mail.ne1.yahoo.com Received: (qmail 78112 invoked by uid 60001); 28 Feb 2011 08:09:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298880598; bh=VPBbxfQGd4XSrOlZ/45VzdRODmjKQlTKaIgH8jWlbQw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=lr1j4dOOq2PtSO4XbhNnXjYlme6DCkaktYGyT53TvnF81/KJ4SmJtqMLAw3BfbmLUc+VxA8qiYPHDIxLgeeUqwFTMEbkxWNI74sXibKzsgmsVJQGDFwzvIYKF9fskYzgIj+OjbwAks16/3WYcImqOkQ/Vasxcw9IiRtAadu3NJU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=5j8/E2/kCvnkM7tJhwlCdTdRvnVhIu+N5FDjLcDfuWqlKZGj+wnc27FsMfN40IbTc0SgGLoBVMAl2DdCxNHKhYTYGJSWNzkPo1lldwKshmQWqWutXwlNvGckvB59zbSKddmem+PM9DYnHh+fxw/0BuNcE+OoHpSUWC1Q7oqHpqQ=; Message-ID: <410789.77875.qm@web120601.mail.ne1.yahoo.com> X-YMail-OSG: HR_k4YAVM1n_LqhK5riatuhFI6fFSBzLf52TiUNNX7URXOg 8PpOyzB1Dy1pqpH9VW3L8s7j0eUXWEs5UgmKYBH55qkVJpPchRjjGVmI5Sew NHCE4a21Y7tM_.imvKu5DIgsewAzWQiuHlARnPxUqp8lk4td4UaazSLOVP7R AQnzY15Aljf0QhKqABG.QwHoOwdj9oJwRJk.LAW5tzOMTeS8fZCsaFo3ZcFQ jmWabKNwZPPbAoDeK_uqgHW.A2RShpoD7mO5x.krBo9b8G6xo8g-- Received: from [194.44.21.226] by web120601.mail.ne1.yahoo.com via HTTP; Mon, 28 Feb 2011 00:09:58 PST X-Mailer: YahooMailRC/555 YahooMailWebService/0.8.109.292656 Date: Mon, 28 Feb 2011 00:09:58 -0800 (PST) From: Lep Names To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: server drop network connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 08:23:28 -0000 Hello. I have so strange trouble: every week my server drop all network connections - ssh,ping etc. But it continue working. tech support can access it over kvm. after reboot everything works fine for a week. it seems to me that it's trouble in mbufs. FreeBSD 8.1-RELEASE-p2 sysctl.conf: security.bsd.see_other_uids=0 kern.ipc.somaxconn=2048 net.inet.icmp.drop_redirect=1 #net.inet.icmp.log_redirect=1 net.inet.tcp.blackhole=2 net.inet.tcp.drop_synfin=1 net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=65536 net.inet.udp.recvspace=32768 kern.fallback_elf_brand=-1 net.inet.ip.maxfragpackets=1024 kern.sync_on_panic=1 vfs.ufs.dirhash_maxmem=100000000 kern.polling.burst_max=1000 kern.polling.each_burst=1000 kern.polling.reg_frac=100 kern.polling.user_frac=1 kern.maxvnodes=256000 net.inet.ip.intr_queue_maxlen=256 #dev.em.0.rx_processing_limit=1000 #dev.em.1.rx_processing_limit=1000 net.inet.tcp.recvbuf_auto=0 net.inet.tcp.sendbuf_auto=0 net.inet.tcp.tso=0 net.isr.direct=1 net.route.netisr_maxqlen=1024 #net.inet.flowtable.nmbflows=8192 kern.ipc.nmbclusters=65536 net.inet.ip.portrange.first=1024 net.inet.ip.portrange.hifirst=1024 net.inet.tcp.hostcache.expire=1200 net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.finwait2_timeout=3000 net.inet.tcp.keepinit=5000 net.inet.tcp.nolocaltimewait=1 net.inet.tcp.maxtcptw=65536 net.inet.tcp.msl=3000 kern.coredump=1 kern.random.sys.harvest.interrupt=0 kern.random.sys.harvest.ethernet=0 net.inet.udp.blackhole=1 netstat -m 868/1052/1920 mbufs in use (current/cache/total) 715/923/1638/65536 mbuf clusters in use (current/cache/total/max) 709/443 mbuf+clusters out of packet secondary zone in use (current/cache) 0/35/35/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 1647K/2249K/3896K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 139/313/6656 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 4031 requests for I/O initiated by sendfile 0 calls to protocol drain routines it seems to me that i must enlarge 1920 value, but i do not know how. Thanks From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 09:00:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48E60106566C for ; Mon, 28 Feb 2011 09:00:13 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id B60A78FC13 for ; Mon, 28 Feb 2011 09:00:12 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ptyxe-0002Nr-GL for freebsd-questions@freebsd.org; Mon, 28 Feb 2011 10:00:10 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 10:00:10 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Feb 2011 10:00:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Mon, 28 Feb 2011 04:02:25 -0500 Lines: 115 Message-ID: References: <410789.77875.qm@web120601.mail.ne1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: server drop network connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 09:00:13 -0000 Lep Names wrote: > Hello. I have so strange trouble: every week my server drop all > network > connections - ssh,ping etc. But it continue working. tech support can > access it over kvm. > after reboot everything works fine for a week. it seems to me that it's > trouble in mbufs. > > FreeBSD 8.1-RELEASE-p2 > > sysctl.conf: > security.bsd.see_other_uids=0 > kern.ipc.somaxconn=2048 > net.inet.icmp.drop_redirect=1 > #net.inet.icmp.log_redirect=1 > net.inet.tcp.blackhole=2 > net.inet.tcp.drop_synfin=1 > net.inet.tcp.sendspace=131072 > net.inet.tcp.recvspace=65536 > net.inet.udp.recvspace=32768 > kern.fallback_elf_brand=-1 > net.inet.ip.maxfragpackets=1024 > kern.sync_on_panic=1 > vfs.ufs.dirhash_maxmem=100000000 > kern.polling.burst_max=1000 > kern.polling.each_burst=1000 > kern.polling.reg_frac=100 > kern.polling.user_frac=1 > kern.maxvnodes=256000 > net.inet.ip.intr_queue_maxlen=256 > #dev.em.0.rx_processing_limit=1000 > #dev.em.1.rx_processing_limit=1000 > net.inet.tcp.recvbuf_auto=0 > net.inet.tcp.sendbuf_auto=0 > net.inet.tcp.tso=0 > net.isr.direct=1 > net.route.netisr_maxqlen=1024 > #net.inet.flowtable.nmbflows=8192 > kern.ipc.nmbclusters=65536 > net.inet.ip.portrange.first=1024 > net.inet.ip.portrange.hifirst=1024 > net.inet.tcp.hostcache.expire=1200 > net.inet.tcp.fast_finwait2_recycle=1 > net.inet.tcp.finwait2_timeout=3000 > net.inet.tcp.keepinit=5000 > net.inet.tcp.nolocaltimewait=1 > net.inet.tcp.maxtcptw=65536 > net.inet.tcp.msl=3000 > kern.coredump=1 > kern.random.sys.harvest.interrupt=0 > kern.random.sys.harvest.ethernet=0 > net.inet.udp.blackhole=1 > > netstat -m > 868/1052/1920 mbufs in use (current/cache/total) > 715/923/1638/65536 mbuf clusters in use (current/cache/total/max) > 709/443 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/35/35/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) 0/0/0/6400 9k jumbo clusters in use > (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use > (current/cache/total/max) 1647K/2249K/3896K bytes allocated to network > (current/cache/total) 0/0/0 requests for mbufs denied > (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied > (4k/9k/16k) 139/313/6656 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 4031 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > it seems to me that i must enlarge 1920 value, but i do not know how. > Thanks You may wish to try adding (or changing) these to /etc/sysctl.conf and reboot: kern.ipc.nmbclusters=32768 kern.ipc.somaxconn=4096 kern.ipc.shmmax=67108864 kern.ipc.shmall=32768 kern.ipc.maxsockbuf=4194304 I see your nmbclusters is already larger than mine. I don't remember the exact relationship right off the top of my head (it's in the docs), but there is a ratio releationship between nmbclusters and some of the other parameters. IIRC increasing nmbclusters means increasing these others in proportion as well. And possibly consider these maybe too: net.inet.tcp.recvbuf_max=16777216 net.inet.tcp.recvspace=131072 net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.sendspace=131072 If these kinds of changes only make it so the problem continues to surface, but at a different time interval, you might want to search the lists (- stable and -current, as well as bug tracker) for similar troubles experienced by others. I believe I have seen a couple of reports which sound similar to what you're describing. If you locate such, pay particular attention to the specific hardware NIC and driver combination. If it is exactly the same as yours and a patch has been created which resolves the problem check and see if it has been MFC'd to -stable. In such a case (where you have _exactly_ the same problem) a possible solution is to then upgrade your box to -stable. I don't necessarily recommend blindly 'trying' -stable just to see what happens on a production box - it is possible to create new problems as a result. But if there exists a fix for exactly the problem that's where you'll likely find it. -Mike From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 10:31:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A211106564A for ; Mon, 28 Feb 2011 10:31:57 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 76A5B8FC12 for ; Mon, 28 Feb 2011 10:31:56 +0000 (UTC) Received: by wwb31 with SMTP id 31so4742766wwb.31 for ; Mon, 28 Feb 2011 02:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/DLqw9afE+IyCtNifTEEV3G6SxoF/A1846pvg/gZ/xg=; b=VNBLi8WU5hY4hNsBwELdt1f1rzEnEOvQqAqmp+Zw29e8EH7TE1xhWXialTzv/nUM0y o09vsh88Id6gXZRXcarI/OvAEJZ+jdSXjZtaAKoZWLbbp0C/9C13EIGJU62Q5BS+Mkoz 0+FanCevQjW1tQSuB/lkNM0zSOPFBnnS87gBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MLnsr5/jnAB5kDOIb7Ujrh7pX+O0EVBpHJu/bNYURBIAn80KbA7jaqOEPe1c56OMbn 1MC3aXjAg+SYrYhJZAmCydXPWa6BplM+JjRBdPPArjPPg3cVUpmlHdXLGSReaqcAYH2m 0OOF6unI+yoOCdZce6t6EhTnW+fF7sXTOwg9s= MIME-Version: 1.0 Received: by 10.216.162.84 with SMTP id x62mr4385957wek.106.1298889115026; Mon, 28 Feb 2011 02:31:55 -0800 (PST) Received: by 10.216.80.147 with HTTP; Mon, 28 Feb 2011 02:31:54 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Feb 2011 10:31:54 +0000 Message-ID: From: krad To: Tim Dunphy Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions Subject: Re: pam ssh authentication via ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 10:31:57 -0000 On 28 February 2011 01:06, Tim Dunphy wrote: > Hello Krad and thank you for your reply! > > > Well it seems that I am still unable to login to this machine using an > LDAP account. I have tried applying the configurations you have > provided and the result doesn't seem to have changed just yet. > > =A0Here is my /usr/local/etc/ldap.conf file > > > uri ldap://LBSD2.summitnjhome.com > base dc=3Dsummitnjhome,dc=3Dcom > sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom > binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom > bindpw secret > scope sub > ssl start tls > tls_cacert /usr/local/etc/openldap/certs/LBSD2.summitnjhome.com.crt > pam_login_attribute uid > bind_timelimit 1 > timelimit 1 > bind_policy soft > pam_password exop > nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom > nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom > nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom > nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom > nss_initgroups_ignoreusers root,slapd > > > > =A0#ls -l /usr/local/etc/nss_ldap.conf > lrwxr-xr-x =A01 root =A0wheel =A024 Feb 28 00:10 > /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf > > > #cat /usr/local/etc/nsswitch.conf > # > # nsswitch.conf(5) - name service switch configuration file > # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 > kensmith Exp $ > # > passwd: cache files ldap [notfound=3Dreturn] > passwd_compat: files ldap > group: cache files ldap [notfound =3D return] > group_compat: nis > sudoers: ldap > hosts: files dns > networks: files > shells: files > services: compat > services_compat: nis > protocols: files > rpc: files > > Here is my slapd.conf file: > > > # > # See slapd.conf(5) for details on configuration options. > # This file should NOT be world readable. > # > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sche= ma > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/openldap.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/misc.schema > include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/openssh-lpk_openld= ap.schema > # Define global ACLs to disable default read access. > > # Do not enable referrals until AFTER you have a working directory > # service AND an understanding of referrals. > #referral =A0 =A0 =A0 ldap://root.openldap.org > > loglevel =A0 =A0 =A0 =A0296 > pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid > argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args > > ## TLS options for slapd > TLSCipherSuite HIGH:MEDIUM:+SSLv2 > TLSCertificateFile =A0/usr/local/etc/openldap/certs/LBSD2.summitnjhome.co= m.crt > TLSCertificateKeyFile /usr/local/etc/openldap/certs/LBSD2.summitnjhome.co= m.key > TLSCACertificateFile /usr/local/etc/openldap/certs/gd_bundle.crt > > # Load dynamic backend modules: > modulepath =A0 =A0 =A0/usr/local/libexec/openldap > moduleload =A0 =A0 =A0back_bdb > # moduleload =A0 =A0back_hdb > # moduleload =A0 =A0back_ldap > > # Sample security restrictions > # =A0 =A0 =A0 Require integrity protection (prevent hijacking) > # =A0 =A0 =A0 Require 112-bit (3DES or better) encryption for updates > # =A0 =A0 =A0 Require 63-bit encryption for simple bind > # security ssf=3D1 update_ssf=3D112 simple_bind=3D64 > > # Sample access control policy: > # =A0 =A0 =A0 Root DSE: allow anyone to read it > # =A0 =A0 =A0 Subschema (sub)entry DSE: allow anyone to read it > # =A0 =A0 =A0 Other DSEs: > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow self write access > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow authenticated users read access > # =A0 =A0 =A0 =A0 =A0 =A0 =A0 Allow anonymous users to authenticate > # =A0 =A0 =A0 Directives needed to implement policy: > # access to dn.base=3D"" by * read > access to * > =A0 =A0 =A0 =A0 =A0by read > > access to attrs=3DuserPassword by self write > =A0 =A0 =A0 =A0 =A0by anonymous auth > > access to * by self write > =A0 =A0 =A0 =A0 =A0 =A0by dn.children=3D"ou=3Dsummitnjops,ou=3Dstaff,dc= =3Dsummitnjhome,dc=3Dcom" > write > =A0 =A0 =A0 =A0 =A0 =A0by users read > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > > access to * by self write > =A0 =A0 =A0 =A0 =A0 =A0by users read > =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth > # > # if no access controls are present, the default policy > # allows anyone and everyone to read anything but restricts > # updates to rootdn. =A0(e.g., "access to * by * read") > # > # rootdn can always read and write EVERYTHING! > > ####################################################################### > # BDB database definitions > ####################################################################### > > database =A0 =A0 =A0 =A0bdb > suffix =A0 =A0 =A0 =A0 =A0"dc=3Dsummitnjhome,dc=3Dcom" > rootdn =A0 =A0 =A0 =A0 =A0"cn=3DManager,dc=3Dsummitnjhome,dc=3Dcom" > rootpw =A0 =A0 =A0 =A0 =A0{SSHA}secret > > # Cleartext passwords, especially for the rootdn, should > # be avoid. =A0See slappasswd(8) and slapd.conf(5) for details. > # Use of strong authentication encouraged. > # The database directory MUST exist prior to running slapd AND > # should only be accessible by the slapd and slap tools. > # Mode 700 recommended. > directory =A0 =A0 =A0 /var/db/summitnjhome.com > # Indices to maintain > index =A0 objectClass,uid,uidNumber =A0 =A0 =A0 eq > index =A0 sudoUser =A0 =A0 =A0 =A0eq > > > these are the packages I have installed > > > nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module > openldap-sasl-client-2.4.23 Open source LDAP client implementation > with SASL2 support > openldap-sasl-server-2.4.23 Open source LDAP server implementation > pam_ldap-1.8.5 =A0 =A0 =A0A pam module for authenticating with LDAP > > > And this is what happens in the ldap logs after making those changes: > > > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH > base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 > filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001))" > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SRCH attr=3Duid > userPassword uidNumber gidNumber cn homeDirectory loginShell gecos > description objectClass > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 AND > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 OR > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 AND > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D26 > first=3D106 last=3D137 > Feb 26 19:58:43 LBSD2 slapd[54891]: =3D> bdb_filter_candidates > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0 =A0 EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 > first=3D106 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D106 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 firs= t=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D0 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 firs= t=3D1 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D0 > first=3D1 last=3D0 > Feb 26 19:58:43 LBSD2 slapd[54891]: conn=3D34934 op=3D3 SEARCH RESULT > tag=3D101 err=3D0 nentries=3D0 text=3D > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on: > Feb 26 19:58:43 LBSD2 slapd[54891]: =A0425r > Feb 26 19:58:43 LBSD2 slapd[54891]: > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: read activity on 425 > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: AND > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: activity on 1 descriptor > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: waked > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D6 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: daemon: select: listen=3D7 > active_threads=3D0 tvp=3DNULL > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter_list > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > Feb 26 19:58:43 LBSD2 slapd[54891]: begin get_filter > Feb 26 19:58:43 LBSD2 slapd[54891]: EQUALITY > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter_list > Feb 26 19:58:43 LBSD2 slapd[54891]: end get_filter 0 > > This is what's going on in the secure logs: > > Feb 27 19:02:05 LCENT01 su: pam_unix(su-l:session): session opened for > user root by bluethundr(uid=3D10001) > > And this is my /etc/pam.d/sshd file: > > # > # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1.4.1 2010/06/14 02:09:06 > kensmith Exp $ > # > # PAM configuration for the "sshd" service > # > > # auth > auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn no_fake_prompts > auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so =A0 = =A0 =A0 no_warn allow_local > #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass > #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 =A0 = =A0 =A0 =A0 =A0no_warn try_first_pass > auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so > #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass > > # account > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so > #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so > account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so > #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so > > # session > #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so > session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so > session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so > > # password > #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 =A0 = =A0 =A0 no_warn try_first_pass > password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so > #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0 =A0= =A0 =A0 no_warn try_first_pass > > > I really appreciate your input Krad and I appreciate any advice anyone ma= y have > > thanks > tim > > > On Sun, Feb 27, 2011 at 6:10 AM, krad wrote: >> On 27 February 2011 11:05, krad wrote: >>> On 26 February 2011 20:01, Tim Dunphy wrote: >>>> Hey list, >>>> >>>> I just wanted to follow up with my /usr/local/etc/ldap.conf file and >>>> nsswitch file because I thought they might be helpful in dispensing >>>> advice as to what is going on: >>>> >>>> uri ldap://LBSD2.summitnjhome.com >>>> base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>>> sudoers_base ou=3Dstaff,ou=3DGroup,dc=3Dsummitnjhome,dc=3Dcom >>>> binddn cn=3Dpam_ldap,ou=3DServices,dc=3Dsummitnjhome,dc=3Dcom >>>> bindpw secret >>>> scope sub >>>> pam_password exop >>>> nss_base_passwd dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_shadow dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_group =A0dc=3Dsummitnjhome,dc=3Dcom >>>> nss_base_sudo =A0 dc=3Dsummitnjhome,dc=3Dcom >>>> >>>> >>>> # nsswitch.conf(5) - name service switch configuration file >>>> # $FreeBSD: src/etc/nsswitch.conf,v 1.1.10.1.2.1 2009/10/25 01:10:29 >>>> kensmith Exp $ >>>> # >>>> passwd: files ldap >>>> passwd_compat: files ldap >>>> group: files ldap >>>> group_compat: nis >>>> sudoers: ldap >>>> hosts: files dns >>>> networks: files >>>> shells: files >>>> services: compat >>>> services_compat: nis >>>> protocols: files >>>> rpc: files >>>> >>>> >>>> On Sat, Feb 26, 2011 at 2:55 PM, Tim Dunphy wro= te: >>>>> Hello List!! >>>>> >>>>> =A0I have an OpenLDAP 2.4 server functioning very nicely that >>>>> authenticates a network of (mostly virtual) centos 5.5 machines. >>>>> >>>>> =A0But at the moment I am attempting to setup pam authentication for = ssh >>>>> via LDAP and having some difficulty. >>>>> >>>>> =A0My /etc/pam.d/sshd file seems to be setup logically and correctly: >>>>> >>>>> # PAM configuration for the "sshd" service >>>>> # >>>>> >>>>> # auth >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0sufficient =A0 =A0 =A0pam_opie.so =A0 =A0= =A0 =A0 =A0 =A0 no_warn no_fake_prompts >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0requisite =A0 =A0 =A0 pam_opieaccess.so = =A0 =A0 =A0 no_warn allow_local >>>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 = =A0 =A0 =A0 =A0 no_warn try_first_pass >>>>> #auth =A0 =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ssh.so =A0 =A0 = =A0 =A0 =A0 =A0 =A0no_warn try_first_pass >>>>> auth =A0 =A0 =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #auth =A0 =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0= =A0 =A0 =A0 =A0 no_warn try_first_pass >>>>> >>>>> # account >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_nologin.so >>>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_krb5.so >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_login_access.so >>>>> account =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #account =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_unix.so >>>>> >>>>> # session >>>>> #session =A0 =A0 =A0 =A0optional =A0 =A0 =A0 =A0pam_ssh.so >>>>> session =A0 =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_ldap.so >>>>> session =A0 =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_permit.so >>>>> >>>>> # password >>>>> #password =A0 =A0 =A0 sufficient =A0 =A0 =A0pam_krb5.so =A0 =A0 =A0 = =A0 =A0 =A0 no_warn try_first_pass >>>>> password =A0 =A0 =A0 =A0required =A0 =A0 =A0 =A0pam_ldap.so >>>>> #password =A0 =A0 =A0 required =A0 =A0 =A0 =A0pam_unix.so =A0 =A0 =A0= =A0 =A0 =A0 no_warn try_first_pass >>>>> >>>>> >>>>> And if I'm reading the logs correctly LDAP is searching for and >>>>> finding the account information when I am making the login attempt: >>>>> >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH >>>>> base=3D"dc=3Dsummitnjhome,dc=3Dcom" scope=3D2 deref=3D0 >>>>> filter=3D"(&(objectClass=3DposixAccount)(uidNumber=3D1001 >>>>> ))" >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SRCH attr= =3Duid >>>>> userPassword uidNumber gidNumber cn homeDirectory loginShell gecos >>>>> description objectCla >>>>> ss >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 OR >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa1 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 AND >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_list_candidates 0xa0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 26 >>>>> first=3D106 last=3D137 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =3D> bdb_filter_candidates >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: =A0 =A0 EQUALITY >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 >>>>> first=3D106 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D106 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 = first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D0 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_list_candidates: id=3D0 = first=3D1 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: <=3D bdb_filter_candidates: id=3D= 0 >>>>> first=3D1 last=3D0 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D21358 op=3D22122 SEARCH RE= SULT >>>>> tag=3D101 err=3D0 nentries=3D0 text=3D >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on: >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: read activity on 212 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_read(212): input >>>>> error=3D-2 id=3D34715, closing. >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: connection_closing: readying >>>>> conn=3D34715 sd=3D212 for close >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: activity on 1 descriptor >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: waked >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D6 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: select: listen=3D7 >>>>> active_threads=3D0 tvp=3DNULL >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: daemon: removing 212 >>>>> Feb 26 19:52:54 LBSD2 slapd[54891]: conn=3D34715 fd=3D212 closed (con= nection lost) >>>>> >>>>> >>>>> But logins fail every time. Could someone offer an opinion as to what >>>>> may be going on to prevent logging in via pam/sshd and LDAP? >>>>> >>>>> Thanks in advance! >>>>> Tim >>>>> >>>>> -- >>>>> GPG me!! >>>>> >>>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>>> >>>> >>>> >>>> >>>> -- >>>> GPG me!! >>>> >>>> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org" >>>> >>> >>> >>> >>> these are my files and are from a working setup >>> >>> # cat /usr/local/etc/ldap.conf >>> # >>> # LDAP Defaults >>> # >>> >>> # See ldap.conf(5) for details >>> # This file should be world readable but not world writable. >>> >>> BASE =A0 =A0dc=3DXXX,dc=3Dnet >>> URI =A0 =A0 ldap://XXX.net >>> >>> #SIZELIMIT =A0 =A0 =A012 >>> #TIMELIMIT =A0 =A0 =A015 >>> #DEREF =A0 =A0 =A0 =A0 =A0never >>> >>> ssl start_tls >>> tls_cacert /usr/local/etc/openldap/ssl/cert.crt >>> >>> pam_login_attribute uid >>> >>> sudoers_base =A0 ou=3Dsudoers,ou=3Dservices,dc=3DXXX,dc=3Dnet >>> bind_timelimit 1 >>> timelimit 1 >>> bind_policy soft >>> >>> nss_initgroups_ignoreusers root,slapd,krad >>> >>> >>> # ls -l /usr/local/etc/nss_ldap.conf >>> lrwxr-xr-x =A01 root =A0wheel =A024 Jan 16 22:31 >>> /usr/local/etc/nss_ldap.conf -> /usr/local/etc/ldap.conf >>> >>> # nsswitch.conf >>> >>> >>> group: cache files ldap [notfound=3Dreturn] >>> passwd: cache files ldap [notfound=3Dreturn] >>> >>> these packages are installs >>> >>> nss_ldap-1.265_4 =A0 =A0RFC 2307 NSS module >>> openldap-client-2.4.23 Open source LDAP client implementation >>> openldap-server-2.4.23 Open source LDAP server implementation >>> pam_ldap-1.8.6 =A0 =A0 =A0A pam module for authenticating with LDAP >>> >> >> and my slapd.conf >> >> security ssf=3D128 >> >> TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt >> TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key >> TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/core.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/cosine.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/inetorgperson.sch= ema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/nis.schema >> #include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/ldapns.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/samba.schema >> include =A0 =A0 =A0 =A0 /usr/local/etc/openldap/schema/sudo.schema >> logfile /var/log/slapd.log >> loglevel stats >> pidfile =A0 =A0 =A0 =A0 /var/run/openldap/slapd.pid >> argsfile =A0 =A0 =A0 =A0/var/run/openldap/slapd.args >> modulepath =A0 =A0 =A0/usr/local/libexec/openldap >> moduleload =A0 =A0 =A0back_bdb >> database =A0 =A0 =A0 =A0bdb >> directory =A0 =A0 =A0 /var/db/openldap-data >> #index uid pres,eq >> index cn,sn,uid pres,eq,sub >> index objectClass eq >> #index sudoUser >> suffix =A0"dc=3DXXX,dc=3Dnet" >> rootdn =A0"cn=3Dkrad,dc=3DXXX,dc=3Dnet" >> rootpw {SSHA}FmcgJBodertOwCvnvZOo+mUAnXjrgUQa >> access to attrs=3DuserPassword >> =A0 =A0 =A0 =A0 =A0 =A0by self write >> =A0 =A0 =A0 =A0 =A0 =A0by anonymous auth >> =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write >> =A0 =A0 =A0 =A0 =A0 =A0by * none >> access to * >> =A0 =A0 =A0 =A0 =A0 =A0by self write >> =A0 =A0 =A0 =A0 =A0 =A0by dn.base=3D"cn=3Dkrad,dc=3DXXX,dc=3Dnet" write >> =A0 =A0 =A0 =A0 =A0 =A0by * read >> > > > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > _______________________________________________ > 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" > haha sorry i completely forgot about the pam files, here is mine. You definitely need to be explicit with the path of the ldap module [root@carrera /home/krad]# cat /etc/pam.d/sshd # # $FreeBSD: src/etc/pam.d/sshd,v 1.16.10.1 2009/08/03 08:13:06 kensmith Exp= $ # # PAM configuration for the "sshd" service # # auth auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail auth sufficient pam_opie.so no_warn no_fake_prompts auth requisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass #auth sufficient /usr/local/lib/pam_ldap.so no_warn try_first_pass ignore_authinfo_unavail # account account required pam_nologin.so #account required pam_krb5.so account required pam_login_access.so account required pam_unix.so account required /usr/local/lib/pam_ldap.so no_warn ignore_authinfo_unavail ignore_unknown_user # session #session optional pam_ssh.so session required pam_permit.so session required /usr/local/lib/pam_mkhomedir.so # password #password sufficient pam_krb5.so no_warn try_first_pass password required pam_unix.so no_warn try_first_pass From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 10:39:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACF7E106566B for ; Mon, 28 Feb 2011 10:39:45 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 412AE8FC12 for ; Mon, 28 Feb 2011 10:39:44 +0000 (UTC) Received: by wyb32 with SMTP id 32so4139469wyb.13 for ; Mon, 28 Feb 2011 02:39:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AL2BbktEwcJ76qOq29Qx5k1hfwp3so8CmZWwySvzTFY=; b=P6wmERB+LM8DH4DLLQKypZX6KQvT91lMz4pdFJ+TDphilyUOIkqW3w2XkR3Ta/HD8u KCQMDqhC+cqAhMAQD7ZsmEDHC1CRzWWSYK2Y3JXGLWfl8GSce3Nz0uzwaWYl9y7HBaPv +T1xmDV3Ox0Am2Fr05OfO3L0Rd41JfJRlqFMs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DsReC+80wLZgnbVxvYFTNkYKZzwcoBvYYbJfc8zB9KpFpDi7dN9n/Z4qJFDq/oFqOO R7ayI4jQHzSkSsDxrN4P0xoxyrp21nHuwTx4BdPIZ1mGnQj43bDwpXiiLUV89FF2LxQn NyWOqFdkFs3J/Xz4+EJh7Yhy3s4zVyV/Jl+7I= MIME-Version: 1.0 Received: by 10.216.162.84 with SMTP id x62mr4392050wek.106.1298889584179; Mon, 28 Feb 2011 02:39:44 -0800 (PST) Received: by 10.216.80.147 with HTTP; Mon, 28 Feb 2011 02:39:44 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Feb 2011 10:39:44 +0000 Message-ID: From: krad To: Scott Ballantyne Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Problem upgrading from 8.1->8.2, ZFS as root filesystem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 10:39:45 -0000 On 27 February 2011 21:29, Scott Ballantyne wrote: > On Sun, Feb 27, 2011 at 4:04 PM, Adam Vande More wrote: > >> On Sun, Feb 27, 2011 at 2:36 PM, Scott Ballantyne wrote: >> >>> >>> ===>sys/boot/i386/zfsloader (install) >>> >>> cp zfsloader.sym zfsloader.bin >>> cp:No such file or directory >>> *** Error code 1 >>> Stop in /usr/src/sys/boot/i386/zfsloader >>> *** Error code 1 >>> >>> Stop in /usr/src/sys/boot/i386 >>> >>> Any suggestions would be *very* appreciated! >>> >>> Thanks, >>> Scott >>> >> >> You can follow the intructions for building the loader which I believe are >> in the wiki or set LOADER_ZFS_SUPPORT=YES in /etc/src.conf prior to upgrade. >> >> > Thanks Adam, but it still comes to a screaming stop with that set. > _______________________________________________ > 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" > mines in make.conf not src and it built fine From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 11:24:31 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29806106564A for ; Mon, 28 Feb 2011 11:24:31 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id F0DCD8FC18 for ; Mon, 28 Feb 2011 11:24:30 +0000 (UTC) Received: by pwj8 with SMTP id 8so876346pwj.13 for ; Mon, 28 Feb 2011 03:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YC4lAdssLO/TDNOGqmYY8bbfbWj+RjaW+A6cOuAKKb0=; b=PytKjaIin3erFKSSz9DraeQGOyJeg2fpEoVrF+asvmJHKW8Vi8zGuulcfurN0D6Lht ZfMceO23FgKUhhNmYCOGYMk6pCEdOM8riSYnKZYYV9tNBuU0nS46ezMnFsJxjyI32Nnf WZtJ/mtMpje4UJgw4k516H1/qo4h2IdDnk15g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Xqk5srA9Qlx9t6YHa+Pe7QMctPGxr0FXOr05TX2Yp7USjMeSpMedPXY++56SyTyAEn 1WCkbdy5TAwk4FRJMI4AcBSAi4MpJv3dQosfk+WHQA4ALCo8QcMnugF2bPJJ2i1kCGGF 6MOzSSWhJy4+u/lzhtRCs2hCq1Got+X/g0mYo= MIME-Version: 1.0 Received: by 10.142.9.9 with SMTP id 9mr3784456wfi.50.1298892270111; Mon, 28 Feb 2011 03:24:30 -0800 (PST) Received: by 10.142.50.16 with HTTP; Mon, 28 Feb 2011 03:24:30 -0800 (PST) In-Reply-To: <4D25ACE6.2010703@infracaninophile.co.uk> References: <4D25ACE6.2010703@infracaninophile.co.uk> Date: Mon, 28 Feb 2011 14:24:30 +0300 Message-ID: From: c0re To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 11:24:31 -0000 2011/1/6 Matthew Seaman : > On 06/01/2011 11:26, c0re wrote: >> # df -h >> Filesystem =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounted on >> /dev/ad0s1a =A0 =A0496M =A0 =A0466M =A0 -9.8M =A0 102% =A0 =A0/ >> >> So it's full. >> >> But by du it's not appeared to be full >> >> >> # du -hxd 1 / >> 2.0K =A0 =A0/.snap >> 512B =A0 =A0/dev >> 2.0K =A0 =A0/tmp >> 2.0K =A0 =A0/usr >> 2.0K =A0 =A0/var >> 1.9M =A0 =A0/etc >> 2.0K =A0 =A0/cdrom >> 2.0K =A0 =A0/dist >> 1.0M =A0 =A0/bin >> 131M =A0 =A0/boot >> =A010M =A0 =A0/lib >> 356K =A0 =A0/libexec >> 2.0K =A0 =A0/media >> =A012K =A0 =A0/mnt >> 2.0K =A0 =A0/proc >> 7.2M =A0 =A0/rescue >> 296K =A0 =A0/root >> 4.7M =A0 =A0/sbin >> 4.0K =A0 =A0/lost+found >> 157M =A0 =A0/ >> > > Do you have partitions mounted at /tmp, /usr, /var etc? =A0Does the outpu= t > of your du command change if you unmount those partitions? > (It might be an idea to boot into a livefs CD or DVD given that du(1) > lives in /usr/bin, so a bit tricky to unmount /usr and then run du) > > My guess is that you've at one time created files beneath what is > usually a mount point. =A0Mounting the partition over them makes those > files inaccessible, but they still take up space on the drive. > > =A0 =A0 =A0 =A0Cheers, > > =A0 =A0 =A0 =A0Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 Pri= ory Courtyard > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate > JID: matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT1= 1 9PW > > At last I found time to check it. Booted with frenzy life cd, mounted only / partition and saw trash /var/spool. Deleted it and it solved problem. But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root and just delete those files without need of livecd. It works in Linux. But in freebsd i got # mount /dev/da0s1a /mnt/root/ mount: /dev/da0s1a : Operation not permitted So only single user mode or live cd could solve it. Thanks Matthew for an idea! From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:11:46 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A211106566C for ; Mon, 28 Feb 2011 12:11:46 +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 B9A5F8FC0A for ; Mon, 28 Feb 2011 12:11:45 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p1SCIR87034416; Mon, 28 Feb 2011 06:18:27 -0600 (CST) Date: Mon, 28 Feb 2011 06:18:27 -0600 (CST) From: Robert Bonomi Message-Id: <201102281218.p1SCIR87034416@mail.r-bonomi.com> To: nr1c0re@gmail.com In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:11:46 -0000 > From owner-freebsd-questions@freebsd.org Mon Feb 28 05:31:46 2011 > Date: Mon, 28 Feb 2011 14:24:30 +0300 > From: c0re > To: Matthew Seaman > Cc: FreeBSD > Subject: Re: / file system is full, but du does not show that it's full > > 2011/1/6 Matthew Seaman : > > On 06/01/2011 11:26, c0re wrote: > >> # df -h > >> Filesystem Size Used Avail Capacity Mounted on > >> /dev/ad0s1a 496M 466M -9.8M 102% / > >> > >> So it's full. > >> > >> But by du it's not appeared to be full > >> > >> > >> # du -hxd 1 / > >> 2.0K /.snap > >> 512B /dev > >> 2.0K /tmp > >> 2.0K /usr > >> 2.0K /var > >> 1.9M /etc > >> 2.0K /cdrom > >> 2.0K /dist > >> 1.0M /bin > >> 131M /boot > >> 10M /lib > >> 356K /libexec > >> 2.0K /media > >> 12K /mnt > >> 2.0K /proc > >> 7.2M /rescue > >> 296K /root > >> 4.7M /sbin > >> 4.0K /lost+found > >> 157M / > >> > > > > Do you have partitions mounted at /tmp, /usr, /var etc? Does the > > output of your du command change if you unmount those partitions? (It > > might be an idea to boot into a livefs CD or DVD given that du(1) lives > > in /usr/bin, so a bit tricky to unmount /usr and then run du) > > > > My guess is that you've at one time created files beneath what is > > usually a mount point. Mounting the partition over them makes those > > files inaccessible, but they still take up space on the drive. > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > Flat 3 > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: > > matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > > > At last I found time to check it. Booted with frenzy life cd, mounted > only / partition and saw trash > /var/spool. Deleted it and it solved problem. > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > and just delete those files without need of livecd. It works in Linux. > But in freebsd i got > > # mount /dev/da0s1a /mnt/root/ > mount: /dev/da0s1a : Operation not permitted > > So only single user mode or live cd could solve it. *NOT* true. Stopping any daemons that were using "/var/spooll", and then umount(1)-ing it would have done the trick from multi-user mode. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:26:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F89B106564A for ; Mon, 28 Feb 2011 12:26:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E15698FC08 for ; Mon, 28 Feb 2011 12:26:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so4005421bwz.13 for ; Mon, 28 Feb 2011 04:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Jj/pHl9z7cjTraMPpL6mYjvveeWhBFyutqB6xhM/hFA=; b=j8zyNJH2au54d7IIBJhtWbhsH/QO1PRhqbJPPtW353G7W7MO3yiE2pe60WKvMdjuKX s4p6iXlW33FiHHWFtB3D3uBl9M/rO3TiWzDZV2Pja11pBistsrRUQGanv4w3UJzsUwQ2 aHYiSeY76mc6oh/sDofj5flU7zK16c9T8zXTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=gqXvXisRv2MDWIMcYfjUDXsAbFCuNECnKyUtn2i8MRVCma5hFWUrJHwuSxbzC2ePXt wOnl3gBgRZPyB+Ir+jK15IkjbVDtIXK6qK8MhmGKe0WWHL5c9fF52JtOQHA15suGqxqL fyoT/KZLs3MF6pmtkvhA7xLT29lLWWAdnLnUk= MIME-Version: 1.0 Received: by 10.204.75.142 with SMTP id y14mr4602376bkj.114.1298895974646; Mon, 28 Feb 2011 04:26:14 -0800 (PST) Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:26:14 -0800 (PST) Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:26:14 -0800 (PST) In-Reply-To: <201102281218.p1SCIR87034416@mail.r-bonomi.com> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> Date: Mon, 28 Feb 2011 12:26:14 +0000 Message-ID: From: Chris Rees To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, nr1c0re@gmail.com Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:26:17 -0000 On 28 Feb 2011 12:12, "Robert Bonomi" wrote: > > > From owner-freebsd-questions@freebsd.org Mon Feb 28 05:31:46 2011 > > Date: Mon, 28 Feb 2011 14:24:30 +0300 > > From: c0re > > To: Matthew Seaman > > Cc: FreeBSD > > Subject: Re: / file system is full, but du does not show that it's full > > > > 2011/1/6 Matthew Seaman : > > > On 06/01/2011 11:26, c0re wrote: > > >> # df -h > > >> Filesystem Size Used Avail Capacity Mounted on > > >> /dev/ad0s1a 496M 466M -9.8M 102% / > > >> > > >> So it's full. > > >> > > >> But by du it's not appeared to be full > > >> > > >> > > >> # du -hxd 1 / > > >> 2.0K /.snap > > >> 512B /dev > > >> 2.0K /tmp > > >> 2.0K /usr > > >> 2.0K /var > > >> 1.9M /etc > > >> 2.0K /cdrom > > >> 2.0K /dist > > >> 1.0M /bin > > >> 131M /boot > > >> 10M /lib > > >> 356K /libexec > > >> 2.0K /media > > >> 12K /mnt > > >> 2.0K /proc > > >> 7.2M /rescue > > >> 296K /root > > >> 4.7M /sbin > > >> 4.0K /lost+found > > >> 157M / > > >> > > > > > > Do you have partitions mounted at /tmp, /usr, /var etc? Does the > > > output of your du command change if you unmount those partitions? (It > > > might be an idea to boot into a livefs CD or DVD given that du(1) lives > > > in /usr/bin, so a bit tricky to unmount /usr and then run du) > > > > > > My guess is that you've at one time created files beneath what is > > > usually a mount point. Mounting the partition over them makes those > > > files inaccessible, but they still take up space on the drive. > > > > > > Cheers, > > > > > > Matthew > > > > > > -- > > > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > > Flat 3 > > > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: > > > matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > > > > > > > At last I found time to check it. Booted with frenzy life cd, mounted > > only / partition and saw trash > > /var/spool. Deleted it and it solved problem. > > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > > and just delete those files without need of livecd. It works in Linux. > > But in freebsd i got > > > > # mount /dev/da0s1a /mnt/root/ > > mount: /dev/da0s1a : Operation not permitted > > > > So only single user mode or live cd could solve it. > > *NOT* true. Stopping any daemons that were using "/var/spooll", and then > umount(1)-ing it would have done the trick from multi-user mode. > > > umount / ??? Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:28:01 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E10106564A for ; Mon, 28 Feb 2011 12:28:01 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF8088FC0A for ; Mon, 28 Feb 2011 12:28:00 +0000 (UTC) Received: by bwz12 with SMTP id 12so4006732bwz.13 for ; Mon, 28 Feb 2011 04:28:00 -0800 (PST) Received: by 10.204.157.21 with SMTP id z21mr1642709bkw.5.1298896078633; Mon, 28 Feb 2011 04:27:58 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id a17sm2489678bku.23.2011.02.28.04.27.57 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 04:27:57 -0800 (PST) Message-ID: <4D6B94CC.9060805@my.gd> Date: Mon, 28 Feb 2011 13:27:56 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D25ACE6.2010703@infracaninophile.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:28:01 -0000 On 2/28/11 12:24 PM, c0re wrote: > 2011/1/6 Matthew Seaman : >> On 06/01/2011 11:26, c0re wrote: >>> # df -h >>> Filesystem Size Used Avail Capacity Mounted on >>> /dev/ad0s1a 496M 466M -9.8M 102% / >>> >>> So it's full. >>> >>> But by du it's not appeared to be full >>> >>> >>> # du -hxd 1 / >>> 2.0K /.snap >>> 512B /dev >>> 2.0K /tmp >>> 2.0K /usr >>> 2.0K /var >>> 1.9M /etc >>> 2.0K /cdrom >>> 2.0K /dist >>> 1.0M /bin >>> 131M /boot >>> 10M /lib >>> 356K /libexec >>> 2.0K /media >>> 12K /mnt >>> 2.0K /proc >>> 7.2M /rescue >>> 296K /root >>> 4.7M /sbin >>> 4.0K /lost+found >>> 157M / >>> >> >> Do you have partitions mounted at /tmp, /usr, /var etc? Does the output >> of your du command change if you unmount those partitions? >> (It might be an idea to boot into a livefs CD or DVD given that du(1) >> lives in /usr/bin, so a bit tricky to unmount /usr and then run du) >> >> My guess is that you've at one time created files beneath what is >> usually a mount point. Mounting the partition over them makes those >> files inaccessible, but they still take up space on the drive. >> >> Cheers, >> >> Matthew >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> JID: matthew@infracaninophile.co.uk Kent, CT11 9PW >> >> > > At last I found time to check it. > Booted with frenzy life cd, mounted only / partition and saw trash > /var/spool. Deleted it and it solved problem. > But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root > and just delete those files without need of livecd. It works in Linux. > But in freebsd i got > > # mount /dev/da0s1a /mnt/root/ > mount: /dev/da0s1a : Operation not permitted > > So only single user mode or live cd could solve it. > > Thanks Matthew for an idea! You're not really trying to umount / on a running system are you ? From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:28:25 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FD62106567A for ; Mon, 28 Feb 2011 12:28:25 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D0CC8FC1B for ; Mon, 28 Feb 2011 12:28:24 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so4006732bwz.13 for ; Mon, 28 Feb 2011 04:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=DhG6RVsrr8CWGLQZ0Szr+JZVJXZnPWXg5fHSmH4Hwkw=; b=uZg5jfuvKEyh/UnkN3krwaPY4Cl1jhkvvap658kMiPQaI5CaqE7J2GSVRSeclQHxhA V/Q425xA2oUL/BxuL9/tBs7chc6/AKhUGlQ+qD1Pz8MkE0Hgv3yv3fS6GZZcz1EyT0Bk eHmxNkE4JDwwNZ1ephql5DT02tyubbFRQLESs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=Azfu9Kerv7GA/0l5U4ZEq/l6142SGu2xGqcwwDjrp+6ztRmns3UUwcRdFSySRMubqH H1+D7232hrZxNXX1bsSsdqbfUFmrAlnwqjE1ZDmW7UCk4l4jCvXE/+eQzArgwep8jVCE Yx8EFuj63ePbiMW0IqrTWyXJMH2SuW2IwbU7c= Received: by 10.204.75.142 with SMTP id y14mr4604740bkj.114.1298896104223; Mon, 28 Feb 2011 04:28:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:27:54 -0800 (PST) In-Reply-To: References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> From: Chris Rees Date: Mon, 28 Feb 2011 12:27:54 +0000 Message-ID: To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, nr1c0re@gmail.com Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:28:25 -0000 On 28 February 2011 12:26, Chris Rees wrote: >> > >> > # mount /dev/da0s1a /mnt/root/ >> > mount: /dev/da0s1a : Operation not permitted >> > >> > So only single user mode or live cd could solve it. >> >> *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and t= hen >> umount(1)-ing it would have done the trick from multi-user mode. > > umount /=A0=A0 ??? > > Chris Er, caffeine overdose. I guess you meant: # umount /var .... I'll hide now. Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:30:03 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110801065670 for ; Mon, 28 Feb 2011 12:30:03 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id BD3F18FC0A for ; Mon, 28 Feb 2011 12:30:02 +0000 (UTC) Received: by qyk35 with SMTP id 35so2013030qyk.13 for ; Mon, 28 Feb 2011 04:30:02 -0800 (PST) Received: by 10.224.183.197 with SMTP id ch5mr1339627qab.381.1298896201884; Mon, 28 Feb 2011 04:30:01 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id l17sm3130383qck.8.2011.02.28.04.30.00 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 04:30:01 -0800 (PST) Message-ID: <4D6B9547.2050703@my.gd> Date: Mon, 28 Feb 2011 13:29:59 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:30:03 -0000 On 2/28/11 1:27 PM, Chris Rees wrote: > On 28 February 2011 12:26, Chris Rees wrote: >>>> >>>> # mount /dev/da0s1a /mnt/root/ >>>> mount: /dev/da0s1a : Operation not permitted >>>> >>>> So only single user mode or live cd could solve it. >>> >>> *NOT* true. Stopping any daemons that were using "/var/spooll", and then >>> umount(1)-ing it would have done the trick from multi-user mode. >> >> umount / ??? >> >> Chris > > Er, caffeine overdose. > > I guess you meant: > > # umount /var > > .... > > I'll hide now. > > Chris Slice a (as in: da0s1a) is very likely his / /var is usually slice f From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:34:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFCB1065680 for ; Mon, 28 Feb 2011 12:34:21 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 517538FC14 for ; Mon, 28 Feb 2011 12:34:20 +0000 (UTC) Received: by bwz12 with SMTP id 12so4010947bwz.13 for ; Mon, 28 Feb 2011 04:34:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=HZwvlnCI9gn55AXr1r6XQcumz9j018qTKvirWIPEW+o=; b=UdjmaxwRLrAgXJm/8xqmGWJ6uo2WTAFNf/xDwzj0a8v9XPKH8bk6gM41p7nZnLGS82 EU1aMl9/tS6ut3GR31pPvrJHFRnWg2Za4s9sbYrc9P6Sh6zhCNWCuFMYcrHZi4lMac1+ 50Dl63OmOpYsv6Z1X/ZdYflazsFE72rjaK0jY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=h7NXlXhMnKfguez3dGFuHv1Ubd/c/WEkdBlvQAtJcC4AQmoELXX3oR+k9Z59SuRY45 gUzNV7KA+igK5BGng4Uw6H2Y+RQrOK79lcqI986K0/IrMXeGAbkIfP4KJyMBX2YxO6zQ Y9W84qjUy6J1QJiZd1nqgxeywBac3R0OZDMeE= Received: by 10.204.126.99 with SMTP id b35mr4573956bks.168.1298896460068; Mon, 28 Feb 2011 04:34:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.157.21 with HTTP; Mon, 28 Feb 2011 04:33:49 -0800 (PST) In-Reply-To: <4D6B9547.2050703@my.gd> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> From: Chris Rees Date: Mon, 28 Feb 2011 12:33:49 +0000 Message-ID: To: Damien Fleuriot Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:34:21 -0000 On 28 February 2011 12:29, Damien Fleuriot wrote: > On 2/28/11 1:27 PM, Chris Rees wrote: >> On 28 February 2011 12:26, Chris Rees wrote: >>>>> >>>>> # mount /dev/da0s1a /mnt/root/ >>>>> mount: /dev/da0s1a : Operation not permitted >>>>> >>>>> So only single user mode or live cd could solve it. >>>> >>>> *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and= then >>>> umount(1)-ing it would have done the trick from multi-user mode. >>> >>> umount / =A0 ??? >>> >>> Chris >> >> Er, caffeine overdose. >> >> I guess you meant: >> >> # umount /var > Slice a (as in: da0s1a) is very likely his / > > /var is usually slice f Yeah, that's why I sent the first email. However, it's now clear to me that c0re wanted to remount his / on a different partition to delete a file hidden by /var. Hence the suggestion from Robert to umount /var. Chris From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 12:47:23 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69CAD1065674 for ; Mon, 28 Feb 2011 12:47:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 294AF8FC16 for ; Mon, 28 Feb 2011 12:47:22 +0000 (UTC) Received: from r55.edvax.de (port-92-195-114-16.dynamic.qsc.de [92.195.114.16]) by mx02.qsc.de (Postfix) with ESMTP id 4B5D31DBF6; Mon, 28 Feb 2011 13:47:20 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p1SClKgX002567; Mon, 28 Feb 2011 13:47:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 28 Feb 2011 13:47:19 +0100 From: Polytropon To: Damien Fleuriot Message-Id: <20110228134719.57bad4b6.freebsd@edvax.de> In-Reply-To: <4D6B9547.2050703@my.gd> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 12:47:23 -0000 On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriot wrote: > Slice a (as in: da0s1a) is very likely his / > > /var is usually slice f Terminology: Slices are with numbers, partitions are with letters. :-) E. g. da0s1 is the FreeBSD slice, its partition a = da0s1a is /, while /var corresponds to partition da0s1f. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 13:16:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5AA106564A for ; Mon, 28 Feb 2011 13:16:30 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 2693E8FC1A for ; Mon, 28 Feb 2011 13:16:29 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.4/8.14.4) with ESMTP id p1SDGRBC006326; Mon, 28 Feb 2011 13:16:27 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4D6BA02B.4030000@qeng-ho.org> Date: Mon, 28 Feb 2011 13:16:27 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101218 Thunderbird/3.0.11 MIME-Version: 1.0 To: Polytropon References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> <4D6B9547.2050703@my.gd> <20110228134719.57bad4b6.freebsd@edvax.de> In-Reply-To: <20110228134719.57bad4b6.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 13:16:30 -0000 On 02/28/11 12:47, Polytropon wrote: > On Mon, 28 Feb 2011 13:29:59 +0100, Damien Fleuriot wrote: >> Slice a (as in: da0s1a) is very likely his / >> >> /var is usually slice f > > Terminology: Slices are with numbers, partitions are with letters. :-) > > E. g. da0s1 is the FreeBSD slice, its partition a = da0s1a is /, > while /var corresponds to partition da0s1f. Unless you've got GPT disks where there are usually only partitions and they're numbered: arthur@fileserver> gpart show ada5 => 34 976773101 ada5 GPT (466G) 34 6 - free - (3.0K) 40 64 1 freebsd-boot (32K) 104 2097152 2 freebsd-ufs (1.0G) 2097256 2097152 3 freebsd-ufs (1.0G) 4194408 8388608 4 freebsd-swap (4.0G) 12583016 964190119 5 freebsd-ufs (460G) arthur@fileserver> ls /dev/ada5* /dev/ada5 /dev/ada5p1 /dev/ada5p2 /dev/ada5p3 /dev/ada5p4 /dev/ada5p5 Personally I prefer labelling everything, which GPT makes easier. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 13:27:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 402E1106564A for ; Mon, 28 Feb 2011 13:27:00 +0000 (UTC) (envelope-from nr1c0re@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC328FC17 for ; Mon, 28 Feb 2011 13:26:59 +0000 (UTC) Received: by pwj8 with SMTP id 8so894285pwj.13 for ; Mon, 28 Feb 2011 05:26:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UScxCcRFoqb6ie3ZWDF6epHl1Abrmx+xo9LMinc2Esk=; b=UlD+hP8St80WyxBVzikLwFFSxeG3glMufq20EGTJIT4KdWDAsyZaFc/1lNpLJXhvJ7 6lcCPZ8Sqow1SdqGXneKxFYOoTky5jZojwDtThG75n1pnrUW08+Ik9Axq3qx4pEkzTh7 oDx0/8aQcHjM2GM3zm2rV6umkhkNgwfGJh44s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=d/8wzCccwGvhq6PxsWZ5JgzilIZOHtOrePEIWseEoof5fhFJIyV9QB1JVO3cMecNVP X65DXKY6NQvONsesZM74BCCvD7NDi3dsNU90pXgl4xlN6Ce2qIWgE+nhtFZl8BrvMjXR /Od0Z6LrV1tORK1fu/oIWMqnmio0SLKlPC6+4= MIME-Version: 1.0 Received: by 10.142.12.20 with SMTP id 20mr4349337wfl.221.1298899619353; Mon, 28 Feb 2011 05:26:59 -0800 (PST) Received: by 10.142.50.16 with HTTP; Mon, 28 Feb 2011 05:26:59 -0800 (PST) In-Reply-To: <201102281218.p1SCIR87034416@mail.r-bonomi.com> References: <201102281218.p1SCIR87034416@mail.r-bonomi.com> Date: Mon, 28 Feb 2011 16:26:59 +0300 Message-ID: From: c0re To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: / file system is full, but du does not show that it's full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 13:27:00 -0000 2011/2/28 Robert Bonomi : >> From owner-freebsd-questions@freebsd.org =A0Mon Feb 28 05:31:46 2011 >> Date: Mon, 28 Feb 2011 14:24:30 +0300 >> From: c0re >> To: Matthew Seaman >> Cc: FreeBSD >> Subject: Re: / file system is full, but du does not show that it's full >> >> 2011/1/6 Matthew Seaman : >> > On 06/01/2011 11:26, c0re wrote: >> >> # df -h >> >> Filesystem =A0 =A0 Size =A0 =A0Used =A0 Avail Capacity =A0Mounted on >> >> /dev/ad0s1a =A0 =A0496M =A0 =A0466M =A0 -9.8M =A0 102% =A0 =A0/ >> >> >> >> So it's full. >> >> >> >> But by du it's not appeared to be full >> >> >> >> >> >> # du -hxd 1 / >> >> 2.0K =A0 =A0/.snap >> >> 512B =A0 =A0/dev >> >> 2.0K =A0 =A0/tmp >> >> 2.0K =A0 =A0/usr >> >> 2.0K =A0 =A0/var >> >> 1.9M =A0 =A0/etc >> >> 2.0K =A0 =A0/cdrom >> >> 2.0K =A0 =A0/dist >> >> 1.0M =A0 =A0/bin >> >> 131M =A0 =A0/boot >> >> =A010M =A0 =A0/lib >> >> 356K =A0 =A0/libexec >> >> 2.0K =A0 =A0/media >> >> =A012K =A0 =A0/mnt >> >> 2.0K =A0 =A0/proc >> >> 7.2M =A0 =A0/rescue >> >> 296K =A0 =A0/root >> >> 4.7M =A0 =A0/sbin >> >> 4.0K =A0 =A0/lost+found >> >> 157M =A0 =A0/ >> >> >> > >> > Do you have partitions mounted at /tmp, /usr, /var etc? =A0Does the >> > output of your du command change if you unmount those partitions? (It >> > might be an idea to boot into a livefs CD or DVD given that du(1) live= s >> > in /usr/bin, so a bit tricky to unmount /usr and then run du) >> > >> > My guess is that you've at one time created files beneath what is >> > usually a mount point. =A0Mounting the partition over them makes those >> > files inaccessible, but they still take up space on the drive. >> > >> > =A0 =A0 =A0 =A0Cheers, >> > >> > =A0 =A0 =A0 =A0Matthew >> > >> > -- >> > Dr Matthew J Seaman MA, D.Phil. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 7 = Priory Courtyard >> > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Flat 3 >> > PGP: http://www.infracaninophile.co.uk/pgpkey =A0 =A0 Ramsgate JID: >> > matthew@infracaninophile.co.uk =A0 =A0 =A0 =A0 =A0 =A0 =A0 Kent, CT11 = 9PW >> > >> > >> >> At last I found time to check it. Booted with frenzy life cd, mounted >> only / partition and saw trash >> /var/spool. Deleted it and it solved problem. >> But later was and idea to mount device of / (/dev/da0s1a) as /mnt/root >> and just delete those files without need of livecd. It works in Linux. >> But in freebsd i got >> >> # mount /dev/da0s1a /mnt/root/ >> mount: /dev/da0s1a : Operation not permitted >> >> So only single user mode or live cd could solve it. > > *NOT* true. =A0Stopping any daemons that were using "/var/spooll", and th= en > umount(1)-ing it would have done the trick from multi-user mode. > Yeah, not true. Checked with lsof /var and it was used by these daemons: devd syslogd rpcbind snmpd mysqld httpd sendmail cron Yes, I can stop them all, but was not sure about stopping devd... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 14:30:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E23E41065670 for ; Mon, 28 Feb 2011 14:30:40 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id A871B8FC0C for ; Mon, 28 Feb 2011 14:30:40 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1Pu3Wm-0001J0-AU for freebsd-questions@freebsd.org; Mon, 28 Feb 2011 14:52:44 +0100 Date: Mon, 28 Feb 2011 14:52:44 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20110228135243.GA3148@sh4-5.1blu.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Subject: using gpart(8) to slice a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 14:30:41 -0000 Hello, Last weekend I've installed 9-CURRENT on a laptop by booting a (prepared) system from an USB key and slicing the disk with: # gpart create -s mbr ad4 # Init the disk with an MBR # gpart add -t freebsd ad4 # Create a BSD container # gpart create -s bsd ad4s1 # Init with a BSD scheme # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for / # gpart add -t freebsd-swap -s 2G ad4s1 # 2GB for swap # gpart add -t freebsd-ufs -s 2G ad4s1 # 2GB for /var # gpart add -t freebsd-ufs -s 1G ad4s1 # 1GB for /tmp # gpart add -t freebsd-ufs ad4s1 # all rest for /usr Then I mounted the ad4s1a ... ad4s1f as a target files system tree below /mnt and installed the system with 'make instal ... DESTDIR=/mnt'; all went fine, but the created partition on ad4 was not marked as bootable (flag 'A'). So I used sysinstall(8) from the again booted USB key to set ad4s1 bootable and to install in addition the FreeBSD boot manager. After this the (new) system came up fine and is working. I've read the man page of gpart(8) but do not see clearly what I did wrong with the above sequence and esp. what would have set the missing boot flag? Any hint? Thanks in advance matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 14:41:06 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15EE1065678 for ; Mon, 28 Feb 2011 14:41:06 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 278D38FC0A for ; Mon, 28 Feb 2011 14:41:06 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 35886E8C98; Mon, 28 Feb 2011 14:41:03 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=14GLhoPUjRhS q8ggqDVO/WRp64I=; b=uZij1IT0BfTTZ1MPbe7BEPe0+fpqBAXzClF2n7eYnjGt jVqRnjKcJf1Ft685lHEMIDw6GRTKm1tdA7t5fLXvFLIht66vgea1r75xXSBmFLAw cArbH3vengzrNk/t3tO7lSqjrfoyHW9/FeM8j7gcT/oOwQjoPmP/1l2idup26a4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=oJx+Z5 ncqILCB65sOE3ZIL91WcP132ZbOXcSP2TFnz3nPQmd7PdQOllcQlbLfG+tenJRdu xFj5xUV5ET5yiYn0V5YuJ4PIABDnyOxf1YugrloUKz2JsynlxKQ2mAS/a+8CvYTT D3dMwnYG9nYX7pmJZ+HMsbHvQRHiuqMb4WTZw= Received: from unknown (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 927BEE8C7C; Mon, 28 Feb 2011 14:41:02 +0000 (GMT) Date: Mon, 28 Feb 2011 14:40:37 +0000 From: Bruce Cran To: Matthias Apitz Message-ID: <20110228144037.00007337@unknown> In-Reply-To: <20110228135243.GA3148@sh4-5.1blu.de> References: <20110228135243.GA3148@sh4-5.1blu.de> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: using gpart(8) to slice a disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 14:41:06 -0000 On Mon, 28 Feb 2011 14:52:44 +0100 Matthias Apitz wrote: > I've read the man page of gpart(8) but do not see clearly what I did > wrong with the above sequence and esp. what would have set the missing > boot flag? gpart set -a active -i 1 ad4 -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 16:59:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 071B7106564A for ; Mon, 28 Feb 2011 16:59:00 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id D60F78FC0A for ; Mon, 28 Feb 2011 16:58:59 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 8245C6F5B22; Mon, 28 Feb 2011 08:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1298912339; x=1300726739; bh=KtVRbO258QgTE9YJuwJ3/M1Jm73t+8lu1z7 Vybfseo8=; b=Q23OOzOMirGjLzVkbxYdNpYaAMO624jGAy0eEmIhPVsCnNt+u7c XqhTF+bZAHAA0aER5OhrVQu2a/sPQQ4JRY46dX7Xdfy+/rwZSw+fs2RUo+3BgOHV aC9ByP1/fmcNkqOhbBGFxhju0ZANFqGqlIpX/H4iFGEUvEY/z/s/OxR0= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1v-sW+D3HLbj; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: from experts-exchange.com (unknown [72.29.180.81]) by mail.experts-exchange.com (Postfix) with SMTP id 30D916F5B3C; Mon, 28 Feb 2011 08:58:59 -0800 (PST) Received: (nullmailer pid 22102 invoked by uid 1001); Mon, 28 Feb 2011 16:55:37 -0000 Date: Mon, 28 Feb 2011 08:55:37 -0800 From: Jason Helfman To: andrew clarke Message-ID: <20110228165537.GN76063@eggman.experts-exchange.com> References: <8E8631C5-ED36-4B4D-8BF8-7F3A854E9AD0@cymru.com> <20110227162547.GA58054@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20110227162547.GA58054@ozzmosis.com> X-Operating-System: FreeBSD 8.2-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Neil Long , freebsd-questions@freebsd.org Subject: Re: freebsd-update housekeeping? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 16:59:00 -0000 On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake: >On Fri 2011-02-25 17:26:52 UTC+0000, Neil Long (neil@cymru.com) wrote: > >> Just noticed how large /var/db/freebsd-update has grown on a box I >> just upgraded from 7.3 to 7.4 (but I can't recall when I started >> using it). >> >> Is there a recommended approach or just rm the directory if I have >> no need to roll it back? > >Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as >my /var is "only" 1 GB and was running low on free space. Doing this >should be no different to a fresh install where this directory is >initially empty anyway. > >Of course if you're still wary you could make a tarball backup of that >directory somewhere else before emptying it out. > >IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't >exist, so you may need to mkdir it after using rm -rf. > >Regards >Andrew >_______________________________________________ >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" > If there were no problems with your update, then it is safe to remove the directory, and recreate it. If your update didn't go so well, you will lose the ability to use the 'rollback' feature, which will uninstall previously applied update. -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 From owner-freebsd-questions@FreeBSD.ORG Mon Feb 28 19:32:35 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05B73106566B for ; Mon, 28 Feb 2011 19:32:35 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 842F58FC1F for ; Mon, 28 Feb 2011 19:32:34 +0000 (UTC) Received: by bwz12 with SMTP id 12so4430063bwz.13 for ; Mon, 28 Feb 2011 11:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=SWsIa2vYlI8fRiTOSmwgGkq7BuoAIgytAJuyQgVC2lI=; b=OQlWPCtYHk2TT7ewvGtfww++4Vqlo0SF+JqRR1F2GH2Oul2qA/76DkJRQKPb+4vplW 34gu2nntWTb1A86wjw0WCt/+4eoHZPD2BH6JGlzfSw2wzyEn1VwjpWe3vzJ++w0UuZ/3 nlqFZPVzkDdjewOZnaZkkA2ZYl9xMzlTCwgpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=mBESV95nCraR+B+ytidMy3m3GJNCJcx+2A7rJmomNq/hBkV2JuQPdaFwF3HnVcF+89 H3+m4TvijpGopTBiSkXrvQBXAlGJWMxoH6UqkeV0V7Oa+ATmEq4H2W+BiXrVbG4O9OKJ vqg1ylR1EREo7EMVwQXTtK8vnE8He2qt8U3n4= Received: by 10.204.121.138 with SMTP id h10mr5178714bkr.40.1298921553440; Mon, 28 Feb 2011 11:32:33 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id w3sm2791751bkt.5.2011.02.28.11.32.31 (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 11:32:32 -0800 (PST) Message-ID: <4D6BF823.2090602@gmail.com> Date: Mon, 28 Feb 2011 20:31:47 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: optical driver with ahci bios mode but ata(4) driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 19:32:35 -0000 Hello, My bios can be set to use IDE emulation or ahci mode, I prefere the ahci mode because it's a bit faster. It's probably stupid to stay with ata(4) driver with the ahci mode, isn't it? But with ahci(4) driver you can't burn with burncd(8) and cdrecord just fail and break an blank cd for nothing. I guess this is the correct behavior when trying to use burncd(8) / cdcontrol(1) : markand@Melon ~ $ burncd msinfo burncd: ioctl(CDIOREADTOCHEADER): Input/output error markand@Melon ~ $ cdcontrol info cdcontrol: getting toc header: Input/output error cdcontrol: Input/output error But why the optical drive is only affected? If I use ata(4) driver even with ahci mode set in the bios, why the hard drive works pretty well? Kind regards, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 08:22:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A716D106566C for ; Tue, 1 Mar 2011 08:22:13 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3BF7F8FC27 for ; Tue, 1 Mar 2011 08:22:12 +0000 (UTC) Received: by fxm19 with SMTP id 19so5119083fxm.13 for ; Tue, 01 Mar 2011 00:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=MLBIhwY2nDuHfjZH2KpjDy2jS3OzhbBWZeD3o1mstyg=; b=kv2GkL8r2HRUY34zcWhhHtvGPeDcdMd5Ir+ogJsdJI+79Wg8LSj65L95h1/KdsFDOK EG6y1MNKFbYMcRW1sb8ok/0aDdFL/ZX91hzwceNTF13E+hfQGmuZu0YTyeoPgsKcIrUq QKXRyTiIH4UKg5fVTBYDNc6/nKAY4l3PUoM+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=rBIXBidb2i0vzeR2FWjXUNZ0UMaTZB2975KedFl56Ma5ciPNiIYRL3OJsgh4pladkg CZgW3liYMAtV34Dnakn/zXHZDp9w/u4wyxuZy/h/hbdGNUeAMfFsKsl7ik+/9HSzpdrw 0gSM91iB8/SNqJH7JrJdaNCOKjyKQFD1cvCTQ= Received: by 10.223.144.81 with SMTP id y17mr3714305fau.69.1298967728876; Tue, 01 Mar 2011 00:22:08 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y1sm1976519fak.15.2011.03.01.00.22.07 (version=SSLv3 cipher=OTHER); Tue, 01 Mar 2011 00:22:08 -0800 (PST) Message-ID: <4D6CAC83.8050003@gmail.com> Date: Tue, 01 Mar 2011 09:21:23 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:22:13 -0000 Hello, I don't like to hear the spin down from my hard drive, it does it every 10 seconds approximately. I used ataidle -P 0 /dev/ad0 to disable it and it works. When I saw there was a atacontrol command for this, I tried it, so I removed ataidle and I tried : markand@Melon ~ $ sudo atacontrol spindown ad0 0 markand@Melon ~ $ sudo atacontrol spindown ad0 ad0: idle spin down disabled But I can still hear the noise every 10 seconds, I think atacontrol does not totally close the APM feature of the device. Do you have any clue? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 08:31:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52163106564A for ; Tue, 1 Mar 2011 08:31:43 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out5.blueyonder.co.uk (smtp-out5.blueyonder.co.uk [195.188.213.8]) by mx1.freebsd.org (Postfix) with ESMTP id E098B8FC12 for ; Tue, 1 Mar 2011 08:31:42 +0000 (UTC) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out5.blueyonder.co.uk with smtp (Exim 4.52) id 1PuKzd-0007Az-HH for freebsd-questions@freebsd.org; Tue, 01 Mar 2011 08:31:41 +0000 Received: from [94.168.170.153] (helo=mercury.universe.galaxy.lcl) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.72) (envelope-from ) id 1PuKzS-0003Xr-Tv for freebsd-questions@freebsd.org; Tue, 01 Mar 2011 08:31:30 +0000 Received: from mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c]) by mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c%10]) with mapi; Tue, 1 Mar 2011 08:31:17 +0000 From: Graeme Dargie To: "'freebsd-questions@freebsd.org'" Date: Tue, 1 Mar 2011 08:31:16 +0000 Thread-Topic: Samba and Active Directory Thread-Index: AcvX6whZejVboppMTzyzSMQAKVucZw== Message-ID: <0EE458C34045A44DBC2CA2DC5CEB42B501B83E1FBE@mercury.universe.galaxy.lcl> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Samba and Active Directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:31:43 -0000 Hello list, I have tried putting this on the samba mail list seems that no knows or is = willing to share, having got good help with freebsd on here before, I figur= ed its worth a shot, apologises if it is not 100% OT. I am sure this has been asked a million times but here goes for +1 I am looking for help, or pointers to a good resource to get FreeBSD 8.2 an= d Samba 3.5 working within a Win 2008 AD environment, the samba how to got = me so far, but I am missing something somewhere as none of the shares defin= ed within the smb.conf will connect without asking for a username and passw= ord. Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:12:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F13106564A for ; Tue, 1 Mar 2011 09:12:17 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8A38FC1E for ; Tue, 1 Mar 2011 09:12:16 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id p218ugP7040943; Tue, 1 Mar 2011 09:56:42 +0100 (CET) (envelope-from Johan@double-l.nl) x-cr-puzzleid: {028133D6-3B0A-4E22-BD78-E8186D057D4B} MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 1 Mar 2011 09:56:35 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBDD31A2@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Samba and Active Directory Thread-Index: AcvX6whZejVboppMTzyzSMQAKVucZwAAy6sA References: <0EE458C34045A44DBC2CA2DC5CEB42B501B83E1FBE@mercury.universe.galaxy.lcl> From: "Johan Hendriks" To: "Graeme Dargie" x-cr-hashedpuzzle: Xeg= Aj1z BUo5 C931 DBRA HcRX JRqD Jkyn LO8+ MsG5 O7nv RU2f SHpp SV/G TzOt U4iC; 2; YQByAGEAYgBAAHQAYQBuAGcAZQByAGkAbgBlAC0AYQByAG0AeQAuAGMAbwAuAHUAawA7AGYAcgBlAGUAYgBzAGQALQBxAHUAZQBzAHQAaQBvAG4AcwBAAGYAcgBlAGUAYgBzAGQALgBvAHIAZwA=; Sosha1_v1; 7; {028133D6-3B0A-4E22-BD78-E8186D057D4B}; agBvAGgAYQBuAEAAZABvAHUAYgBsAGUALQBsAC4AbgBsAA==; Tue, 01 Mar 2011 08:56:35 GMT; UgBFADoAIABTAGEAbQBiAGEAIABhAG4AZAAgAEEAYwB0AGkAdgBlACAARABpAHIAZQBjAHQAbwByAHkA X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: RE: Samba and Active Directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:12:17 -0000 >Hello list, >I have tried putting this on the samba mail list seems that no knows or is willing to share, having got good help with freebsd >on here before, I figured its worth a shot, apologises if it is not 100% OT. >I am sure this has been asked a million times but here goes for +1 >I am looking for help, or pointers to a good resource to get FreeBSD 8.2 and Samba 3.5 working within a Win 2008 AD >environment, the samba how to got me so far, but I am missing something somewhere as none of the shares defined within the >smb.conf will connect without asking for a username and password. >Regards >Graeme I made a little effort helping somebody on the FreeBSD forum. http://forums.freebsd.org/showthread.php?t=3D20007 Use the directions i (Sylhouette) made in the above thread. It should get you into a running state. Regards=20 Johan=20 From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:12:58 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2469B1065673 for ; Tue, 1 Mar 2011 09:12:58 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id D5E1F8FC27 for ; Tue, 1 Mar 2011 09:12:57 +0000 (UTC) Received: by yie12 with SMTP id 12so1155166yie.13 for ; Tue, 01 Mar 2011 01:12:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=QIIV5/F5/umfRO/w+X+n7rawehTvy9V19mlWmZpzjRU=; b=C5OE76hP0c4nRk82Qo1cAP1NDkSVXN1DTUY94SGgmIROpWg+8TSYe7fbTd09G8vrY2 G+XDGQgsOj2SD6UUyMqhUnqi9kCkeOKr9gm4DVMRdNC2RYGY4cyfrMaq6e2Fzpx4Gcl8 HHSvWMPi3vWjZL9h2iJKDSfGNvDzXU+BEwEhE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=hP6gFmR2Cj6GcCWtfnhJD/oQ+e2SytjApQ5mgb7JDdKgFpxTEEJdPZvsyvOOatw7EK /r2UKDTTN0izRmS12Tj40uxhM6RfLSefUesYQuLXcB4XTU9m01sYupw3eRk5wH0ikZFz 55XtQ7KFipKyWiZyAycijb+cxOTrUtR1BuzZQ= Received: by 10.100.206.3 with SMTP id d3mr2807100ang.44.1298970777084; Tue, 01 Mar 2011 01:12:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.217.19 with HTTP; Tue, 1 Mar 2011 01:12:37 -0800 (PST) From: Valentin Bud Date: Tue, 1 Mar 2011 11:12:37 +0200 Message-ID: To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Custom FreeBSD "appliance" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:12:58 -0000 Hello community, We have started using virtualization platforms at work, a mix of ESXi and KVM. Until now I had no problems running FreeBSD (full ZFS) as a guest on neither of them. Some might say this is not optimal neither safe but we have a dedicated server (10 GB RAM, Intel Quad Core) running 8-STABLE with ZFS for backing up all the VMs that we have. We have quite a few apps we use, from Apache to MySQL, ghostscript and others. Until I've heard of virtualization all the apps were running on a single dedicated server. I remember once I had to update some appX which depended on some libX-new-version and the other appY depended on libX-past-version. I had to roll back the update, quite a pain and some downtime. No more of that when I've heard about jails. At first I've used jails,which are great (thanks FreeBSD for this). I do use them in some parts of the environment and I am very happy with them. We chose KVM/ESXi because we have a mixture of debian, Windows and FreeBSD machines we need to do the job. I have been thinking lately to build specialized robots (as I call them) for a certain task. A specialized robot for me is a custom FreeBSD install with a certain package (eg. MySQL), with all the tuning done for that particular app, starting from FS to memory optimization, network optimization and the like. What do you think about this? I would like to build that custom install *exactly* with what's needed by that particular app, no more no less. Where would be a great place to start? I suppose the build system and src.conf would be a start. How can I find what a certain app really needs? For example if I want to build a robot that does outgoing SMTP using postfix, what are the stuff that need to be build/loaded into base system for this to work? This way I can save memory, boot speed, security. What do you think of all this? Your comments are greatly appreciated. thanks, v -- network warrior From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 09:15:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801FA106564A for ; Tue, 1 Mar 2011 09:15:30 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 12D708FC13 for ; Tue, 1 Mar 2011 09:15:30 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 02DA8E902C; Tue, 1 Mar 2011 09:15:29 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=b2jI/5ArWvW1 GrpIWyEeShpRUrM=; b=SFYB59nAc3hj/bEElErl4T6QS1p1jz6iSCQXVjzkgTPU r/w3DZ+6NpXEWTgr1VsQOKAeKkAcSMmhWXOTNggC1+hL0+ukBilnbYClTJe5jMfi PpbgsVPbUwGcW1rkeDZRzubce/g6g3fPOpvxYX5sCSIrh+kwT1gDSLmUxdcZPh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=mJHJug Xnwwg3tiGINszmMqLfIe2RbT5qQN30ZIvhQlwP1req95Gadok8btFVXt0g4l7Cf2 68r2WMN9vnFnN3FLZ6w/wdSP6Eqa6aOMMaffs/uytPt6GhAKc+vbgC+ZFWICoLeU XCxm3hnjxA/PIjcf5JKMkAZAjEvBCuKCaOAzg= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id C17FBE8150; Tue, 1 Mar 2011 09:15:28 +0000 (GMT) From: Bruce Cran To: David Demelier In-Reply-To: <4D6CAC83.8050003@gmail.com> References: <4D6CAC83.8050003@gmail.com> Content-Type: text/plain; charset="us-ascii" Date: Tue, 01 Mar 2011 09:15:01 +0000 Message-ID: <1298970901.2888.5.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 09:15:30 -0000 On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: > But I can still hear the noise every 10 seconds, I think atacontrol does > not totally close the APM feature of the device. atacontrol's spindown setting doesn't change anything in the disk itself: it just controls a timer in the ad(4) driver which sends a spindown command when it expires. You'll need to keep using ataidle to fix the APM value. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 10:47:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8DDD106566C for ; Tue, 1 Mar 2011 10:47:09 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [213.83.63.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6E9D08FC14 for ; Tue, 1 Mar 2011 10:47:08 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.50) id 1PuN6d-0005Ko-Qs; Tue, 01 Mar 2011 11:47:03 +0100 Date: Tue, 1 Mar 2011 11:47:03 +0100 From: Matthias Apitz To: Bruce Cran Message-ID: <20110301104703.GA19987@sh4-5.1blu.de> References: <4D6CAC83.8050003@gmail.com> <1298970901.2888.5.camel@core.nessbank> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1298970901.2888.5.camel@core.nessbank> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.9i Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 10:47:09 -0000 El día Tuesday, March 01, 2011 a las 09:15:01AM +0000, Bruce Cran escribió: > On Tue, 2011-03-01 at 09:21 +0100, David Demelier wrote: > > > But I can still hear the noise every 10 seconds, I think atacontrol does > > not totally close the APM feature of the device. > > atacontrol's spindown setting doesn't change anything in the disk > itself: it just controls a timer in the ad(4) driver which sends a > spindown command when it expires. You'll need to keep using ataidle to > fix the APM value. To the OP: I have to use ataidle as well on an Acer Aspire D250 laptop to switch-off the spindown of the disk... I'm wondering why you would prefere atacontrol? Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 10:52:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A14961065673 for ; Tue, 1 Mar 2011 10:52:57 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 5779E8FC0A for ; Tue, 1 Mar 2011 10:52:57 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 6032CE902C; Tue, 1 Mar 2011 10:52:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=subject :from:to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; s=mail; bh=wt7m/1xxo8Xz cnblYTuxGCBFsx0=; b=KXGLg4BPumsqi4GS7pcgZbG+xBNmxJmLOTeL3z9FGeeq RM/hjdyFfEBjy//4CGbKKMKJFEO1X4JZInVTG8ksBk7gl9C/JRqI8qscC+wkuNcy j3PF/efDcPZhLx4TIRcDB3SF6WZAslC9aSBPqs9SPKZeBxf2e0brBH5ifKExWSk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=subject:from :to:cc:in-reply-to:references:content-type:date:message-id :mime-version:content-transfer-encoding; q=dns; s=mail; b=tjVFJ2 cII2N/+b9kndg+w5xhb3k52OKyY48nfCS37x4uM36VwX5lmeA21m8dnlyETF4yk3 3lcvea2TUdtQyM530LwFnSMG+5/Z9lqjQRfwoPvCrfNMiRF2XTxmmWl+uk/OLkRd Ipjp1T69B5POUWsRFF5v2CHlHfeBkDoua4gx4= Received: from [192.168.0.10] (client-86-31-236-253.oxfd.adsl.virginmedia.com [86.31.236.253]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 189D4E902B; Tue, 1 Mar 2011 10:52:56 +0000 (GMT) From: Bruce Cran To: Matthias Apitz In-Reply-To: <20110301104703.GA19987@sh4-5.1blu.de> References: <4D6CAC83.8050003@gmail.com> <1298970901.2888.5.camel@core.nessbank> <20110301104703.GA19987@sh4-5.1blu.de> Content-Type: text/plain; charset="us-ascii" Date: Tue, 01 Mar 2011 10:52:29 +0000 Message-ID: <1298976749.2888.16.camel@core.nessbank> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: David Demelier , freebsd-questions@freebsd.org Subject: Re: atacontrol spindown 0 does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 10:52:57 -0000 On Tue, 2011-03-01 at 11:47 +0100, Matthias Apitz wrote: > I'm wondering why you would > prefere atacontrol? I think everyone's been looking for an "official" solution. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 14:17:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 880C2106566C for ; Tue, 1 Mar 2011 14:17:45 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 3B45F8FC1C for ; Tue, 1 Mar 2011 14:17:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id 481AC1EE449; Tue, 1 Mar 2011 15:01:37 +0100 (CET) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id Wn1YEjtyVhPP; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 33B9490004; Tue, 1 Mar 2011 15:01:37 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DtOwx-c3yS4q; Tue, 1 Mar 2011 15:01:37 +0100 (CET) Received: from nb981.math (g224001137.adsl.alicedsl.de [92.224.1.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id ED55390002; Tue, 1 Mar 2011 15:01:36 +0100 (CET) Message-ID: <4D6CFC3E.8080604@janh.de> Date: Tue, 01 Mar 2011 15:01:34 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110209 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Wrong (000) UDF directory permissions with mkisofs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 14:17:45 -0000 I have created a DVD image (on 8.2-RELEASE/amd64 using cdrtools-3.00_1) with mkisofs -R -J -udf -iso-level 3 -V NAME -o FILE.iso DIR/ (as described in the handbook), all files in DIR/ have 644 permission, all directories 755 permissions and all are owned by $USER:wheel. When I mount the ISO-9660+Rockridge layout (mount_cd9660 -j), everything is fine: The files have 444 permissions and the directories 555. Mounting the UDF layout (mount_udf), all files have 444 permissions, most (2795) directories have 555 permissions, but some (167) directories have 000 permissions and cannot be accessed by non-root users. What went wrong and how can I fix it? (I need the UDF layout, since some file names are truncated in the Joliet layout and the DVD will be used on Windows.) Cheers, Jan Henrik From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 16:39:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0756106564A for ; Tue, 1 Mar 2011 16:39:29 +0000 (UTC) (envelope-from mubeeshalivm@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 615838FC14 for ; Tue, 1 Mar 2011 16:39:28 +0000 (UTC) Received: by bwz12 with SMTP id 12so5255323bwz.13 for ; Tue, 01 Mar 2011 08:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Krcx/Sy8Qh/K0a6LKlpCmUA4H4ANaylZ/JZT6j+CZ8A=; b=JNm+qlTwXr1QUUx4K/IVy6pTc0OW61xLJDiaL9yJfcOnWsRFUxFD1A8inM1ED32sMg KLNsvGsMJITtLb7WnwDfhyRJxgi1SM3r4Rf2HD1QICH+euvYeUGQHBNKoj/bWNNNGRYm wMouB6yTgSKb1pw5ZNpZlxN+qetRUG968kJws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=hXYKf3edfOLou/du4TYODGsqi0kqdHAknZ2x9eC0X13iiDYqd8Bz1ss5mo4xGO6wh7 0m6/N8DFslnzzQelFeSSKQLZpJsPuid3j2idkxbPoAVZZtuB7Yg7Cl8xlVoM60q4cBQt 3QkzcisxxvDHWz+QolZTJoq9arWqS4Tl78ZBY= MIME-Version: 1.0 Received: by 10.204.80.161 with SMTP id t33mr6332144bkk.121.1298995669329; Tue, 01 Mar 2011 08:07:49 -0800 (PST) Received: by 10.204.62.83 with HTTP; Tue, 1 Mar 2011 08:07:49 -0800 (PST) Date: Tue, 1 Mar 2011 21:37:49 +0530 Message-ID: From: Mubeesh ali To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: how to read a live changing capture file with a tcpdump or wireshark like with tail for a file. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 16:39:29 -0000 Hi , We do wifi troubleshooting and are planning to use kismet for wireless captures. It produces a file that will be written into every 300 secs(configurable value ,we use 30 secs). While comparing with a expensive windows sniffer like Omnipeek the only disadvantage of this free tool is we have to continoulsly do tcpdump -r as the file changes. same with wireshark we need to hit the refresh button. Is there something equivalent to 'tail' for changing files for reading pcap files ? Appreciate any suggestions. --=20 Best=A0 Regards, Mubeesh Ali.V.M From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 18:45:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A637C106564A for ; Tue, 1 Mar 2011 18:45:04 +0000 (UTC) (envelope-from me@janh.de) Received: from mxchg03.rrz.uni-hamburg.de (mxchg03.rrz.uni-hamburg.de [134.100.38.113]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5268FC08 for ; Tue, 1 Mar 2011 18:45:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTP id 2359C1EE5D3; Tue, 1 Mar 2011 19:45:03 +0100 (CET) X-Virus-Scanned: by University of Hamburg ( RRZ / mgw02.rrz.uni-hamburg.de ) Received: from mxchg03.rrz.uni-hamburg.de ([127.0.0.1]) by localhost (mxchg03.rrz.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10324) with ESMTP id O9AHam9-QcSh; Tue, 1 Mar 2011 19:45:03 +0100 (CET) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mxchg03.rrz.uni-hamburg.de (Postfix) with ESMTPS; Tue, 1 Mar 2011 19:45:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 0E78890005; Tue, 1 Mar 2011 19:45:03 +0100 (CET) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id l0owECWc4jiB; Tue, 1 Mar 2011 19:45:02 +0100 (CET) Received: from nb981.math (g224001137.adsl.alicedsl.de [92.224.1.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id C3CB090004; Tue, 1 Mar 2011 19:45:02 +0100 (CET) Message-ID: <4D6D3EA5.3060205@janh.de> Date: Tue, 01 Mar 2011 19:44:53 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110209 Thunderbird/3.1.7 MIME-Version: 1.0 To: questions-list freebsd References: <4D6CFC3E.8080604@janh.de> In-Reply-To: <4D6CFC3E.8080604@janh.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Wrong (000) UDF directory permissions with mkisofs X-BeenThere: freebsd-questions