Page MenuHomeFreeBSD

Fix regression in bsdinstall post r356740 - partedit errno(2) 21 EISDIR
ClosedPublic

Authored by woodsb02 on Jan 17 2020, 1:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 19, 1:29 AM
Unknown Object (File)
Tue, Jan 6, 1:07 PM
Unknown Object (File)
Thu, Dec 25, 9:49 PM
Unknown Object (File)
Dec 16 2025, 4:38 PM
Unknown Object (File)
Nov 27 2025, 9:22 PM
Unknown Object (File)
Nov 27 2025, 8:20 PM
Unknown Object (File)
Nov 24 2025, 3:32 PM
Unknown Object (File)
Nov 23 2025, 3:53 AM
Subscribers

Details

Summary

Fix regression in bsdinstall post rS356740 - partedit errno(2) 21 EISDIR

This resulted in the partitioning step failing if either of the
"Auto (UFS)" or "Manual" options were selected, with error:

Abort
-----
Partioning error
An installation step has been aborted. Would you like
to restart the installation or exit the installer?

Reason:
partedit was attempting to open a directory (TMPDIR) read/write,
which resulted in errno(2) 21 - EISDIR - Is a directory.

# /usr/libexec/bsdinstall/partedit
partedit: /tmp: Is a directory
Test Plan

bsdinstall partedit - works ok
bsdinstall autopart - works ok

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28730
Build 26745: arc lint + arc unit

Event Timeline

woodsb02 edited the test plan for this revision. (Show Details)
woodsb02 retitled this revision from Fix regression in bsdinstall post r356740 - partedit errno(2) 21 EISDIR to Fix regression in bsdinstall post rS356740 - partedit errno(2) 21 EISDIR.Jan 17 2020, 1:21 PM
woodsb02 retitled this revision from Fix regression in bsdinstall post rS356740 - partedit errno(2) 21 EISDIR to Fix regression in bsdinstall post r356740 - partedit errno(2) 21 EISDIR.
woodsb02 edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Jan 17 2020, 1:28 PM

Since I do not have a src commit bit (I am a ports committer), can a src committer please either commit this fix or provide approval for me to do so?

emaste added a subscriber: emaste.

you can commit with Approved by: emaste