ubumirror.conf has many errors

Bug #574962 reported by iassael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Mirror scripts
Fix Committed
Medium
Chris Glass
Nominated for Trunk by iassael

Bug Description

The ubumirror.conf should be changed like this:

#
# ubumirror.conf - configuration file for the ubumirror scripts.
#

# Please set the variables below to fit your site.
# Which email address/user that will receive failure notices.
EMAIL=root@localhost

# Server's FQDN.
#HOSTNAME=$(hostname -f)
HOSTNAME=$(hostname)

# Bandwidth limit for all mirror scripts - set to 0 for no limit.
SPEED=0

# UBUARC_DIR is the destination for the base of the archive directory
# The script won't run if this variable isn't set
UBUARC_DIR="/srv/mirror/ubuntu"

# UBUCDI_DIR is the destination for the base of the cdimage directory
# The script won't run if this variable isn't set
UBUCDI_DIR="/srv/mirror/ubuntu-cdimage"

# UBUREL_DIR is the destination for the base of the releases directory
# The script won't run if this variable isn't set
UBUREL_DIR="/srv/mirror/ubuntu-releases"

# UBUPOR_DIR is the destination for the base of the ports directory
# The script (ubuports) won't run if this variable isn't set
UBUPOR_DIR="/srv/mirror/ubuntu-ports"

# LOGDIR is the destination directory of all the logs
LOGDIR="/var/log/ubumirror/"

# UBU{ARC,CDI,REL}_MIRROR is the rsync path in the form of host::directory/ of the
# upstream mirrors where the ubumirror scripts will mirror from.
UBUARC_MIRROR=rsync://rsync.archive.ubuntu.com/ubuntu
UBUCDI_MIRROR=rsync://rsync.cdimage.ubuntu.com/cdimage
UBUREL_MIRROR=rsync://rsync.releases.ubuntu.com/releases
UBUPOR_MIRROR=rsync://rsync.ports.ubuntu.com/ubuntu-ports

# UBUCDI_FLAVOURS is the set of image flavours to pull from UBICDI_MIRROR
# flavour names must match directory names on the mirror
UBUCDI_FLAVOURS="\
  daily daily-live \
  ubuntu-netbook/daily-live ubuntu-server/daily \
"

# UBU{ARC,CDI,REL}_EXCLUDE is what things you want to exclude
UBUARC_EXCLUDE=""
# --exclude binary-powerpc/ --exclude binary-sparc/ \
# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
# --exclude installer-powerpc/ --exclude installer-sparc/ \
# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
# --exclude *_sparc.deb --exclude *_sparc.udeb \
# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \

UBUCDI_EXCLUDE=""
# --exclude *-powerpc.* --exclude *-sparc.* \
# --exclude source/ \

UBUREL_EXCLUDE=""
# --exclude *-powerpc.* --exclude *-sparc.* \

UBUPOR_EXCLUDE=""
# --exclude binary-powerpc/ --exclude binary-sparc/ \
# --exclude daily-installer-powerpc/ --exclude daily-installer-sparc/ \
# --exclude installer-powerpc/ --exclude installer-sparc/ \
# --exclude *_powerpc.deb --exclude *_powerpc.udeb \
# --exclude *_sparc.deb --exclude *_sparc.udeb \
# --exclude Contents-powerpc.gz --exclude Contents-sparc.gz \

Related branches

Revision history for this message
Chris Glass (tribaal) wrote :

I just found this and it solved some problems with my new mirror.

I took the liberty to make your suggestion into a proper patch, see the related branch.

Changed in ubumirror:
status: New → In Progress
assignee: nobody → Chris Glass (tribaal)
Chris Glass (tribaal)
Changed in ubumirror:
status: In Progress → Fix Committed
Chris Glass (tribaal)
Changed in ubumirror:
importance: Undecided → Medium
milestone: none → 0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.