Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780441 - sys-auth/pambase: pam_mktemp.so is loaded after pam_env.so
Summary: sys-auth/pambase: pam_mktemp.so is loaded after pam_env.so
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-05 21:58 UTC by Carlo
Modified: 2022-12-11 16:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlo 2021-04-05 21:58:08 UTC
Currently pam_mktemp.so is loaded after pam_env.so (in /etc/pam.d/system-auth, /etc/pam.d/system-services), so the ${TMP} variable is not available for pam_env.so. It appears to me that pam_mktemp.so does not depend on pam_env.so to be loaded first, so swapping it would probably do no harm. This is not a problem with login sessions, but if one wants to define ${TMP} in /etc/security/pam_env.conf for use in fcron.

This is related to https://bugs.gentoo.org/show_bug.cgi?id=504492