Bugzilla – Bug 6102
DC and ICT need to use pkg set-property
Last modified: 2009-01-29 10:30:03 UTC
You need to log in before you can comment on or make changes to this bug.
Both DC_tm.py and ict.py directly manipulate /var/pkg/cfg_cache to control the content cache flush setting. This was done because at the time there was no interface from IPS to control the setting, and bug 2266 was filed to request an interface. The introduction of "pkg set-property" has provided the needed interface, so these modules should be changed to use it instead. This has some urgency, as Shawn has initial proposals out on redesigning cfg_cache's format to meet additional requirements, and the current code will almost certainly be broken should the proposed changes occur. Filed against DC, but both modules should be fixed at once.
I've talked with Joe about the ict.py changes. They should be fairly straightforward, remove the code to manually change cfg_cache and put in the code to use IPS. For DC_tm.py, same as above but also add the ips set-property functionality to the transfer module.
Fixed in changeset: 6b7db52d6b63214257cb4ea567591bb1ae6cd379
*** Bug 5791 has been marked as a duplicate of this bug. ***