[Pkg-xen-devel] Bug#784880: xen-utils-4.4: xl segv when it can't rename log files
Russell Coker
russell at coker.com.au
Sun May 10 02:33:19 UTC 2015
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 (null) sp 00007ffcebe12858 error 14 in xl[400000+24000]
[4746626.766885] xl[9313]: segfault at 0 ip (null) sp 00007ffcd0340d18 error 14 in xl[400000+24000]
Above are the kernel messages from two runs of xl.
In this case the files were read-only due to a bug in SE Linux policy, but they
could be read-only due to a filesystem error, use of chattr +i, or other
reasons. It would be OK for xl to report an error and abort, pretty much
anything other than a SEGV would do.
-- System Information:
Debian Release: 8.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xen-utils-4.4 depends on:
ii e2fslibs 1.42.12-1.1
ii libc6 2.19-18
ii libncurses5 5.9+20140913-1+b1
ii libtinfo5 5.9+20140913-1+b1
ii libxen-4.4 4.4.1-9
ii libxenstore3.0 4.4.1-9
ii libyajl2 2.1.0-2
ii python2.7 2.7.9-2
pn python:any <none>
ii xen-utils-common 4.4.1-9
Versions of packages xen-utils-4.4 recommends:
ii bridge-utils 1.5-9
pn grub-xen-host <none>
ii qemu-system-x86 1:2.1+dfsg-11
ii xen-hypervisor-4.4-amd64 [xen-hypervisor-4.4] 4.4.1-9
xen-utils-4.4 suggests no packages.
-- no debconf information
More information about the Pkg-xen-devel
mailing list