pmvarrun and pam_mount.c disagree on login count format
Brought to you by:
jengelh
On logout I see messages of the form:
(pam_mount.c:439): error reading login count from pmvarrun
The cause appears to be that pmvarrun writes the login count in hex (format string "0x%lX"), while in pam_mount.c:438 fscanf only parses decimal numbers (format string "%d") - I believe the latter should be "%x", as per attached patch.
Oh, I misread. The fscanf call is used to parse the return value from stdout when calling out to pmvarrun.
Sorry for the noise, please close as invalid.