Re: $HOME changed from 6.2 to 6.3 and 7.0 ?!



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.




_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: $HOME changed from 6.2 to 6.3 and 7.0 ?!
    ... after upgrading from 6.2R to 6.3R my daily jobs, ... The entry in daily.local is ... it only worked before by sheer ...
    (freebsd-stable)
  • $HOME changed from 6.2 to 6.3 and 7.0 ?!
    ... after upgrading from 6.2R to 6.3R my daily jobs, ... The entry in daily.local is ... I cannot find such a homedir in /etc/passwd! ...
    (freebsd-stable)
  • Re: $HOME changed from 6.2 to 6.3 and 7.0 ?!
    ... after upgrading from 6.2R to 6.3R my daily jobs, ... The entry in daily.local is ... there another place where the script daily.local will be launched. ...
    (freebsd-stable)
  • Re: WORD doc info into FMP?
    ... it appears that each line of the entry follows the format ... number of any given type of field (Location, script, sets etc.) you might ... into a separate record in a database, and a separate related "database 2" ... Ten Nights in a Barroom (New York State Archives) ...
    (comp.databases.filemaker)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)