[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New ftpsync version 20170920



Hello ops,

Please do not use ftpsync 20170920 and 20170912 since runmirrors script included into bundles is (might be) completely useless (at least at my host). In case of 0912 the fix is to define BASEDIR:

BASEDIR=${BASEDIR:-"$(readlink -f $(dirname "$0")/..)"}

In case of 0920 BASEDIR was dropped from code and search_config() can't find proper config file since CONFDIR is empty and there is no code to set its value to default ${HOME}/etc as well as I have no config files in ~/.config/ftpsync and /etc/ftpsync dirs.


$ cat /etc/debian_version
6.0.10
$ bash --version
GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu)

I can send ftpsync/runmirrors trace to whom it may concern.

Regargs,
Mitry

On 9/22/2017 8:08 PM, Bastian Blank wrote:
Hello mirror operators

We recently release ftpsync 20170920. You can find it on a Debian mirror
near you.

It includes a lot of changes since the last release.  Notable ones are:

* Add ftpsync-cron script.
   This script can be used on mirrors running via cron.  It uses http to
   check the archive state before running a complete sync.  This means it
   can be run every 30 minutes without doing much load on the upstream
   system.

* Add several mirror information to trace file.
   We added some new config options with mirror information like
   maintainer addresses.  See ftpsync.conf.sample for a full set.  We may
   use them in the future to update our mirror list automatically.

* Set default MAILTO to the current user.
   In the past the default user to get error mails was root.  As we found
   out a lot of admins never got such mails because of that.  If you
   relied on the old default of "root", you must change your config.

Regards,
Bastian



Reply to: