Modify

Ticket #45 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

default install is "dangerous"

Reported by: [email protected] Owned by: desai
Priority: critical Milestone:
Component: bcfg2-client Version:
Keywords: init scrip Cc:

Description

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.

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.