Modify

Opened 6 years ago

Last modified 43 years ago

#137 new defect

cfengine inputs organisation

Reported by: mglb1 Owned by: ckb6
Priority: major Milestone:
Component: ccsd Version: HEAD
Keywords: Cc: jamie@…
Estimated Hours Work:

Description

The CFengine inputs directory as stored by the configuration system needs reorganising so that inputs for remote machines are not stored in /var/lib/cfengine2/inputs which is used as the local inputs directory for the policy server.

The problem at the moment is that when cfagent on peon (the policy server) runs update.conf copies files from within /var/lib/cfengine2/inputs/cfconf (where the config system puts them) into /var/lib/cfengine2/inputs (where cfagent reads them from). In the process of doing this the permissions on the .svn directory get set to root:root (which cfagent runs as) which then prevents ccsd (running as cfengine) from making further updates to the input directory.

To fix this the directory that ccsd updates should be separate from the directory that cfagent copies the configs to and works from. Moving the config system managed directory to /var/lib/cfengine2/configs or similar would solve this problem. The file location variables in updaet.conf and the other cf.* configuration files will then need to be updated to.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from ckb6. Next status will be 'new'.
The owner will be changed from ckb6 to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.