[Pkg-libvirt-maintainers] Bug#625288: Disable harmful second timestamp (or make optional).

Guido Günther agx at sigxcpu.org
Thu May 5 15:57:06 UTC 2011


Hi,
On Tue, May 03, 2011 at 05:07:38PM +1000, Trent W. Buck wrote:
> Package: libvirt
> Version: 0.9.0-1
> Severity: normal
> 
> I run logcheck with syslog-summary enabled.  That allows me to get ONE
> line like this, indicating the number of duplicate (in this case 10):
> 
>     10 stomp dovecot: IMAP(russm): stat(/var/mail/lists/.managers/tmp) failed: Permission denied (euid=1033(russm) egid=1033(russm) missing +x perm: /var/mail/lists/.managers)
> 
> However, libvirtd includes its own timestamps in its syslog messages, which completely ruins this:
> 
>     1 theta libvirtd: 15:33:46.516: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.523: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.530: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.537: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.544: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.551: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.558: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.565: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.572: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.579: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
>     1 theta libvirtd: 15:33:46.586: error : checkType:2495 : remoteReadConfigFile: /etc/libvirt/libvirtd.conf: unix_sock_group: invalid type: got long; expected string#012
> 
> Please remove, or at least make optional, these timestamps.  This is analogous to these smb.conf options:

	https://bugzilla.redhat.com/show_bug.cgi?id=702114

Has some discussion about this.
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list