Page MenuHomeFreeBSD

Fix non-functional bsdinstall services dialog
ClosedPublic

Authored by dim on Aug 1 2016, 6:35 PM.
Tags
None
Referenced Files
F131663763: D7387.id18941.diff
Fri, Oct 10, 3:52 AM
Unknown Object (File)
Sun, Oct 5, 1:31 AM
Unknown Object (File)
Sun, Sep 28, 2:05 AM
Unknown Object (File)
Sat, Sep 27, 11:35 PM
Unknown Object (File)
Sat, Sep 20, 9:52 PM
Unknown Object (File)
Thu, Sep 18, 3:57 AM
Unknown Object (File)
Thu, Sep 18, 2:51 AM
Unknown Object (File)
Wed, Sep 17, 3:17 PM

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!