Giter Club home page Giter Club logo

Comments (3)

Juronski avatar Juronski commented on June 12, 2024

The fstab of the jails (../..jails-fstab/namejail/fstab) has the line for mounting /home: ../../jails-data/namejail-data/usr/home /usr/home nullfs rw 0 0/. Starting the jail gives the following message: mkdir: /usr/jail/jails/namejail/usr/home: Read-only file system. It appears that CBSD after upgrade FreeBSD 13.1 to 13.2 creates a new home-dir for the jails (../../jails/namejail/usr/home) and forget about mounting ../../namejail-data/usr/home.

from cbsd.

Juronski avatar Juronski commented on June 12, 2024

I do not get my head around the fact that /usr/home is not mounted in the jails the normal way. To get /usr/jails/jails-data/namejail-data/usr/home mounted in the jails, I have to add the following line to fstab.local of all the jails: /usr/jail/jails-data/namejail-data/usr/home /home nullfs rw 0 0. Then I get the user-directories in the jails in /home/username. Without /usr/home. Because /usr/home/username is hard coded in code used in the jails, there are more changes needed to fix the missing home-directories in the jails after upgrade from FreeBSD 13.1 2 13.2. BASERW=0 so I can not symlink in the jail /usr/home to /home. If possible I would like to have the previous situation back where/usr/homeis mounted, and /home is a symlink to/usr/home. In other words, I'm open to a better solution than making all these changes.

from cbsd.

Juronski avatar Juronski commented on June 12, 2024

A change in the basejail (base_amd64_amd64_13.2) is the cause of the isseu. The physical path of /usr/home is changed to /home without a symlink from /usr/home to /home. The issue is solved by making a change in base_amd64_amd64_13.2 and recreating the physical path /usr/home and symlink from /home to /usr/home.

from cbsd.

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.