Bug 426425
Summary: | auth_unix_r[ow] = "none" still uses Policykit | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Soren Hansen <soren> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | berrange |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-11 16:31:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Soren Hansen
2007-12-20 22:48:50 UTC
Stupid bug alert: __virConfReadFile(const char *filename) { char content[4096]; ..... fd = open(filename, O_RDONLY); len = read(fd, content, sizeof(content)); close(fd); ..... return(virConfParse(filename, content, len)); } # ls -l /etc/libvirt/libvirtd.conf -rw-r--r-- 1 root root 6653 2007-12-20 19:03 /etc/libvirt/libvirtd.conf Just remove some of the copious comments from the default config file and your 'auth_unix_rw' setting will be honoured just fine. BTW that bug has been fixed in libvirt CVS, though it's not yet included in a release it will be in next one. Mon Jan 7 10:19:00 EST 2008 Daniel P. Berrange <berrange> * src/conf.c: Use virFileReadAll() to avoid truncating config files Daniel Actually I did fix it in F-8 and rawhide - not the same patch as upstream - just added a really trivial change to make the array 8192 bytes instead of 4096 * Wed Jan 2 2008 Daniel P. Berrange <berrange> - 0.4.0-2.fc8 - Fix reading large config files (rhbz #426425) * Wed Jan 2 2008 Daniel P. Berrange <berrange> - 0.4.0-2.fc9 - Fix reading large config files (rhbz #426425) The proper fix can wait till the next official upstream release. |