8000 Virtual machine log permissions · Issue #19 · libvirt/libvirt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Virtual machine log permissions #19
Closed
@amkgi

Description

@amkgi

There is a need to collect logs of virtual machines in Elasticsearch, but the logs are created with 0600 privileges.

[pid 2898957] open("/var/log/libvirt/qemu/instance-00053eff.log", O_WRONLY|O_CREAT|O_APPEND, 0600) = 48
[pid 2898957] open("/var/log/libvirt/qemu/instance-00053eff.log", O_RDONLY) = 52

This is a problem, we collect logs not from the root user. I searched the section on flexible logging in qemu.conf, but I couldn't find it. I started looking for this in source codes (src/qemu/), but it is difficult for me. Tell me where in the code you can change the setting of the permissions to log files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0