[Bug 209628] freebsd-update upgrade broken in jail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 18 22:20:53 UTC 2016


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

            Bug ID: 209628
           Summary: freebsd-update upgrade broken in jail
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: bilbo at hobbiton.org

`freebsd-update upgrade` looks at `uname -r` instead of `freebsd-version`. When
running in a jail, this results in the error "freebsd-update: Cannot upgrade
from 10.3-RELEASE to itself".

This can be worked around by setting UNAME_r=`freebsd-version`. However, this
is an unnecessary complication, and there's no clear path to discover this
since one must look in the uname man page for problems with freebsd-update.

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


More information about the freebsd-bugs mailing list