Coder Social home page Coder Social logo

Comments (3)

stgraber avatar stgraber commented on May 10, 2024

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.

stgraber avatar stgraber commented on May 10, 2024

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.

brauner avatar brauner commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.