Bug 208568 - reduce requirements for zfs filesystems in zfsboot for unattended installations
Summary: reduce requirements for zfs filesystems in zfsboot for unattended installations
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 10.1-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-06 08:01 UTC by Willi Burmeister
Modified: 2016-04-08 15:09 UTC (History)
1 user (show)

See Also:


Attachments
Patch for zfsboot adding a check for existing /tmp, /var/tmp (470 bytes, patch)
2016-04-06 08:01 UTC, Willi Burmeister
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willi Burmeister 2016-04-06 08:01:35 UTC
Created attachment 169025 [details]
Patch for zfsboot adding a check for existing /tmp, /var/tmp

The file 

  /usr/libexec/bsdinstall/zfsboot

contains the line:

# NOTE: Requires /tmp, /var/tmp, /$ZFSBOOT_BOOTFS_NAME/$ZFSBOOT_BOOTFS_NAME

The requirement for /tmp and /var/tmp is not really necessary if we apply
a small patch to zfsboot (see attachment).
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-04-08 15:09:00 UTC
A commit references this bug:

Author: allanjude
Date: Fri Apr  8 15:08:22 UTC 2016
New revision: 297713
URL: https://svnweb.freebsd.org/changeset/base/297713

Log:
  bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist

  PR:		208629
  PR:		208568
  Submitted by:	Galael LAPLANCHE <ganael.laplanche@corp.ovh.com>
  MFC after:	2 weeks

Changes:
  head/usr.sbin/bsdinstall/scripts/zfsboot