Debian-Project - Release Goals for Version 2.1

Support for multipackages users profile

This has been proposed by Joey.

At the moment we have /etc/profile for bourne shells /etc/cshrc for C shells and /etc/zshrc for zsh as main configuration file that are issued when a user logs in. Also at the moment there is no mechanism for packages to register either variables or programs that have to be issued when the users logs in. The policy even prohibits this since these are not configuration files of the given package.

Therefore I believe that we should elaborate a mechanism that can be used for all shells. This could be /etc/profile.d/ containing scripts or fragments. It could alternatively contain some data that will be evaluated and changed into code that can be read by the used shell.

This could be implemented like:

The metash could be helpful. Whatever mechanism we use, we have to document it appropriately. According to my interpretation this means /usr/doc/something, our website and our policy/packaging manual or similar.