Hi Steve, Regarding this BR you wrote: > With what version of Debian was this system originally installed? The > locales package in Debian has created /etc/environment on install since > 2002, so AFAIK it should be available on most systems installed with > sarge or later, and I believe it should be available on many systems > installed with woody.
I have the same issue on a system installed fairly recently using the Lenny installer. In the past either the installer or locales used to create the file on most installations to set localization envvars (LANG, LANGUAGE). But those have now moved to /etc/default/locale and I guess locales has stopped creating the "old" file. It also means that the file probably also does not exist on older systems installed with the C locale (where at least D-I did not install locales). > But yes, nothing guarantees the creation of the file, so it's best if the > pam packages take responsibility for this on install. Why not just ignore if it does not exist? Seems silly to have an empty file. OTOH, it _is_ the canonical location for system-wide defaults, so maybe a placeholder file should be created with some suitable comments about its usage. However, I doubt that pam should do this. Seems more like something for base-files, especially as I don't think we want to make it a conffile. Cheers, Frans
signature.asc
Description: This is a digitally signed message part.