[Bug 221854] makefs: Reject UFS labels that are too long to fit
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 27 10:49:53 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221854
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 at FreeBSD.org
Reporter: fk at fabiankeil.de
Flags: mfc-stable11?
Created attachment 185810
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185810&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list