Comments (3)
So you're really either meant to "make install" in which case the paths will be valid or manually use it in which case you should be able to set the right paths.
I don't like including instructions that will mess with the user's system like that.
from lxcfs.
I'll be updating the website to mention that we do have packages nowadays and that people should use those unless they really know what they're doing.
from lxcfs.
I did both to check:
(1) sudo make install
were all the files get put in /usr/local
. This invalidates the instructions on your website (just confusing for users who might not have done this before). They should then read:
sudo mkdir -p /usr/local/var/lib/lxcfs
sudo ./lxcfs -s -f -o allow_other /usr/local/var/lib/lxcfs/
and in the container config you would need:
lxc.include = /usr/local/share/lxc/config/common.conf.d/00-lxcfs.conf
(2) And I also did
git clone git://github.com/lxc/lxcfs
cd lxcfs
./bootstrap.sh
./configure --prefix=/usr --localstatedir=/var --sbin=/usr/bin
make
In any case I think it would be good to mention that paths might need to be adjusted, and that packages are the preferred option.
Of course I get the point about not wanting to mess with the users system.
Thanks!
from lxcfs.
Related Issues (20)
- Failed to open liblxcfs.so (snap lxd-5.11) HOT 9
- The `/proc/diskstats` fields does not match the kernel HOT 3
- Does lxcfs reserve the interface implementation lxcfs.virtualized_cpu_model? HOT 4
- /proc/stat is not work in cgroup v2 HOT 10
- Failed parsing mountpoint from "2318 30 0:319 / /run/cgroupv2 rw,relatime shared:710 - cgroup2 none rw HOT 2
- Trying to run lxcfs inside a container with cgroups v2 HOT 2
- /proc/diskstats information is inaccurate HOT 4
- /proc/cpuinfo does not take --cpus=1 into account? HOT 6
- Release date of lxcfs 5.0.4 HOT 2
- There is a deadlock on loadavg HOT 4
- Null pointer reference in bpf_program_finalize HOT 2
- Reading `/proc/cpuinfo` in a 32bit arm container on arm64 host fails for large numbers of CPUs HOT 2
- Allow scheduler to chose cpu cores while being limited to given number. HOT 1
- alpine image not working HOT 2
- csr
- debian12 and ubuntu22.10 htop show wrong cpu HOT 1
- Correctly show /sys/devices/system/cpu/cpu*/online, currently all threads are always shown online HOT 4
- Can't get the correct information from /proc/stat HOT 3
- System in container can take CPUs on host offline HOT 23
- htop only show 1 cpu core in lxcfs 6.0.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lxcfs.