[Bug 886770] [NEW] Directory /var/log/libvirt/qemu missing in package

Hadmut Danisch hadmut at danisch.de
Sun Nov 6 09:30:17 UTC 2011


Public bug reported:

Hi,

libvirt-bin comes with a /etc/logrotate.d/libvirtd that tries to
logrotate log files in /var/log/libvirt/qemu , but the libvirt-bin
package contains only /var/log/libvirt and not /var/log/libvirt/qemu. If
that directory is absent (i.e. when not made manually), the logrotate
cronjob generates an error message at every run:

/etc/cron.daily/logrotate:
error: error accessing /var/log/libvirt/qemu: No such file or directory
error: libvirtd:1 glob failed for /var/log/libvirt/qemu/*.log
error: found error in /var/log/libvirt/qemu/*.log , skipping


If a logrotate accesses a directory, this directory must exist. Therefore, please add that directory to the package (even if empty) to avoid thus error messages. It is not just an error message. It is an error. 

regards

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libvirt-bin (not installed)
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Nov  6 10:25:41 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
ProcEnviron:
 LANGUAGE=en_US:de_DE:en
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 LC_MESSAGES=en_US.UTF-8
 SHELL=/bin/tcsh
SourcePackage: libvirt
UpgradeStatus: Upgraded to oneiric on 2011-10-29 (7 days ago)

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/886770

Title:
  Directory /var/log/libvirt/qemu missing in package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/886770/+subscriptions



More information about the Ubuntu-server-bugs mailing list