freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

Update default pool/path in pam_zfs_key.c

Open eborisch opened this issue 1 year ago • 5 comments

While rpool is the default name throughout OpenZFS codebase -- in comments and tests, primarily -- this instance directly impacts the ease of use of pam_zfs_key, improving POLA.

With this change, the default value for the pam_zfs_key paramater homes=... matches what bsdinstall (https://cgit.freebsd.org/src/tree/usr.sbin/bsdinstall/scripts/zfsboot#n44) creates by default on a zfs install: zroot/home.

eborisch avatar Jun 26 '24 18:06 eborisch

Sorry for the long delay. I think the best way forward is to submit it upstream, #ifdef'd for FreeBSD, and we'll bring it into the tree that way. Once it's upstreamed, we'll figure out the best way to land it.

bsdimp avatar Oct 04 '24 18:10 bsdimp

Ping? What's the status of this upstream?

bsdimp avatar Jun 12 '25 19:06 bsdimp

Ping? What's the status of this upstream?

Sorry; out of sight, out of mind... I'll try to do this and link back.

eborisch avatar Jun 18 '25 16:06 eborisch

Fiinally got back to this and submitted an upstream PR. https://github.com/openzfs/zfs/pull/17600

eborisch avatar Aug 07 '25 02:08 eborisch

Fiinally got back to this and submitted an upstream PR. openzfs/zfs#17600

Thanks

bsdimp avatar Aug 07 '25 02:08 bsdimp