System Image Utility NetBoot Image Creation Fails

Originator:ferguspa
Number:rdar://28426901 Date Originated:9/22/2016
Status:Duplicate (28407873) Resolved:
Product:macOS 10.12 Sierra Product Version:16A323
Classification:Serious Bug Reproducible:Always
 
When creating a NetBoot image with System Image Utility the creation fails due to lack of disk image space.

Steps to Reproduce
---
1. Install plain macOS Sierra on a disk or disk image (I used Sierra 10.12.0 16A323, AutoDMG 1.6, and included the iTunes 12.5.1update)
2. Mount the AutoDMG-created disk image
3. Open System Image Utility
4. Select the mounted Disk Image, click "Next"
5. Network Disk Image Type, select "NetBoot Image", click "Next"
6. Add Configuration Profiles, Packages, and Post-Install Scripts, click "Next"
7. System Configuration, click "Next"
8. Directory Servers, click "Next"
9. Image Settings, I set the "Network Disk" to "Sierra NetBoot 2016-9-21" and the "Description" to "macOS 10.12 (16A323)", and "Assign a specific image index" to "10760", click "Next"
10. Supported Computer Models, click "Next"
11. Filter Clients by MAC Address, click "Next"
12. Save As: "Sierra NetBoot 2016-9-21", Where: Desktop, click "Save"

Expected Results
---
The NetBoot image is properly created.

Actual Results
---
The NetBoot image fails to be created and reports the following in the debug log:

[localhost/x86_64] update_dyld_shared_cache failed: write() failure creating cache file, requested 649297920, wrote -1, errno=28 (No space left on device)

Configuration
---
Fusion VM created with macOS 10.12.0.  Otherwise default VM settings.  Also fails with physical hardware with 90GB free on startup disk.

macOS Version/Build
---
macOS Sierra 10.12.0 16A323

Additional Notes
---
If I disable SIP and edit the following file:

/System/Library/PrivateFrameworks/SIUFoundation.framework/Versions/A/XPCServices/com.apple.SIUAgent.xpc/Contents/Resources/createNetboot.sh

And edit line 163 from:

cacheSize=1300

to

cacheSize=2000

The NetBoot image creation from SIU is successful.

In previous versions of OS X, this workflow worked properly.

Comments

The original report on your issue has been closed recently. Please note that you will not be able to directly view the original report in order to keep its information confidential.

Engineering has determined that your bug report (28426901) is a duplicate of another issue (28407873) and will be closed.

The open or closed status of the original bug report your issue was duplicated to appears in the yellow "Duplicate of XXXXXXXX" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.

An example of the duplicate section from the bug reporter user interface with your bug and the duplicate bug info is included below:

28426901 System Image Utility NetBoot Image Creation Fails

State: Closed Product:

Rank: No Value

Duplicate of 28407873 (Open or Closed; log in to see the actual state)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!