[libvirt] [PATCH] daemon: Prefix sysctl configuration file with numbers

Eric Blake eblake at redhat.com
Thu Apr 16 12:45:44 UTC 2015


On 04/15/2015 05:12 AM, Jiri Denemark wrote:
> Apparently, files in /usr/lib/sysctl.d are usually prefixed with numbers
> for easier ordering. Let's be consistent with this. I chose 60 for
> libvirtd so that it goes after 50-default.conf.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1084876
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
> 
> Notes:
>     Actually, %config(noreplace) for a file in /usr/lib/sysctl.d looks
>     somewhat wrong to me and I think we should fix that too. After all
>     the files are usually placed in /usr/lib because they are not
>     supposed to be modified by administrators. They should be able to
>     override the settings in /etc/. Any opinion about this?

I think the idea of allowing overrides from /etc makes sense - but do we
actually parse up to two files, with the last parse winning?  If not,
that's more code to add first.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150416/9b7f3f84/attachment-0001.sig>


More information about the libvir-list mailing list