Debian lists the upstream for autofs as
https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/, and in the
patches-5.2.0 directory I see the patch:

https://mirrors.edge.kernel.org/pub/linux/daemons/autofs/v5/patches-5.2.0/autofs-5.1.9-fix-
always-recreate-credential-cache.patch

"""
When I aplied the original patch from Ian Collier for this I changed
the credential end time comparison to be against the time returned from
monotomic_time(). But this isn't the same as the calander time returned
from time() which Ian used in his original patch.
"""

Ian Collier spotted the issue, in comment #22 on the redhat bug:

"""
> Anyway I'll turn this into a patch and post it for your review.

I didn't ever see one, but I notice the code has made it into the 5.1.9 release
that comes with Fedora 40.  But... it doesn't work.  Why not?

 time_t now = monotonic_time(NULL);

monotonic_time returns the system's uptime, but we need wall-clock time here
because we are comparing it to the expiry time of a Kerberos ticket.
"""

I haven't spotted the original patch they're referring to, however, but
otherwise this looks like a straightforward fix.  Presumably this would
also need SRU'd for noble?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2074003

Title:
  autofs fails to renew Kerberos ticket

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/2074003/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to