Going sysinstall's binary upgrade route from 4.10 to 4.11 I noticed that while /etc/login.conf was preserved /etc/login.conf.db has been overwritten. Fix: 1.) Run # cap_mkdb /etc/login.conf after the binary upgrade. 2.) Fix sysinstall with the patch below. Note: Patch is against RELENG_4 but can be equally well applied against the repo copied sysinstall in src/usr.sbin/sysinstall/installUpgrade.c too. <------------------------------cut here------------------------------ --=_524jtnodpi4g----c4sV6aeBcgIK3tCbn2RhN3FkZxActNY9Ip0UMUVNfjy9cEtn Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- /usr/src/release/sysinstall/installUpgrade.c~ Mon Jun 10 06:28:53 2002 +++ /usr/src/release/sysinstall/installUpgrade.c Wed Feb 2 09:54:01 2005 @@ -89,6 +89,7 @@ { JUST_COPY, "localtime", TRUE, NULL }, { JUST_COPY, "login.access", TRUE, NULL }, { JUST_COPY, "login.conf", TRUE, NULL }, + { JUST_COPY, "login.conf.db", TRUE, NULL }, { JUST_COPY, "mail", TRUE, NULL }, { JUST_COPY, "mail.rc", TRUE, NULL }, { JUST_COPY, "make.conf", TRUE, NULL }, How-To-Repeat: Do a binary system upgrade.
Adding to audit trail, from misfiled PR 77909: Date: Tue, 22 Feb 2005 08:41:08 +0100 From: dada@sbox.tugraz.at Message-Id: <20050222084108.46vincqk0s0kgo4k@webmail.tugraz.at> There are other lost-on-bin-upgrade files in /etc too. This PR should probably merged into PR bin/20282 --- /usr/src/release/sysinstall/installUpgrade.c~ Mon Jun 10 06:28:53 2002 +++ /usr/src/release/sysinstall/installUpgrade.c Sat Feb 12 14:05:41 2005 @@ -120,6 +120,7 @@ { JUST_COPY, "skeykeys", TRUE, NULL }, { JUST_COPY, "spwd.db", TRUE, NULL }, { JUST_COPY, "ssh", TRUE, NULL }, + { JUST_COPY, "sysctl.conf", TRUE, NULL }, { JUST_COPY, "syslog.conf", TRUE, NULL }, { JUST_COPY, "ttys", TRUE, NULL }, { JUST_COPY, "uucp", TRUE, NULL },
Responsible Changed From-To: freebsd-bugs->randi Grabbing this - verified, bug still exists.
Responsible Changed From-To: randi->freebsd-sysinstall back to mailing list.
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.