[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-API] [PATCH] CA-35881: mkdir /var/log/blktap during boot.


  • To: Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
  • Date: Mon, 14 Dec 2009 20:22:28 +0000
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Mon, 14 Dec 2009 12:22:30 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: Acp8+MgIrEDo+aCFT2mxpmgVC9q0GwAAiC2A
  • Thread-topic: [Xen-API] [PATCH] CA-35881: mkdir /var/log/blktap during boot.

> Hey Api.
> 
> This one seems urgent because of log overflows caused by logrotate
> failing.

Thanks for that -- it's now pushed.

Cheers,
Dave

> 
> Thanks,
> Daniel
> 
> --snip--
> CA-35881: mkdir /var/log/blktap during boot.
> 
> Logrotate requires at least the search path to exist. If that fails,
> Xapi tends to flood xensource.log with error messages over time.
> 
> Signed-off-by: Daniel Stodden <daniel.stodden@xxxxxxxxxx>
> 
> diff -r 9b1f5588c72c -r 3424887e87d5 scripts/init.d-xenservices
> --- a/scripts/init.d-xenservices      Mon Dec 14 11:29:31 2009 -0800
> +++ b/scripts/init.d-xenservices      Mon Dec 14 11:33:38 2009 -0800
> @@ -62,6 +62,7 @@
> 
>       /usr/sbin/xenconsoled
>       /usr/sbin/blktapctrl
> +     [ -d /var/log/blktap ] || mkdir /var/log/blktap
> 
>       # Delete rubbish from xapi's private tree in xenstore, once per
> boot (not once per
>       # xapi invocation since the data should be persistent across xapi
> restarts)

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.