Skip to content

Commit

Permalink
add debug output to understand ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdoerre committed Jun 7, 2020
1 parent 1def8e0 commit 555424c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/pam_zfs_key/pam_zfs_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ zfs_key_config_load(pam_handle_t *pamh, zfs_key_config *config,
config->unmount_and_unload = 0;
}
}
printf("Pam module ready: %s, %s, %s, %d, %d\n", config->homes_prefix, config->runstatedir, config->username, config->uid, config->unmount_and_unload);
return (0);
}

Expand Down
1 change: 1 addition & 0 deletions tests/zfs-tests/tests/functional/pam/utilities.kshlib
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function keystatus {
}

function genconfig {
find /etc/pam*
for i in password auth session; do
printf "%s\trequired\tpam_permit.so\n%s\toptional\tpam_zfs_key.so\t%s\n" "$i" "$i" "$1"
done > /etc/pam.d/pam_zfs_key_test
Expand Down

0 comments on commit 555424c

Please sign in to comment.