[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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, 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) Attachment:
CA-35881-mkdir-var-log-blktap.diff _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |