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, Apr 22, 9:52 AM
Unknown Object (File)
Tue, Apr 16, 9:14 AM
Unknown Object (File)
Tue, Apr 16, 6:53 AM
Unknown Object (File)
Tue, Apr 16, 1:39 AM
Unknown Object (File)
Feb 7 2024, 6:35 AM
Unknown Object (File)
Feb 1 2024, 3:21 AM
Unknown Object (File)
Jan 14 2024, 5:18 AM
Unknown Object (File)
Jan 9 2024, 9:04 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 Not Applicable
Unit
Tests Not Applicable

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