Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 211506] bsdinstall on 11.0-BETA3 enabled services don't end up in rc.conf

0 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Aug 1, 2016, 2:22:15 PM8/1/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211506

Bug ID: 211506
Summary: bsdinstall on 11.0-BETA3 enabled services don't end up
in rc.conf
Product: Base System
Version: 11.0-BETA3
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: conf
Assignee: freebs...@FreeBSD.org
Reporter: d...@FreeBSD.org

When installing 11.0-BETA3 (on an amd64 VMware guest), the dialog "Choose the
services you would like to be started at boot" does not seem to be functional
anymore, in the sense that enabled services do NOT end up in the final rc.conf
on the target installation.

For example, if I check sshd, ntpd and dumpdev, the final rc.conf becomes:

hostname="beta3test"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
zfs_enable="YES"

Note the missing sshd_enable, ntpd_enable and dumpdev settings. This also
applies to Auto UFS setups, where the only difference is that there is no
zfs_enable line.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

bugzilla...@freebsd.org

unread,
Aug 1, 2016, 2:23:08 PM8/1/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211506

Dimitry Andric <d...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |install

bugzilla...@freebsd.org

unread,
Aug 1, 2016, 3:50:45 PM8/1/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211506

--- Comment #1 from commi...@freebsd.org ---
A commit references this bug:

Author: dim
Date: Mon Aug 1 19:49:43 UTC 2016
New revision: 303631
URL: https://svnweb.freebsd.org/changeset/base/303631

Log:
Fix non-functional bsdinstall services dialog.

The most recent version of bsdinstall does not seem to respect any of
the checkboxes in the "Choose the services you would like to be started
at boot" dialog. None of the chosen services end up in the rc.conf file
that is installed onto the target system.

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.

Reviewed by: allanjude
PR: 211506
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D7387

Changes:
head/usr.sbin/bsdinstall/scripts/hardening

bugzilla...@freebsd.org

unread,
Aug 2, 2016, 5:09:31 PM8/2/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211506

Mark Linimon <lin...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebs...@FreeBSD.org |d...@FreeBSD.org

--- Comment #2 from Mark Linimon <lin...@FreeBSD.org> ---
Over to committer for possible MFC.
0 new messages