Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2024 16:04:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 280339] Handbook section 17.5.2 Creating a Thin Jail Using NullFS results in broken jails
Message-ID:  <bug-280339-9-vTXBcWSbMu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280339-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280339

Felix <tangmeifa@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tangmeifa@gmail.com
 Attachment #253021|                            |maintainer-approval?
              Flags|                            |

--- Comment #2 from Felix <tangmeifa@gmail.com> ---
Created attachment 253021
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253021&action=edit
fix broken symlinks inside thin nullfs jail

I got the same issue. I fixed it by adding additional symlinks in `skeleton`
folder.

inside jail's hierarchy like,

```
root
sbin
skeleton/
  usr/
    local/
    sbin@ -> ../../usr/sbin
    share@ -> ../../usr/share
sys
tmp
```

add symlink share for files like /etc/ssl/certs/*
add symlink sbin for file /etc/rmt in case needed

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280339-9-vTXBcWSbMu>