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)
Wed, Nov 20, 9:04 AM
Unknown Object (File)
Fri, Nov 1, 10:33 PM
Unknown Object (File)
Fri, Nov 1, 10:33 PM
Unknown Object (File)
Fri, Nov 1, 10:33 PM
Unknown Object (File)
Fri, Nov 1, 10:21 PM
Unknown Object (File)
Sun, Oct 27, 4:55 AM
Unknown Object (File)
Oct 3 2024, 12:09 PM
Unknown Object (File)
Sep 24 2024, 3:55 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