NetInstall Service NFS

Originator:ben
Number:rdar://34639788 Date Originated:26-Sep-2017 12:27 am
Status:Closed Resolved:
Product:macOS + SDK Product Version:Server.app 5.4 (17S1207)
Classification:UI/Usability Reproducible:Always
 
Summary:
Trying to Boot an NBI hosted via the NetInstall Service from Server.app 5.4 (17S1207) will fail to boot

Steps to Reproduce:
1. Create an NBi
2. Add to NetInstall Service
3. Enable NetInstall Service
4. Share NBI over NFS
5. Attempt to Boot from NBI

Expected Results:
Booting to NBI completes

Actual Results:
Booting to NBI never completes, verbose booting shows some RPC Timeout errors

Version:
Server.app 5.4 (17S1207)

Notes:
The below (as root) seem to resolve the issue:

echo "/Library/NetBoot/NetBootSP0  -ro -maproot=root" >> /etc/exports
nfsd stop
nfsd start

Comments

Apple Developer Relations September 28 2017, 3:07 PM Engineering has provided the following information regarding this issue: Your workaround is correct, and should be fairly stable. The entitlement is there in current versions of Server. Can you please confirm your version of Server, and the state of the entitlements on that version? Use the following commands:

serverinfo --buildversion

codesign -v -d --entitlements - /Applications/Server.app/Contents/ServerRoot/System/Library/CoreServices/ServerManagerDaemon.bundle/Contents/MacOS/servermgrd As of right now, the most recent GM version of Server 5.4 is 17S1207.

Ben Toms September 28 2017, 9:36 PM See below:
bens-Mac:~ ben$ serverinfo --buildversion 17S1207 bens-Mac:~ ben$ codesign -v -d --entitlements - /Applications/Server.app/Contents/ServerRoot/System/Library/CoreServices/ServerManagerDaemon.bundle/Contents/MacOS/servermgrd Executable=/Applications/Server.app/Contents/ServerRoot/System/Library/CoreServices/ServerManagerDaemon.bundle/Contents/MacOS/servermgrd Identifier=com.apple.servermgrd.plugin Format=Mach-O thin (x86_64) CodeDirectory v=20200 size=379 flags=0x200(kill) hashes=4+5 location=embedded Signature size=4555 Info.plist entries=5 TeamIdentifier=K36BKF7T3D Sealed Resources=none Internal requirements count=1 size=116 ??qq com.apple.private.opendirectoryd.sharepoints

Ben Toms September 28 2017, 9:53 PM Further testing showed that NFS was actually working with this configuration now. The below verifying this: bens-Mac:~ ben$ showmount -e Exports list on localhost: /Library/NetBoot/NetBootSP0 Everyone
Thankyou!


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!