Modify

Ticket #94 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

bcfg2-server doesn't respect -C option

Reported by: [email protected] Owned by: desai
Priority: major Milestone:
Component: bcfg2-server Version:
Keywords: Cc:

Description

current svn (rev 2082)

$ bcfg2-server -C /home/gogo/MJ/prototype-server/etc/bcfg2.conf -v -d
/etc/bcfg2.conf doesn't contain a valid components section

It looks further for /etc/bcfg2.conf .

Related code!?

class SafeProxy:
    '''Wrapper for proxy'''
    _cfile = ConfigParser.ConfigParser()
    _cfpath = '/etc/bcfg2.conf'
    _cfile.read([_cfpath])
    try:
        _components = _cfile._sections['components']
    except KeyError:
        print "%s doesn't contain a valid components section" % (_cfpath)
         raise SystemExit, 1

Attachments

Change History

comment:1 Changed 17 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.