From db1413d7380acacc4e50faf801ca0d401da89764 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 25 Apr 2011 20:41:47 +0200 Subject: sysctl.d, binfmt.d, modules-load.d: switch to stacked config dirs in /lib, /etc, /run --- man/binfmt.d.xml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'man/binfmt.d.xml') diff --git a/man/binfmt.d.xml b/man/binfmt.d.xml index 64c27554e6..5a8803f661 100644 --- a/man/binfmt.d.xml +++ b/man/binfmt.d.xml @@ -46,20 +46,20 @@ + /usr/lib/binfmt.d/*.conf /etc/binfmt.d/*.conf + /run/binfmt.d/*.conf Description systemd uses - /etc/binfmt.d/ to configure + files from the above directories to configure additional binary formats to register during boot in the kernel. Each configuration file is named in the style of - /etc/binfmt.d/<program>.conf. - - + <program>.conf. @@ -75,11 +75,19 @@ ignored. Note that this means you may not use ; and # as delimiter in binary format rules. - Configuration files are loaded in alphabetical - order. To ensure that a specific rule takes precedence - over another place it in a file with an alphabetically - later name. - + Files in /etc/ overwrite + files with the same name in /usr/lib/. + Files in /run overwrite files with + the same name in /etc/ and + /usr/lib/. Packages should install their + configuration files in /usr/lib/, files + in /etc/ are reserved for the local + administration, which possibly decides to overwrite the + configurations installed from packages. All files are sorted + by filename in alphabetical order, regardless in which of the + directories they reside, to ensure that a specific + configuration file takes precedence over another file with + an alphabetically later name. -- cgit v1.2.3-54-g00ecf