Bug#330420: [Pkg-shadow-devel] Bug#330420: login: Breaks system-wide maildir spools

Christian Perrier bubulle at debian.org
Thu Sep 29 16:52:39 UTC 2005


> Wearing my QA hat, I am not satisfied with that. It is not a comprehensive
> fix, and shadow will still violate the principle of least surprise.
> 
> IMHO there are two real choices:
>  1. REMOVE all login.defs MAIL support altogether, make it PAM.
>  2. Restore Maildir support to login.defs MAIL.


Actually, a comment by Tomasz in another bug (#300892) leads me to
propose just *removing* MAIL_DIR from the default login.defs file as
"obsoleted by PAM":

Only for clarification: some variables from login.defs must be used only 
if PAM support was not enabled. I'm just start separate part of login.defs 
varialbles to !USE_PAM code. After finish work it will also require update 
man pages for indicate which login.defs variables are used/avalaible only 
when !USE_PAM. Example: setting up $MAIL variable using 
/etc/login.defs::MAIL_DIR must work only with PAM disabled. Usualy proper 
$MAIL variable is injected by pam_mail module.







More information about the Pkg-shadow-devel mailing list