Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2026 22:04:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 295674] handbook: Jail upgrading procedure
Message-ID:  <bug-295674-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 295674
           Summary: handbook: Jail upgrading procedure
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Books & Articles
          Assignee: doc@FreeBSD.org
          Reporter: jbo@FreeBSD.org

The following has been on my mind for several weeks now and I feel like I am
missing something that is extremely obvious to everyone else. After some
continuous encouragement from cracauer@ I am finally filing a PR on this
expecting to face palm myself very hard for the coming months and years...

Section 17.7.1 of the handbook covers upgrading a jail. Specifically it
mentions:

> # freebsd-update -j classic -r 13.2-RELEASE upgrade
> # freebsd-update -j classic install
> # service jail restart classic
> # freebsd-update -j classic install
> # service jail restart classic

And just below that the following note:

> It is necessary to execute the install step two times.
> The first one upgrades the kernel, and the second one upgrades
> the rest of the components.

The same appears to be the case for section 17.7.2.

For years I was under the impression that a jail doesn't have it's own kernel;
It's using the host's kernel. Why would we freebsd-update install and restart
the jail twice?

What am I missing here?

-- 
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-295674-9>