problem with channels
Brian Lalor <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to modify my current server to use a couple of different channels for things like Ximian Gnome, Powertools, etc. I'm having a problem when starting current; I've tracked it down to an exception being thrown in packagedb.py: "Cannot have two chans with same properties" I've attached my current.conf; can someone tell me what I'm doing wrong? Thanks, B -- Brian Lalor [email protected]
current.conf
(text/plain, 5.3 KB)
# current config file
#
# Don't blame me for the format: I'm using as many standard python modules
# as possible
#
# General guidelines:
# 1. Every current.conf must have a "current" section, which is the
# main config section.
# 2. Section name rule -> '-', '_', alphanum
# 3. field name rule -> '-', '.', '_', alphanum
# 4. All fields must be present, even if blank.
#
# General Section descriptions:
# [current]
# valid_channels = list of all the channels to actually use. This allows
# the admin to define a channel for future use, or disable
# an old channel without deleting anything.
# log_file = File to send log messages to
# log_level = How much should we send to the log file?
# port_number = what port number should the server be listening on?
#
#
# [channel-section]
# label = Text identifier for this channel. Used as a text index.
# Values are "redhat-linux-i386-7.1" or "redhat-rawhide-i386"
# Not the same as the channel section name because labels need '.'
# name = Text name (human readable) name of this distribution
# Should be only 1 line.
# parent_channel = Channel representing the base channel that provides most
# of the packages to this one, blank otherwise.
# arch = The cannonical architecture (a family of archs that this
# channel supports. (i386, sparc, alpha. Not i686, etc)
# os_release = Release of the channel. 6.2, 7.0, 7.2, whatever.
# description = Textual description of what the channel represents. This
# can be blank or a short paragraph.
# rpm_dirs = list of all the dirs that contain binary rpms that should be
# served to clients
# src_dirs = similarly, list of all the src rpms that should be served.
# Can be empty, but not missing (currently)
# db_dir = directory containing the current databases
#
# Note that all channels will also have a "last_modified" field, which will
# will automatically be created/updated.
[current]
valid_channels = redhat_6.2 powertools_6.2 ximian_gnome_6.2 insight_webtech-i386-6.2 insight_wt.tools
#log_file = ./current.log
#pid_file = ./current.pid
log_level = 0
http_port = 8080
https_port = 8081
server_secret = Copyright (c) 2001 Hunter Matthews
server_id = purple
#key_file = ./current.pem
# These are some text messages that the server can return to the clients
# in various API calls.
## FIXME: ConfigParser just keeps getting more and more broken by this
## stuff. The period is there ot provide a "blank line". Sheesh.
welcome_message = "Welcome to blalor's up2date server."
privacy_statement = "Privacy Statement for blalor's up2date server:
This is the internet - privacy is an illusion.
.
Please note that only anonymous access is supported anyway - so while you
have to get a valid system id (by going through the rhn_register program)
there is no requirement to fill those fields out with real data. :) All
that is required is that your architecture an os_release be accurately
reported - and rhn_register fills that in automatically. "
[rh62]
label = redhat_6.2
name = RedHat Linux 6.2
parent_channel =
arch = i386
os_release = 6.2
description = Stock RedHat Linux 6.2 distribution, with updates
rpm_dirs = /usr/local/current/6.2/en/os/i386/RedHat/RPMS
/usr/local/current/updates/6.2/en/os/i386
/usr/local/current/updates/6.2/en/os/noarch
src_dirs =
db_dir = /usr/local/current/databases/redhat_6.2
[pt62]
label = powertools_6.2
name = RedHat Powertools 6.2
arch =
os_release =
parent_channel = rh62
description = Powertools, with updates
rpm_dirs = /usr/local/current/6.2/en/powertools/i386/i386
/usr/local/current/6.2/en/powertools/i386/noarch
/usr/local/current/updates/6.2/en/powertools/i386
/usr/local/current/updates/6.2/en/powertools/noarch
src_dirs =
db_dir = /usr/local/current/databases/powertools_6.2
[xg62]
label = ximian_gnome_6.2
name = Ximian Gnome Desktop 6.2
arch =
os_release =
parent_channel = rh62
description = Ximian Gnome for RedHat Linux 6.2
rpm_dirs = /usr/local/current/ximian/6.2
src_dirs =
db_dir = /usr/local/current/databases/ximian_gnome_6.2
[webtechdevbox]
label = insight_webtech-i386-6.2
name = Insight WebTech 6.2
arch =
os_release =
parent_channel = rh62
description = Insight WebTech specific packages
rpm_dirs = /usr/local/current/insight/6.2/standard
src_dirs =
db_dir = /usr/local/current/databases/insight_webtech-i386-6.2
[webtechtools]
label = insight_wt.tools
name = Insight WebTech Tools
arch =
os_release =
parent_channel = webtechdevbox
description = Tools for special functionality and debugging
rpm_dirs = /usr/local/current/insight/6.2/tools
src_dirs =
db_dir = /usr/local/current/databases/insight_wt-tools
## [insightwtdevel]
## label = insight_wt.devel
## name = Insight WebTech development packages; stuff that will eventually go into the standard channel
## parent_channel = insight_webtech-i386-6.2
## arch = i386
## os_release = 6.2
## description = Packages in development, that most likely will go into the standard channel later
##
## rpm_dirs = /usr/local/current/insight/6.2/devel
## src_dirs =
## db_dir = /usr/local/current/databases/insight_wt-devel
## END OF LINE ##