Bug 892693
Summary: | sub-configs in '/etc/sysctl.d' not being loaded as expected | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Eric Blake <eblake> |
Component: | libvirt | Assignee: | Eric Blake <eblake> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, bburke264, berrange, bili, clalancette, cwei, dallan, dyuan, eblake, iarlyy, ipilcher, itamar, jforbes, johannbg, jonathan, laine, libvirt-maint, lnykryn, metherid, mjenner, msekleta, mzhan, nick, plautrba, rvokal, systemd-maint, veillard, virt-maint, vpavlin |
Target Milestone: | rc | ||
Target Release: | 7.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.0.2-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 887017 | Environment: | |
Last Closed: | 2014-06-13 12:31:02 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: | |||
Bug Depends On: | 887017 | ||
Bug Blocks: |
Description
Eric Blake
2013-01-07 15:52:26 UTC
In POST for RHEL 7 by virtue of the next rebase picking up this upstream commit: commit a1fd56cb3057c45cffbf5d41eaf70a26d2116b20 Author: Eric Blake <eblake> Date: Fri Jan 4 14:21:59 2013 -0700 build: install libvirt sysctl file correctly https://bugzilla.redhat.com/show_bug.cgi?id=887017 reports that even though libvirt attempts to set fs.aio-max-nr via sysctl, the file was installed with the wrong name and gets ignored by sysctl. Furthermore, 'man systcl.d' recommends that packages install into hard-coded /usr/lib/sysctl.d (even when libdir is /usr/lib64), so that sysadmins can use /etc/sysctl.d for overrides. * daemon/Makefile.am (install-sysctl, uninstall-sysctl): Use correct location. * libvirt.spec.in (network_files): Reflect this. I can reproduce this bug : rpm -q libvirt-1.0.1-1.el7.x86_64 # rpm -qf /etc/sysctl.d/libvirtd libvirt-daemon-1.0.1-1.el7.x86_64 # ll /usr/lib/sysctl.d/ total 4 -rw-r--r--. 1 root root 738 Nov 17 23:43 00-system.conf libvirtd sysctl config file should be in /usr/lib/sysctl.d Verify this bug with: libvirt-1.0.2-1.el7.x86_64 # rpm -qf /usr/lib/sysctl.d/libvirtd.conf libvirt-daemon-1.0.2-1.el7.x86_64 file's path is correct This, or something like it is also happening in Fedora 19; I'm running a virtual-host, but the /usr/lib/sysctl.d/00-system.conf file is not being loaded in particular (which disables netfiltering on bridged interfaces, and my guests can't get out), but more generally, none of them are getting loaded. [root@kontinuum]/usr/lib/sysctl.d# rpm -qa fedora-release fedora-release-19-8.noarch [root@kontinuum]/usr/lib/sysctl.d# uname -rvm 3.12.11-201.fc19.x86_64 #1 SMP Fri Feb 14 19:08:33 UTC 2014 x86_64 [root@kontinuum]/usr/lib/sysctl.d# rpm -qf 00-system.conf initscripts-9.47-1.fc19.x86_64 I wonder if this has to do with my disk setup, and / isn't available at the time systemd-sysctl.service runs. (The disk stack is SATA => MD => LVM => LUKS.) If I should file a new bug, or there's any additional information you need, let me know. I apologize; after continuing to read through the bugs, I looked again, and I think it is only the 00-system.conf not getting loaded, probably because of the NetworkManager, as suggested in some other bugs. Ignore my previous comment on the bug. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |