|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: lxcfs
|
|
|
|
|
Version: 3.1.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 4.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: FUSE based filesystem for LXC
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://linuxcontainers.org/lxcfs
|
|
|
|
@ -19,26 +19,14 @@ Requires: lxc-templates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
LXCFS is a simple userspace filesystem designed to work around some
|
|
|
|
|
current limitations of the Linux kernel.
|
|
|
|
|
LXCFS is a small FUSE filesystem written with the intention of making
|
|
|
|
|
Linux containers feel more like a virtual machine. It started as a
|
|
|
|
|
side-project of LXC but is usable by any runtime.
|
|
|
|
|
|
|
|
|
|
Specifically, it's providing two main things
|
|
|
|
|
|
|
|
|
|
- A set of files which can be bind-mounted over their /proc originals
|
|
|
|
|
to provide CGroup-aware values.
|
|
|
|
|
|
|
|
|
|
- A cgroupfs-like tree which is container aware.
|
|
|
|
|
|
|
|
|
|
The code is pretty simple, written in C using libfuse.
|
|
|
|
|
|
|
|
|
|
The main driver for this work was the need to run systemd based
|
|
|
|
|
containers as a regular unprivileged user while still allowing systemd
|
|
|
|
|
inside the container to interact with cgroups.
|
|
|
|
|
|
|
|
|
|
Now with the introduction of the cgroup namespace in the Linux kernel,
|
|
|
|
|
that part is no longer necessary on recent kernels and focus is now on
|
|
|
|
|
making containers feel more like a real independent system through the
|
|
|
|
|
proc masking feature.
|
|
|
|
|
LXCFS will take care that the information provided by crucial files in
|
|
|
|
|
procfs are container aware such that the values displayed (e.g. in
|
|
|
|
|
/proc/uptime) really reflect how long the container is running and not
|
|
|
|
|
how long the host is running.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -86,6 +74,9 @@ mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Mar 7 2020 Thomas Moschny <thomas.moschny@gmx.de> - 4.0.0-1
|
|
|
|
|
- Update to 4.0.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|