accessing serial port from host

Bug #916266 reported by Jürgen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

when accessing the serial port with
-chardev tty,id=charserial1,path=/dev/ttyS0
the owner is changed to:
libvirt-qemu kvm

after ending the host the owner changes to

root root

but this should be the the original owner

root dialout

Tags: kvm ttys0
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug.

This appears to be documented as a to-do in the code (in src/security/security_dac.c:virSecurityDACRestoreSecurityFileLabel(), which says:

    /* XXX record previous ownership */
    rc = virSecurityDACSetOwnership(newpath, 0, 0);

Changed in libvirt (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.