Bug 1274849
| Summary: | Don't warn about nonexisting connection drivers | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | agedosier, berrange, clalancette, crobinso, itamar, jforbes, laine, libvirt-maint, veillard, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-1.2.13.2-3.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-08 20:23:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Christian Stadelmann
2015-10-23 16:10:11 UTC
Still in libvirt.git. We should make it VIR_INFO or VIR_DEBUG IMO
$ git grep --context=10 -n "Module %s not"
src/driver.c-55-
src/driver.c-56- if (!(modfile = virFileFindResourceFull(name,
src/driver.c-57- "libvirt_driver_",
src/driver.c-58- ".so",
src/driver.c-59- abs_topbuilddir "/src/.libs",
src/driver.c-60- DEFAULT_DRIVER_DIR,
src/driver.c-61- "LIBVIRT_DRIVER_DIR")))
src/driver.c-62- return NULL;
src/driver.c-63-
src/driver.c-64- if (access(modfile, R_OK) < 0) {
src/driver.c:65: VIR_WARN("Module %s not accessible", modfile);
src/driver.c-66- goto cleanup;
src/driver.c-67- }
src/driver.c-68-
src/driver.c-69- virUpdateSelfLastChanged(modfile);
src/driver.c-70-
src/driver.c-71- handle = dlopen(modfile, RTLD_NOW | RTLD_GLOBAL);
src/driver.c-72- if (!handle) {
src/driver.c-73- VIR_ERROR(_("failed to load module %s %s"), modfile, dlerror());
src/driver.c-74- goto cleanup;
src/driver.c-75- }
libvirt-1.2.13.2-3.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8d287c777d libvirt-1.2.13.2-3.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8d287c777d libvirt-1.2.13.2-3.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |