]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
README: merge two overlapping sections
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 4 Mar 2020 10:46:31 +0000 (11:46 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 4 Mar 2020 10:46:31 +0000 (11:46 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
README.md

index 41be607849c3de0f26beb521737f985996794f76..5272a6c2e6342230133454f85d8706a994022491 100644 (file)
--- a/README.md
+++ b/README.md
@@ -39,6 +39,12 @@ that `LXCFS` uses will not need to be restarted. If it were then all containers
 using `LXCFS` would need to be restarted since they would otherwise be left
 with broken fuse mounts.
 
+To force a reload of the shared library at the next possible instance simply
+send `SIGUSR1` to the pid of the running `LXCFS` process. This can be as simple
+as doing:
+
+    kill -s USR1 $(pidof lxcfs)
+
 ### musl
 
 To achieve smooth upgrades through shared library reloads `LXCFS` also relies
@@ -46,8 +52,8 @@ on the fact that when `dlclose(3)` drops the last reference to the shared
 library destructors are run and when `dlopen(3)` is called constructors are
 run. While this is true for `glibc` it is not true for `musl` (See the section
 [Unloading libraries](https://wiki.musl-libc.org/functional-differences-from-glibc.html).).
-So users of `LXCFS` on `musl` are advised to restart `LXCFS` completely and
-- by extension - all containers.
+So users of `LXCFS` on `musl` are advised to restart `LXCFS` completely and all
+containers making use of it.
 
 ## Building
 Build lxcfs as follows:
@@ -82,18 +88,6 @@ lxc.kmsg = 0
 lxc.include = /usr/share/lxc/config/common.conf.d/00-lxcfs.conf
 ```
 
-## Upgrading LXCFS without breaking running containers
-LXCFS is implemented using a simple shared library without any external
-dependencies other than `FUSE`. It is completely reloadable without having to
-umount it. This ensures that container can be kept running even when the shared
-library is upgraded.
-
-To force a reload of the shared library at the next possible instance simply
-send `SIGUSR1` to the pid of the running `LXCFS` process. This can be as simple
-as doing:
-
-    kill -s USR1 $(pidof lxcfs)
-
 ## Using with Docker
 
 ```