Some ZFS mount options are not properly activated on boot
Description
Steps to Reproduce
Boot TrueNAS 22.04-RC01 or BETA1 (or nightly). Check mount options via `mount`. Validate that zfs dataset `noexec` option is not being enforced on a dataset (e.g. `/audit`).
Performing remount of dataset or touching dataset property causes option to begin to be enforced.
Expected Result
noexec / nosuid should be visible in `mount` output and enforced properly.
Actual Result
ZFS dataset option for root pool not enforced on boot.
Environment
None
Hardware Health
None
Error Message (if applicable)
None
Activity
Show:

Bug Clerk October 21, 2024 at 5:25 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk October 21, 2024 at 5:18 PM
24.10.1 PR: https://github.com/truenas/middleware/pull/14740

Bug Clerk October 21, 2024 at 3:07 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Bug Clerk October 21, 2024 at 7:54 AM
24.10.1 PR: https://github.com/truenas/zfs/pull/258

Bug Clerk October 21, 2024 at 7:51 AM
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Labels
Affects versions
Components
Priority
More fields
Time tracking
More fields
Time trackingKatalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created March 13, 2024 at 2:33 PM
Updated December 19, 2024 at 1:45 PM
Resolved October 21, 2024 at 5:25 PM
Among these are setuid and noexec. Only appears to impact the boot pool. Issue was discovered while adding automated testing for boot-pool settings.