From owner-freebsd-questions@freebsd.org Sun Jun 5 11:48:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D345B6B7A8 for ; Sun, 5 Jun 2016 11:48:41 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4706F1CFE for ; Sun, 5 Jun 2016 11:48:40 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b9WXf-0006el-IC for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 13:48:31 +0200 Received: from 5e1be454.mobile.pool.telekom.hu ([94.27.228.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2016 13:48:31 +0200 Received: from leventelist by 5e1be454.mobile.pool.telekom.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Jun 2016 13:48:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Lev Subject: stop ipfilter Date: Sun, 5 Jun 2016 13:48:25 +0200 Lines: 6 Message-ID: <20160605134825.30e1d3d9@jive> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: base64 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 5e1be454.mobile.pool.telekom.hu X-Newsreader: Claws Mail 3.13.0 (GTK+ 2.24.25; x86_64-pc-linux-gnu) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 11:48:41 -0000 SGksDQoNCg0KV2hlbiBJIHdhbnQgdG8gc3RvcCBpcG5hdCBvciBpcGZpbHRlciB0aGUgY29tbWFu ZCBqdXN0IGhhbmdzLCBhbmQgbmV2ZXINCnJldHVybi4NCg0KVGhpcyBpcyB3aGF0IEkgZG86DQoN CnNlcnZpY2UgaXBmaWx0ZXIgc3RvcA0KDQpUaGUgc2VydmljZSBpcyBub3Qgc3RvcHBlZC4NCg0K SSBjYW4gb25seSBraWxsIHRoZSBwcm9jZXNzLg0KDQpMZXYNCg0KLS0gDQo3MyBkZSBIQTVPR0wN Ck9wLjogTGV2ZW50ZQ0K From owner-freebsd-questions@freebsd.org Sun Jun 5 15:54:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EE20B6A9E8 for ; Sun, 5 Jun 2016 15:54:04 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by mx1.freebsd.org (Postfix) with ESMTP id 59BA411EB for ; Sun, 5 Jun 2016 15:54:03 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52855] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 7F/69-08765-F7744575; Sun, 05 Jun 2016 15:38:39 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9a8N-0006c1-5k for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 11:38:39 -0400 To: freebsd-questions@freebsd.org From: Baho Utot Subject: sh[it] and What am I missing here? Message-ID: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> Date: Sun, 5 Jun 2016 11:38:38 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 15:54:04 -0000 I have tried this on 11-CURRENT and 10.1 release........... Just doing some scripting ( thought I was using a bourne shell but may scripting was puking) so I came across this........ root@baho-utot:~ # set _ addsuffix anyerror argv () autoexpand autolist ambiguous autorehash csubstnonl cwd /root dirstack /root echo_style bsd edit euid 0 euser root filec gid 0 group wheel history 1000 home /root killring 30 loginsh mail /var/mail/root owd path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /root/bin) prompt %N@%m:%~ %# prompt2 %R? prompt3 CORRECT>%R (y|n|e|a)? promptchars %# savehist (1000 merge) shell /bin/csh shlvl 1 status 0 tcsh 6.18.01 term xterm tty pts/0 uid 0 user root version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec OK tcsh as I thought OK switch shells root@baho-utot:~ # /bin/sh # set BLOCKSIZE=K EDITOR=vi GROUP=wheel HOME=/root HOST=baho-utot.bildanet.com HOSTTYPE=FreeBSD IFS=' ' LOGNAME=root MACHTYPE=x86_64 MAIL=/var/mail/root OPTIND=1 OSTYPE=FreeBSD PAGER=more PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin PPID=1373 PS1='# ' PS2='> ' PS4='+ ' PWD=/root SHELL=/bin/csh SHLVL=1 TERM=xterm USER=root VENDOR=amd # Why is the SHELL variable still set to /bin/csh After the /bin/sh am I into a bourne shell or what? From owner-freebsd-questions@freebsd.org Sun Jun 5 15:58:09 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7659B6ABA5 for ; Sun, 5 Jun 2016 15:58:09 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 943BC17E9 for ; Sun, 5 Jun 2016 15:58:09 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: by mail-qk0-x22a.google.com with SMTP id s186so42154746qkc.1 for ; Sun, 05 Jun 2016 08:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:subject:from:to:in-reply-to:mime-version :content-transfer-encoding; bh=Q+UbJlSgQxZ0DQ25dO6x7F9THJ1rZMgst4EfQ1xR0D0=; b=d4zvL0GafzHOJGk3SnGaq9I+wtcHcW3RzxzsIR43ZoIW6BWiDxtlxQ8AierVwl3ago L3sfLdjZ9oGp09uCtDpjmq3ojxba1+QePAZAPvaWrJVpIg8IGPFYVGEzNS5nMDTKarIt 8xCH89LbGmWxG8YGT/t4mIqIykbxuS/9ASelftMlOaRFEQpXImzkohJlp4qUY3ayaGrB S+wJBXr5/xaEtUCk9bx+aPis4tlLVVWY6Xnk9Y/9Qgi8cuufOKUUNxjB06d2HQX1z7DT FshY8TUUC4WeIWGLrox6xOkZy0t2iXTHCAfZwNBj2N2En3kHfEePHg+U9fBBZsPLV96T QSeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:subject:from:to:in-reply-to :mime-version:content-transfer-encoding; bh=Q+UbJlSgQxZ0DQ25dO6x7F9THJ1rZMgst4EfQ1xR0D0=; b=Rek71M0yJ+W0ejZytyNndFJsiZyvAo9/i2oAYAl2OHK9x08gwsDT7qOTHZeWtnWbg+ HmXC/qMKlWV3l6sTle5ychhoIPjVCpGZUtFTquMbQuWdHHh3kQ6FUHf9Zf6SVBZouY0U hdMvqSbJ6t2ghJWDyOZTYLVcrirtM1MI8GLST3nQmoqY+t/whjKn8LVqgdYXxQo/F7ts 1SHkExjghD0e2BMFOrGd5xvxyER4K/Tht9p30qYQjbxmJl+xOkASrTcLlWKJhEuhlmdG nkGLXJUBqodqa9HeM4GGingY/PG9zrlq4bS/iwrhFWZPnaq6Bs1Wl+45himxi9supAsL sVDQ== X-Gm-Message-State: ALyK8tK1kRDOGP6dBPTfAywwureJIrHrBwWEm2FmS2vBEIm3B3kC/ihYsxeSxPKTLAFsBg== X-Received: by 10.55.111.66 with SMTP id k63mr12213463qkc.2.1465142288901; Sun, 05 Jun 2016 08:58:08 -0700 (PDT) Received: from [10.114.49.222] ([142.169.78.222]) by smtp.gmail.com with ESMTPSA id z138sm1336840qhb.6.2016.06.05.08.58.07 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 08:58:08 -0700 (PDT) Message-ID: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> Date: Sun, 05 Jun 2016 11:58:04 -0400 Subject: Re: sh[it] and What am I missing here? From: Manas Bhatnagar To: Baho Utot , "freebsd-questions@freebsd.org" In-Reply-To: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 15:58:09 -0000 PkFmdGVyIHRoZSAvYmluL3NoIGFtIEkgaW50byBhIGJvdXJuZSBzaGVsbCBvciB3aGF0PwoKVHJ5 ICdlbnYgYmFzaCc/Cgo= From owner-freebsd-questions@freebsd.org Sun Jun 5 15:59:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 855C3B6AC72 for ; Sun, 5 Jun 2016 15:59:49 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) by mx1.freebsd.org (Postfix) with ESMTP id 5032418D7 for ; Sun, 5 Jun 2016 15:59:48 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52879] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 20/16-08765-37C44575; Sun, 05 Jun 2016 15:59:47 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9aSp-0006cz-2H for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 11:59:47 -0400 From: Baho Utot Subject: sh and What am I missing here? To: freebsd-questions@freebsd.org Message-ID: <766ae4e4-30b6-8891-6c81-256c92210eb3@columbus.rr.com> Date: Sun, 5 Jun 2016 11:59:46 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 15:59:49 -0000 I have tried this on 11-CURRENT and 10.1 release........... Just doing some scripting ( thought I was using a bourne shell but may scripting was puking) so I came across this........ root@baho-utot:~ # set _ addsuffix anyerror argv () autoexpand autolist ambiguous autorehash csubstnonl cwd /root dirstack /root echo_style bsd edit euid 0 euser root filec gid 0 group wheel history 1000 home /root killring 30 loginsh mail /var/mail/root owd path (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /root/bin) prompt %N@%m:%~ %# prompt2 %R? prompt3 CORRECT>%R (y|n|e|a)? promptchars %# savehist (1000 merge) shell /bin/csh shlvl 1 status 0 tcsh 6.18.01 term xterm tty pts/0 uid 0 user root version tcsh 6.18.01 (Astron) 2012-02-14 (x86_64-amd-FreeBSD) options wide,nls,dl,al,kan,sm,rh,color,filec OK tcsh as I thought OK switch shells root@baho-utot:~ # /bin/sh # set BLOCKSIZE=K EDITOR=vi GROUP=wheel HOME=/root HOST=baho-utot.bildanet.com HOSTTYPE=FreeBSD IFS=' ' LOGNAME=root MACHTYPE=x86_64 MAIL=/var/mail/root OPTIND=1 OSTYPE=FreeBSD PAGER=more PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin PPID=1373 PS1='# ' PS2='> ' PS4='+ ' PWD=/root SHELL=/bin/csh SHLVL=1 TERM=xterm USER=root VENDOR=amd # Why is the SHELL variable still set to /bin/csh After the /bin/sh am I into a bourne shell or what? From owner-freebsd-questions@freebsd.org Sun Jun 5 16:02:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88B85B6AE42 for ; Sun, 5 Jun 2016 16:02:21 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.232]) by mx1.freebsd.org (Postfix) with ESMTP id 52ECA1CA1 for ; Sun, 5 Jun 2016 16:02:20 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52887] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id A6/27-08765-9CC44575; Sun, 05 Jun 2016 16:01:13 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9aUD-0006dY-5O for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 12:01:13 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> From: Baho Utot Message-ID: Date: Sun, 5 Jun 2016 12:01:13 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:02:21 -0000 On 06/05/16 11:58, Manas Bhatnagar wrote: >> After the /bin/sh am I into a bourne shell or what? > Try 'env bash'? > > env: bash: No such file or directory From owner-freebsd-questions@freebsd.org Sun Jun 5 16:15:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A8608B6A1FA for ; Sun, 5 Jun 2016 16:15:40 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7250514CD for ; Sun, 5 Jun 2016 16:15:40 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x234.google.com with SMTP id o189so110407064ioe.2 for ; Sun, 05 Jun 2016 09:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=8Y3qytZBWmdUBRmnl2xVLe8dnXhE6JIIq7lrQ7MChLA=; b=u/YqhMZ8Iq+8jlIugI7QgDAhufzDIzlZI4ti8heA8zuAEooD91wE/yHe9aF41UPfUt 46xYA3043hgNMlPq3chv2xQZbU8p0xsnYUPtfChPCvTWxxPSToNCLrBYkk9fISwDZBwY U3yVbgDtPtG+oMTOsT8nnDFkwIfhSTeuDFIGx4tke79DZx5opi9fG5LgOHmm0tZBABQW ABPm1ucu9Q5bkbazS4aaHJz1a6njgB6CHedZiO+kyOgQ3/L15DzM2mVgJsX7nspO6jE9 Zai5YZOGcaPlY6qiG9vwNq7weAr/+rD5eAtez3iCcuFSQxPwV7zJ/QKlHKeI/t5TeTH4 5nIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=8Y3qytZBWmdUBRmnl2xVLe8dnXhE6JIIq7lrQ7MChLA=; b=JX2urQO5knrYfarvL4Iteh52eaZ5JdQP2zma0pyjBPmYTYZfU47YGlkMKdATxE2Vgo gfax935WfN3JUlTSG+SicLxU0FOb4TPMgFWOOzc9N1O6GoHp5LiHuCHoqUKTE8lFnZdb KuWuerrkU29s3hTL75UAMNmwjStZA1Yx0Ug2FWmBppcEsH5+p6R118YX/baJQqL99XJ2 wr0IsRKVnDe6w++ghmk4So7os8bpkK/+UkynLzQIcsQ4w8VA5XsgAvQ9pZPpZMtg8Io5 NQv9sdGAcJA+Dny2LCd6008Rj6dOP1dBgcmrFazQiv6vlj6BCLU1TMvaI+d/h1gmcMHl KeDg== X-Gm-Message-State: ALyK8tLHBVtP973SK9PntZeLFoZYA4jHSj8kpzQYK//58/PVXUwG2Xh2GHPV+T79zvpg2g== X-Received: by 10.107.151.195 with SMTP id z186mr16221485iod.191.1465143339799; Sun, 05 Jun 2016 09:15:39 -0700 (PDT) Received: from localhost.localdomain ([50.243.4.3]) by smtp.googlemail.com with ESMTPSA id f199sm4248679ita.17.2016.06.05.09.15.38 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 09:15:38 -0700 (PDT) Message-ID: <57545029.5060805@gmail.com> Date: Sun, 05 Jun 2016 10:15:37 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:15:40 -0000 On 06/05/2016 10:01 AM, Baho Utot wrote: > On 06/05/16 11:58, Manas Bhatnagar wrote: >>> After the /bin/sh am I into a bourne shell or what? >> Try 'env bash'? >> >> > env: bash: No such file or directory Sorry, for barging in at this point. Do I understand correctly that you want bash to be your shell? If so, you can run (as root), the command chsh where should all be replaced by your login name. This will give you a vi screen where you change your login shell to whatever you want it to be. After that , you need to make sure that the rc and profile files that are executed by your chosen shell, export the variable SHELL= for example: export SHELL=/bin/bash HTH. From owner-freebsd-questions@freebsd.org Sun Jun 5 16:23:02 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D33BB6A542 for ; Sun, 5 Jun 2016 16:23:02 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 373621D2E for ; Sun, 5 Jun 2016 16:23:02 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x229.google.com with SMTP id f67so25715985ith.1 for ; Sun, 05 Jun 2016 09:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=vVR4qEg8kMsp2wAx0A6gzMvNsmFvbH0gmQgNQg2SriQ=; b=lEWMnfCyTvvEGU9u2wC4DF3J+Ibf4VIukHwaBuHAAxYeQ5llafx/meLlfo0EgiraPA C+LUIw3zZfEoNM8hMalCMWBFmMTpaTrhSsVfMxdLGdTwLMWTj7aqtc13QC+NDVLuzpqC 7EQW5CbW90svP9mP7GohanqT+OwuDyIlXzMWzxvyAZgj6lpIIiMBuzOuKgB636EYnrAt l1eTgPlHS+oJ4jLCDe500K5kQXS647z+vAlrAmlSTf7GNG/fQzrUVFYDE6fvY5Id8VtS Ei7lHmsdu66jXeH/oeLBEfKRU5qQyi2F5WUL32iLUSDeULRB9V5YhO7CyQC5UAEfT/6G hzQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=vVR4qEg8kMsp2wAx0A6gzMvNsmFvbH0gmQgNQg2SriQ=; b=KuFliwWzlxwHkKHngNXDb4B36oaZiTuHNl0bRWYkHC92/8eMzx5R67pOs6hoHuFj+2 DJwluGaOh597ViNpKh2OJwg6q/UHUBAoFCwHzL/zYIve07S+DPCpfQGUX3b53BGErxMy rDpQwW7wotDARrrHUM5R4rKE+BWA+09l5pIDMlIGsyea6EduaaIgH+f1mbgWcekA+gRQ JG9pmPqr12Oxr4BtWXbsdp/lgxjGS53oef/ksHA3Qqv4V+fsh+sWAPd67rmlA+REUBKH YVqOCo/Il9SB8od0U+J/161JXZ1m5Vy7z+3ngyHdqvWRS7mmZUk41ykEnQiSWxJ4zZ6D 0tcg== X-Gm-Message-State: ALyK8tIQ0HY+Xc2jkM2w0OAH405WvCpp94PmTD+qdUupYBiWOt6J8rvAK54XuAWFCvIIWg== X-Received: by 10.36.112.81 with SMTP id f78mr11638705itc.32.1465143781767; Sun, 05 Jun 2016 09:23:01 -0700 (PDT) Received: from localhost.localdomain ([50.243.4.3]) by smtp.googlemail.com with ESMTPSA id j137sm7182551ioe.18.2016.06.05.09.23.00 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 09:23:00 -0700 (PDT) Message-ID: <575451E4.7030104@gmail.com> Date: Sun, 05 Jun 2016 10:23:00 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> In-Reply-To: <57545029.5060805@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:23:02 -0000 On 06/05/2016 10:01 AM, Baho Utot wrote: > On 06/05/16 11:58, Manas Bhatnagar wrote: >>> After the /bin/sh am I into a bourne shell or what? >> Try 'env bash'? >> >> > env: bash: No such file or directory Sorry, for barging in at this point. Do I understand correctly that you want bash to be your shell? If so, you can run (as root), the command chsh where should all be replaced by your login name. This will give you a vi screen where you change your login shell to whatever you want it to be. After that , you need to make sure that the rc and profile files that are executed by your chosen shell, export the variable SHELL= for example: export SHELL=/bin/bash HTH. From owner-freebsd-questions@freebsd.org Sun Jun 5 16:30:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B9AEB6A817 for ; Sun, 5 Jun 2016 16:30:13 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id 54BE5106E for ; Sun, 5 Jun 2016 16:30:12 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52917] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 67/6D-11286-39354575; Sun, 05 Jun 2016 16:30:11 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9awF-0006eU-7n for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 12:30:11 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> From: Baho Utot Message-ID: <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> Date: Sun, 5 Jun 2016 12:30:11 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <57545029.5060805@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:30:13 -0000 On 06/05/16 12:15, jd1008 wrote: > > > On 06/05/2016 10:01 AM, Baho Utot wrote: >> On 06/05/16 11:58, Manas Bhatnagar wrote: >>>> After the /bin/sh am I into a bourne shell or what? >>> Try 'env bash'? >>> >>> >> env: bash: No such file or directory > > Sorry, for barging in at this point. > Do I understand correctly that you want bash to be your shell? No I don't want to have sh as my shell or change the default shell. I am just writing a script to build packages from ports on a new install. As bash is not available but sh was I'll use that to script into. Now when I was writing the script syntax that should have been a Ok in sh it was/is failing. After some head scratching I found that maybe I wasn't really using or in a bourne shell ie /bin/sh. That made me think that even though I have #!/bin/sh at the top of the script some how I wasn't really getting sh but csh. So here is what I tried. Power on console ( boot computer ) Login in as root /bin/sh set # to show environment etc WTF SHELL says I am in csh???? It should say SHELL=/bin/sh Hence my question here as to what is going on. From owner-freebsd-questions@freebsd.org Sun Jun 5 16:31:50 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6AC83B6A8E5 for ; Sun, 5 Jun 2016 16:31:50 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) by mx1.freebsd.org (Postfix) with SMTP id 40F0C12C6 for ; Sun, 5 Jun 2016 16:31:50 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Sun, 5 Jun 2016 09:31:42 -0700 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> From: David Christensen Message-ID: <575453F9.9070508@holgerdanske.com> Date: Sun, 5 Jun 2016 09:31:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:31:50 -0000 On 06/05/2016 08:38 AM, Baho Utot wrote: ... > root@baho-utot:~ # set ... > shell /bin/csh ... > tcsh 6.18.01 ... > OK tcsh as I thought ... > OK switch shells > > root@baho-utot:~ # /bin/sh > # set ... > Why is the SHELL variable still set to /bin/csh ... Because you are invoking a program (/bin/sh) and that program did not modify the SHELL environment variable. On 06/05/2016 09:15 AM, jd1008 wrote: > Do I understand correctly that you want bash to be your shell? > If so, you can run (as root), the command > chsh +1 Take a look at: https://www.freebsd.org/doc/en/articles/linux-users/shells.html David From owner-freebsd-questions@freebsd.org Sun Jun 5 16:36:15 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D74EAB6AAE9 for ; Sun, 5 Jun 2016 16:36:15 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62B5B1508 for ; Sun, 5 Jun 2016 16:36:14 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u55Ga4r9010241; Mon, 6 Jun 2016 02:36:04 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 6 Jun 2016 02:36:04 +1000 (EST) From: Ian Smith To: Adam Lindberg cc: RW , freebsd-questions@freebsd.org Subject: Re: Pidfile generated by /usr/sbin/daemon not usable by rc.d script In-Reply-To: <5C74A843-C2EB-424B-9254-0CD68A07E480@wooga.net> Message-ID: <20160606022421.T15883@sola.nimnet.asn.au> References: <20160602230511.W15883@sola.nimnet.asn.au> <5C74A843-C2EB-424B-9254-0CD68A07E480@wooga.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:36:15 -0000 On Fri, 3 Jun 2016 10:18:53 +0200, Adam Lindberg wrote: > We are using FreeBSD 10.1 STABLE. We are trying to demonize an Erlang > program. Erlang itself has support for detaching but cannot write > pidfiles. Thatÿÿs why weÿÿre trying to use daemon to wrap it. > > My experience is also that read works in all cases without a newline, > except from inside the rc script. That I cannot explain. I'm mystified too. Sounds like raising a bug might be your best bet; it may be come across by someone who knows more or recognises something. Looking at your sh -ex runs, good and fail, the only thing I wonder about is whether running it without -e might make any difference .. although the sourced /etc/rc.subr certainly should be -e safe. cheers, Ian From owner-freebsd-questions@freebsd.org Sun Jun 5 16:36:18 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A84FCB6AAED for ; Sun, 5 Jun 2016 16:36:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id 9B3C4150E for ; Sun, 5 Jun 2016 16:36:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Sun, 5 Jun 2016 09:36:16 -0700 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> From: David Christensen Message-ID: <5754550A.6020500@holgerdanske.com> Date: Sun, 5 Jun 2016 09:36:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:36:18 -0000 On 06/05/2016 09:30 AM, Baho Utot wrote: > No I don't want to have sh as my shell or change the default shell. > I am just writing a script to build packages from ports on a new install. > As bash is not available but sh was I'll use that to script into. > > Now when I was writing the script syntax that should have been a Ok in > sh it was/is failing. > After some head scratching I found that maybe I wasn't really using or > in a bourne shell ie /bin/sh. > That made me think that even though I have #!/bin/sh at the top of the > script some how I wasn't really getting sh but csh. > > So here is what I tried. > Power on console ( boot computer ) > Login in as root > /bin/sh > > set # to show environment etc > WTF SHELL says I am in csh???? > > It should say SHELL=/bin/sh > > Hence my question here as to what is going on. Is your script executable? # chmod +x scriptname Does it have a shebang line? #!/bin/sh Does it make use of the SHELL variable? David From owner-freebsd-questions@freebsd.org Sun Jun 5 16:46:48 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2571B6AFFF for ; Sun, 5 Jun 2016 16:46:48 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD461F52 for ; Sun, 5 Jun 2016 16:46:47 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52948] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id E6/D7-11286-77754575; Sun, 05 Jun 2016 16:46:47 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9bCI-0006fP-QD for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 12:46:46 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> <5754550A.6020500@holgerdanske.com> From: Baho Utot Message-ID: <02a5bb3c-e19a-221c-d30f-0feacebbf928@columbus.rr.com> Date: Sun, 5 Jun 2016 12:46:46 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <5754550A.6020500@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:46:48 -0000 On 06/05/16 12:36, David Christensen wrote: > On 06/05/2016 09:30 AM, Baho Utot wrote: >> No I don't want to have sh as my shell or change the default shell. >> I am just writing a script to build packages from ports on a new >> install. >> As bash is not available but sh was I'll use that to script into. >> >> Now when I was writing the script syntax that should have been a Ok in >> sh it was/is failing. >> After some head scratching I found that maybe I wasn't really using or >> in a bourne shell ie /bin/sh. >> That made me think that even though I have #!/bin/sh at the top of the >> script some how I wasn't really getting sh but csh. >> >> So here is what I tried. >> Power on console ( boot computer ) >> Login in as root >> /bin/sh >> >> set # to show environment etc >> WTF SHELL says I am in csh???? >> >> It should say SHELL=/bin/sh >> >> Hence my question here as to what is going on. > > Is your script executable? > > # chmod +x scriptname Yes > > > Does it have a shebang line? > > #!/bin/sh > > Yes > Does it make use of the SHELL variable? > > No It also behaves as if it is in tcsh/csh from the command prompt.... Ok you can try this from home ; ) login in as a user ( non root ) set SHELL is set to SHELL=/bin/sh Ok now try su - (give password) set SHELL=/bin/csh Ok that makes sense Now /bin/sh set SHELL=/bin/csh WTF? Log out of all the login as root set SHELL=/bin/csh Ok that makes sense /bin/sh set SHELL=/bin/csh WTF? It looks to me ( if I am not missing something here ) That I can only get to sh by loging in as a user...Again WTF From owner-freebsd-questions@freebsd.org Sun Jun 5 16:59:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAD11B694D4 for ; Sun, 5 Jun 2016 16:59:11 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id 52FAB1A55 for ; Sun, 5 Jun 2016 16:59:10 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Sun, 5 Jun 2016 17:58:24 +0100 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.86_2 (FreeBSD)) (envelope-from ) id 1b9bO2-000KuX-W8 for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 16:58:55 +0000 Date: Sun, 5 Jun 2016 17:58:48 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? Message-Id: <20160605175848.888968b00e11e7fefd84dc76@sohara.org> In-Reply-To: <575453F9.9070508@holgerdanske.com> References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 16:59:12 -0000 On Sun, 5 Jun 2016 09:31:53 -0700 David Christensen wrote: > > Why is the SHELL variable still set to /bin/csh > ... > > Because you are invoking a program (/bin/sh) and that program did not > modify the SHELL environment variable. This is the correct explanation, nothing automatically changes $SHELL when you execute a program - even if that program is a shell, the variable isn't intended to tell you what you're running just what your default shell is. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Jun 5 17:15:28 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02C81B69DB7 for ; Sun, 5 Jun 2016 17:15:28 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id C06561799 for ; Sun, 5 Jun 2016 17:15:27 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52961] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 2A/2C-08765-E2E54575; Sun, 05 Jun 2016 17:15:26 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9be1-0006g4-SJ for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 13:15:25 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> From: Baho Utot Message-ID: <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> Date: Sun, 5 Jun 2016 13:15:25 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <575453F9.9070508@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 17:15:28 -0000 On 06/05/16 12:31, David Christensen wrote: > On 06/05/2016 08:38 AM, Baho Utot wrote: > ... >> root@baho-utot:~ # set > ... >> shell /bin/csh > ... >> tcsh 6.18.01 > ... >> OK tcsh as I thought > ... >> OK switch shells >> >> root@baho-utot:~ # /bin/sh >> # set > ... >> Why is the SHELL variable still set to /bin/csh > ... > > Because you are invoking a program (/bin/sh) and that program did not > modify the SHELL environment variable. > > > On 06/05/2016 09:15 AM, jd1008 wrote: > > Do I understand correctly that you want bash to be your shell? > > If so, you can run (as root), the command > > chsh > > +1 > > Take a look at: > > https://www.freebsd.org/doc/en/articles/linux-users/shells.html > > > David I understood that, But I do not want to change the default shell. I only want to create a script ( sh script ) and run if from a clean machine with just base install nothing else and then run my sh script to build some ports. That's were the trouble lies. ie functions not returning status for example: test.sh chmod +x test.sh #!/bin/sh func() { echo "Yep it's me" return 1 } if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func ] doesn't work either echo "This works" fi ./test.sh [: func: unexpected operator From owner-freebsd-questions@freebsd.org Sun Jun 5 17:40:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00D24B6A36E for ; Sun, 5 Jun 2016 17:40:30 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3A3F11F1 for ; Sun, 5 Jun 2016 17:40:29 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id f67so26530476ith.1 for ; Sun, 05 Jun 2016 10:40:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=Fj2sDf5GZ9MsapDcDZShbsuE3TNhY5vQj9DwMxSvg/U=; b=pJ0r4Aj2NE0vhf2ZAQtJiUfMcBYEB33f/b3JrHNYmGYTn284Dv+weSJmW3NOxhIVsz oTDqJH37N27WXUyYQwMAH5iRS0wAXKD7HMoThCHzw4rNyD6PbE3PuaxVj6qB9GlB8uez no0ykkzBJx+iv9zqqJJgVDyKElVnF5n2rxbw+rcF2JQUg14qIzJQzJMv9+/EDBuBIBrr 0tZnJGlf9ckyArf6SGAjJpO1YMbg7AnaGQGGvyNz0YfVm2kO8pQz3NeMYavaL+jyKSyW cm19TsqeSY88QC6G0ihup/KE0A7Tzz0AXwKJ5+me6foGc8CwBqo+YsOwUxg1lCjEFoPR VSjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=Fj2sDf5GZ9MsapDcDZShbsuE3TNhY5vQj9DwMxSvg/U=; b=GONKdg/K/lYdNDZ/bjzTOqHVe5e/k5746srPzN+KcNleh/V8X37yz8Gfqi1WXZsaSA lYAHLBU0iDeY2YxxstR3Bd0qGdneFUiSA/YiyS3XQ/sNhtTWMqd/ZcBlD81umuwuhsDT kcPF6LgCk2jtbx6RiUAaykBXp4UrBeWzGRaN87Ob3SwFM9USKKMatBHSJlpyK9MrIyVZ 8m6q63DqrMoUyyJI63ifHJnklMKvhNst8SwrFOGD0VOPIWWt46lB8CJIgd+nBeoKH9PX 49ZjxdDpUZ+Tk8DyAViP5U1Xff0LVWg+5dEXQjbt6+Vv31qZ0MkguaDCOKw2XXdR9xPc GxnA== X-Gm-Message-State: ALyK8tK62utCkH0aABaw17W2qIQPxirgEBWEtfkgoWop59IbGw1n28cF267htYZzPLNb5Q== X-Received: by 10.36.66.68 with SMTP id i65mr11748343itb.91.1465148429094; Sun, 05 Jun 2016 10:40:29 -0700 (PDT) Received: from [10.0.10.3] (cpe-184-56-210-236.neo.res.rr.com. [184.56.210.236]) by smtp.googlemail.com with ESMTPSA id v136sm4347271ita.3.2016.06.05.10.40.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 10:40:28 -0700 (PDT) Message-ID: <5754641A.8010508@gmail.com> Date: Sun, 05 Jun 2016 13:40:42 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Baho Utot CC: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> In-Reply-To: <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 17:40:30 -0000 Baho Utot wrote: > On 06/05/16 12:31, David Christensen wrote: >> On 06/05/2016 08:38 AM, Baho Utot wrote: >> ... >>> root@baho-utot:~ # set >> ... >>> shell /bin/csh >> ... >>> tcsh 6.18.01 >> ... >>> OK tcsh as I thought >> ... >>> OK switch shells >>> >>> root@baho-utot:~ # /bin/sh >>> # set >> ... >>> Why is the SHELL variable still set to /bin/csh >> ... >> >> Because you are invoking a program (/bin/sh) and that program did not >> modify the SHELL environment variable. >> >> >> On 06/05/2016 09:15 AM, jd1008 wrote: >> > Do I understand correctly that you want bash to be your shell? >> > If so, you can run (as root), the command >> > chsh >> >> +1 >> >> Take a look at: >> >> https://www.freebsd.org/doc/en/articles/linux-users/shells.html >> >> >> David > > I understood that, But I do not want to change the default shell. > I only want to create a script ( sh script ) and run if from a clean > machine with just base install nothing else and then run my sh script to > build some ports. That's were the trouble lies. ie functions not > returning status for example: > > test.sh > chmod +x test.sh > > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func > ] doesn't work either > echo "This works" > fi > > ./test.sh > > [: func: unexpected operator I think your problem is where you are placing your script. You have to place your script in a path that is auto searched for executable scripts. Place your script in /usr/local/bin on your development pc and on the new installed os pc. Then just entering the script on the console command line will cause it to execute. BY the way your script doesn't need to be suffixed with .sh to work. From owner-freebsd-questions@freebsd.org Sun Jun 5 17:49:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5382B6A78C for ; Sun, 5 Jun 2016 17:49:34 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id AA7EC1A92 for ; Sun, 5 Jun 2016 17:49:33 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:52988] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id EB/1E-11286-D2664575; Sun, 05 Jun 2016 17:49:33 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9cB2-0006h4-Oh for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 13:49:32 -0400 Subject: Re: sh[it] and What am I missing here? References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <5754641A.8010508@gmail.com> To: freebsd-questions@freebsd.org From: Baho Utot Message-ID: <5fd48d4e-0ca9-681b-83af-da18280f4979@columbus.rr.com> Date: Sun, 5 Jun 2016 13:49:32 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <5754641A.8010508@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 17:49:35 -0000 On 06/05/16 13:40, Ernie Luzar wrote: > Baho Utot wrote: >> On 06/05/16 12:31, David Christensen wrote: >>> On 06/05/2016 08:38 AM, Baho Utot wrote: >>> ... >>>> root@baho-utot:~ # set >>> ... >>>> shell /bin/csh >>> ... >>>> tcsh 6.18.01 >>> ... >>>> OK tcsh as I thought >>> ... >>>> OK switch shells >>>> >>>> root@baho-utot:~ # /bin/sh >>>> # set >>> ... >>>> Why is the SHELL variable still set to /bin/csh >>> ... >>> >>> Because you are invoking a program (/bin/sh) and that program did >>> not modify the SHELL environment variable. >>> >>> >>> On 06/05/2016 09:15 AM, jd1008 wrote: >>> > Do I understand correctly that you want bash to be your shell? >>> > If so, you can run (as root), the command >>> > chsh >>> >>> +1 >>> >>> Take a look at: >>> >>> https://www.freebsd.org/doc/en/articles/linux-users/shells.html >>> >>> >>> David >> >> I understood that, But I do not want to change the default shell. >> I only want to create a script ( sh script ) and run if from a clean >> machine with just base install nothing else and then run my sh script >> to build some ports. That's were the trouble lies. ie functions not >> returning status for example: >> >> test.sh >> chmod +x test.sh >> >> #!/bin/sh >> >> func() { >> echo "Yep it's me" >> return 1 >> } >> >> if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq >> func ] doesn't work either >> echo "This works" >> fi >> >> ./test.sh >> >> [: func: unexpected operator > > I think your problem is where you are placing your script. > You have to place your script in a path that is auto searched for > executable scripts. > ./ fixes that > Place your script in /usr/local/bin on your development pc and on the > new installed os pc. Then just entering the script on the console > command line will cause it to execute. BY the way your script doesn't > need to be suffixed with .sh to work. It does need the suffix .sh because if it is missing I fail to function...... the computer does just fine. From owner-freebsd-questions@freebsd.org Sun Jun 5 18:01:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2658B6AA04 for ; Sun, 5 Jun 2016 18:01:31 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.230]) by mx1.freebsd.org (Postfix) with ESMTP id 6AF3B1122 for ; Sun, 5 Jun 2016 18:01:31 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:53010] helo=raspberrypi.bildanet.com) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id C8/20-04697-AF864575; Sun, 05 Jun 2016 18:01:30 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9cMc-0006hr-6s for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 14:01:30 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> <86h9d7r09p.fsf@WorkBox.Home> From: Baho Utot Message-ID: <95af446b-4bca-e0c3-ba32-4c003fade6ea@columbus.rr.com> Date: Sun, 5 Jun 2016 14:01:30 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <86h9d7r09p.fsf@WorkBox.Home> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:01:31 -0000 On 06/05/16 13:52, Brandon J. Wandersee wrote: > Baho Utot writes: > >> So here is what I tried. >> Power on console ( boot computer ) >> Login in as root >> /bin/sh >> >> set # to show environment etc >> WTF SHELL says I am in csh???? >> >> It should say SHELL=/bin/sh >> >> Hence my question here as to what is going on. > It seems the $SHELL variable is derived from the settings for the > account you log into. That variable persists when you run another shell, > as (a) the base environment is inherited by child processes; and (b) the > (interactive) shell is just another running user program at that point, > not a base working environment itself. > > Log in as root and start a different (interactive) shell, and the > variable will remain unchanged. Log in as a normal user and start > another shell, and you'll get the same result. Log in as any user and > `su` to any other user---simulating a new login---and the value of the > variable will change to the user shell for the new account. > > As I understand it, you can have a script you've executed change the > variable having it simulate a login shell and parse a custom > configuration file. See the "Invocation" section of the sh(8) man page > for an explanation. > > Ok, But I think I will need to talk to Jack Daniels first then I will have a look at the man page From owner-freebsd-questions@freebsd.org Sun Jun 5 18:15:46 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64F0EB6B25C for ; Sun, 5 Jun 2016 18:15:46 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FEF51DA6 for ; Sun, 5 Jun 2016 18:15:46 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id f67so26894119ith.1 for ; Sun, 05 Jun 2016 11:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=KNuARb5uJaXCSk0LBbubrSUEXzSFA/uFrtNQoPbCqz0=; b=xzdELi+IwTJbv5ytp2ITAJKzbLgdVUAywpAcUyhsAbXEZptf2+silcnetOdj8RcCEG 8FiqyqbTiL1NHCGCPrwQ/6DIVlPzOpFazjSXPPK82z3+t0Bc+Zdre4tnhM9jp+u2BxLj xaWzBCRD59y15FUX95ljcQAEA0xRwPZJokh8hMetZFmsTYA7E69hhIlSykUPUr8JdpKO xx2TOm3AXwZnHl+QckT4uydGRuVlTAZmmtZtv5nHDgR6fSTXegtRzMUaMaNEO2KA1dWs CF4r0yCtEOah3KK69jA5q1B3T2kkuz8eucDdWFTZc6PBqKLGmdMFmHgphnLOTcwIHNT6 X5mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=KNuARb5uJaXCSk0LBbubrSUEXzSFA/uFrtNQoPbCqz0=; b=GPaVHGv6gRjPS3jIHLzLokmVBj3WJuP+pVKg5XEmfFS0XqvBzStlmBYkYx8yUOnoiG BUTyLd2vRruxRK3/6H1zMPNAkQT+emzIlGKUWDVCjwuph9NFpZueZxq7iq0zNDGMZUeH 0rvLBuTOgfQmwhTI64ZXOlVmIZTcPjzAHEMX6Nbh1ctY8rmFEfgYvdKM0w/f7wg4LtXT makhY90o4CHotJKrGFpt3jtO/SR8g9nxG8ue+IKywE5fMTESipIY/F4Ixi+dO1NCXPmM zanmB1DACn/k7LOnpt9f2JHNHeofjxBoNvqVkHHLJSPaz48XcEqjjhgpu3mWQvC5brer s9wQ== X-Gm-Message-State: ALyK8tJAnpdE+0b5th/KW2N8QAdhwyXZxczu/6F3UH3ArSp6Cxx5QF/YiO3eicZWPFI/lA== X-Received: by 10.36.26.70 with SMTP id 67mr11995593iti.4.1465150545513; Sun, 05 Jun 2016 11:15:45 -0700 (PDT) Received: from [10.0.10.3] (cpe-184-56-210-236.neo.res.rr.com. [184.56.210.236]) by smtp.googlemail.com with ESMTPSA id c65sm7448755iof.9.2016.06.05.11.15.44 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 11:15:44 -0700 (PDT) Message-ID: <57546C60.7020301@gmail.com> Date: Sun, 05 Jun 2016 14:16:00 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Lev CC: freebsd-questions@freebsd.org Subject: Re: stop ipfilter References: <20160605134825.30e1d3d9@jive> In-Reply-To: <20160605134825.30e1d3d9@jive> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:15:46 -0000 Lev wrote: > Hi, > > > When I want to stop ipnat or ipfilter the command just hangs, and never > return. > > This is what I do: > > service ipfilter stop > > The service is not stopped. > > I can only kill the process. > > Lev > Why would you want to stop ipfilter? Look at the ipf command for reloading updated rules and ipnat to reload nat rules. From owner-freebsd-questions@freebsd.org Sun Jun 5 18:23:34 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDC93B6B51C for ; Sun, 5 Jun 2016 18:23:34 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-it0-f47.google.com (mail-it0-f47.google.com [209.85.214.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B60C1166F for ; Sun, 5 Jun 2016 18:23:34 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-it0-f47.google.com with SMTP id z189so27017009itg.0 for ; Sun, 05 Jun 2016 11:23:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=naa81+tD+BHcPsuqjKi7tC3TOSwtFLyJ2Uxtk6Bqbwk=; b=OVznI0le8EptEufdCZrzYtHFjpHf/Eg0AFE1LdqENX/eWw7dM23VsB+wabyh+cwZU8 6YXobNhfw/x3p6k2hoy7cb+XYxXkgOQjQQdQDWZhRSTnxf802DSXw0oJMJEeRFAqUBTL 1ywvSLY1NSRJYL5NVVcdXp1w0ehoemfbHW2vzq0kPYwDXVYr0z8EJ23QQJaY5EJupJ73 UYnCqtTR3s3kb9B3EkuppTxyre2SnOLtF4a8YLr9oD2KlPAZV4A2fKSu0QZdGZNiGOr6 rA0XYwd1QAlKNtAe1Xrhl2bK4ALkooCQ8ftGBrZ3SrCs1fbBtd2PkCom7gtiOfj0IBYA xMHw== X-Gm-Message-State: ALyK8tLSFX1S+gCmypJ42T3Vt8Q2kSlTL1TWJ5BOYf8bE721mOHNhUPQc2VxWFHUy9//Gg== X-Received: by 10.36.39.3 with SMTP id g3mr10678184ita.53.1465149156028; Sun, 05 Jun 2016 10:52:36 -0700 (PDT) Received: from WorkBox.Home.gmail.com (174-30-204-156.mpls.qwest.net. [174.30.204.156]) by smtp.gmail.com with ESMTPSA id r80sm4354562itc.18.2016.06.05.10.52.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jun 2016 10:52:34 -0700 (PDT) References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> User-agent: mu4e 0.9.16; emacs 24.5.1 From: Brandon J. Wandersee To: Baho Utot Cc: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? In-reply-to: <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> Date: Sun, 05 Jun 2016 12:52:34 -0500 Message-ID: <86h9d7r09p.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:23:35 -0000 Baho Utot writes: > So here is what I tried. > Power on console ( boot computer ) > Login in as root > /bin/sh > > set # to show environment etc > WTF SHELL says I am in csh???? > > It should say SHELL=/bin/sh > > Hence my question here as to what is going on. It seems the $SHELL variable is derived from the settings for the account you log into. That variable persists when you run another shell, as (a) the base environment is inherited by child processes; and (b) the (interactive) shell is just another running user program at that point, not a base working environment itself. Log in as root and start a different (interactive) shell, and the variable will remain unchanged. Log in as a normal user and start another shell, and you'll get the same result. Log in as any user and `su` to any other user---simulating a new login---and the value of the variable will change to the user shell for the new account. As I understand it, you can have a script you've executed change the variable having it simulate a login shell and parse a custom configuration file. See the "Invocation" section of the sh(8) man page for an explanation. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ---------------------------------- From owner-freebsd-questions@freebsd.org Sun Jun 5 18:26:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB221B6B5C9 for ; Sun, 5 Jun 2016 18:26:51 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74CEF1744 for ; Sun, 5 Jun 2016 18:26:51 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x233.google.com with SMTP id i65so20329694ith.1 for ; Sun, 05 Jun 2016 11:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=sVf8cF8ScmWi2pxhgC5XiVB6ssMf4ORkVyOtANbOK9M=; b=Ctx6yKgME8WfOnMM65aUcozZE++fG1yJyibVZ+RbR3Fq/Kp1vmpb0VOOw1BK7Jlhca zqRT0KidfxDX7UjshnFqQLFSDsvVyZXw7UwHTK6eNS1eZ5bEXtNaTjVaQfE1cNpMZ5CA xATFpfF3vsYUwuCeCY8hKHEnl1WBgoZGnmf5AkOO6cyJn2UYgLlyn0Z+qDmNexhS2Ry3 QxSzuomG2bw4IznX1A/gnKuvwlp2q7odT8C9iZ6KDRgSCZAJaPuTkeVdT6gRI1eoYQ6N FkScBc8lV88/Lpd19NxDaLn5Zs5q0+xPtOXEJeovcv8ACRDKCSIigHedbZuPKDZzLABW 0CUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=sVf8cF8ScmWi2pxhgC5XiVB6ssMf4ORkVyOtANbOK9M=; b=VAK6PLaCC3kIkkUoCiD/f3Hoh7NKR6IM7KLcoDyanZbH7nW6JyxRLdw9bXMpsKMM5t 3gdC5gnm0sGCeqCKOU03Xb0U8OmstI68mSJiwn1e9luWBsn2J/ZWzKDCKhnurIxm2pxz TJiGxBigagCIO4TiJWbpbnR4rO5sHyyLPysTXlvALM+Tx4LZ8GKGWOMbSt4rtYQAOP/q MhIidB09MdU7WqR9p2QZCjJRya7kQH+c+Y4sr+4q/8PAdBOsyd8itJgZKz7hws3magd4 CrGK21IVM4TlM21Uj9JUxCLrh7TZ3KDVkyVENIPcL+WHQvQMUAk1HWrrvV1EopoPeL2y lqKQ== X-Gm-Message-State: ALyK8tKButqrjFBpg4uycjHYRB2QDlXOc4hdyT3HfBrMLYL5ZMixvgkj8SIKJDTL8MBKlA== X-Received: by 10.36.82.72 with SMTP id d69mr11773595itb.3.1465151210744; Sun, 05 Jun 2016 11:26:50 -0700 (PDT) Received: from localhost.localdomain ([50.243.4.3]) by smtp.googlemail.com with ESMTPSA id v136sm4422617ita.3.2016.06.05.11.26.49 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 11:26:49 -0700 (PDT) Message-ID: <57546ED4.2030700@gmail.com> Date: Sun, 05 Jun 2016 12:26:28 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <5754641A.8010508@gmail.com> In-Reply-To: <5754641A.8010508@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:26:51 -0000 On 06/05/2016 11:40 AM, Ernie Luzar wrote: > Baho Utot wrote: >> On 06/05/16 12:31, David Christensen wrote: >>> On 06/05/2016 08:38 AM, Baho Utot wrote: >>> ... >>>> root@baho-utot:~ # set >>> ... >>>> shell /bin/csh >>> ... >>>> tcsh 6.18.01 >>> ... >>>> OK tcsh as I thought >>> ... >>>> OK switch shells >>>> >>>> root@baho-utot:~ # /bin/sh >>>> # set >>> ... >>>> Why is the SHELL variable still set to /bin/csh >>> ... >>> >>> Because you are invoking a program (/bin/sh) and that program did >>> not modify the SHELL environment variable. >>> >>> >>> On 06/05/2016 09:15 AM, jd1008 wrote: >>> > Do I understand correctly that you want bash to be your shell? >>> > If so, you can run (as root), the command >>> > chsh >>> >>> +1 >>> >>> Take a look at: >>> >>> https://www.freebsd.org/doc/en/articles/linux-users/shells.html >>> >>> >>> David >> >> I understood that, But I do not want to change the default shell. >> I only want to create a script ( sh script ) and run if from a clean >> machine with just base install nothing else and then run my sh script >> to build some ports. That's were the trouble lies. ie functions not >> returning status for example: >> >> test.sh >> chmod +x test.sh >> >> #!/bin/sh >> >> func() { >> echo "Yep it's me" >> return 1 >> } >> >> if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq >> func ] doesn't work either >> echo "This works" >> fi >> >> ./test.sh >> >> [: func: unexpected operator > > I think your problem is where you are placing your script. > You have to place your script in a path that is auto searched for > executable scripts. > > Place your script in /usr/local/bin on your development pc and on the > new installed os pc. Then just entering the script on the console > command line will cause it to execute. BY the way your script doesn't > need to be suffixed with .sh to work. Hey Baho, Well, your login rc files (such as .cshrc or whatever other rc or profies files are executed, they set your default shell to (as you indicated) /bin/csh. Since you do not want to change that, then I suggest that your shell script you are working with have this code just after the shebang line: export SHELL=/bin/sh then code you functions and script after that. The shell variable value will only affect the shell you are executing and any other shell scripts you run from there (as long as those shell scripts are shebanged with #!/bin/sh and do not reset the SHELL variable value. HTH From owner-freebsd-questions@freebsd.org Sun Jun 5 18:27:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C933B6B643 for ; Sun, 5 Jun 2016 18:27:40 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1851E180F for ; Sun, 5 Jun 2016 18:27:40 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: by mail-it0-x233.google.com with SMTP id z123so27668716itg.0 for ; Sun, 05 Jun 2016 11:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:subject:from:to:in-reply-to:mime-version :content-transfer-encoding; bh=D6oHFdzwUAPCDQ00L7JDQK6YGczE8v4f/N9qCTDZ7uk=; b=KpA0LhAXzLVaO8NqXPg7tJWlMG4DLclw0oPHt1b/H4UVlQHTF/9n4IS4T7xMPcORKk CHTZfN/XJafrY+0uiydJw5F7TaqxXwqb7wedTkOIQ0MNz6rDqryKf2nUc8VXdM/DGEl2 O91wIrf28duyM19+RjWZMsYBJVLrTfDzuA/aY4gTLDxklgx/xzrkgJn7baw4MqGX1NTd pLxAbEGMrCTAKoHdZyiGVKWf4G5IM250H7q7pL4oLUHN5sv9tczYZayOCEaMt+k3zL0W oauhnJ/PVu1XGYfsCf8Ou9KCB+GxXkNVrtZ0PNufkufUAPemE+y+oK9jcytNGgfBgQE2 oZPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:subject:from:to:in-reply-to :mime-version:content-transfer-encoding; bh=D6oHFdzwUAPCDQ00L7JDQK6YGczE8v4f/N9qCTDZ7uk=; b=G8OD/nbwYjFLdj0fyZsucJIIRo5de+QA4HSzAyySzJPJhN8McL3JbGIe3vSeLcY9xd PbPyRD8XTfxA/oBDQdk3YO4+IAwp7gVHitWRuCPpyiQ7sUplI8Na1DWS6MtbJ64G/sbY RwAR32Ro1V7RtvqadPOsByj2nGKvd0oBk/UU3wtQjVcZL9cm8XIw+I+DpM8cr4qgX4T8 i0XpPlbeOV4Mvzh7xPacfa36Q9VhxxOmHC5K45HPaZwuWyOUva6mQIbotRLExOFWGY0F ipmpb9A70kb0LFkU4JDX6OfAAR8Z0YZgJEceTEryEnqSf28wi1Bb8PCcg7EHTnyN4iYx z7oA== X-Gm-Message-State: ALyK8tLWwUV0VIypTCzfW7xY5OLS8lo/8ADRJruqve2vwmzFjFunEQ/H7ea2RJBY3TPitw== X-Received: by 10.36.242.67 with SMTP id j64mr11001095ith.25.1465151259652; Sun, 05 Jun 2016 11:27:39 -0700 (PDT) Received: from [192.168.1.133] ([104.158.161.19]) by smtp.gmail.com with ESMTPSA id x83sm4442463itf.2.2016.06.05.11.27.38 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 11:27:39 -0700 (PDT) Message-ID: <57546f1b.56cc240a.5fadb.ffffe1fc@mx.google.com> Date: Sun, 05 Jun 2016 14:27:35 -0400 Subject: Re: sh[it] and What am I missing here? From: Manas Bhatnagar To: Baho Utot , "freebsd-questions@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:27:40 -0000 YmFzaCBpc24ndCBpbnN0YWxsZWQgYnkgZGVmYXVsdCBvbiBGcmVlQlNECgoKwqAgT3JpZ2luYWwg TWVzc2FnZSDCoApGcm9tOmJhaG8tdXRvdEBjb2x1bWJ1cy5yci5jb20KU2VudDpKdW5lIDUsIDIw MTYgMTI6MDIKVG86ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcKU3ViamVjdDpSZTogc2hb aXRdIGFuZCBXaGF0IGFtIEkgbWlzc2luZyBoZXJlPwoKT24gMDYvMDUvMTYgMTE6NTgsIE1hbmFz IEJoYXRuYWdhciB3cm90ZToKPj4gQWZ0ZXIgdGhlIC9iaW4vc2ggYW0gSSBpbnRvIGEgYm91cm5l IHNoZWxsIG9yIHdoYXQ/Cj4gVHJ5ICdlbnYgYmFzaCc/Cj4KPgplbnY6IGJhc2g6IE5vIHN1Y2gg ZmlsZSBvciBkaXJlY3RvcnkKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX18KZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcgbWFpbGluZyBsaXN0Cmh0dHBz Oi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1hbi9saXN0aW5mby9mcmVlYnNkLXF1ZXN0aW9ucwpU byB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFpbCB0byAiZnJlZWJzZC1xdWVzdGlvbnMtdW5zdWJz Y3JpYmVAZnJlZWJzZC5vcmciCg== From owner-freebsd-questions@freebsd.org Sun Jun 5 18:40:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6817CB6BAB0 for ; Sun, 5 Jun 2016 18:40:39 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE335112F for ; Sun, 5 Jun 2016 18:40:38 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id f67so27143191ith.1 for ; Sun, 05 Jun 2016 11:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=ijZPSMzXbRG78uldjip3kU46hyU8djpYibmK0DxoiUA=; b=zNdrIzC+pfr0D/UWEPwjDQK4rXQlBRhy9u8NIcVjq/gz6syEnr3nhYk8TTv/jEyuWH r0Zp5HK/1WzdrecJybq7msL13yFu3H/ENuGwQYgSLIBkt6hYowZXZBquhlH5K273KQdc 7hjC8vfUpKHooWCx6PkPkJlIaGKsbUHUTaMHnGO7pE3ioBZY7H79nYLdn7kg9Q2xyGK1 o42Mrv8AlFAvGvqb/mGJAJBs3pyJE5yT/aqBl2ijO7t/n63sUWI0iVAw5M+97Z5Dgemt YkllkWHOx87lnqhk1puT/CTa/f7KBXFh8XilNlfVJps3Qsd1L1jHpbSMCBz0P+B4k/QS Fn+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=ijZPSMzXbRG78uldjip3kU46hyU8djpYibmK0DxoiUA=; b=MvKlytIRgtxdWuXkQGvs3iHtveP47WVanKpxv8vs539MZdLe+VlzVXq47/NpVwdWat QrRSEASTymJYI6XG4Ij96UT3EbCBqnqXKMY/vmx3ItQZeUnkXxwBStZBo9gSvZIVTB/S niLGSEC/oT4SeXR0G6rYkdG7lNLI3S5xiFEZIJ8/p8LFkbJrHn3bKU0+ak4qBkkTj80x TeZqKjKyCEFi4kdSJhAF48XiPr+jMKMgSzM4zgV+qEl9YxIqtd6PG5McIjlqFz9Onhrx zoOeiAPWRAv1HPRpHLGJe8QYXPkaMPquUTKH7rqAkMP8Ms7z1Mse+YU99mHvy4EorO6m Qztg== X-Gm-Message-State: ALyK8tIHH9UEpNFPs4SjhV3/m46nt4hBWOXeAyrsTZc02w2wLRDlQp8IceSgUd1USPEwVw== X-Received: by 10.36.122.210 with SMTP id a201mr3227905itc.13.1465152038313; Sun, 05 Jun 2016 11:40:38 -0700 (PDT) Received: from localhost.localdomain ([50.243.4.3]) by smtp.googlemail.com with ESMTPSA id e131sm4445465ita.15.2016.06.05.11.40.36 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 11:40:37 -0700 (PDT) Message-ID: <5754721B.2030407@gmail.com> Date: Sun, 05 Jun 2016 12:40:27 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: FreeBSD Users Subject: Fwd: Undeliverable: Re: sh[it] and What am I missing here? References: <7C01C6AB-9207-473A-ACF9-3FA10422C279.1_1465151232168@snaffler-net.bounceio.net> In-Reply-To: <7C01C6AB-9207-473A-ACF9-3FA10422C279.1_1465151232168@snaffler-net.bounceio.net> X-Forwarded-Message-Id: <7C01C6AB-9207-473A-ACF9-3FA10422C279.1_1465151232168@snaffler-net.bounceio.net> Content-Type: multipart/mixed; boundary="------------050107060304060907090202" X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:40:39 -0000 This is a multi-part message in MIME format. --------------050107060304060907090202 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Why am I getting this after I reply to a post? The list must have a subscriber who is on a spamming server. If this continues, I believe I may have to unsubscribe to protect my machine from possible malware. Yo -------- Forwarded Message -------- Subject: Undeliverable: Re: sh[it] and What am I missing here? Date: Sun, 5 Jun 2016 13:36:55 -0500 From: Postmaster To: jd1008@gmail.com =09 =09 There was a problem delivering your email to: krad@snaffler.net ------------------------------------------------------------------------ WHAT HAPPENED? The domain name of the email address is not valid. ------------------------------------------------------------------------ =09 WHAT CAN YOU DO? Check the "snaffler.net" part of the email address for misspellings or=20 missing letters. (If you find an error, you might need to correct it in=20 your contacts list or address book too.) If necessary, contact your recipient another way (e.g., phone or text=20 message) to confirm their email address. Find out more information about this bounce message.=20 =20 =09 =09 Learn more about RevenueStripe...=20 =20 =20 Advertisement | Prefer no ads?=20 =20 =09 ------------------------------------------------------------------------ WHO ARE WE? BetterBounces.net works on behalf of various Internet properties to give = you better information about why your email wasn't delivered. You can=20 learn more about us here=20 .=20 ------------------------------------------------------------------------ =09 YOU MIGHT LIKE =20 =20 =20 Learn more about RevenueStripe...=20 =20 RATE THIS EMAIL Helpful=20 =20 Not Helpful=20 =20 =09 908 Main Street #310, Louisville, Colorado =C2=A9 2015 betterbounces.net, All rights reserved. Get more help =09 --------------050107060304060907090202 Content-Type: message/rfc822; name="ForwardedMessage.eml" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ForwardedMessage.eml" Taap-Queue-Id: 7C01C6AB-9207-473A-ACF9-3FA10422C279.1 Authentication-Results: Inbound-MTA; spf=pass smtp.mailfrom=tiscali.co.uk; dkim=fail (body hash did not verify) header.i=@gmail.com; dkim=pass header.i=@tiscali.co.uk Received-SPF: Pass (Inbound-MTA: domain of tiscali.co.uk designates 62.24.135.129 as permitted sender) receiver=Inbound-MTA; identity=mailfrom; client-ip=62.24.135.129; helo=smtp-out-1.tiscali.co.uk; envelope-from= Received: from smtp-out-1.tiscali.co.uk ([62.24.135.129]) by Inbound-MTA (Haraka/2.7.3) with ESMTP id 7C01C6AB-9207-473A-ACF9-3FA10422C279.1 envelope-from ; Sun, 05 Jun 2016 18:27:00 +0000 Received: from smtp-out-1.tiscali.co.uk (HELO smtp-out-1.tiscali.co.uk) (62.24.135.129) by mc96 (qpsmtpd/0.80) with ESMTP; Sun, 05 Jun 2016 18:27:00 +0000 Received: from mail.svcgb1.int.opaltelecom.net ([10.116.0.56]) by smtp.talktalk.net with SMTP id 9ckHbpRfY7qqc9clHbBdrr; Sun, 05 Jun 2016 19:26:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tiscali.co.uk; s=1605; t=1465151219; bh=+sYu+BUBpGa710w9HPqakGy/8EGeJsc/FLxwFk+Mgwo=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe; b=Sb64YUImOZmpsPQ91ytbsbT+qVCuLR/Q5Qypv/3RHVVG2tl4mIdPZsA/1DA0Th9bD SijHpZZoUvKFrkwaJ07Q19CF53m9dzsL2HxMYw/OyJWAU+I2FJLabq+Ruhsons0Yfi 5K9NNqihsZxgnzJdP9kAe0M8uGur9KzuNFnvNh8g= X-Originating-IP: [10.116.0.56] Delivered-To: chrisscott1066@tiscali.co.uk Received: from cm12gb1 (10.101.251.12) by mail.svcgb1.int.opaltelecom.net (8.6.141.03) id 574E52E2004546F2 for chris_scott@ukgateway.net; Sun, 5 Jun 2016 19:26:59 +0100 Received: from mx2.freebsd.org ([8.8.178.116]) by mx.talktalk.net with SMTP id 9clFbbvm5kpdi9clGbuKNn; Sun, 05 Jun 2016 19:26:59 +0100 X-Delivered-To: chris_scott@ukgateway.net Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.freebsd.org (Postfix) with ESMTPS id 6D77E6CAA2; Sun, 5 Jun 2016 18:26:56 +0000 (UTC) (envelope-from owner-freebsd-questions@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 44C031759; Sun, 5 Jun 2016 18:26:56 +0000 (UTC) (envelope-from owner-freebsd-questions@freebsd.org) Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB221B6B5C9 for ; Sun, 5 Jun 2016 18:26:51 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74CEF1744 for ; Sun, 5 Jun 2016 18:26:51 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x233.google.com with SMTP id i65so20329694ith.1 for ; Sun, 05 Jun 2016 11:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=sVf8cF8ScmWi2pxhgC5XiVB6ssMf4ORkVyOtANbOK9M=; b=Ctx6yKgME8WfOnMM65aUcozZE++fG1yJyibVZ+RbR3Fq/Kp1vmpb0VOOw1BK7Jlhca zqRT0KidfxDX7UjshnFqQLFSDsvVyZXw7UwHTK6eNS1eZ5bEXtNaTjVaQfE1cNpMZ5CA xATFpfF3vsYUwuCeCY8hKHEnl1WBgoZGnmf5AkOO6cyJn2UYgLlyn0Z+qDmNexhS2Ry3 QxSzuomG2bw4IznX1A/gnKuvwlp2q7odT8C9iZ6KDRgSCZAJaPuTkeVdT6gRI1eoYQ6N FkScBc8lV88/Lpd19NxDaLn5Zs5q0+xPtOXEJeovcv8ACRDKCSIigHedbZuPKDZzLABW 0CUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=sVf8cF8ScmWi2pxhgC5XiVB6ssMf4ORkVyOtANbOK9M=; b=VAK6PLaCC3kIkkUoCiD/f3Hoh7NKR6IM7KLcoDyanZbH7nW6JyxRLdw9bXMpsKMM5t 3gdC5gnm0sGCeqCKOU03Xb0U8OmstI68mSJiwn1e9luWBsn2J/ZWzKDCKhnurIxm2pxz TJiGxBigagCIO4TiJWbpbnR4rO5sHyyLPysTXlvALM+Tx4LZ8GKGWOMbSt4rtYQAOP/q MhIidB09MdU7WqR9p2QZCjJRya7kQH+c+Y4sr+4q/8PAdBOsyd8itJgZKz7hws3magd4 CrGK21IVM4TlM21Uj9JUxCLrh7TZ3KDVkyVENIPcL+WHQvQMUAk1HWrrvV1EopoPeL2y lqKQ== X-Gm-Message-State: ALyK8tKButqrjFBpg4uycjHYRB2QDlXOc4hdyT3HfBrMLYL5ZMixvgkj8SIKJDTL8MBKlA== X-Received: by 10.36.82.72 with SMTP id d69mr11773595itb.3.1465151210744; Sun, 05 Jun 2016 11:26:50 -0700 (PDT) Received: from localhost.localdomain ([50.243.4.3]) by smtp.googlemail.com with ESMTPSA id v136sm4422617ita.3.2016.06.05.11.26.49 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 11:26:49 -0700 (PDT) Message-ID: <57546ED4.2030700@gmail.com> Date: Sun, 05 Jun 2016 12:26:28 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <5754641A.8010508@gmail.com> In-Reply-To: <5754641A.8010508@gmail.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: owner-freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-CMAE-Envelope: MS4wfB0eWe4RrGIOm5zXy0cpjXS3f6+KQnGlyUkJncgP2V5NHtxhTJckgqbAAW5HfdnSuIevEGKs4WtgbzyfYWlqGOJyyHHymD840wlc/f51ff/xnjiea+o/ c2CAWX9imlL2Zl0RlV4wrWtHMra2OsP0iLy94ZroUMCVsjCaBjj3vCvSFPKqBEJjKy1vsSAeMjGdS489KFYm4xZTNjOKVNpB4MErFDNuOL3S0CXLI7e1MT3O CroBcYpupYE6lIMx+AsP1A== X-SMTP-IP: 62.24.135.129 X-SMTP-HELO: smtp-out-1.tiscali.co.uk X-SMTP-RAWHELO: EHLO smtp-out-1.tiscali.co.uk X-SMTP-MAILFROM: X-SMTP-RAWMAILFROM: MAIL FROM: SIZE=8734 X-SMTP-RCPTS: X-SMTP-RAWRCPTS: RCPT TO: Taap-senderscore: 87 Taap-scbl: Unknown Taap-rnbl: Unknown Taap-Sender: srs0=hysflox2=r5=freebsd.org=owner-freebsd-questions@tiscali.co.uk Taap-Rcpt: krad@snaffler.net Taap-Ip: 62.24.135.129 Taap-Rdns: smtp-out-1.tiscali.co.uk Taap-Helo: smtp-out-1.tiscali.co.uk Taap-Size: 9173 Taap-DKIM: [{"identity":"@gmail.com","domain":"gmail.com","selector":"20120113","result":"fail","error":"body hash did not verify"},{"identity":"@tiscali.co.uk","domain":"tiscali.co.uk","selector":"1605","result":"pass","error":null}] Taap-DomainRecord: {"name":"snaffler.net","account":{"account_id":313},"vintage":"grey","bio_mx_timestamp":1464957232000,"prior_mx_timestamp":1445266143000,"open_relay":false} Message truncated. --------------050107060304060907090202-- From owner-freebsd-questions@freebsd.org Sun Jun 5 18:46:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B7B00B6BCE2 for ; Sun, 5 Jun 2016 18:46:31 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: from mail-qt0-x232.google.com (mail-qt0-x232.google.com [IPv6:2607:f8b0:400d:c0d::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A9781510 for ; Sun, 5 Jun 2016 18:46:31 +0000 (UTC) (envelope-from b.manas.88@gmail.com) Received: by mail-qt0-x232.google.com with SMTP id 23so9097309qtq.0 for ; Sun, 05 Jun 2016 11:46:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CyOvrMe2kt7zNHiPDPTfOC9OgbX+48tVVmKqjt8OhTA=; b=O7k9RB0TRZGcm2Z7hvW4JPZc2oYZ1sDXGcUVyhn6YyTwSEnMHwDA162MRF2EVXPK8f UZkCdtQ9M11SIApRrobXc+3X5d4ACwEIygLeDlrEvhU+EVg40/t049PqWw/guqyWJwI/ STGWulTJDTdTkhHmbfa6KRftlmzvC4pLtWfY0nsjp1d1W9nYBuZb6dOldTEeR+eo8bR/ V8lsAvSsEvSWuufo6C1NwYc+cDFJp93BfNROq2Ca8Or5ZvOphaYbUFDFcCPY+UDy0IBM oF8ss51ivJSTteU3n60O3YufqVwDdLGIoDyV+yclzJwTjQD1d1NwPRuCWgUHhVlYrdVr IQmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CyOvrMe2kt7zNHiPDPTfOC9OgbX+48tVVmKqjt8OhTA=; b=W80ftKHhxo4cfwJN8RSZ6Mxl2ef7e2DQ4Sees8l17jyZ+5/S7MhC3SaPuprwpLBH79 YsY4v291bnYE1kE6SDdjqcfJPBk0O8O/FdB7Rm7iElYWJ1AmBx/HJQCw6xGWGW2uXOap 5qB6mK+xlZXkOMSrKm6me1FoIkvnsfcbc9xFB4+CTxnOy8ADEzodnoEjl8xR3qRzNaDH zqe3GuTZnyW77fVw35c1c1MGo8J0uRQrjx6av9d82MkaF3zP78rZp53MaffudRsm0nfg dHoseR6PmGMHZBEDTCBLIZu3FA14/fcn6rC9C3q94Isq+qi9oz4LpMXUS2CmoDbU4whB /SHA== X-Gm-Message-State: ALyK8tIC21c8MyEs0UhGwXp8BNCC7Fw6lfEoKelzJWPAQUEMbsNniNVfEAY7VVTgb9JY5sO7yBdqik5ysWRl9Q== X-Received: by 10.237.43.5 with SMTP id p5mr5795297qtd.52.1465152390510; Sun, 05 Jun 2016 11:46:30 -0700 (PDT) MIME-Version: 1.0 References: <7C01C6AB-9207-473A-ACF9-3FA10422C279.1_1465151232168@snaffler-net.bounceio.net> <5754721B.2030407@gmail.com> In-Reply-To: <5754721B.2030407@gmail.com> From: Manas Bhatnagar Date: Sun, 05 Jun 2016 18:46:21 +0000 Message-ID: Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? To: jd1008 , FreeBSD Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 18:46:31 -0000 I'm getting this junk too. On Sun, Jun 5, 2016, 14:41 jd1008 wrote: > Why am I getting this after I reply to a post? > The list must have a subscriber who is on a spamming server. > If this continues, I believe I may have to unsubscribe to > protect my machine from possible malware. > > > Yo > > > -------- Forwarded Message -------- > Subject: Undeliverable: Re: sh[it] and What am I missing here? > Date: Sun, 5 Jun 2016 13:36:55 -0500 > From: Postmaster > To: jd1008@gmail.com > > > > > > > > > There was a problem delivering your email to: > > > krad@snaffler.net > > > ------------------------------------------------------------------------ > > > WHAT HAPPENED? > > > The domain name of the email address is not valid. > > ------------------------------------------------------------------------ > > > > > WHAT CAN YOU DO? > > Check the "snaffler.net" part of the email address for misspellings or > missing letters. (If you find an error, you might need to correct it in > your contacts list or address book too.) > > If necessary, contact your recipient another way (e.g., phone or text > message) to confirm their email address. > > Find out more information about this bounce message. > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0Whm1La7YhAJM4u5k0zXU.aN= QMsIYMGmmjmzq.cd5wQ3g0Nm_53NJ5OqyY7bJca.wg31TWqnTwSW7_qzEe9LfVX4C16WhGOFn3z= kJUc8lf00riCx1MarDFeKRfhgdpZg4PPYE9p0lOeczEKLJcantzitDgY7ejOcGXBIBV9MmPN7UK= DDTHLk7ot8uHRDNfXZSFcwYsw0rxCkA39qGsUxpeqTx0wLwkJBG4HdDlPFjXBAP0zwRMcUaz0tu= NKjHe.IhLX.Iaa2QmwjnZsvIGJfRwTr3kqLhWEOyo7ITf59PHn4IoRVhnbinpYUZ.fR86pI_Lpo= tzbuNsT7zuX6yC5u4sV3dJ4hppVGaEU70HD_H..ELtM4YGlAhQYc- > > > > > > Learn more about RevenueStripe... > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmucelg8luQmajHqP= eMlUlcIk1vQpfwSE88zhvqn9mON8wicV1DR_JdA5ARKvWrE4cekIMQ8tLF1tzpWYLhs6gpKTemA= dNbKJu9Zr5kX4YHaWYODznXAvCbGfjCdTsO082PW1u_2oX3K38wv.sxb6KaYmr.kWW7_O8ucYQR= .CbHoFyvJtFHJ7I1dWYMxqKGlrghvweJ_8cKI19xJwtPiH9rxYfmdCBFHEMU9AxRHimA7Jt0Ahc= LKSqf0Tm1JXvBHYE9m.7K0lP3.H_tKosV18AvATaGJyv7ZIJyh3gteq.X1oqGFDGE5CiGaoxKgd= wzetZG4MiaR26yfR08LPLyE.Cuy3NTQ-- > > > > > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmuceldPZ69rY6GYM= NUgfIjXyG7UPLW0eh5Z.cQus4JNqxT7drKOH_UT_A.aI78bIVo.NBhok_uqnpB2pY92TjflR6Ef= yqwd8uxRm2uJgd.b6Lr4_rh1Es0LcEbnYCc5w1ImWRImZCHFoQsO9X_aBsyhKUCeDNFbxEsaoHa= S03ZX87rylGzjz4DIifZiS1laWEzfC8FWJRGbXGXZNH8JsegXK8m0UcnsjV1ZgzGooaWuCG.B4n= 7xwojX3EnC0_If2vFh_Z0IEUcQxT0DFEeKYDsm3QCFwspKp.RObUle8EdgT2b.srSU.f8f60qix= XXwC8BNoYnK.tkgnKHeC16r9fWioYUMYTkKIZqjEqB3DN61kbgyJpHbrJ9HTws8vIT8K7Lc1N > > > > > > Advertisement | Prefer no ads? > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0Whm1La7YhAJMJK2k7DYKyRL= PgneXCuQDXu1pEGRSQWYAo8.325q7AH8WHvm8OWTatgbqhlKvd338NKrBPJWAeYlxwAFVz8p0wt= hPQgV_ys8L_PB1i_HSdwQLn9G29icvwCnCpcxMlGigjReJeIFyrGpEz1mitoDTlzDrMl13oXZkn= sFl_H8FMq3HKvC1SGTVf_PdqlZg6sIr2NbwuVGn5wDwT9iefS7T2MSC1idcJso8ZeR3IdWv7kFa= QuTLB2R8PnpOfTPBD3UMTtg.CmF_2cNHajEP0w5DujRUzF81iS5vf90QJVLVp1scP31ObO1VdAw= jD4uF_Yz.x4w0dPoWLHxXJIQJY_aNvxy62VjiHfLsARQ4DQn0byIOj93SiKT6Cf8urCdLCBfEqL= 7D3rN0Ev4YA93fT5l1Ey8ksZX0OnC1GrqrJTZpBbFaYpXotrWRS1lpL9YEGgbUDZGuLutFtiZfT= BQ99gOReNilUUb8DD38zIBxJN.EQYrPHnBaVZhLWXLoB36N0MfvY5ooh_1Z4PoUrS4UOcUJaQ35= TQLAPD_cO_14_PGPxsQjIvPdNFpfAeTy525DmeuCaOfaUcmNEtiSti3uhrmyd0Bh6JShaxNCsRp= mi0Fql5twOAjjam3qwXaJLnwp1zLfU5SSowwLWVrNi5bT641EHy7rWgNTM3zYAeFRzgw5Y8VnOS= IYlFTzAOJBvgGk0IpV > > > > > > > ------------------------------------------------------------------------ > > > WHO ARE WE? > > BetterBounces.net works on behalf of various Internet properties to give > you better information about why your email wasn't delivered. You can > learn more about us here > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmuceld5yHk968Igk= ggFox6HYDpoQOzChM5mZjFK0uFDnFCWkN_U0CwDw.nDvtePjxj8bEIyLz3TRaXwHk8uduQ5nrgm= jn2lHJjRLYkrYt7oa5sndAYeiUoWsTQrEaZotBapebcDgI42pt6sF2iS58Kdcy31OUkqMMC1laz= YuW0_uNRB8u61oDUzN82AHhUc4MOWPFZzkiGJRU8wDiQb4BpNCKVQ-- > >. > > ------------------------------------------------------------------------ > > > > YOU MIGHT LIKE > > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmuceldPZ69rY6GYM= NUgfIjXyG7UPLW0eh5Z.cQus4JNqxT7drKOH_UT_A.aI78bIVo.NBhok_uqnpB2pY92TjflR6Ef= yqwd8uxRm2uJgd.b6Lr4_rh1Es0LcEbnYCc5w1ImWRImZCHFoQsO9X_aBsyhKUCeDNFbxEsaoHa= S03ZX87rylGzjz4DIifZiS1laWEzfC8EKEfhVPn7KxH8JsegXK8m0UcnsjV1ZgzGooaWuCG.B4n= 7xwojX3EnC0_If2vFh_Z0IEUcQxT0DFEeKYDsm3QCFwspKp.RObUle8EdgT2b.srSU.f8f60qix= XXwC8BNoYnK.tkgnKHeC16r9fWioYUMYTkKIZqjEqB3DN61kbgyJpHbrJ9HTws8vIT8K7Lc1N > > > > > > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmuceldPZ69rY6GYM= NUgfIjXyG7UPLW0eh5Z.cQus4JNqxT7drKOH_UT_A.aI78bIVo.NBhok_uqnpB2pY92TjflR6Ef= yqwd8uxRm2uJgd.b6Lr4_rh1Es0LcEbnYCc5w1ImWRImZCHFoQsO9X_aBsyhKUCeDNFbxEsaoHa= S03ZX87rykWfW1SJ_W8tiS1laWEzfC8EKEfhVPn7KxH8JsegXK8m0UcnsjV1ZgzGooaWuCG.B4n= 7xwojX3EnC0_If2vFh_Z0IEUcQxT0DFEeKYDsm3QCFwspKp.RObUle8EdgT2b.srSU.f8f60qix= XXwC8BNoYnK.tkgnKHeC16r9fWioYUMYTkKIZqjEqB3DN61kbgyJpHbrJ9HTws8vIT8K7Lc1N > > > > > > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmuceldPZ69rY6GYM= NUgfIjXyG7UPLW0eh5Z.cQus4JNqxT7drKOH_UT_A.aI78bIVo.NBhok_uqnpB2pY92TjflR6Ef= yqwd8uxRm2uJgd.b6Lr4_rh1Es0LcEbnYCc5w1ImWRImZCHFoQsO9X_aBsyhKUCeDNFbxEsaoHa= S03ZX87rymOVjLb_SdoqSS1laWEzfC8EKEfhVPn7KxH8JsegXK8m0UcnsjV1ZgzGooaWuCG.B4n= 7xwojX3EnC0_If2vFh_Z0IEUcQxT0DFEeKYDsm3QCFwspKp.RObUle8EdgT2b.srSU.f8f60qix= XXwC8BNoYnK.tkgnKHeC16r9fWioYUMYTkKIZqjEqB3DN61kbgyJpHbrJ9HTws8vIT8K7Lc1N > > > > > Learn more about RevenueStripe... > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0WmXVEBSmucelg8luQmajHqP= eMlUlcIk1vQpfwSE88zhvqn9mON8wicV1DR_JdA5ARKvWrE4cekIMQ8tLF1tzpWYLhs6gpKTemA= dNbKJu9Zr5kX4YHaWYODznXAvCbGfjCdTsO082PW1u_2oX3K38wv.sxb6KaYmr.kWW7_O8ucYQR= .CbHoFyvJtFHJ7I1dWYMxqKGlrghvweJ_8cKI19xJwtPiH9rxYfmdCBFHEMU9AxRHimA7Jt0Ahc= LKSqf0Tm1JXvBHYE9m.7K0lP3.H_tKosV18AvATaGJyv7ZIJyh3gteq.X1oqGFDGE5CiGaoxKgd= wzetZG4MiaR26yfR08LPLyE.Cuy3NTQ-- > > > > > > RATE THIS EMAIL > > Helpful > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0Whm1La7YhAJMBCYMrHHufGV= xKVKO2EoPqveZN6V9wCihRhsxtxU5C61b_47DWMbTh2oB4VYaNhfcsVoUnesXNgZMaGuL88IoQj= LG5JuwAi1HCIhdUNj3sjMhXCGeyRrlcixMLqsWn4HkpZ2ohi39cNGCQL5j9QsUGPHIHmfi7Gpmy= 78V7ZQNe1gpvH8ZBLSA7NYu.0AVY97PFK0uFDnFCWkN_U0CwDw.nDvtePjxj8bEIyLz3TRaXwHk= 8uduQ5nrgmjn2lHJjRLYkrYt7oa5sndAYeiUoWsTQrEaZotBapebcDgI42pt6sGQsYTCmh9hWSJ= HVp.dzyqgjROBbE9G0kpyaZoG6VYp0SxMLqsWn4HkpZ2ohi39cNGCQL5j9QsUGPHIHmfi7Gpm7p= vRqXdjmXo- > > > Not Helpful > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0Whm1La7YhAJMBCYMrHHufGV= xKVKO2EoPqveZN6V9wCihRhsxtxU5C61b_47DWMbTh2oB4VYaNhfcsVoUnesXNgZMaGuL88IoQj= LG5JuwAi1HCIhdUNj3sjMhXCGeyRrlcixMLqsWn4HkpZ2ohi39cNGCQL5j9QsUGPHIHmfi7Gpmy= 78V7ZQNe1gR6JHQll4vz5Hcmyk5lml4MNYgzZnCxnsyvOWejMzY9b9y4CKm9zptKN0nnfw8XnpY= 3n6q9v9CGnHJSJMNaqrZSpRDlGULcGoZCageJ3IWzHujFkPDLyfcg.o7SMYROYkZgqWz_gRu.6v= AO0hsOyLnEFIVk5efSa5MMloxz636eDvTzlhqAmPQW1rQFbjQ3O4.Gj91QLgng.ILtHhVgSRks0= nJd46gyH2j3w_ONQBpbA-- > > > > > > > > 908 Main Street #310, Louisville, Colorado =C2=A9 2015 > betterbounces.net, All rights reserved. Get more help > < > https://a.b-io.me/c/Y1lM9w9S1KeQNP..3ulHrcNBpg7gyP1lJk9VI7.ouJbQaWlkIsfqB= NRgrwhzFkMcrwIXvcetvsbcR7tgLvKz0SocRgKXnA6Nhte9dcCVQs9F9uMcd10RyjdLbUGfWvcr= DM.ykRgQk4iZ64gGkIZriy0Iv1WLE_BoxK0G4kuRJfr4xLdZxne0Whm1La7YhAJM4u5k0zXU.aN= QMsIYMGmmjmzq.cd5wQ3gLRZ10UF2lfjC3evtLF51eDobEyK9mIMVs2x7ivGp1Kmad.OCDR.lQk= x_H2aeaaoTqhTu07FfoDd8NroHmYUJheEDaYg.xsY7ajSx4IyDuTxXGxnTS2lIN2qHitCvV9GWC= jXMYG6QuPQWrUJak__wCx82q4U5W9VN7cw5SEM0HWbQXUdv8iPY2bMnXdozlMqEoQOHePp8POdc= iCm6VcmPuimeobG71htN0wYnvi_wWkDnkrNlku4592UsMKSQNmn8gLcOy7WdaZ1CmkqgAAsbq4V= KjjSvAafniipOGkGfbX_miHR7.gmkhHKn0aCiSarrf9H1Qt11X0WH6PFz4jRZ4A-- > > > > > > > > > > > ---------- Forwarded message ---------- > From: jd1008 > To: freebsd-questions@freebsd.org > Cc: > Date: Sun, 05 Jun 2016 12:26:28 -0600 > Subject: Re: sh[it] and What am I missing here? > Message truncated. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Jun 5 19:12:29 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 053A6B6B276 for ; Sun, 5 Jun 2016 19:12:29 +0000 (UTC) (envelope-from leventelist@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 934991390 for ; Sun, 5 Jun 2016 19:12:28 +0000 (UTC) (envelope-from leventelist@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id k204so1740111wmk.0 for ; Sun, 05 Jun 2016 12:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=nlBFXaJcPB6xYtLg84BPX/m1anX4jVSqLr+fZHAgT34=; b=BFP27cdfBpgnE1ZuoK1G5BIdFXVijk5a6wR3+e62A9bYGSOaQZae+/m35J0JidUX/H l+u/6zljtfB7Cnklq30Kbsf361MGxViIxxYoxW+QpTYaJ/2n3wxzJG6lZ1bhw3jgarBh /5vUrxj3D3OD8oDdTgoiO41CK4fAoDW+X5lBbrzphsu2J4gI/2t4SqiFF+gcJxMnkwFH IurFNt0DP1kShAjRB0NEHf/fbVlaxdyYMZZSXrRLv4bDmd2ml50NGDeONAw8JKAOubIv vI29xcRlGKH98WUX8Z/17FT23/HjapYuyABKajCV2Rnvo2RCRnWFakLfOzhmx5LGt8Wj XHGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=nlBFXaJcPB6xYtLg84BPX/m1anX4jVSqLr+fZHAgT34=; b=kdieehPnTMtDu014S/HzoUrtdZSNnw80jVIoNfNuzCaf1diLMjN6Hc0+2cRyrGFG2a dFeyVRqXhXizJK4uFIbplQYp7AeMc+uR+AorjevwEM1PPhfloPeoTLi+JIhcB61C/vlT lYaJTzA1qrXlCW0SoBR3jRV9BEyi9Fz/X5S6VjhZ+BBWH5zg1apHel7DH+cTQCHPA/Zz 8I55KKqfZXdh86odhvvQMHsoVznTbuKu1Hl0qJvyYvv2BcQkFho4GzJahz1w6/lRYCBL lzEQ4T81/qc8kjZhht65C27SLzgc6xC21amSR+eoa1Asb2jUAJt0e98lhbAT/jIhCEyG BXew== X-Gm-Message-State: ALyK8tKudnR80HGQLuE8XONtD6d/+Tyxt2eXJGIR5CDYxISJiNRAUgRcD4SsdF5zk/byV7NyuoEmL7KLq9znYg== MIME-Version: 1.0 X-Received: by 10.28.93.142 with SMTP id r136mr5149228wmb.70.1465153946708; Sun, 05 Jun 2016 12:12:26 -0700 (PDT) Received: by 10.194.25.98 with HTTP; Sun, 5 Jun 2016 12:12:26 -0700 (PDT) Received: by 10.194.25.98 with HTTP; Sun, 5 Jun 2016 12:12:26 -0700 (PDT) In-Reply-To: <57546C60.7020301@gmail.com> References: <20160605134825.30e1d3d9@jive> <57546C60.7020301@gmail.com> Date: Sun, 5 Jun 2016 21:12:26 +0200 Message-ID: Subject: Re: stop ipfilter From: Levente To: Ernie Luzar Cc: freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 19:12:29 -0000 To stop NAT and the filtering. Anyways, this should not hang, should it? Lev On 5 Jun 2016 20:15, "Ernie Luzar" wrote: > Lev wrote: > >> Hi, >> >> >> When I want to stop ipnat or ipfilter the command just hangs, and never >> return. >> >> This is what I do: >> >> service ipfilter stop >> >> The service is not stopped. >> >> I can only kill the process. >> >> Lev >> >> > Why would you want to stop ipfilter? > > Look at the ipf command for reloading updated rules and ipnat to reload > nat rules. > From owner-freebsd-questions@freebsd.org Sun Jun 5 20:13:31 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86905B6B1E1 for ; Sun, 5 Jun 2016 20:13:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43AA71AC9 for ; Sun, 5 Jun 2016 20:13:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-81-198.dynamic.qsc.de [92.195.81.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id ABB9B3CCFC; Sun, 5 Jun 2016 22:13:21 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u55KDKcU002204; Sun, 5 Jun 2016 22:13:21 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 5 Jun 2016 22:13:20 +0200 From: Polytropon To: Baho Utot Cc: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? Message-Id: <20160605221320.ac3da346.freebsd@edvax.de> In-Reply-To: <02a5bb3c-e19a-221c-d30f-0feacebbf928@columbus.rr.com> References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> <5754550A.6020500@holgerdanske.com> <02a5bb3c-e19a-221c-d30f-0feacebbf928@columbus.rr.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 20:13:31 -0000 I'm not sure if it has been mentioned in an explicit way, so allow me to pick up some lines and clarify: On Sun, 5 Jun 2016 12:46:46 -0400, Baho Utot wrote: > login in as a user ( non root ) > set > SHELL is set to SHELL=/bin/sh > Ok now try > su - (give password) > set > SHELL=/bin/csh Ok that makes sense > Now > /bin/sh > set > SHELL=/bin/csh WTF? This is to be expected. The variable $SHELL corresponds to the "shell" field of /etc/passwd, which sets the login shell. When you use "su -", you perform a login operation, so root gets assigned the login shell as specified by /etc/passwd. Additionally, "su -" sets the environmental variables for the root user and therefore overwrites possibly different settings of the initial user; "su -m" preserves that user's environment. > login as root > set > SHELL=/bin/csh Ok that makes sense > /bin/sh > set > SHELL=/bin/csh WTF? Again, the same thing happens. If you execute /bin/sh, it will inherit the environment previously set up by /bin/csh, which also contains the $SHELL variable. Remember, $SHELL does not state which shell you are currently using - instead, it contains the name of the login shell. > It looks to me ( if I am not missing something here ) > That I can only get to sh by loging in as a user...Again WTF If you want to interactively run sh (the Bourne shell equivalent of FreeBSD, which is not a good dialog shell, but the system's default scripting shell, as well as the dialog shell for the limited maintenance mode / single user mode), just execute it. % sh # _ For scripting use, /bin/sh is recommended over bash except you really _really_ want to use bash-isms that sh does not implement. In this case, make sure your script starts with "#!/usr/local/bin/bash" (the default path after installation of bash from ports) or the more convenient "#!/usr/bin/env bash" which will also work if you force bash's install into /bin. However, you don't need to execute a shell script written for sh from inside sh. It's just important that the following conditions are met: (1st) "#!/bin/sh" is the first line, (2nd) the script is executable (use "chmod +x " to set the x bit), and (3rd) the script is at a location inside $PATH, the search path from where executables are sourced. When you run csh, give the "rehash" command after you've put something into a valid executable location, or just specify the full path (use "./name" or "./name.sh" for the current directory). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jun 5 20:21:21 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 847E5B6B446 for ; Sun, 5 Jun 2016 20:21:21 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.225]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3101E47 for ; Sun, 5 Jun 2016 20:21:20 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:53073] helo=raspberrypi.bildanet.com) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id A3/DB-04697-FB984575; Sun, 05 Jun 2016 20:21:19 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9eXv-0006kq-7L for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 16:21:19 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> <5754550A.6020500@holgerdanske.com> <02a5bb3c-e19a-221c-d30f-0feacebbf928@columbus.rr.com> <20160605221320.ac3da346.freebsd@edvax.de> From: Baho Utot Message-ID: Date: Sun, 5 Jun 2016 16:21:19 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <20160605221320.ac3da346.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 20:21:21 -0000 On 06/05/16 16:13, Polytropon wrote: > I'm not sure if it has been mentioned in an explicit way, so > allow me to pick up some lines and clarify: > > On Sun, 5 Jun 2016 12:46:46 -0400, Baho Utot wrote: >> login in as a user ( non root ) >> set >> SHELL is set to SHELL=/bin/sh >> Ok now try >> su - (give password) >> set >> SHELL=/bin/csh Ok that makes sense >> Now >> /bin/sh >> set >> SHELL=/bin/csh WTF? > This is to be expected. The variable $SHELL corresponds to the > "shell" field of /etc/passwd, which sets the login shell. When > you use "su -", you perform a login operation, so root gets > assigned the login shell as specified by /etc/passwd. > > Additionally, "su -" sets the environmental variables for the > root user and therefore overwrites possibly different settings > of the initial user; "su -m" preserves that user's environment. > > > >> login as root >> set >> SHELL=/bin/csh Ok that makes sense >> /bin/sh >> set >> SHELL=/bin/csh WTF? > Again, the same thing happens. If you execute /bin/sh, it will > inherit the environment previously set up by /bin/csh, which > also contains the $SHELL variable. > > Remember, $SHELL does not state which shell you are currently > using - instead, it contains the name of the login shell. > > > >> It looks to me ( if I am not missing something here ) >> That I can only get to sh by loging in as a user...Again WTF > If you want to interactively run sh (the Bourne shell equivalent > of FreeBSD, which is not a good dialog shell, but the system's > default scripting shell, as well as the dialog shell for the > limited maintenance mode / single user mode), just execute it. > > % sh > # _ > > For scripting use, /bin/sh is recommended over bash except you > really _really_ want to use bash-isms that sh does not implement. > In this case, make sure your script starts with "#!/usr/local/bin/bash" > (the default path after installation of bash from ports) or the > more convenient "#!/usr/bin/env bash" which will also work if you > force bash's install into /bin. > > However, you don't need to execute a shell script written for sh > from inside sh. It's just important that the following conditions > are met: (1st) "#!/bin/sh" is the first line, (2nd) the script is > executable (use "chmod +x " to set the x bit), and (3rd) the > script is at a location inside $PATH, the search path from where > executables are sourced. When you run csh, give the "rehash" command > after you've put something into a valid executable location, or just > specify the full path (use "./name" or "./name.sh" for the current > directory). > > > Looks like I need to reread how login/interactive shells are executed as I don't remember when .profiles and .shrc are executed/read From owner-freebsd-questions@freebsd.org Sun Jun 5 20:36:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82E13B6BFCE for ; Sun, 5 Jun 2016 20:36:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49D8610CD for ; Sun, 5 Jun 2016 20:36:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-81-198.dynamic.qsc.de [92.195.81.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D4F003CC6D; Sun, 5 Jun 2016 22:36:32 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u55KaWPl002315; Sun, 5 Jun 2016 22:36:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 5 Jun 2016 22:36:32 +0200 From: Polytropon To: Baho Utot Cc: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? Message-Id: <20160605223632.e263d041.freebsd@edvax.de> In-Reply-To: References: <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <57545029.5060805@gmail.com> <6f157455-0bda-ef46-82dc-e97fb0c4a08b@columbus.rr.com> <5754550A.6020500@holgerdanske.com> <02a5bb3c-e19a-221c-d30f-0feacebbf928@columbus.rr.com> <20160605221320.ac3da346.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 20:36:35 -0000 On Sun, 5 Jun 2016 16:21:19 -0400, Baho Utot wrote: > Looks like I need to reread how login/interactive shells are executed as > I don't remember when .profiles and .shrc are executed/read Oh, that's quite simple, if I remember correctly: For the C shell: /etc/csh.cshrc = global resource for all shells /etc/csh.login = global "auto-exec" for login shells /etc/csh.logout = global "auto-exec" at logout ~/.cshrc = user resource for all shells ~/.login = user "auto-exec" for login shells ~/.logout = user "auto-exec" at logout In .cshrc, you often find "if ($?prompt) then ... endif" blocks which make settings apply only for interactive shells (such as keyboard definitions, history settings or other things that do not matter for scripting); in such cases, $prompt is set. For sh: /etc/profile = global resource for interactive shells ~/.shrc = global resource for all shells ~/.profile = user resource for interactive shells For bash: ~/.bashrc = user resource for all shells ~/.bash_profile = same as .profile, but bash-specific Confusing... I hope I got it right this time. :-) Note that bash also reads sh's profile files. The files are in the corresonding shell's language. There also is a precedence in which order the files are read. Even though "read" and "execute" means the same for those files, there are suggestions to use, for example, .cshrc for settings such as prompt, history, aliases, path, mail ("internal stuff"), while .login is used to start actual programs, such as biff, mesg, fortune ("external stuff"). See "man csh", "man sh" and "man bash" for details. They contain more information about when a shell is considered an interactive or a login shell. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jun 5 21:00:43 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13A42B6AA8D for ; Sun, 5 Jun 2016 21:00:43 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id 071CF144E for ; Sun, 5 Jun 2016 21:00:43 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Sun, 5 Jun 2016 14:00:30 -0700 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> From: David Christensen Message-ID: <575492F8.6080504@holgerdanske.com> Date: Sun, 5 Jun 2016 14:00:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 21:00:43 -0000 On 06/05/2016 10:15 AM, Baho Utot wrote: > I only want to create a script ( sh script ) and run if from a clean > machine with just base install nothing else and then run my sh script to > build some ports. That's were the trouble lies. ie functions not > returning status for example: > > test.sh > chmod +x test.sh > > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func > ] doesn't work either > echo "This works" > fi > > ./test.sh > > [: func: unexpected operator If I run your code on my FreeBSD 10.1 box with Csh login shell: dpchrist@p42800e:~/sandbox/sh % uname -a FreeBSD p42800e 10.1-RELEASE-p35 FreeBSD 10.1-RELEASE-p35 #0: Sat May 28 03:02:45 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 dpchrist@p42800e:~/sandbox/sh % echo $SHELL /bin/csh dpchrist@p42800e:~/sandbox/sh % cat baho-utot.sh #!/bin/sh func() { echo "Yep it's me" return 1 } if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func ] doesn't work either echo "This works" fi dpchrist@p42800e:~/sandbox/sh % ./baho-utot.sh This works I do not see the string "Yep it's me". I see the string "This works". I do not see an error message. I get the same results if I change my login shell to Sh: $ echo $SHELL /bin/sh $ ./baho-utot.sh This works Enabling the -v and -x options for Sh provides a clue -- 'func' is not getting called: $ echo $SHELL /bin/sh $ /bin/sh -v -x baho-utot.sh #!/bin/sh func() { echo "Yep it's me" return 1 } if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func ] doesn't work either echo "This works" fi + [ func ] + echo 'This works' This works Calling 'func' and then testing '$?' (exit value special variable) explicitly seems to help: $ cat baho-utot-2.sh #!/bin/sh func() { echo "func returning 1" return 1 } func2() { echo "func2 returning 0" return 0 } func if [ $? = 1 ] ; then echo "func worked" else echo "func did not work" fi func2 if [ $? = 1 ] ; then echo "func2 worked" else echo "func2 did not work" fi $ ./baho-utot-2.sh func returning 1 func worked func2 returning 0 func2 did not work David From owner-freebsd-questions@freebsd.org Sun Jun 5 21:24:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56A48B6B2C2 for ; Sun, 5 Jun 2016 21:24:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FEF2170B for ; Sun, 5 Jun 2016 21:24:51 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-it0-x241.google.com with SMTP id z123so4130493itg.2 for ; Sun, 05 Jun 2016 14:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=364lHCP04JGRACMvDpjCroOsAu34wtg/IRKNPYz69A4=; b=CtRvncN/LoKYgkovZNq7sOG1OBzw3fG+jT6ehVXZBb4akFBEreveD3oPuXydkludEP l2gkmfez4VKbcvp04WM9bNN4crxeD1ezriA7iixOjpqWZ3D916LlT2fnjQN35JGD/2sR lKcG9i3j9g4ecTo0G9xrAcLPdcP6iZNoWFy3ctndmYGbi3xnHtlPWbV2B+ZMCQ6fAcu/ bp4Xpq9w6CqFEndgYIu0XBYxkxoV0b8E/JwSFdYRq1lLE27HoWX0sqdE9enSDrt5yxdp Yodrfljovk7MVy1wGyzPD5xYpjjV7n223pcVU9s43S8BsrnYYYLDi6k3mH5MNRnF1Zqh 2Ccw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=364lHCP04JGRACMvDpjCroOsAu34wtg/IRKNPYz69A4=; b=SrbEJ4ZSd3BK1Ttjfu11oWItj2wilw1hPXo7Jvfq0dOT86NtbMokEsHO8V+JKzMUFY iza3ZZyWq9V1tC7CXMGoXz4hT+G83EzsftCP9bjgcyIgdDKyl8JsIzOJd4pv+sNdx52x BUntZn2+iYZ9ExsQi/2BB0VnwOlmJocgxyjrQ6bdXz/7TA45vCTuk8cReM1kx/o3wOv7 jfhjcpF2mEhdMTzMQ9lTpztkDniJUP1Hf9ZtgrJBSyLydb8bGHB2NdkCa1SjtcNG9Ohp tTNkpiGtrI/UtJnLkdvGtZmJp/FkjiLi6duuIul9p0yhUYL0zaWaV4kdt1snOXsw08x8 HEyg== X-Gm-Message-State: ALyK8tLbX4HwHOx6Fx9Hwm4iWcfM2YMD9W6qS9YcWkHrgex8K23Sj3syDxI15QBNFOdyMA== X-Received: by 10.36.93.80 with SMTP id w77mr12642723ita.48.1465161890632; Sun, 05 Jun 2016 14:24:50 -0700 (PDT) Received: from [10.0.10.3] (cpe-184-56-210-236.neo.res.rr.com. [184.56.210.236]) by smtp.googlemail.com with ESMTPSA id e37sm7689204iod.25.2016.06.05.14.24.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 14:24:49 -0700 (PDT) Message-ID: <575498B9.4030203@gmail.com> Date: Sun, 05 Jun 2016 17:25:13 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Levente CC: freebsd-questions Subject: Re: stop ipfilter References: <20160605134825.30e1d3d9@jive> <57546C60.7020301@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 21:24:51 -0000 issue "ps ax" it will show you running tasks. No task named ipfilter. issue "service ipmon stop" and "service ipmon start" From owner-freebsd-questions@freebsd.org Sun Jun 5 22:33:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37BC8B6B022 for ; Sun, 5 Jun 2016 22:33:41 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.229]) by mx1.freebsd.org (Postfix) with ESMTP id E6EB01329 for ; Sun, 5 Jun 2016 22:33:40 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:53125] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id D0/75-31413-EB8A4575; Sun, 05 Jun 2016 22:33:34 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9gbt-0006nH-O8 for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 18:33:33 -0400 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <575492F8.6080504@holgerdanske.com> From: Baho Utot Message-ID: <9d8dcc37-3047-4fab-abda-e10d3cf29893@columbus.rr.com> Date: Sun, 5 Jun 2016 18:33:33 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <575492F8.6080504@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 22:33:41 -0000 On 06/05/16 17:00, David Christensen wrote: > On 06/05/2016 10:15 AM, Baho Utot wrote: >> I only want to create a script ( sh script ) and run if from a clean >> machine with just base install nothing else and then run my sh script to >> build some ports. That's were the trouble lies. ie functions not >> returning status for example: >> >> test.sh >> chmod +x test.sh >> >> #!/bin/sh >> >> func() { >> echo "Yep it's me" >> return 1 >> } >> >> if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func >> ] doesn't work either >> echo "This works" >> fi >> >> ./test.sh >> >> [: func: unexpected operator > > If I run your code on my FreeBSD 10.1 box with Csh login shell: > > dpchrist@p42800e:~/sandbox/sh % uname -a > FreeBSD p42800e 10.1-RELEASE-p35 FreeBSD 10.1-RELEASE-p35 #0: Sat > May 28 03:02:45 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > dpchrist@p42800e:~/sandbox/sh % echo $SHELL > /bin/csh > dpchrist@p42800e:~/sandbox/sh % cat baho-utot.sh > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq > func ] doesn't work either > echo "This works" > fi > dpchrist@p42800e:~/sandbox/sh % ./baho-utot.sh > This works > > > I do not see the string "Yep it's me". > > > I see the string "This works". > > > I do not see an error message. > > > I get the same results if I change my login shell to Sh: > > $ echo $SHELL > /bin/sh > $ ./baho-utot.sh > This works > > > Enabling the -v and -x options for Sh provides a clue -- 'func' is not > getting called: > > $ echo $SHELL > /bin/sh > $ /bin/sh -v -x baho-utot.sh > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq > func ] doesn't work either > echo "This works" > fi > + [ func ] > + echo 'This works' > This works > > > Calling 'func' and then testing '$?' (exit value special variable) > explicitly seems to help: > > $ cat baho-utot-2.sh > #!/bin/sh > > func() { > echo "func returning 1" > return 1 > } > > func2() { > echo "func2 returning 0" > return 0 > } > > func > if [ $? = 1 ] ; then > echo "func worked" > else > echo "func did not work" > fi > > func2 > if [ $? = 1 ] ; then > echo "func2 worked" > else > echo "func2 did not work" > fi > $ ./baho-utot-2.sh > func returning 1 > func worked > func2 returning 0 > func2 did not work > Ok Thanks I'll give it a go From owner-freebsd-questions@freebsd.org Sun Jun 5 23:01:17 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B68FB6B8E9 for ; Sun, 5 Jun 2016 23:01:17 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB7F4124E for ; Sun, 5 Jun 2016 23:01:16 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x233.google.com with SMTP id m124so50648317wme.1 for ; Sun, 05 Jun 2016 16:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=PEg28ua9Ccfoj8tM2pJ+Cvqc4BU20xnmbVD3NZ5cZVE=; b=osZqQaaRhKWXk94rScwTvVB/G5nsh1KLgUB1MNeICvPPfSNRPkD7taxbDj+0eZsnyI B/GR3YVNpUn6cEwsliqUBTvd+THuqnsWy9U73bHo6+K1K8n/oCGMLokAv7JXkC8fypkY HzN8vOGqwzEdv7Wk2n6J6T7l/1QX5TWje8YmdLPISDQCiRG1GfbDO3DD7+gynhASbGk4 JltLOIpcbwg8//qWfsax4SMFtDU6cPSxXo+HKZRhBk3CutGowTqdfwit0j8Dp71XCjp2 wBjlTg4H3aC0P4g6/7R6U0CMomjbopXC3V0C18g4UKZ2EyNEqNGRdG3A3dD7aQajejWJ pK7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PEg28ua9Ccfoj8tM2pJ+Cvqc4BU20xnmbVD3NZ5cZVE=; b=mG6u2srgcYyQIdeFh4B2EwiqLLTV8UfNY6xEnIHEk6IAr8KbNgmIyv5HW8dU/Aq5ML 1ymb2JeASehePUz5sAUKuV7gRmdJumy0TTlTKGcl8T2t4CQ8Jjaz8brKMLx90+QKULiu H7mkVksqxBn8sr+iHMrHQgWtnidtR7BdjSld4EFyIpDD8TbI/Cn7cH63UhfwSPHz14pp FrIRvAfWUPNaS35Eyk9tW3cvdus0x2P9zi3OFHKpmbVWzFc5N7Oaq0ahBSg+OxxCrhS8 aewk8wn5LTlBWfQTzZKD3EZtg1mP4eTDkzhQs+RnftJrntw6aRIKFhX+HYJmeaCn+2AQ r5PA== X-Gm-Message-State: ALyK8tLsvo+z2smCirxUtMGk4/8GX/31fRIdDG3aBMtrD1m4lc8LgbRJCtCOOsfWDMNmIg== X-Received: by 10.194.246.38 with SMTP id xt6mr12238984wjc.44.1465167674917; Sun, 05 Jun 2016 16:01:14 -0700 (PDT) Received: from gumby.homeunix.com ([81.171.97.158]) by smtp.gmail.com with ESMTPSA id lr9sm17195342wjb.39.2016.06.05.16.01.11 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 16:01:13 -0700 (PDT) Date: Mon, 6 Jun 2016 00:01:09 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? Message-ID: <20160606000109.3141550d@gumby.homeunix.com> In-Reply-To: <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 23:01:17 -0000 On Sun, 5 Jun 2016 13:15:25 -0400 Baho Utot wrote: > On 06/05/16 12:31, David Christensen wrote: > > On 06/05/2016 08:38 AM, Baho Utot wrote: > > ... > >> root@baho-utot:~ # set > > ... > >> shell /bin/csh > > ... > >> tcsh 6.18.01 > > ... > >> OK tcsh as I thought > > ... > >> OK switch shells > >> > >> root@baho-utot:~ # /bin/sh > >> # set > > ... > >> Why is the SHELL variable still set to /bin/csh > > ... > > > > Because you are invoking a program (/bin/sh) and that program did > > not modify the SHELL environment variable. > > > > > > On 06/05/2016 09:15 AM, jd1008 wrote: > > > Do I understand correctly that you want bash to be your shell? > > > If so, you can run (as root), the command > > > chsh > > > > +1 > > > > Take a look at: > > > > https://www.freebsd.org/doc/en/articles/linux-users/shells.html > > > > > > David > > I understood that, But I do not want to change the default shell. > I only want to create a script ( sh script ) and run if from a clean > machine with just base install nothing else and then run my sh script > to build some ports. That's were the trouble lies. ie functions not > returning status for example: It doesn't work because the shell script is wrong. [ func ] doesn't execute func. func and "]" are actually arguments to "[". Using backticks around func executes it. See man test for the rest. $ cat /tmp/foo #!/bin/sh func() { echo "Yep its me" return 1 } if ! func ; then echo "This works" fi if [ "`func`" = "Yep its me" ] ; then echo "This works too" fi if [ "`func`" ] ; then echo "And this works also" fi $ /tmp/foo Yep its me This works This works too And this works also > test.sh > chmod +x test.sh > > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq > func ] doesn't work either > echo "This works" > fi > > ./test.sh > > [: func: unexpected operator > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Jun 5 23:03:52 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D85A5B6BA97 for ; Sun, 5 Jun 2016 23:03:52 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x231.google.com (mail-io0-x231.google.com [IPv6:2607:f8b0:4001:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A14FD1682 for ; Sun, 5 Jun 2016 23:03:52 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x231.google.com with SMTP id n127so2997046iof.3 for ; Sun, 05 Jun 2016 16:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=WAdSuI4EOYkR5GqeNIzttliU+4ixKpfg/E/bxoXkwSo=; b=S0+TZzRZ8j2MxYfjhXIg1JTYyLdW+eWbJo0V7lGBdwD9hqUzjkNJjXwUK8QxGTtyS0 KVtE86RbyxyU/apCoyQjhzWdpnIpwGT1plPtqgIyzQ+/TrZtUpaOHwY2xbb64AkHr6I6 r1wR6oM6//4nG7VkkietkQoUAsaYixlp7BFwjU72AUnD59eQwHd2Ve1329IZA/KNGfDs +VpmCoXytIpHXU29OauvMvxRdVxlM4vZRTK+m/XDW+G233EwQP953p84a1XV47NT2bcc r2kjLOUuuh15j6pf1hGu/pszktIEakPlUtl/VcXKeqfHdlvg8j69fkM7WRz3ceMjWTUU ljJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=WAdSuI4EOYkR5GqeNIzttliU+4ixKpfg/E/bxoXkwSo=; b=CsP4fy5U9ZaS0RzsajHUbbLQn874IgukBXshvuBPgGo1jaUxZG+xsKysngn2V2RiR3 oHFpt0oB/SB7UuQTJ4pUriHAtT04eDUtVfJCHZ3vvzw323KLqzaVOKS9zkjEoJxPEkzh JNnyVDoBeKrvh7CSP+HD+WnwHXk1DIQlaZfouFGjXgjRCBg0xy8rNhpK4WV3f0dB0amh shygGfQ/8EHC1QjMi6cEY2W3VS08g1oS/5ORfhJSbk5kWWDr18L5gWAqg/mOvMquB9sz CFN/4dGf879DXNv/loG8N77lG6M2/Sex3z22MGtji/K5rXZ5+FACXVMdszDXr/PfIv+d c7mA== X-Gm-Message-State: ALyK8tKathyRrYijS5O5QczSj0FkarN6P97tap63H9KphmhF9aqsMZXNTTtSTSFz1VGBmA== X-Received: by 10.107.7.161 with SMTP id g33mr11418066ioi.64.1465167831972; Sun, 05 Jun 2016 16:03:51 -0700 (PDT) Received: from localhost.localdomain (ip-64-134-232-31.public.wayport.net. [64.134.232.31]) by smtp.googlemail.com with ESMTPSA id i128sm7916429ioa.41.2016.06.05.16.03.50 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 16:03:51 -0700 (PDT) Message-ID: <5754AFD5.70908@gmail.com> Date: Sun, 05 Jun 2016 17:03:49 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: sh[it] and What am I missing here? References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <575492F8.6080504@holgerdanske.com> In-Reply-To: <575492F8.6080504@holgerdanske.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 23:03:52 -0000 Guys, in shell semantics, a command returning non zero indicates some failure, whereas a command returning 0, indicates success. This is the convention. On 06/05/2016 03:00 PM, David Christensen wrote: > On 06/05/2016 10:15 AM, Baho Utot wrote: >> I only want to create a script ( sh script ) and run if from a clean >> machine with just base install nothing else and then run my sh script to >> build some ports. That's were the trouble lies. ie functions not >> returning status for example: >> >> test.sh >> chmod +x test.sh >> >> #!/bin/sh >> >> func() { >> echo "Yep it's me" >> return 1 >> } >> >> if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq func >> ] doesn't work either >> echo "This works" >> fi >> >> ./test.sh >> >> [: func: unexpected operator > > If I run your code on my FreeBSD 10.1 box with Csh login shell: > > dpchrist@p42800e:~/sandbox/sh % uname -a > FreeBSD p42800e 10.1-RELEASE-p35 FreeBSD 10.1-RELEASE-p35 #0: Sat > May 28 03:02:45 UTC 2016 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > dpchrist@p42800e:~/sandbox/sh % echo $SHELL > /bin/csh > dpchrist@p42800e:~/sandbox/sh % cat baho-utot.sh > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq > func ] doesn't work either > echo "This works" > fi > dpchrist@p42800e:~/sandbox/sh % ./baho-utot.sh > This works > > > I do not see the string "Yep it's me". > > > I see the string "This works". > > > I do not see an error message. > > > I get the same results if I change my login shell to Sh: > > $ echo $SHELL > /bin/sh > $ ./baho-utot.sh > This works > > > Enabling the -v and -x options for Sh provides a clue -- 'func' is not > getting called: > > $ echo $SHELL > /bin/sh > $ /bin/sh -v -x baho-utot.sh > #!/bin/sh > > func() { > echo "Yep it's me" > return 1 > } > > if [ func ] ; then # if [ 1 = func ] or if [ 1 -eq > func ] doesn't work either > echo "This works" > fi > + [ func ] > + echo 'This works' > This works > > > Calling 'func' and then testing '$?' (exit value special variable) > explicitly seems to help: > > $ cat baho-utot-2.sh > #!/bin/sh > > func() { > echo "func returning 1" > return 1 > } > > func2() { > echo "func2 returning 0" > return 0 > } > > func > if [ $? = 1 ] ; then > echo "func worked" > else > echo "func did not work" > fi > > func2 > if [ $? = 1 ] ; then > echo "func2 worked" > else > echo "func2 did not work" > fi > $ ./baho-utot-2.sh > func returning 1 > func worked > func2 returning 0 > func2 did not work > > > David > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://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 Jun 5 23:51:33 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0ADB9B6B86F for ; Sun, 5 Jun 2016 23:51:33 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) by mx1.freebsd.org (Postfix) with SMTP id D9C641F66 for ; Sun, 5 Jun 2016 23:51:32 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from ::ffff:99.100.19.101 ([99.100.19.101]) by holgerdanske.com for ; Sun, 5 Jun 2016 16:51:23 -0700 Subject: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <575492F8.6080504@holgerdanske.com> <5754AFD5.70908@gmail.com> From: David Christensen Message-ID: <5754BB05.7030707@holgerdanske.com> Date: Sun, 5 Jun 2016 16:51:33 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.8.0 MIME-Version: 1.0 In-Reply-To: <5754AFD5.70908@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jun 2016 23:51:33 -0000 On 06/05/2016 04:03 PM, jd1008 wrote: > Guys, in shell semantics, a command returning non zero indicates some > failure, > whereas a command returning 0, indicates success. > This is the convention. Agreed, but we were already barking up the wrong side of the road. ;-) David From owner-freebsd-questions@freebsd.org Mon Jun 6 00:25:12 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C1AFB6A306 for ; Mon, 6 Jun 2016 00:25:12 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 468231EE8 for ; Mon, 6 Jun 2016 00:25:12 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x236.google.com with SMTP id z123so31134344itg.0 for ; Sun, 05 Jun 2016 17:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=2bo3ZIRpkgMtDXZw1a5kpiUxgyX/cTQzwRRGkFo08XU=; b=sdGj4OVzg9uvTSp12CLEKDIqkDR4T6akkP3PqeD0q2qivXTWw9Hck2Aychld4qAiCt b9eILYS9ajHekr3CXy6Of/SgQwi5nu4Kx7Ww1+3hEBmk8yjteVVEMMU+3QBCNery0Kh4 nRH87PwLrCAWA+1LjK0tM8P+ut+9dd9tkkCtSUnwA+Vzgl1tbwVx45pTOH8p5yz3hWuE 0q1CVQ+N/of8me0OnvCa+x9alAWpKOJDCruYtekAkjQjvr0og3yHnmlk/N+llK2c+nXC xeq9A6StfDggHMQGqLthJFPkVL0tmNW67fOXxq8MK/3JIs46O7VTs/tyjk0t2obwxDcL 3Ysg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=2bo3ZIRpkgMtDXZw1a5kpiUxgyX/cTQzwRRGkFo08XU=; b=M620y3iA0cnoJhaXI1jWlWs96mIkoFvBdgWhEq2EYtk9zpWtmBtnOHiCEn/JsRqIoJ Xe3UOAP6ntrYRaJYNiAXweCnVZQXfgGdFmj3SdInbKPiy/o61I5pccfM4rNvvizOCWGu N9GmjyszQpmBYF9E5WwhyCnbH+dEzsMYsYMCOTpt2VpR2LeEQJ2z2TUDVvo7Us7ExZ7F xyVT0OHiYP0S4fM7cJ6b4gTGoecgLJnvoggsC4bIoTFFrZYw+iJhWcNPmNqkfT5Jr6bf A4NlH4as9Ufxf6s7pdq/M79gEsV3pV3mSYPZPtxZLPeeFMyrFZNv4mg0GyhFuDI7a9MD Pn9A== X-Gm-Message-State: ALyK8tLop/2tgrtRoW5EYDQ6b7sq+srMQXgFB1iFhNankOxP0uWIm8CDafixR8aGKsjYZg== X-Received: by 10.36.101.74 with SMTP id u71mr13177992itb.92.1465172711514; Sun, 05 Jun 2016 17:25:11 -0700 (PDT) Received: from localhost.localdomain (ip-64-134-232-31.public.wayport.net. [64.134.232.31]) by smtp.googlemail.com with ESMTPSA id e65sm5026847ith.11.2016.06.05.17.25.09 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 17:25:10 -0700 (PDT) Message-ID: <5754C2E0.5090606@gmail.com> Date: Sun, 05 Jun 2016 18:25:04 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: FreeBSD Users Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 00:25:12 -0000 Could someone please PLEASE unsubscribe user krad@snaffler.net so we stop getting these spams from that server??? And while you're at it, unsub any user at snaffler.net It is a spamming server. On 06/05/2016 05:11 PM, Postmaster wrote: > > =09 > > =09 > > > There was a problem delivering your email to: > > > krad@snaffler.net > > > -----------------------------------------------------------------------= - > > > WHAT HAPPENED? > > > The domain name of the email address is not valid. > > -----------------------------------------------------------------------= - > > =09 > > > WHAT CAN YOU DO? > > Check the "snaffler.net" part of the email address for misspellings or = > missing letters. (If you find an error, you might need to correct it=20 > in your contacts list or address book too.) > > If necessary, contact your recipient another way (e.g., phone or text=20 > message) to confirm their email address. > > Find out more information about this bounce message.=20 > =20 > =09 > > =09 > Learn more about RevenueStripe...=20 > =20 > > > =20 > > > > Advertisement | Prefer no ads?=20 > =20 > > > =09 > > -----------------------------------------------------------------------= - > > > WHO ARE WE? > > BetterBounces.net works on behalf of various Internet properties to=20 > give you better information about why your email wasn't delivered. You = > can learn more about us here=20 > .=20 > > -----------------------------------------------------------------------= - > > =09 > > YOU MIGHT LIKE > > =20 > > > > =20 > > > > =20 > > > Learn more about RevenueStripe...=20 > =20 > > > > RATE THIS EMAIL > > Helpful=20 > =20 > Not Helpful=20 > =20 > > > =09 > > > 908 Main Street #310, Louisville, Colorado =C2=A9 2015 > betterbounces.net, All rights reserved. Get more help > > > =09 > > > > Original-Recipient: rfc822;krad@snaffler.net > Final-Recipient: rfc822;krad@snaffler.net > Action: failed > Status: 5.1.2 > Diagnostic-Code: smtp;550 5.1.2 RESOLVER.ADR.RecipNotFound; not found From owner-freebsd-questions@freebsd.org Mon Jun 6 01:13:27 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C549B6ACF7 for ; Mon, 6 Jun 2016 01:13:27 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.228]) by mx1.freebsd.org (Postfix) with ESMTP id D7CCC1077 for ; Mon, 6 Jun 2016 01:13:25 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:53183] helo=raspberrypi.bildanet.com) by cdptpa-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 5F/ED-31413-43EC4575; Mon, 06 Jun 2016 01:13:24 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1b9j6a-0006pv-9V for freebsd-questions@freebsd.org; Sun, 05 Jun 2016 21:13:24 -0400 Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <5754C2E0.5090606@gmail.com> From: Baho Utot Message-ID: <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> Date: Sun, 5 Jun 2016 21:13:24 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <5754C2E0.5090606@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 01:13:27 -0000 On 06/05/16 20:25, jd1008 wrote: > Could someone please PLEASE unsubscribe user krad@snaffler.net > so we stop getting these spams from that server??? > And while you're at it, unsub any user at snaffler.net > It is a spamming server. > I am curious. Can you describe how a user subscribed to the above spam server inject the spam into this message list? Don't go into this in detail just from a 50,000 foot level I would just like to know how that happens so I can get my head around that. I get the spam too but it looks like it comes just to me and is not on the mailing list so I don't see how this can happen Oh boy I am in for more spam just by asking this question... I can't wait ;^) Thanks PS Yes it doesn't set well with me either for what that is worth From owner-freebsd-questions@freebsd.org Mon Jun 6 01:37:40 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38763B6B1D3 for ; Mon, 6 Jun 2016 01:37:40 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A8E71DC7 for ; Mon, 6 Jun 2016 01:37:39 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-io0-x236.google.com with SMTP id n127so4723822iof.3 for ; Sun, 05 Jun 2016 18:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=OwVEKZGv358kKINwwG/kdNtF7KOxFz8MymcZzkaMajA=; b=sibu6F6qTh+1Td3doryKP5qjFTJvOemiQrAhCRm3MyCwFAa+nSWScoNUD0txTIEr34 htyK8J2CjATfmJcu5VuR0C7ttQMjnFd6CTVc+NwpP4mIEv2vUyGCeN/JSdb+g4H4gznA Mq0KT+YvRP6NUxGFBoMB6OLtGOs5JrCYfUAQN850FmAyzHHRWww8iyH6KMuB8IWzvnYw AHYcCQ+mpAZSIUcucQ++0k+zMyuREuWpUsCUbmnialcneCj6K2ZuVrtdlwuBiQlVpJAC XNy5ufEcW/r7xQD56X/VBY1qFdYcYgHvP2/0+NO0u16RJyxcCMO/CUHrX79n8dpXLHL6 B7IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=OwVEKZGv358kKINwwG/kdNtF7KOxFz8MymcZzkaMajA=; b=QxwCCfbO1ppxFNZcavAoau9KD9E3/xSq/JSPftXuAT9dErvz8qX4LKy9l/CygSpa1x yiG7/wxnmESyf2KtLntiIGOILWSAUERn3R6nwQcdxficJf9Nov6IxWLRbKhwvE/pJWRw w5drJqs1q1AVucjrfq4ObZYxaVAncEg/GN6mCT5J6iZ5/KYkqUsbBD3GZM3C2SiiuNvb G7O2qOBgD7eZYSW8rBu3c5ChubrMMq1bvOJVN78DXDzWF9mX/XfNQkvRyResOUPLZ/GF HpawgUBjr+9sTmCTspn3ogbBKbfbQjgegjlxW9OaKW5w50M+1aoLMK/1nSxYI+tB3UkW 6xbg== X-Gm-Message-State: ALyK8tJFjYDCDJjGCSuoeFpU7A9p/vJdC+XuwoqZNhFfDVQAp/yb4sKYmPK/Y4nmAbltwg== X-Received: by 10.107.27.18 with SMTP id b18mr18003742iob.163.1465177059305; Sun, 05 Jun 2016 18:37:39 -0700 (PDT) Received: from localhost.localdomain (ip-64-134-232-31.public.wayport.net. [64.134.232.31]) by smtp.googlemail.com with ESMTPSA id o132sm8184064iod.16.2016.06.05.18.37.38 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 18:37:38 -0700 (PDT) Message-ID: <5754D3E1.5070305@gmail.com> Date: Sun, 05 Jun 2016 19:37:37 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? References: <5754C2E0.5090606@gmail.com> <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> In-Reply-To: <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 01:37:40 -0000 On 06/05/2016 07:13 PM, Baho Utot wrote: > On 06/05/16 20:25, jd1008 wrote: >> Could someone please PLEASE unsubscribe user krad@snaffler.net >> so we stop getting these spams from that server??? >> And while you're at it, unsub any user at snaffler.net >> It is a spamming server. >> > > > I am curious. > > Can you describe how a user subscribed to the above spam server inject > the spam into this message list? > Don't go into this in detail just from a 50,000 foot level > I would just like to know how that happens so I can get my head around > that. > > I get the spam too but it looks like it comes just to me and is not on > the mailing list so I don't see how this can happen > > Oh boy I am in for more spam just by asking this question... I can't > wait ;^) > > > Thanks > > PS Yes it doesn't set well with me either for what that is worth The freebsd mailing list server sends our posts and replies to all subscribed users. If the fake user is at the server in question, that server replies to the list with a spam. From owner-freebsd-questions@freebsd.org Mon Jun 6 01:40:49 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AFCD0B6B413 for ; Mon, 6 Jun 2016 01:40:49 +0000 (UTC) (envelope-from jon@radel.com) Received: from radel.com (fly.radel.com [70.184.242.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "*.radel.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F82B1F18 for ; Mon, 6 Jun 2016 01:40:48 +0000 (UTC) (envelope-from jon@radel.com) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.18.7 (ClamAV engine v0.98.7) Received: from [2001:470:880a:4389:6419:2f12:fd07:5768] (account jon@radel.com HELO gravenstein.local) by radel.com (CommuniGate Pro SMTP 6.1.2 _community_) with ESMTPSA id 1067966 for freebsd-questions@freebsd.org; Mon, 06 Jun 2016 01:40:40 +0000 Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? To: freebsd-questions@freebsd.org References: <5754C2E0.5090606@gmail.com> <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> <5754D3E1.5070305@gmail.com> From: Jon Radel Message-ID: <726b9c4d-2f90-a3d8-d9c2-16a2bb3636e6@radel.com> Date: Sun, 5 Jun 2016 21:40:38 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <5754D3E1.5070305@gmail.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms040300040904040903010803" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 01:40:49 -0000 This is a cryptographically signed message in MIME format. --------------ms040300040904040903010803 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 6/5/16 9:37 PM, jd1008 wrote: > If the fake user is at the server in question, that server replies to > the list with a spam. Actually, in this case it appears that the "fake" bounce messages are sent to the sender, not the list. I suspect I'm about to find out. Unless, of course, my spam filters are up to snuff. --=20 --Jon Radel jon@radel.com --------------ms040300040904040903010803 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cq8wggSvMIIDl6ADAgECAhEA4CPLFRKDU4mtYW56VGdrITANBgkqhkiG9w0BAQsFADBvMQsw CQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3QgQUIxJjAkBgNVBAsTHUFkZFRydXN0IEV4 dGVybmFsIFRUUCBOZXR3b3JrMSIwIAYDVQQDExlBZGRUcnVzdCBFeHRlcm5hbCBDQSBSb290 MB4XDTE0MTIyMjAwMDAwMFoXDTIwMDUzMDEwNDgzOFowgZsxCzAJBgNVBAYTAkdCMRswGQYD VQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoTEUNP TU9ETyBDQSBMaW1pdGVkMUEwPwYDVQQDEzhDT01PRE8gU0hBLTI1NiBDbGllbnQgQXV0aGVu dGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAImxDdp6UxlOcFIdvFamBia3uEngludRq/HwWhNJFaO0jBtgvHpRQqd5jKQi3xdh TpHVdiMKFNNKAn+2HQmAbqUEPdm6uxb+oYepLkNSQxZ8rzJQyKZPWukI2M+TJZx7iOgwZOak +FaA/SokFDMXmaxE5WmLo0YGS8Iz1OlAnwawsayTQLm1CJM6nCpToxDbPSBhPFUDjtlOdiUC ISn6o3xxdk/u4V+B6ftUgNvDezVSt4TeIj0sMC0xf1m9UjewM2ktQ+v61qXxl3dnUYzZ7ifr vKUHOHaMpKk4/9+M9QOsSb7K93OZOg8yq5yVOhM9DkY6V3RhUL7GQD/L5OKfoiECAwEAAaOC ARcwggETMB8GA1UdIwQYMBaAFK29mHo0tCb3+sQmVO8DveAky1QaMB0GA1UdDgQWBBSSYWuC 4aKgqk/sZ/HCo/e0gADB7DAOBgNVHQ8BAf8EBAMCAYYwEgYDVR0TAQH/BAgwBgEB/wIBADAd BgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEQYDVR0gBAowCDAGBgRVHSAAMEQGA1Ud HwQ9MDswOaA3oDWGM2h0dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9BZGRUcnVzdEV4dGVybmFs Q0FSb290LmNybDA1BggrBgEFBQcBAQQpMCcwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLnVz ZXJ0cnVzdC5jb20wDQYJKoZIhvcNAQELBQADggEBABsqbqxVwTqriMXY7c1V86prYSvACRAj mQ/FZmpvsfW0tXdeDwJhAN99Bf4Ss6SAgAD8+x1banICCkG8BbrBWNUmwurVTYT7/oKYz1gb 4yJjnFL4uwU2q31Ypd6rO2Pl2tVz7+zg+3vio//wQiOcyraNTT7kSxgDsqgt1Ni7QkuQaYUQ 26Y3NOh74AEQpZzKOsefT4g0bopl0BqKu6ncyso20fT8wmQpNa/WsadxEdIDQ7GPPprsnjJT 9HaSyoY0B7ksyuYcStiZDcGG4pCS+1pCaiMhEOllx/XVu37qjIUgAmLq0ToHLFnFmTPyOInl tukWeh95FPZKEBom+nyK+5swggX4MIIE4KADAgECAhBzVOU8fWu0zQ1gaQ38zgEbMA0GCSqG SIb3DQEBCwUAMIGbMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVy MRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDFBMD8GA1UE AxM4Q09NT0RPIFNIQS0yNTYgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1h aWwgQ0EwHhcNMTUwMzMwMDAwMDAwWhcNMTgwMzI5MjM1OTU5WjCB+jELMAkGA1UEBhMCVVMx DjAMBgNVBBETBTIyMTUwMQswCQYDVQQIEwJWQTEUMBIGA1UEBxMLU3ByaW5nZmllbGQxGjAY BgNVBAkTETY5MTcgUmlkZ2V3YXkgRHIuMRUwEwYDVQQKEwxKb24gVC4gUmFkZWwxMjAwBgNV BAsTKUlzc3VlZCB0aHJvdWdoIEpvbiBULiBSYWRlbCBFLVBLSSBNYW5hZ2VyMR8wHQYDVQQL ExZDb3Jwb3JhdGUgU2VjdXJlIEVtYWlsMRIwEAYDVQQDEwlKb24gUmFkZWwxHDAaBgkqhkiG 9w0BCQEWDWpvbkByYWRlbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDe 1Rth9hbQqaODn++C5dVAQH9nM2VH3oPazZufOwmIG2SXI/v3PuemcQQ3JkhmpQ06gYszyXbk TCLsqvEfalYj81jdt/K5lT4aVdj0LfJIWyTcU95V2rsCuHsSvn/PnIcsEtXg53rCtqS4EOtJ 9u3rY2hP8YCiyz1yY3mn4nKJs93MHG4AkXYuVpzfaIADETcVrA+razvXEfnDJXXDZZ9ZuuV1 06yIovOvhYWSlaVu8nrSHJjXFZI2IXwgIeVBoMih3yu6LLj14I/YdZ0rIA8K+UNB+NW6Ri3u wHXBbr4jh3ZqkrqIVUrf1VeybhdrJcdqXdMNHjKDSlCoaxYRbLy1AgMBAAGjggHVMIIB0TAf BgNVHSMEGDAWgBSSYWuC4aKgqk/sZ/HCo/e0gADB7DAdBgNVHQ4EFgQUz9YB10WEfBNHskRw o/0vh8qaQuwwDgYDVR0PAQH/BAQDAgWgMAwGA1UdEwEB/wQCMAAwHQYDVR0lBBYwFAYIKwYB BQUHAwQGCCsGAQUFBwMCMEYGA1UdIAQ/MD0wOwYMKwYBBAGyMQECAQMFMCswKQYIKwYBBQUH AgEWHWh0dHBzOi8vc2VjdXJlLmNvbW9kby5uZXQvQ1BTMF0GA1UdHwRWMFQwUqBQoE6GTGh0 dHA6Ly9jcmwuY29tb2RvY2EuY29tL0NPTU9ET1NIQTI1NkNsaWVudEF1dGhlbnRpY2F0aW9u YW5kU2VjdXJlRW1haWxDQS5jcmwwgZAGCCsGAQUFBwEBBIGDMIGAMFgGCCsGAQUFBzAChkxo dHRwOi8vY3J0LmNvbW9kb2NhLmNvbS9DT01PRE9TSEEyNTZDbGllbnRBdXRoZW50aWNhdGlv bmFuZFNlY3VyZUVtYWlsQ0EuY3J0MCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5jb21vZG9j YS5jb20wGAYDVR0RBBEwD4ENam9uQHJhZGVsLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAS1Pe +gBgP+SQ/a5I5e7zX0Rg0DhH378LHlZixJgS6LfCPL2edKMUQi3Th9GXfLjdeyeWuMWoz925 ZzBHcPwkBeH+iM/AEhu0Dhi0kop/p66g9tEPJUZ/KDsqxddNDrD0Typn3/33pHTjJEDqydzA gwB0Nn8blpMbqSwT+j8wuPakfLsj1cSDzXrTLLsmIQB7auAyaYXdWyW8Yqw336rLUCvjOUfn qOOyjVsieTw/0PLoOHJaGyez+VtV4eyi6p1SNiX32A+fvxBMzKQLCokE43cXItc9Okzq//f2 fuvGp17r8mpm4OjjM5E2kwsg9bBPUBMR4/sxosKVLn0o9rxlozGCBEEwggQ9AgEBMIGwMIGb MQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdT YWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDFBMD8GA1UEAxM4Q09NT0RPIFNI QS0yNTYgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEHNU5Tx9 a7TNDWBpDfzOARswDQYJYIZIAWUDBAIBBQCgggJhMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0B BwEwHAYJKoZIhvcNAQkFMQ8XDTE2MDYwNjAxNDAzOFowLwYJKoZIhvcNAQkEMSIEIL3IoGP/ m8q/ukjqjtbiHST//MHDPe8s+N8T8eDjJN35MGwGCSqGSIb3DQEJDzFfMF0wCwYJYIZIAWUD BAEqMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcN AwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwgcEGCSsGAQQBgjcQBDGBszCBsDCBmzEL MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2Fs Zm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxQTA/BgNVBAMTOENPTU9ETyBTSEEt MjU2IENsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhBzVOU8fWu0 zQ1gaQ38zgEbMIHDBgsqhkiG9w0BCRACCzGBs6CBsDCBmzELMAkGA1UEBhMCR0IxGzAZBgNV BAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09N T0RPIENBIExpbWl0ZWQxQTA/BgNVBAMTOENPTU9ETyBTSEEtMjU2IENsaWVudCBBdXRoZW50 aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhBzVOU8fWu0zQ1gaQ38zgEbMA0GCSqGSIb3 DQEBAQUABIIBAMoJip3U63hWS2XOIp1OmAtK7ydX1+7DiKQ/SsS1pmS0+prO/GIakLIe6d/A IaRuSofRmd7d50i0LE4ehSc5upiWdiEf1uN/ddKcXAhx+kSM1f/euESZDVIW36HGwX1ZzssK aZSMBUp4xzDFMjvUMROVtLphe7RioscWBGy2g4I7ub7xXWh4YNwozdTNpYk1uilv8U/IYMek /R0VBDiHvlF9hTV6sZtxT1pqjIblfWfnd+lDuduLn3Hw19vlVLlsoO29DAgU+uQ+Ctsc45z2 y9FPXAhD0VCONt9Mzv7x+6T/c7y6lwBiATvHOQZ5p62AxxioIG6YsNb8wq3wCfL/RtoAAAAA AAA= --------------ms040300040904040903010803-- From owner-freebsd-questions@freebsd.org Mon Jun 6 01:50:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 97003B6B644 for ; Mon, 6 Jun 2016 01:50:53 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 515E314E2 for ; Mon, 6 Jun 2016 01:50:53 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id f67so31531563ith.1 for ; Sun, 05 Jun 2016 18:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-transfer-encoding; bh=Kzz9P3pra1tsBrDkos/gqPhN5Bt0A38v0jI4vOheMEk=; b=hgpduZUeAzM3xo6LzK8WaqAr4UbZoKaKPfm2SVgZl/ZoB6Ea8j75cL+hka5Fz1pTWf hvnjACCrnBgc9YeLpfajCWsal62SE2lDFlhhhYrgRKAtS0mkJaC9uzzY1R0iIqG6C9wJ PXdhVY7dLVgtm2lP+M20+r1HRddk1o0xQHA4qZrHPY14VGe3b1h1lTEtN7uDBXoiUYtc Tch30OkaE53OndLjQUd8xBJak8FQowlf6mwLjHI1zHY9Hc3ZQwxRBhPtpJK67ktyV3Ob 8ey2G/TJdGmWoBUIxY9D7RmBkdZ+W9rQOU3WkOcPXflvLrK0voABe8bremrIvT+hGi0C 7q2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-transfer-encoding; bh=Kzz9P3pra1tsBrDkos/gqPhN5Bt0A38v0jI4vOheMEk=; b=R/ZRsKVFejXsjuM5pk4JzMisucnvrR7BvroR/qu4zM1RS1PGmWf+O3W9zpBJhAkxfP iINcUP+jXxRZTTdoDETqdb7/2cmp50sDirUNfxF89m4LYD11vX0iDh6CnlfRqzkn/der MTWuE8r3IWkhvc66WnkMtGsx1+oA5ZjmiwyZrL80NVW0CI9xfoioVfn3hcrNXwO8or9v OpXsa830z7u9ErJQG4XgtaSihfLINhZx/BpN/4IQw7U7I1J6nmZ8KUUsBJrQ4xgBw0+Y yiEWI+lMExkh6AhXG4UF3STt3xvc8Dd5yDWbYJkrxfJfQbn+bMSTGGbjc7J38Fnd3rx8 erkQ== X-Gm-Message-State: ALyK8tKx1ncpQaGY14XeHhb8XgQw0LcrJ8pizg+temG8kxQRQS1H00uBh+3yrovh5K7UlA== X-Received: by 10.36.104.132 with SMTP id v126mr12188260itb.17.1465177852443; Sun, 05 Jun 2016 18:50:52 -0700 (PDT) Received: from localhost.localdomain (ip-64-134-232-31.public.wayport.net. [64.134.232.31]) by smtp.googlemail.com with ESMTPSA id b17sm2481524ioe.3.2016.06.05.18.50.51 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Jun 2016 18:50:51 -0700 (PDT) Message-ID: <5754D6FA.2050605@gmail.com> Date: Sun, 05 Jun 2016 19:50:50 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? References: <5754C2E0.5090606@gmail.com> <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> <5754D3E1.5070305@gmail.com> <726b9c4d-2f90-a3d8-d9c2-16a2bb3636e6@radel.com> In-Reply-To: <726b9c4d-2f90-a3d8-d9c2-16a2bb3636e6@radel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 01:50:53 -0000 On 06/05/2016 07:40 PM, Jon Radel wrote: > On 6/5/16 9:37 PM, jd1008 wrote: > >> If the fake user is at the server in question, that server replies to >> the list with a spam. > Actually, in this case it appears that the "fake" bounce messages are > sent to the sender, not the list. > > I suspect I'm about to find out. Unless, of course, my spam filters are > up to snuff. > > Yep! U R correct. From owner-freebsd-questions@freebsd.org Mon Jun 6 03:04:26 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0131AB6A937 for ; Mon, 6 Jun 2016 03:04:26 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id D137019F3 for ; Mon, 6 Jun 2016 03:04:25 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 94984CB8CA0; Sun, 5 Jun 2016 22:04:18 -0500 (CDT) Received: from 76.193.16.11 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 5 Jun 2016 22:04:18 -0500 (CDT) Message-ID: <57081.76.193.16.11.1465182258.squirrel@cosmo.uchicago.edu> In-Reply-To: <726b9c4d-2f90-a3d8-d9c2-16a2bb3636e6@radel.com> References: <5754C2E0.5090606@gmail.com> <7d120d78-53ab-a9df-9fe6-019d4e14a06d@columbus.rr.com> <5754D3E1.5070305@gmail.com> <726b9c4d-2f90-a3d8-d9c2-16a2bb3636e6@radel.com> Date: Sun, 5 Jun 2016 22:04:18 -0500 (CDT) Subject: Re: Undeliverable: Re: sh[it] and What am I missing here? From: "Valeri Galtsev" To: "Jon Radel" Cc: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 03:04:26 -0000 On Sun, June 5, 2016 8:40 pm, Jon Radel wrote: > On 6/5/16 9:37 PM, jd1008 wrote: > >> If the fake user is at the server in question, that server replies to >> the list with a spam. > > Actually, in this case it appears that the "fake" bounce messages are > sent to the sender, not the list. > > I suspect I'm about to find out. Unless, of course, my spam filters are > up to snuff. >From all what you guys said it sounds like something on this mail list is harvesting poster's e-mail addresses, and then [likely different server] sends each of the posters this sort of spam directly. There is virtually no way to catch the harvester. As far as the server that spam comes from is concerned, all we can do is to block it on the side of our own servers. I will likely to find out more detail, namely the IP that delivered these messages after my post comes through and I receive my personal spam message. Once I get that myself, then I will block them on the side of my servers. It doesn't matter for me whether it is just rogue server, or some brain dead "sysadmin" poorly configured his server, which is just sending so called "backscatter". Either way, the box will be blocked without regret. Sorry about adding to background nose ;-( Valeri PS Some people prevent this sort of abuse by doing the following. They create aliases for each mail list they subscribe to, and then, whatever comes to that alias is being thrown away, except for mail coming through that particular mail list. You should be careful and always post From particular alias... ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Jun 6 03:34:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E628B6AF55 for ; Mon, 6 Jun 2016 03:34:36 +0000 (UTC) (envelope-from jon@radel.com) Received: from radel.com (fly.radel.com [70.184.242.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "*.radel.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 06F4A14C6 for ; Mon, 6 Jun 2016 03:34:35 +0000 (UTC) (envelope-from jon@radel.com) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.18.7 (ClamAV engine v0.98.7) Received: from [2001:470:880a:4389:6889:402e:4c31:c696] (account jon@radel.com HELO [IPv6:2001:470:880a:4389:6889:402e:4c31:c696]) by radel.com (CommuniGate Pro SMTP 6.1.2 _community_) with ESMTPSA id 1068029; Mon, 06 Jun 2016 03:34:32 +0000 Content-Type: multipart/signed; boundary=Apple-Mail-29368F4F-B589-4846-BCED-B57ECC17B290; protocol="application/pkcs7-signature"; micalg=sha1 Mime-Version: 1.0 (1.0) Subject: Re: sh[it] and What am I missing here? From: Jon Radel X-Mailer: iPhone Mail (13F69) In-Reply-To: <20160606022031.GA35165@neutralgood.org> Date: Sun, 5 Jun 2016 23:34:32 -0400 Cc: Baho Utot , freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <867DA569-6F10-4636-BE60-A3E7A844C7E8@radel.com> References: <31b2cfb1-1da8-9262-3f03-d964776c905e@columbus.rr.com> <575453F9.9070508@holgerdanske.com> <4daed7a2-9a0b-15d9-0bb2-31227f8fcddd@columbus.rr.com> <5754641A.8010508@gmail.com> <5fd48d4e-0ca9-681b-83af-da18280f4979@columbus.rr.com> <20160606022031.GA35165@neutralgood.org> To: "Kevin P. Neal" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 03:34:36 -0000 --Apple-Mail-29368F4F-B589-4846-BCED-B57ECC17B290 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable >>=20 >> It does need the suffix .sh because if it is missing I fail to=20 >> function...... the computer does just fine. >=20 > No, if this is the case you are doing something weird. The filename does > not matter, and the extension is just part of that filename. >=20 >=20 Perhaps you should read what he wrote again? He's already agreed that FreeB= SD doesn't need the extension. It's more a personal problem--I can only sur= mise he confuses himself less when he labels his files with hints as to thei= r type.=20 :-/ --Jon Radel= --Apple-Mail-29368F4F-B589-4846-BCED-B57ECC17B290 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIF/DCCBfgw ggTgoAMCAQICEHNU5Tx9a7TNDWBpDfzOARswDQYJKoZIhvcNAQELBQAwgZsxCzAJBgNVBAYTAkdC MRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcTB1NhbGZvcmQxGjAYBgNVBAoT EUNPTU9ETyBDQSBMaW1pdGVkMUEwPwYDVQQDEzhDT01PRE8gU0hBLTI1NiBDbGllbnQgQXV0aGVu dGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xNTAzMzAwMDAwMDBaFw0xODAzMjkyMzU5 NTlaMIH6MQswCQYDVQQGEwJVUzEOMAwGA1UEERMFMjIxNTAxCzAJBgNVBAgTAlZBMRQwEgYDVQQH EwtTcHJpbmdmaWVsZDEaMBgGA1UECRMRNjkxNyBSaWRnZXdheSBEci4xFTATBgNVBAoTDEpvbiBU LiBSYWRlbDEyMDAGA1UECxMpSXNzdWVkIHRocm91Z2ggSm9uIFQuIFJhZGVsIEUtUEtJIE1hbmFn ZXIxHzAdBgNVBAsTFkNvcnBvcmF0ZSBTZWN1cmUgRW1haWwxEjAQBgNVBAMTCUpvbiBSYWRlbDEc MBoGCSqGSIb3DQEJARYNam9uQHJhZGVsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC ggEBAN7VG2H2FtCpo4Of74Ll1UBAf2czZUfeg9rNm587CYgbZJcj+/c+56ZxBDcmSGalDTqBizPJ duRMIuyq8R9qViPzWN238rmVPhpV2PQt8khbJNxT3lXauwK4exK+f8+chywS1eDnesK2pLgQ60n2 7etjaE/xgKLLPXJjeaficomz3cwcbgCRdi5WnN9ogAMRNxWsD6trO9cR+cMldcNln1m65XXTrIii 86+FhZKVpW7yetIcmNcVkjYhfCAh5UGgyKHfK7osuPXgj9h1nSsgDwr5Q0H41bpGLe7AdcFuviOH dmqSuohVSt/VV7JuF2slx2pd0w0eMoNKUKhrFhFsvLUCAwEAAaOCAdUwggHRMB8GA1UdIwQYMBaA FJJha4LhoqCqT+xn8cKj97SAAMHsMB0GA1UdDgQWBBTP1gHXRYR8E0eyRHCj/S+HyppC7DAOBgNV HQ8BAf8EBAMCBaAwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDBAYIKwYBBQUHAwIw RgYDVR0gBD8wPTA7BgwrBgEEAbIxAQIBAwUwKzApBggrBgEFBQcCARYdaHR0cHM6Ly9zZWN1cmUu Y29tb2RvLm5ldC9DUFMwXQYDVR0fBFYwVDBSoFCgToZMaHR0cDovL2NybC5jb21vZG9jYS5jb20v Q09NT0RPU0hBMjU2Q2xpZW50QXV0aGVudGljYXRpb25hbmRTZWN1cmVFbWFpbENBLmNybDCBkAYI KwYBBQUHAQEEgYMwgYAwWAYIKwYBBQUHMAKGTGh0dHA6Ly9jcnQuY29tb2RvY2EuY29tL0NPTU9E T1NIQTI1NkNsaWVudEF1dGhlbnRpY2F0aW9uYW5kU2VjdXJlRW1haWxDQS5jcnQwJAYIKwYBBQUH MAGGGGh0dHA6Ly9vY3NwLmNvbW9kb2NhLmNvbTAYBgNVHREEETAPgQ1qb25AcmFkZWwuY29tMA0G CSqGSIb3DQEBCwUAA4IBAQBLU976AGA/5JD9rkjl7vNfRGDQOEffvwseVmLEmBLot8I8vZ50oxRC LdOH0Zd8uN17J5a4xajP3blnMEdw/CQF4f6Iz8ASG7QOGLSSin+nrqD20Q8lRn8oOyrF100OsPRP Kmff/fekdOMkQOrJ3MCDAHQ2fxuWkxupLBP6PzC49qR8uyPVxIPNetMsuyYhAHtq4DJphd1bJbxi rDffqstQK+M5R+eo47KNWyJ5PD/Q8ug4clobJ7P5W1Xh7KLqnVI2JffYD5+/EEzMpAsKiQTjdxci 1z06TOr/9/Z+68anXuvyambg6OMzkTaTCyD1sE9QExHj+zGiwpUufSj2vGWjMYIDwzCCA78CAQEw gbAwgZsxCzAJBgNVBAYTAkdCMRswGQYDVQQIExJHcmVhdGVyIE1hbmNoZXN0ZXIxEDAOBgNVBAcT B1NhbGZvcmQxGjAYBgNVBAoTEUNPTU9ETyBDQSBMaW1pdGVkMUEwPwYDVQQDEzhDT01PRE8gU0hB LTI1NiBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQc1TlPH1rtM0N YGkN/M4BGzAJBgUrDgMCGgUAoIIB5zAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3 DQEJBTEPFw0xNjA2MDYwMzM0MzJaMCMGCSqGSIb3DQEJBDEWBBTGAnsnPyt3swMLokgUhWLX6SqZ GTCBwQYJKwYBBAGCNxAEMYGzMIGwMIGbMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBN YW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDFB MD8GA1UEAxM4Q09NT0RPIFNIQS0yNTYgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUg RW1haWwgQ0ECEHNU5Tx9a7TNDWBpDfzOARswgcMGCyqGSIb3DQEJEAILMYGzoIGwMIGbMQswCQYD VQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRow GAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDFBMD8GA1UEAxM4Q09NT0RPIFNIQS0yNTYgQ2xpZW50 IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEHNU5Tx9a7TNDWBpDfzOARswDQYJ KoZIhvcNAQEBBQAEggEAc27dTyzJ3HpFt+tjZYp7xOUI9eQZljS9G2VkM7ZxujPkhk3nNvaMOM/Y Ol5T38z4mFVUGeqCCEfiwtwzu3mwRmL4UoxwMt4cu8Jm9KAsLeMb1idsdhV8gjz4UWXao2Aw60CE Pey0mKclM9akcY8C9Md9f+GvvCB28FMO8231uYOKCfewcXceWeQe2iU5Y21pDYHysNHbN5yTkI6s Cc6eimbQ6gbdEfIkIV9VbWi/XVffxpOpAty/4ZGI6ESOP6lBT/O2Ucp9rlLkuLJrqRvMXrtscIvg Opu1hbD4ukjy4/0xldMkOcCKlckc6fKMP4eh3ju39dUFevDfIOrQYcG2KgAAAAAAAA== --Apple-Mail-29368F4F-B589-4846-BCED-B57ECC17B290-- From owner-freebsd-questions@freebsd.org Mon Jun 6 07:01:38 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E6B3B6D8E8 for ; Mon, 6 Jun 2016 07:01:38 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CE0B1C50 for ; Mon, 6 Jun 2016 07:01:38 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id k204so13228673wmk.0 for ; Mon, 06 Jun 2016 00:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QYuTXP83/a6lG+XSHeEaQOlG6E/lArN/XbKbB2tZBJ8=; b=U20c1Lp7PjA7K4FOrqalDPWL9dEeDY18s+W1gSxi9Km9DgAfKjjD6nMp1D3u+niQio u74ITwWWA0d4+MaNbNw+BZqXEZyG/TmB7hJE9cJKMXdsu6NztbawW30TFdoJl3OBXezE NbZEocFlwvOuwXy6Ifbm0A1GEsiNwdZ53QE41J2oBi32/ftdFcr9O6KK/F4JUVMdNXtn RCH4i5iwHElMlPFPlg837E07GogqFP6mP3rgdHdfmOLKX1hUWs5X1aSFmOKq4wMJaYcW 6yVrGL9lRJzyhQBusKC0YYjDoGCARhjXa4YXNPow7wPnOEJpz82gTBWwH9OgaTfnyi+5 lq4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QYuTXP83/a6lG+XSHeEaQOlG6E/lArN/XbKbB2tZBJ8=; b=i8gGCBph3tkFeoalBBaidsxBPrNzpD0e8gb5AvJy9RWJVYAVVjvuA4sHEOlGce/msu 6m2dpSSWpCQEIa4+DGcMeACutOW1RhX2KtFlO7d1mN2SsRBWncCKHyz9oKgt47b8Za84 pE2YGhcuSe4trjUPdGy+Qr9tp00zHE9aJgTobnIsADcZ9eaZDhey1tFe/cMzk/QKzmEK 0F9jPCRN8Bx5IIq6qYQTeAhG3RIjsCBAjJwc/mxWveD8Ci9l06IYaDAEVE3WasE3DR29 ZhXz7TeKLRjf1JY7b5o+iEFHyAEI8ejicDl/IBUkk0K9Der+kgMGdduHLLwgFCki1t7+ 0rpQ== X-Gm-Message-State: ALyK8tL78CyNsJpAsRcfgMScLzMP7IKktGCDZp3eQ6ll0f6r1YiQcNpfNrjjzyMVO2MJs9n0TmlSbIevMPOkBA== X-Received: by 10.194.115.39 with SMTP id jl7mr15697336wjb.81.1465196490780; Mon, 06 Jun 2016 00:01:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.12 with HTTP; Mon, 6 Jun 2016 00:01:29 -0700 (PDT) In-Reply-To: <57546f1b.56cc240a.5fadb.ffffe1fc@mx.google.com> References: <57546f1b.56cc240a.5fadb.ffffe1fc@mx.google.com> From: krad Date: Mon, 6 Jun 2016 08:01:29 +0100 Message-ID: Subject: Re: sh[it] and What am I missing here? To: Manas Bhatnagar Cc: Baho Utot , "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 07:01:38 -0000 no its a pkg/port On 5 June 2016 at 19:27, Manas Bhatnagar wrote: > bash isn't installed by default on FreeBSD > > > Original Message > From:baho-utot@columbus.rr.com > Sent:June 5, 2016 12:02 > To:freebsd-questions@freebsd.org > Subject:Re: sh[it] and What am I missing here? > > On 06/05/16 11:58, Manas Bhatnagar wrote: > >> After the /bin/sh am I into a bourne shell or what? > > Try 'env bash'? > > > > > env: bash: No such file or directory > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Jun 6 07:29:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F06A9B6DD38 for ; Mon, 6 Jun 2016 07:29:51 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D54B41A43; Mon, 6 Jun 2016 07:29:50 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id u567TkSJ041176; Mon, 6 Jun 2016 17:29:46 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 6 Jun 2016 17:29:46 +1000 (EST) From: Ian Smith To: jd1008 cc: freebsd-questions@freebsd.org, postmaster@freebsd.org Subject: Re: Fwd: Undeliverable: Re: sh[it] and What am I missing here? In-Reply-To: Message-ID: <20160606170212.P15883@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 07:29:52 -0000 In freebsd-questions Digest, Vol 626, Issue 8, Message: 21 On Sun, 05 Jun 2016 12:40:27 -0600 jd1008 > Why am I getting this after I reply to a post? > The list must have a subscriber who is on a spamming server. > If this continues, I believe I may have to unsubscribe to > protect my machine from possible malware. > > > Yo > > > -------- Forwarded Message -------- > Subject: Undeliverable: Re: sh[it] and What am I missing here? > Date: Sun, 5 Jun 2016 13:36:55 -0500 > From: Postmaster > To: jd1008@gmail.com [..] > There was a problem delivering your email to: > > > krad@snaffler.net Please DO NOT FORWARD spam and related material to this (or any) list. Then other people will lazily top-post and quote the whole bloody lot again, and again .. as just amply demonstrated. If you have any sort of problem with spam, or this sort of issue - that comes up here repeatedly - the correct thing to do is to forward the mail in question - including absolutely ALL of the mail headers - to postmaster@freebsd.org It is pointless, and annoying, to say "will someone pleae unsubscribe so-and-so from the list." Postmaster is responsible for _scores_ of lists, and certainly hasn't time to read this one. Direct mail to postmaster@, with sufficient detail to actually reveal the problem, usually has good results in my experience. Deleting all the crap, at the bottom of your (digest) message was: > -------------- next part -------------- > An embedded message was scrubbed... > From: jd1008 > Subject: Re: sh[it] and What am I missing here? > Date: Sun, 05 Jun 2016 12:26:28 -0600 > Size: 7858 > URL: If you download that attachment you than have all the headers needed by postmaster@ to see the problem delivery. Hint: the message was actually Delivered-To: chrisscott1066@tiscali.co.uk Received: from cm12gb1 (10.101.251.12) by mail.svcgb1.int.opaltelecom.net (8.6.141.03) id 574E52E2004546F2 for chris_scott@ukgateway.net; Sun, 5 Jun 2016 19:26:59 +0100 Received: from mx2.freebsd.org ([8.8.178.116]) by mx.talktalk.net with SMTP id 9clFbbvm5kpdi9clGbuKNn; Sun, 05 Jun 2016 19:26:59 +0100 X-Delivered-To: chris_scott@ukgateway.net Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.freebsd.org (Postfix) with ESMTPS id 6D77E6CAA2; Sun, 5 Jun 2016 18:26:56 +0000 (UTC) (envelope-from owner-freebsd-questions@freebsd.org) And as you'll see, went through a very circuitous path, via some very screwy looking servers .. note this one: X-SMTP-MAILFROM: <srs0=hysflox2=r5=freebsd.org=owner-freebsd-questions@tiscali.co.uk> Seems tiscali.co.uk is in the mix; owner-freebsd-questions@freebsd.org was the original sender, so that one at least is forged. I'll do you the favour of copying this mail to postmaster@freebsd.org but in future please don't spam the list with this sort of stuff, ta! Ian From owner-freebsd-questions@freebsd.org Mon Jun 6 08:02:39 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3FC31B6AB40 for ; Mon, 6 Jun 2016 08:02:39 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE60E1DB2 for ; Mon, 6 Jun 2016 08:02:38 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id b73so89127694lfb.3 for ; Mon, 06 Jun 2016 01:02:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=xCcvHO1smgzZEVK9hPqtnuXTvCbcKs9L3mqIiswDR1c=; b=QqZmJ35G4uEGEWABvNopNrFnqTyen4DMthB+J+ImwuAbaPHpBkXNuNnM0SX+1+bW6c 0lU1DpTqYMhpJzFZdD0Ogjhf6GLNxosce6+aN87Sj4YnIuMVo/kkDP4hIm5JT6vO8C7l QfJHrGIhJnB59f4on+Yu23o0N3BpXPKd5Aq8WL5vHWMOeajrcjMh2L9M4ZXy+6yR23jW OLlDqXTsq0nlzCSU7csFB/P+v9VVz3CYc4s9B5PiC8UcaIe5q5gwhrOESgU8mD9PAE4g TmDWNX9J83KOCYTdwJ4cD3m4iD/fcF7I7bNgNduZd/J6N1U43XS96XhXJGXYCysAqYdG 1YHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xCcvHO1smgzZEVK9hPqtnuXTvCbcKs9L3mqIiswDR1c=; b=O1kZJTU+SdwV+goYxDYZahP2H6VMtAG041yUF04aF8IOwfQZtgPnGuzEdLbIGSX6lU XslXDjGtBZGKPUaY1Zj38B9cBP36CFJHcUSuOJMH93UlqnAz2c8yB47Bg+9eZLkCgYwj UIMKMyGUSlOIwP4ngSVhpA3yyVNLGOM9f+OlnALTrvQVjB25rQGO4tKsNBWz7eQeQ2vr 1ltpfoAQQUf0zen/YWRhfjv3OG5RhNlkcwz8VchYm4SJVmFc3/sH2RHzNKpWzTyZoYcn WAmzH4p63dpSqSfWIrS4qn8bk70bGtNCA9aABGdBtXot1Bc35DGcbG3yWKFy0uTb8wkF uFSQ== X-Gm-Message-State: ALyK8tLJ/ydoahLavve6jFnOCQLQ8cKOyOMn2tSe47W61+H9vljEDDG4e/MWQSRG/VMJ0YFx9toQww1Gg7NPuQ== X-Received: by 10.46.33.31 with SMTP id h31mr3990525ljh.36.1465200156796; Mon, 06 Jun 2016 01:02:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.31.203 with HTTP; Mon, 6 Jun 2016 01:02:36 -0700 (PDT) From: shahzaib mushtaq Date: Mon, 6 Jun 2016 13:02:36 +0500 Message-ID: Subject: Release or Stable 10.3 ? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:02:39 -0000 Hi, We need to install Freebsd-10.3 on production environment, should we go with 'Release' or 'Stable' version ? Thanks in Advance !! Regards. Shahzaib From owner-freebsd-questions@freebsd.org Mon Jun 6 08:04:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99A30B6ACD1 for ; Mon, 6 Jun 2016 08:04:53 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 338DA1E93 for ; Mon, 6 Jun 2016 08:04:53 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id c74so32937822wme.0 for ; Mon, 06 Jun 2016 01:04:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cPON4wq0Ygfpv8TojzvVcBYtMdfDisd+bh0GLXL84/E=; b=KI6Kcz0W/x4sxJB4xqZ8ftf8hyMq9TyVWvkISsv8i6knigSIIHVe2wMRE/6IiQeU7i La/QTrVKYIwmrn6KB8zd75a/MK0FfyMynAOsvzcQzgtFkXT9Cbc7qVqR//IxeaNBL+l8 T1LgmWnovKSaIJvE0DdE92cVbjGl1fQ2CbFjfukKeQnu2KUCnMXrM1pHlE2TJyp9AG7f c0c+kmx01rRFu+LE3iWx4mQUMjPBc0gvhkiCOysur00JutHs8uzMtVLT9UIYIla50CvI P0jeQI2uHsQ4DwSKzQya1vpkqc8WpqU6y/NCCi+VVZPBKoz1Cqedr4SkAC0NPnUOu3U1 AhLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cPON4wq0Ygfpv8TojzvVcBYtMdfDisd+bh0GLXL84/E=; b=OnREy5G6g2IiuRts9FDZkJ486se4DcYi2vr/27Hfthau+iEvoWYV6pT6Iw+YZbYJYK SQv2Jp8y/jiDkp4kR6/GDYyqmz3utcdC2pVuHIQbh+idd+UBTmIsqx6vldnyQXVmVI7s hzE34z+gwV498kZpi2cobr5Wy5toA1DT1RFNDXyJS6woF93ArnaOlflYZIWDlFrftkNt UT0vDIK2rSPg6qnYc2u4mYDqoJG5g769UoNnpwMACRZr5VZuVE7C9cjsbsxAue7zybZD McYcs0aQMZJhRIU35IIzunHx8U7HDkxmfxeRzCXxCgUuMAk9bjy3UaL5L6hpQn8ebNrO RK2A== X-Gm-Message-State: ALyK8tJmaZ0tUz2BooJKZ+GV3gw+AMRANqa1oidaUbnszWPjb4v2CDuwKglh5j4s3LZIyGwenbQlBFOFvMXmfQ== X-Received: by 10.194.74.104 with SMTP id s8mr3322837wjv.20.1465200291723; Mon, 06 Jun 2016 01:04:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.12 with HTTP; Mon, 6 Jun 2016 01:04:51 -0700 (PDT) In-Reply-To: References: From: krad Date: Mon, 6 Jun 2016 09:04:51 +0100 Message-ID: Subject: Re: Release or Stable 10.3 ? To: shahzaib mushtaq Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:04:53 -0000 There isn't a 10.3-STABLE just 10-STABLE. Currently 10-STABLE is somewhere ahead of 10.3-RELEASE On 6 June 2016 at 09:02, shahzaib mushtaq wrote: > Hi, > > We need to install Freebsd-10.3 on production environment, should we go > with 'Release' or 'Stable' version ? > > Thanks in Advance !! > > Regards. > Shahzaib > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Jun 6 08:10:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DD1EB6ADEF for ; Mon, 6 Jun 2016 08:10:32 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 156111020 for ; Mon, 6 Jun 2016 08:10:32 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id b73so89250039lfb.3 for ; Mon, 06 Jun 2016 01:10:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Gm0QDCuM6jz1XwIxe1rFKv9x42d8sesSBar8rJyBuao=; b=PhOv8W0nbkGB3/QRulHPpXHKtvs4dcc36oo3Prsqd+otld3ajzYaMPOTblm3kACQ+5 7eoRva4iTLNAUSldzuWqdEEYs88x2nyLTiu1FFIV9+sfsMocytTGyWCuyh7Jg3oKqiRw lmZzbLoQczcRPbB2SZ+VIKAQV9Ec87xLdAEVzQ//Wq3tAi7kYGf6opo/nH64eSJOc1yd ajYQQHCjUc4QnJSnRMkH/yDmtflPnBo9woei179kp10PtF1RepMK8h+Jbg+ClI23wdgF UVk6sRGXhLGBC6vn83e9oPWMVknuAQYFIoBRdnPjU63USo49eoZZ/qqxOefPfAQBS2aM DijQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Gm0QDCuM6jz1XwIxe1rFKv9x42d8sesSBar8rJyBuao=; b=FVX4eu9vCW4CAZ9kiIK6c1rlnZl7FqF9xxLda95tyhhK9mOobgwzaT5CNIfvRcfTIe vBWkHUgvDFMeCOUhGNr+G/IUTwA+qfiwys9Ocd/rvCRDTdJK6WAHXTIug3fN2si5Z0mr DMQ9lKRdgtqt6g84sI/VwS+DiOs05wcmXA8Dk9IZneyc93AjmMskXZtClsKz5rdzTzQF ZpRYJhsAy/4srvqyv2pEUx5j6OISGtQ8U2jmpP6NrCquNklvhUhktmy3X9Y0qjP/ZAuS qoZ9JBvjoLzpN5dDTVfWDVAQv+n1I6dpUG07TTp0TwxZ5K9NrS8rpI4pg/KcuyAB6tlW sqOQ== X-Gm-Message-State: ALyK8tIfcxIYOsmAXbiOrmJ3lyhq/m4YXPwvQkgFDR08LvzaIgi/lMuH0u26zM9JAQ1W0buQ6uUdmwFL/3nZKg== X-Received: by 10.46.0.77 with SMTP id 74mr391932lja.60.1465200630357; Mon, 06 Jun 2016 01:10:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.31.203 with HTTP; Mon, 6 Jun 2016 01:10:29 -0700 (PDT) In-Reply-To: References: From: shahzaib mushtaq Date: Mon, 6 Jun 2016 13:10:29 +0500 Message-ID: Subject: Re: Release or Stable 10.3 ? To: krad Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:10:32 -0000 Hi, Thanks for quick response. This is what i am talking about : http://prntscr.com/bcwtfj . Could you please let me know which of the latest should i choose for production ? Regards. Shahzaib On Mon, Jun 6, 2016 at 1:04 PM, krad wrote: > There isn't a 10.3-STABLE just 10-STABLE. Currently 10-STABLE is somewhere > ahead of 10.3-RELEASE > > > On 6 June 2016 at 09:02, shahzaib mushtaq wrote: > >> Hi, >> >> We need to install Freebsd-10.3 on production environment, should we go >> with 'Release' or 'Stable' version ? >> >> Thanks in Advance !! >> >> Regards. >> Shahzaib >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > From owner-freebsd-questions@freebsd.org Mon Jun 6 08:15:13 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83638B6D037 for ; Mon, 6 Jun 2016 08:15:13 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B2DB133C for ; Mon, 6 Jun 2016 08:15:13 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id c74so33350931wme.0 for ; Mon, 06 Jun 2016 01:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gL8mtITePOD08N6nXDYqAxslauWzlAEVF6rMuI5lMWQ=; b=hnBPTa80Xo9VJeKv+oEUj/q6d6ZD8sHjRxhhfWUylOp7oSCsm9hKVMln5fVoe0KJuV 6AZzLvDTm0vU9M2YE5nWdc/GGadBeT3VoGbm44/eBHMnsJBOIdN9mc2FAOylsYb7rVnW /qgzAabelf7haYqPPYQtIj+WD0RloPTISWIcWoBE+L6Pg2lJwNTJ9LEKwjLtojHQXGQ7 qdlwbDFxylyUGva2m+QXwJYtS/DVMgrfSPGidnWFeby1c17mHJ2o7ioVidqOEgOmYMxT 4nydNehBQoDtw+3Bquc+BSouPpVTpNP1x7fpKgzWiLKZeFrg75S/AwFYSyIauyd1L/Hd +49g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=gL8mtITePOD08N6nXDYqAxslauWzlAEVF6rMuI5lMWQ=; b=djShYyQcdY/IqXqYkED97x2KT/l22SN8M6OgPfZM0uIJiRDsbi5U1UikplAcjU/E2J 0KIjLBIYGn1UVcTdGNy7gJYpCGUi6pdJ7h5GP3JYuvhmlOmcJeOsX+vGs2in5M7fNQN3 ufgyLfIwnC6T9nfMZwYhN7RFSlyfCLO5yLK71fAqv221AFU4oo/87dteAj30hWrpxSS0 0AEop90a9JCRpsGbVSec0GYbb+d5nYskkJiNV0yxah0SOeoeausyuwsQgLQAFnpyyD58 z093SFuZ4semrt2FIuDNDWmkqAm879qnfS9fezJ8MYqKoW3o8ITXHRbdh3TOPYRnr08h sROg== X-Gm-Message-State: ALyK8tLtonvEsxfNmwUn74Rookt7ibBieWgs+acH0od9P2dSuXPIa9/iU9arw8ezbFOSHZDix95ZUYlvumakew== X-Received: by 10.194.115.39 with SMTP id jl7mr16059810wjb.81.1465200911656; Mon, 06 Jun 2016 01:15:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.12 with HTTP; Mon, 6 Jun 2016 01:15:11 -0700 (PDT) In-Reply-To: References: From: krad Date: Mon, 6 Jun 2016 09:15:11 +0100 Message-ID: Subject: Re: Release or Stable 10.3 ? To: shahzaib mushtaq Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:15:13 -0000 10.3 release will be the recommended one i guess, however which you chose is down to you and your requirements really. On 6 June 2016 at 09:10, shahzaib mushtaq wrote: > Hi, > > Thanks for quick response. This is what i am talking about : > http://prntscr.com/bcwtfj . > > Could you please let me know which of the latest should i choose for > production ? > > Regards. > Shahzaib > > On Mon, Jun 6, 2016 at 1:04 PM, krad wrote: > >> There isn't a 10.3-STABLE just 10-STABLE. Currently 10-STABLE is >> somewhere ahead of 10.3-RELEASE >> >> >> On 6 June 2016 at 09:02, shahzaib mushtaq wrote: >> >>> Hi, >>> >>> We need to install Freebsd-10.3 on production environment, should we go >>> with 'Release' or 'Stable' version ? >>> >>> Thanks in Advance !! >>> >>> Regards. >>> Shahzaib >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> > From owner-freebsd-questions@freebsd.org Mon Jun 6 08:20:32 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F412B6D0E9 for ; Mon, 6 Jun 2016 08:20:32 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 030721531 for ; Mon, 6 Jun 2016 08:20:32 +0000 (UTC) (envelope-from shahzaib.cb@gmail.com) Received: by mail-lf0-x229.google.com with SMTP id w16so89424682lfd.2 for ; Mon, 06 Jun 2016 01:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oym31F4LK7FCuq758Tmj6JZMHJnBseOmKbzFRqc8j2U=; b=WQQcuML9BPs23LfESekbLZWphYvPK0Pi7XarDGeLF7QjCn10Fp1rj1EbyHNDrKM/KK UwQUI6gfR1/v6/TblbJz87IaoBFCR34YWjd7EQlvClfr1WimqG/1p67/M8gbWokNFUU0 9rJlVeBY/cwEILTMxT8zSvwn+GiuF5i4lueIp/4NhUKds7uTirzwV5vAmQVdnM0cTxGl 7wJDVac7SwSFy25VnCjE5E9pOcl8IbU/HFC0+nGaIKGVDMs321h35udJ+z6VL7U1Blob oZ/5efdUH+2KPrd1jaoW47sOxEvjsUod/vYoiLLUXLBmWCGJq2pyvwHZUy8I2xN+qxyF RoLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oym31F4LK7FCuq758Tmj6JZMHJnBseOmKbzFRqc8j2U=; b=A76h/o/YJQbtUiWwojnOvmFPygxfBA9CciBIWou4R7ZbVdhUnEK6yZHyUSNXQgALTk SsTrxnHRWoNW1KkeduqppWjLi3+uchurD7DlvI+0SdJ4AxjWKawnkMDryE0XORHudmib jnd6nYsXKSOnJrHsr61DMdp8AuhLzXR0fOxyiLFwE+kPObddJx2wqAJCO72DlnEuYnKk givJIbAiEzFoYxhu4cBYUma6QEOm6Fs2gJf+MnegiGGml2oEJWYF0b1ZgIjynGMsDe/b xTunOVcFBomBR8g4trSjpDBWP/CDgM4rgxw971A2/vxS8Q5AE8+LfZ2rOUnGsuZrVVhD Qgeg== X-Gm-Message-State: ALyK8tKWzc0SUBzFtKJzPRxq0jocrcWUGDW8xiYF/VlCrYwc/75EtYSNActDkceD4r6ILCCmaE0lQSKil+Fxpg== X-Received: by 10.25.216.36 with SMTP id p36mr1042635lfg.198.1465201230209; Mon, 06 Jun 2016 01:20:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.31.203 with HTTP; Mon, 6 Jun 2016 01:20:29 -0700 (PDT) In-Reply-To: <37be1d48-001d-3720-42a7-465395c87afd@allunix.ru> References: <37be1d48-001d-3720-42a7-465395c87afd@allunix.ru> From: shahzaib mushtaq Date: Mon, 6 Jun 2016 13:20:29 +0500 Message-ID: Subject: Re: Release or Stable 10.3 ? To: Admin Cc: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:20:32 -0000 Hi, Thanks a lot guys for clear answer as 'stable' word is really confusing when it comes to choose between 'release' and 'stable' :) . Can we go with its minimal installation version e.g bootonly iso with 200+MB size ? Should that good to go instead of download full 2GB iso ? Regards. Shahzaib On Mon, Jun 6, 2016 at 1:17 PM, Admin wrote: > RELEASE - is a release of FreeBSD, which you can upgrade with patchsets, > staying inside the 10.3 environment. STABLE branches are a development ed= ge > of major branches, stating that the API is left unchanged and is compatib= le > with minor versions inside a major branch, while CURRENT branch may alrea= dy > be very different. > > So, I'd say not CURRENT nor STABLE branches are intended for production > use, yet they could be used like this ofcourse. You should install > X.Y-RELEASE and then freebsd-update it to latest patchset, in the end > getting X.Y-RELEASE-pZ system, which is the most production-intended > version. > > > > 06.06.2016 14:02, shahzaib mushtaq =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> Hi, >> >> We need to install Freebsd-10.3 on production environment, should we go >> with 'Release' or 'Stable' version ? >> >> Thanks in Advance !! >> >> Regards. >> Shahzaib >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> >> >> > From owner-freebsd-questions@freebsd.org Mon Jun 6 08:33:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF66EB6D429 for ; Mon, 6 Jun 2016 08:33:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 845E71C8C for ; Mon, 6 Jun 2016 08:33:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.138.192] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1b9py4-0005MN-Sx; Mon, 06 Jun 2016 10:33:05 +0200 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id u568X0L5003794 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 6 Jun 2016 10:33:01 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id u568Wwju003781; Mon, 6 Jun 2016 10:32:58 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 6 Jun 2016 10:32:58 +0200 From: Matthias Apitz To: Mario Lobo Cc: freebsd-questions@freebsd.org Subject: Re: pkg delete dilema Message-ID: <20160606083258.GA3697@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Mario Lobo , freebsd-questions@freebsd.org References: <86inylhd5s.fsf@WorkBox.Home> <20160511084754.5b2e9d05@Papi> <20160511115637.GA4375@c720-r292778-amd64> <20160511092601.6032ef9f@Papi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160511092601.6032ef9f@Papi> X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.138.192 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:33:11 -0000 El día Wednesday, May 11, 2016 a las 09:26:01AM -0300, Mario Lobo escribió: > > I compile all my ~1800 packages on some other host with poudriere and > > install them from time to time from my own repository with: > > > > # pkg delete -a > > # pkg delete -f pkg > > # pkg-static install ... > > > > This works nice, fast and clean. > > > > matthias > > In addition to the procedure above, I did this time before the deletion of all packages: # pkg query '%a %n' | fgrep '0 ' | sed 's/0 //' > what-I-have-installed.txt this gives you in the file what-I-have-installed.txt a list of what you have installed, i.e. without dependency packages; later you just run this list from a script # sh # while read name; do pkg install -y $name done < what-I-have-installed.txt and you have all back again as before; matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer Gesellschaft bzw. sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns. ..." (jW 19.05.2016) From owner-freebsd-questions@freebsd.org Mon Jun 6 08:46:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B30CB6D7BE for ; Mon, 6 Jun 2016 08:46:22 +0000 (UTC) (envelope-from admin@allunix.ru) Received: from ns1.allunix.ru (mail.allunix.ru [85.118.230.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4BB4132C for ; Mon, 6 Jun 2016 08:46:20 +0000 (UTC) (envelope-from admin@allunix.ru) Received: from gamer ([10.10.52.20]) by ns1.allunix.ru (8.14.4/8.14.4) with ESMTP id u567ILc9095739; Mon, 6 Jun 2016 14:18:21 +0700 (NOVST) (envelope-from admin@allunix.ru) X-AntiVirus: Checked by Dr.Web [version: 11.1.2.05311, engine: 11.1.0.05130, virus records: 7242173, updated: 6.06.2016] Subject: Re: Release or Stable 10.3 ? To: shahzaib mushtaq , freebsd-questions@freebsd.org References: From: Admin Message-ID: <37be1d48-001d-3720-42a7-465395c87afd@allunix.ru> Date: Mon, 6 Jun 2016 14:17:57 +0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 08:46:22 -0000 RELEASE - is a release of FreeBSD, which you can upgrade with patchsets, staying inside the 10.3 environment. STABLE branches are a development edge of major branches, stating that the API is left unchanged and is compatible with minor versions inside a major branch, while CURRENT branch may already be very different. So, I'd say not CURRENT nor STABLE branches are intended for production use, yet they could be used like this ofcourse. You should install X.Y-RELEASE and then freebsd-update it to latest patchset, in the end getting X.Y-RELEASE-pZ system, which is the most production-intended version. 06.06.2016 14:02, shahzaib mushtaq пишет: > Hi, > > We need to install Freebsd-10.3 on production environment, should we go > with 'Release' or 'Stable' version ? > > Thanks in Advance !! > > Regards. > Shahzaib > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Mon Jun 6 09:08:14 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 995D7B6DF81 for ; Mon, 6 Jun 2016 09:08:14 +0000 (UTC) (envelope-from info@start.com.ge) Received: from s1.start.com.ge (start.com.ge [148.251.31.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 143E4173F for ; Mon, 6 Jun 2016 09:08:11 +0000 (UTC) (envelope-from info@start.com.ge) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=start.com.ge; s=default; h=List-Unsubscribe:List-Id:Content-Type: MIME-Version:To:Reply-To:From:Subject:Date:Message-ID; bh=3hjmkJlGXFrrw6Ds25nd3QVnhjbhzzg69F0NMnwtseA=; b=gBVIKy+MaAAX/s0YcfzZOWunkg gvfSm38gA8En6Q0f3lZtzDYZi1H/veOaObrRAzqAyCWOewB/zFejVlNSFDrI12S5LYWTFphHByQO/ 615Un/5Njh4n+rqvnAdi/2zq5tJc5BiqdxeghrDZ4baLy2pcsqTmMHn0nZo2GiemXECcnF6X71Swr aJHHxI/R1urWegR4tbDAMmOU/Ex7GRYo6HbNizyRcHCE1rbjjRhadPQySSjTYSUjHpVqe9bd88Z+4 dZ/V3i6dSLGZ68xAC+QWhEqHMiyuWvsTTcLPvIwlxwXjKhCPUqenkDJ91RT3UF/DbxTzWJs9MOrvB ALe5ecwg==; Received: from start.com.ge ([148.251.31.27]:43492 helo=newsletters.start.com.ge) by s1.start.com.ge with esmtpa (Exim 4.86_1) (envelope-from ) id 1b9ptJ-000888-L3 for freebsd-questions@freebsd.org; Mon, 06 Jun 2016 04:28:09 -0400 Message-ID: <1b7b36412f7205faaf59a501fe5ae372@start.com.ge> Date: Mon, 06 Jun 2016 08:28:09 +0000 Subject: =?utf-8?Q?=E1=83=A1=E1=83=90=E1=83=92=E1=83=90?= =?utf-8?Q?=E1=83=93=E1=83=90=E1=83=A1=E1=83=90?= =?utf-8?Q?=E1=83=AE=E1=83=90=E1=83=93=E1=83=9D?= =?utf-8?Q?_=E1=83=99=E1=83=9D=E1=83=93?= =?utf-8?Q?=E1=83=94=E1=83=A5=E1=83=A1=E1=83=98?= =?utf-8?Q?=E1=83=A1_=E1=83=99=E1=83=A3=E1=83=A0=E1=83=A1=E1=83=98?= From: =?utf-8?Q?=E1=83=9E=E1=83=A0=E1=83=90=E1=83=A5?= =?utf-8?Q?=E1=83=A2=E1=83=98=E1=83=99=E1=83=A3?= =?utf-8?Q?=E1=83=9A=E1=83=98_=E1=83=91?= =?utf-8?Q?=E1=83=A3=E1=83=A6=E1=83=90=E1=83=9A?= =?utf-8?Q?=E1=83=A2=E1=83=94=E1=83=A0=E1=83=98?= =?utf-8?Q?=E1=83=98=E1=83=A1_=E1=83=AA?= =?utf-8?Q?=E1=83=94=E1=83=9C=E1=83=A2=E1=83=A0=E1=83=98?= Reply-To: =?utf-8?Q?=E1=83=9E=E1=83=A0=E1=83=90=E1=83=A5?= =?utf-8?Q?=E1=83=A2=E1=83=98=E1=83=99=E1=83=A3?= =?utf-8?Q?=E1=83=9A=E1=83=98_=E1=83=91?= =?utf-8?Q?=E1=83=A3=E1=83=A6=E1=83=90=E1=83=9A?= =?utf-8?Q?=E1=83=A2=E1=83=94=E1=83=A0=E1=83=98?= =?utf-8?Q?=E1=83=98=E1=83=A1_=E1=83=AA?= =?utf-8?Q?=E1=83=94=E1=83=9C=E1=83=A2=E1=83=A0=E1=83=98?= To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 X-Receiver: freebsd-questions@freebsd.org X-Report-Abuse: Please report abuse for this campaign here: http://newsletters.start.com.ge/index.php/campaigns/kw213s0jbtda9/report-abuse/ym901wqc1d5c2/nn116qze7h2ea X-Mw-Tracking-Did: 0 X-Mw-Campaign-Uid: kw213s0jbtda9 X-Mw-Subscriber-Uid: nn116qze7h2ea X-Mw-Customer-Uid: xj845cjjz694a X-Sender: info@start.com.ge X-Mw-Customer-Gid: 1 X-Mw-Mailer: SwiftMailer X-Mw-Delivery-Sid: 2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s1.start.com.ge X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - start.com.ge X-Get-Message-Sender-Via: s1.start.com.ge: authenticated_id: info@start.com.ge X-Authenticated-Sender: s1.start.com.ge: info@start.com.ge X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2016 09:08:14 -0000 =20 =E1=83=98=E1=83=AE=E1=83=98=E1=83=9A=E1=83=94=E1=83=97 =E1=83=A1= =E1=83=A0=E1=83=A3=E1=83=9A=E1=83=98 =E1=83=95=E1=83=94=E1=83=A0=E1=83= =A1=E1=83=98=E1=83=90 http://newsletters.start.com.ge/index.php/campaigns= /kw213s0jbtda9/track-url/nn116qze7h2e