WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

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

To: Daniel Stodden <Daniel.Stodden@xxxxxxxxxx>, Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] [PATCH] CA-35881: mkdir /var/log/blktap during boot.
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1260821116.2583.10.camel@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1260821116.2583.10.camel@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>