poudriere: services_mkdb recompile with larger PROTOMAX
Daniel Eischen
deischen at freebsd.org
Thu Dec 31 18:33:38 UTC 2020
I see this message in src/UPDATING:
20201216:
The services database has been updated to cover more of the basic
services expected in a modern system. The database is big enough
that it will cause issues in mergemaster in Releases previous to
12.2 and 11.3, or in very old current systems from before r358154.
I'm trying to update a poudriere jail from a freshly built -current
system (r368820):
FreeBSD vega.my.domain 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r368820
Wed Dec 30 15:55:06 EST 2020
I've tried running this command twice:
export MAKEOBJDIRPREFIX=/opt/FreeBSD/obj/head.obj
poudriere jail -u -j 13amd64
[ /opt/FreeBSD/obj/head.obj is my freshly built (r368820) obj tree is ]
services_mkdb was updated in the jail on the first pass:
# ls -l /usr/local/poudriere/jails/13amd64/usr/sbin/services_mkdb
-r-xr-xr-x 1 root wheel 15288 Dec 31 13:02 /usr/local/poudriere/jails/13amd64/usr/sbin/services_mkdb
But as on the first pass of 'poudriere jail -u -j 13amd64`, I still get
the following error:
...
--- _CONFSINS_services ---
install -N /opt/FreeBSD/svn/head/etc -C -o root -g wheel -m 644 /opt/FreeBSD/svn/head/usr.sbin/services_mkdb/services /usr/local/poudriere/jails/13amd64/etc/services
--- installconfig_subdir_usr.bin ---
--- installconfig_subdir_usr.bin/nice ---
===> usr.bin/nice (installconfig)
--- installconfig_subdir_usr.sbin ---
--- afterinstallconfig ---
--- installconfig_subdir_lib ---
--- installconfig_subdir_lib/ncurses ---
--- installconfig_subdir_lib/ncurses/ncurses ---
===> lib/ncurses/ncurses (installconfig)
--- installconfig_subdir_usr.sbin ---
services_mkdb -l -q -o /usr/local/poudriere/jails/13amd64/var/db/services.db /usr/local/poudriere/jails/13amd64/etc/services
--- installconfig_subdir_usr.bin ---
--- installconfig_subdir_usr.bin/nl ---
===> usr.bin/nl (installconfig)
--- installconfig_subdir_usr.sbin ---
services_mkdb: Ran out of protocols adding `divert'; recompile with larger PROTOMAX
What's the work-around for this? services_mkdb seems to have been
updated on the first pass off 'poudiere jail -u ...', but still fails
on the second pass.
--
DE
More information about the freebsd-current
mailing list