You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--efs-mount-options silently drops options it does not know (nconnect, etc.) #1390
Found while writing #1366's flag gate (nconnect=4 produced the same user data as no --efs-mount-options at all).
storage.ParseCustomOptions (pkg/storage/efs.go) handles nfsvers/rsize/wsize/timeo/retrans/actimeo and hard/soft/noresvport/async/nosharecache. Anything else falls into
default:
// Ignore unknown options (pass through)
which does not pass it through: EFSMountOptions has no field for it and ToMountString never emits it. So --efs-mount-options nconnect=8,timeo=600 mounts with timeo=600 and no nconnect, and nothing says so.
Evidence: storage.ParseCustomOptions("nconnect=8") round-tripped through ToMountString() equals the general profile's string. Unit-level only.
Either pass unknown options through verbatim or refuse them with the list of supported ones.
Activity
fix(storage): pass unknown --efs-mount-options through, refuse unsafe…
fix(storage): pass unknown --efs-mount-options through, refuse unsafe…