Custom Query (894 matches)


Show under each result:

Results (64 - 66 of 894)

Ticket Owner Reporter Resolution Summary
#45 desai [email protected] fixed default install is "dangerous"

Currently the default bcfg2 client install "does things" by default, which I consider dangerous. And it bit me this weekend.

To be specific, the /etc/init.d/bcfg2 script is set to run when a machine is rebooted. When it is run, it uses hard-coded options that make it try to sync against the bcfg2 server.

A simple fix can address the desired behavior, and make it non-dangerous by default. Simply add an entry to /etc/default/bcfg2 with something like "INIT_SCRIPT_ARGS = -q -n", and have /etc/init.d/bcfg2 run with "bcfg2 $INIT_SCRIPT_ARGS".

Note that if you include the "-n" in the configuration as part of the standard installation, then it becomes non-dangerous. However, it can easily be modified by the user to actually "do" things.

#46 desai [email protected] fixed SSH keys left laying around

I was doing some spring cleaning and noted that bcfg leaves copies of generated ssh keys in /tmp after they are created and put in place in the proper sshbase directory.

#47 desai [email protected] fixed Empty packages.xml file makes bcfg2-server blow up

I was working on my bcfg2 server the other day, and decided I should create an "updates-that-require-downtime.xml" package list. I didn't want to do it right then, but I wanted to remind myself, so I created an empty file: "touch updates-that-require-downtime.xml".

Then I started having problems:

Apr 14 15:38:34 qa-1 bcfg2-server[11704]: Failed to parse file /var/lib/bcfg2/Pkgmgr/updates-that-require-downtime.xml
Apr 14 15:38:34 qa-1 bcfg2-server[11704]: Processed 1 gamin events in 0.178 seconds. 0 collapsed
Apr 14 15:38:47 qa-1 bcfg2-server[11704]: Cache method called early for /var/lib/bcfg2/Pkgmgr/updates-that-require-downtime.xml; forcing data load
Apr 14 15:38:47 qa-1 bcfg2-server[11704]: Failed to parse file /var/lib/bcfg2/Pkgmgr/updates-that-require-downtime.xml
Apr 14 15:38:47 qa-1 bcfg2-server[11704]: Unexpected failure in BindStructure: Package nis 
Traceback (most recent call last):   
File "/usr/lib/python2.4/site-packages/Bcfg2/Server/", line 260, in BindStructure
     self.Bind(entry, metadata)   
     File "/usr/lib/python2.4/site-packages/Bcfg2/Server/", line 272, in Bind
     return glist[0].Entries[entry.tag][entry.get('name')](entry, metadata)
   File "/usr/lib/python2.4/site-packages/Bcfg2/Server/", line 295, in BindEntry
     matching = [src for src in self.entries.values() TypeError: unsubscriptable object
Note: See TracQuery for help on using queries.