-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update pam_zfs_key.c default path for FreeBSD #17600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Maybe this should be somehow configured instead of the hardcoded path? |
It is configurable with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't say that I like this change of the default, since somebody might actually use the old name already, and they may end up in an inconvenient position. But if FreeBSD people wish to have this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be nice not to have a different defaults, but if it makes things simpler for the FreeBSD installer then I'm fine with it.
@eborisch please update the commit message with your signed-off-by, then this should be all set. https://github.com/openzfs/zfs/actions/runs/16793233992/job/47558772845?pr=17600 |
@eborisch can you add your signed off by to the commit and update this PR. If not, we'll have to close it out.
|
As described in freebsd/freebsd-src#1305 : FreeBSD's installer defaults to zroot/home for user home directories. For FreeBSD only, set the default prefix for pam_zfs_key to match. Signed-off-by: Eric A. Borisch <[email protected]>
72c2c03
to
b453d9f
Compare
Done. Apologies for the delay. |
As described in freebsd/freebsd-src#1305, FreeBSD's installer defaults to zroot/home for user home directories. For FreeBSD only, set the default prefix for pam_zfs_key to match. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Eric A. Borisch <[email protected]> Closes openzfs#17600
As described in freebsd/freebsd-src#1305 : FreeBSD's installer defaults to zroot/home for user home directories.
For FreeBSD only, set the default prefix for pam_zfs_key to match.
Motivation and Context
This will resolve freebsd/freebsd-src#1305 : have the default for pam_zfs_key's home directory root match what FreeBSD installer sets it to.
Description
FreeBSD-only (ifdef-ed) change of the default (in the zfs tree) home location for pam_zfs_key.
How Has This Been Tested?
No testing of this minor change. pam_zfs_key isn't quite "ready for prime time" (IMHO) on FreeBSD, but this is one step towards that.
Types of changes
Checklist:
Signed-off-by
.