[Pkg-xen-devel] Bug#680102: More fixes for xen-api in Wheezy

Thomas Goirand thomas at goirand.fr
Sat Jul 7 21:40:37 UTC 2012


On 07/08/2012 04:22 AM, Mike McClurg wrote:
> (CC'ing George Shulkin, and the #680102 bug list)
> 
> On Sat, Jul 7, 2012 at 4:37 PM, Thomas Goirand <thomas at goirand.fr> wrote:
>> Hi Mike and Jon,
>>
>> It would be really nice if you could have a look at these 3 pending
>> issues in the Debian bug tracker:
>>
>> #675052: xe vm-memory-target-set does not write target to xenstore
>> #678723: vif-interfaces added to database as PIF's
>> #680102: xcp fails eject host from pool (no /etc/firstboot.d found)
>>
>> It be great to have it fix asap, before the deep freeze of Wheezy.
>>
>> I've been able to fix others already. Other than that, only #680102 is a
>> concern.
> 
> So 680102 is due to there not being an /etc/firstboot.d/ directory (as
> the ticket explains). I think we can fix this issue simply by
> mkdir'ing the directory /etc/firstboot.d/data at some point in xapi's
> installation. This would allow the pool-eject to proceed, but I think
> that there might be problems when the host reboots: since none of the
> firstboot scripts will be called, the host might not reinitialise
> properly.

Well, writing in /etc dynamically is *forbidden* by the Debian policy.
The /etc folder is for configuration, not something else! If you were
using /var/lib/xcp-xapi, ok, but not /etc.

Could you think about a better way to fix?

Cheers,

Thomas





More information about the Pkg-xen-devel mailing list