Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2021 12:04:55 +0100
From:      mj-mailinglist@gmx.de
To:        freebsd-stable@freebsd.org, freebsd-pkgbase@freebsd.org
Subject:   pkgbase: Missing /etc/master.passwd in FreeBSD-runtime 12-stable pkg
Message-ID:  <trinity-ce54c807-afb5-47f0-a632-f74b8e45788d-1612091095880@3c-app-gmx-bap35>

next in thread | raw e-mail | index | archive | help
I noticed that my jails, build from a recent pkg base don't start:
...
Starting jails: cannot start jail  "j6":
7
jail: j6: getpwnam root: No such file or directory
jail: j6: /bin/sh /etc/rc: failed
.

Looking at the installation process, i see this:
...
[2/79] Installing FreeBSD-runtime-stable12-c263-gf56d7f838...
[2/79] Extracting FreeBSD-runtime-stable12-c263-gf56d7f838: .......... done
pwd_mkdb: /jails/j6/etc/master.passwd: No such file or directory
[3/79] Installing FreeBSD-libcasper-stable12-c263-gf56d7f838...
[3/79] Extracting FreeBSD-libcasper-stable12-c263-gf56d7f838: .......... done
...

Comparing the FreeBSD-runtime pkg content of "r368786M" with "stable/12-c263-gf56d7f838"
shows, that the following files are not in the newer package:
termcap.small, rc.sendmail, rc.firewall, rc.bsdextended, master.passwd,
login.access, group

Looking in METALOG on fbsd12 from yesterday (stable/12-c263-gf56d7f838):
fbsd12> grep "master.passwd" /usr/obj/usr/src/amd64.amd64/worldstage/METALOG
./etc/master.passwd type=file uname=root gname=wheel mode=0600 size=1797
./usr/tests/usr.sbin/pw/master.passwd type=file uname=root gname=wheel mode=0444 size=101 tags=package=tests
./usr/share/man/man5/master.passwd.5.gz type=file uname=root gname=wheel mode=0444 size=4337 tags=package=runtime-manuals

fbsd12> grep "master.passwd" /usr/obj/usr/src/amd64.amd64/worldstage/*.plist
/usr/obj/usr/src/amd64.amd64/worldstage/runtime-manuals.plist:@(root,wheel,0444,) /usr/share/man/man5/master.passwd.5.gz
/usr/obj/usr/src/amd64.amd64/worldstage/tests.plist:@(root,wheel,0444,) /usr/tests/usr.sbin/pw/master.passwd

so, in fbsd12 the package information for the file is missing.

in fbsd13 the information is there:
fbsd13> grep "master.passwd" /usr/obj/usr/src/amd64.amd64/worldstage/METALOG
./etc/master.passwd type=file uname=root gname=wheel mode=0600 size=1797 tags=package=runtime,config
./usr/share/man/man5/master.passwd.5.gz type=file uname=root gname=wheel mode=0444 size=4337 tags=package=utilities
./usr/tests/usr.sbin/pw/master.passwd type=file uname=root gname=wheel mode=0444 size=101 tags=package=tests

fbsd13> grep "master.passwd" /usr/obj/usr/src/amd64.amd64/worldstage/*.plist
/usr/obj/usr/src/amd64.amd64/worldstage/runtime.plist:@config(root,wheel,0600,) /etc/master.passwd
/usr/obj/usr/src/amd64.amd64/worldstage/tests.plist:@(root,wheel,0444,) /usr/tests/usr.sbin/pw/master.passwd
/usr/obj/usr/src/amd64.amd64/worldstage/utilities.plist:@(root,wheel,0444,) /usr/share/man/man5/master.passwd.5.gz

I don't have the old METALOG files but in the package of r368786M the files are there. In my next pkgbase build from 31.12.2020
(stable/12-c58-g53bc32215) they are missing.

Is this a regression, or did i miss something?

--
Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-ce54c807-afb5-47f0-a632-f74b8e45788d-1612091095880>