Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2017 10:49:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221854] makefs: Reject UFS labels that are too long to fit
Message-ID:  <bug-221854-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221854

            Bug ID: 221854
           Summary: makefs: Reject UFS labels that are too long to fit
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: fk@fabiankeil.de
             Flags: mfc-stable11?

Created attachment 185810
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185810&action=
=3Dedit
makefs: Reject UFS labels that are too long to fit

If a specified UFS label is too long to fit, makefs currently silently
truncates it.

This causes problems if the created file system contains files like
/etc/fstab that expect the whole label.

You may end up with a release image that was built "successfully"
but doesn't actually boot.

The attached patch lets makefs reject UFS labels that don't fit which
makes the issue easier to spot.

Obtained from: ElectroBSD

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



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