Page MenuHomeFreeBSD

include tmpfs mount into FILESYSTEMS
ClosedPublic

Authored by glebius on Jan 11 2021, 7:17 PM.

Details

Summary

Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that depend on FILESYSTEMS run mktemp(1). For systems that have read-only root this is broken until memory disk based /tmp is instantiated. At least 'os-release' and 'motd' are subject to this.

The reviewers list is based on the history of the file. More reviewers are welcome.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 36116
Build 33005: arc lint + arc unit

Event Timeline

glebius created this revision.
glebius retitled this revision from Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that depend on FILESYSTEMS run mktemp(1). For systems that have read-only root this is broken until memory disk based /tmp is instantiated. At least 'os-release' and 'motd' are... to include tmpfs mount into FILESYSTEMS.Jan 11 2021, 7:18 PM
glebius edited the summary of this revision. (Show Details)
glebius edited the summary of this revision. (Show Details)
  • Revert 97ec6eba653a07. There shouldn't be a dependency of 'tmp' on
  • Add 'tmp' to the list of FILESYSTEMS dependencies. Some scripts that
ngie added a subscriber: lwhsu.

Could you please update the commit message to reflect the changes being made?

@lwhsu : it's unfortunate that 97ec6eba653a07 doesn't automatically get linked to this commit.

This revision is now accepted and ready to land.Jan 11 2021, 9:02 PM

@glebius: please also run rcorder libexec/rc/rc.d/* to confirm that the changes work.