search for: logrename

Displaying 2 results from an estimated 2 matches for "logrename".

Did you mean: logname
2015 May 10
2
Bug#784880: xen-utils-4.4: xl segv when it can't rename log files
Package: xen-utils-4.4 Version: 4.4.1-9 Severity: normal # /usr/lib/xen-4.4/bin/xl create -c /etc/xen/katana Parsing config from /etc/xen/katana libxl: error: libxl_utils.c:217:logrename: failed to rotate logfile - could not rename /var/log/xen/qemu-dm-katana.log.6 to /var/log/xen/qemu-dm-katana.log.7: Permission denied Segmentation fault The above happens repeatably when I run xl on a system where renaming log files is not permitted. [4746481.560999] xl[9245]: segfault at 0 ip...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...goto out; value = strtol(target, &endptr, 10); if (*endptr != ''\0'') - return 0; + goto out; if (target_domid) *target_domid = value; - return 1; + ret = 1; +out: + libxl_free_all(&gc); + return ret; } static int logrename(libxl_ctx *ctx, const char *old, const char *new) { @@ -176,26 +193,29 @@ static int logrename(libxl_ctx *ctx, con int libxl_create_logfile(libxl_ctx *ctx, char *name, char **full_name) { + libxl_gc gc = LIBXL_INIT_GC(ctx); struct stat stat_buf; char *logfile, *logfile_new; in...