Page MenuHomeFreeBSD

Fix non-functional bsdinstall services dialog
ClosedPublic

Authored by dim on Aug 1 2016, 6:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 24, 12:17 AM
Unknown Object (File)
Wed, Jun 19, 10:14 PM
Unknown Object (File)
Sat, Jun 15, 12:32 PM
Unknown Object (File)
Feb 13 2024, 12:58 AM
Unknown Object (File)
Feb 8 2024, 4:47 AM
Unknown Object (File)
Dec 22 2023, 10:01 AM
Unknown Object (File)
Dec 20 2023, 2:32 AM
Unknown Object (File)
Dec 10 2023, 2:46 AM

Details

Summary

In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211506, I described
how the 11.0-BETA3 installer does not seem to respect any of the
checkboxes in the "Choose the services you would like to be started at
boot" dialog.

This is caused by the bsdinstall/scripts/hardening script, which
implements the new hardening options dialog. The script starts by
overwriting the previously written rc.conf.services file:

echo -n > $BSDINSTALL_TMPETC/rc.conf.services

which is obviously incorrect. It should clear out rc.conf.hardening
instead.

This fix should go to stable/11 ASAP, if re@ agrees.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dim retitled this revision from to Fix non-functional bsdinstall services dialog.
dim updated this object.
dim edited the test plan for this revision. (Show Details)
dim added reviewers: robak, allanjude.
dim added subscribers: delphij, gjb, hrs, kib.
allanjude edited edge metadata.

Good catch. Thanks for finding this and fixing it

This revision is now accepted and ready to land.Aug 1 2016, 6:38 PM
This revision was automatically updated to reflect the committed changes.

That's an obvious mistake, thanks for the fix!