| Summary: | /var/db/entropy not created with correct user/group | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Rajeev Pillai <rajeev_v_pillai> |
| Component: | bin | Assignee: | Kyle Evans <kevans> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | cem, emaste, kevans |
| Priority: | --- | ||
| Version: | 12.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Rajeev Pillai
2020-06-22 08:43:32 UTC
Hi, Some questions to try and narrow the problem down: 1.) Are you installing from official install meia, or a custom build? For official media: 1a.) Which image in particular? For custom build: 1b.) What filesystem is the builder using for the objdir (default /usr/obj)? For either, to be clear: 2.) What filesystem is being installed? (In reply to Kyle Evans from comment #1) > Some questions to try and narrow the problem down: > > 1.) Are you installing from official install meia, or a custom build? Official media > For official media: > > 1a.) Which image in particular? FreeBSD-12.1-RELEASE-amd64-memstick.img > For either, to be clear: > > 2.) What filesystem is being installed? UFS Hmm: $ curl -s https://download.freebsd.org/ftp/releases/amd64/12.1-RELEASE/base.txz | tar -tJvf - | rg entropy drwx------ 0 operator operator 0 Oct 31 2019 ./var/db/entropy/ $ sudo mdconfig -f FreeBSD-12.1-RELEASE-amd64-memstick.img md0 $ sudo mount -t ufs -o ro /dev/md0s2a ./tmp $ ls -lhd tmp/var/db/entropy drwx------ 2 operator operator 512 Oct 31 2019 tmp/var/db/entropy/ $ tar -tJvf tmp/usr/freebsd-dist/base.txz | rg entropy drwx------ 0 operator operator 0 Oct 31 2019 ./var/db/entropy/ So it's 0700 operator:operator in every installation source I can find. Additionally, installer operator user/group ids match base. The only other reference to /var/db/entropy I can see is installer's usr/libexec/save-entropy, which may create /var/db/entropy -- with correct owner/group and permissions -- if missing. I suspect that's only on the installer filesystem, though. What owner/group and permissions are you observing? (In reply to Conrad Meyer from comment #4) > ...I suspect that's only on the installer filesystem, though. > I think you're right: I did a fresh install of FreeBSD-12.1-RELEASE, then installed all my packages to match the old system and the permissions of /var/db/entropy in the fresh install are correct. It was (root:wheel) before I changed it to (operator:operator) in the old install. I recall that the system locked up when I suspended it using Fn+F1. I had to power-down it down, then use the USB install stick to run fsck. I think the owner/group might have changed when fsck fixed errors on that root partition. Consider this bug report invalid. Thanks. Hi, I'm closing this as "Not a Bug" based on your last response, but please do feel free to revisit this if it's warranted. =) ^Triage: Assign to committer that resolved |