[Bug 280339] Handbook section 17.5.2 Creating a Thin Jail Using NullFS results in broken jails

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Aug 2024 16:04:03 UTC
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.