On Thu, 03.01.13 22:25, Tollef Fog Heen (tfh...@err.no) wrote:

> 
> ]] Lennart Poettering 
> 
> > a) This really sounds like something to discuss on xdg-devel. This
> >    probably deserves adoption by the desktop environments, much like
> >    .config/user-dirs.dirs. i.e. GNOME should really write that file when
> >    the user reconfigures the locale settings.
> > 
> > b) Maybe this is something to add to the PAM package upstream? That
> >    said, it would be kinda symmetric to /etc/locale.conf which we handle
> >    in systemd, so maybe not?
> > 
> > c) If we maintain it in systemd, maybe still split this off into its own
> >    pam module?
> 
> This sounds like you're trying to duplicate pam_env.

Hmm, you might have a point there. 

Or maybe not? The overriding semantics are different, aren't they?
pam_env would always merge the env vars, while the i18n logic would drop
all system vars if at least one user var is set, since we definitely
don't want to merge LC_WALDO= from the system with LC_FOOBAR= from the
user, or in other words: we either should use one set of vars, or the
other, but never a mix...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to