From owner-freebsd-stable@FreeBSD.ORG Fri Feb 29 12:37:38 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BB65106566B for ; Fri, 29 Feb 2008 12:37:38 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: from mta.webmatic.de (mta.webmatic.de [212.78.99.126]) by mx1.freebsd.org (Postfix) with ESMTP id 780838FC24 for ; Fri, 29 Feb 2008 12:37:37 +0000 (UTC) (envelope-from freebsd-stable@chef-ingenieur.de) Received: (qmail 65667 invoked by uid 89); 29 Feb 2008 12:37:35 -0000 Received: from unknown (HELO mta.webmatic.de) (127.0.0.1) by localhost with SMTP; 29 Feb 2008 12:37:35 -0000 Received: from 217.188.193.85 (SquirrelMail authenticated user freebsd-stable@chef-ingenieur.de) by mta.webmatic.de with HTTP; Fri, 29 Feb 2008 13:37:35 +0100 (CET) Message-ID: <2494.217.188.193.85.1204288655.squirrel@mta.webmatic.de> Date: Fri, 29 Feb 2008 13:37:35 +0100 (CET) From: "Thomas Krause" To: Willy@Offermans.Rompen.nl User-Agent: SquirrelMail/1.4.11 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-stable@freebsd.org Subject: Re: $HOME changed from 6.2 to 6.3 and 7.0 ?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Feb 2008 12:37:38 -0000 > Dear Thomas and FreeBSD friends, > > On Fri, Feb 29, 2008 at 12:52:11PM +0100, Thomas Krause wrote: >> Dear list, >> >> after upgrading from 6.2R to 6.3R my daily jobs, which are normaly >> executed from /etc/daily.local, are not longer started. >> The entry in daily.local is >> $HOME/bin/save-conf.sh >> 6.2R executed /root/bin/save-conf.sh >> 6.3R (and 7.0R) tries to start /var/log/bin/save-conf.bin >> >> Why? I cannot find such a homedir in /etc/passwd! >> >> Regards, >> Thomas. > > > I'm sorry, I do not know why $HOME is resolved to /var/log/. > > Is /usr/local/etc/periodic/daily/ not the place to put your daily > executable scripts? What is daily.local about? I have searched the net > myself and seems that daily.local is something out of an old box. It > should be superseded by /usr/local/etc/periodic/daily/ > Do you have a script like /usr/local/etc/periodic/daily/999.local Or is > there another place where the script daily.local will be launched. I > assume that daily.local is a script? Maybe there $HOME is set? my consideration was: gromit:/ # grep daily.local /etc/defaults/periodic.conf daily_local="/etc/daily.local" # Local scripts gromit:/ # uname -r 7.0-RELEASE I' checked an older 5.5R an found in /etc/crontab an entry HOME=/var/log - but in this release it has no effect ?! Best regards, Thomas.