- Package:
- base-files
- Source:
- base-files
- Description:
- Debian base system miscellaneous files
- Submitter:
- NAGY Andras
- Date:
- 2015-06-13 16:45:04 UTC
- Severity:
- normal
There should be one, central location for the initial environment variables that are to be set in each login session, independently of the method used for logging in or the shell used by the user (if any). Consider a system administrator who would like to add a new directory to the default PATH. Where should be the modification performed? There's a PATH setting in /etc/login.defs. Change it there? No, bash's /etc/profile resets the PATH to "Debian's default". Change /etc/profile? Bad choice, since it is not used by other shells, like zsh, or X sessions. Add a PATH line to /etc/environment? Bad luck, /etc/profile comes after it, so bash wins again. Same for /etc/security/pam_env.conf. Let's give up the principle of `one setting -- one config file' and change all of the above, plus the startup files of any other shells that might be in use and the maintainer was smart enough to mess with the PATH in default startup scripts? Sounds bad, and not even works in some cases. Zsh only sets the PATH in it's startup script if the inherited PATH is empty or equals to some dumb default. But sshd uses a different dumb default, therefore zsh's PATH (and neither the one in /etc/login.defs) does not apply when logging in through ssh. This situation sucks. Debian should make a policy decision where to set global environment variables (PAM's pam_env.so + /etc/environment would be a good choice), and modify related packages (that deal with user login, like login or sshd, and shells) to use this single mechanism for setting the initial environment and not to mess with it themselves.
ISTR a discussion on -devel about this in October. Can't find it.. Justin
reassign 65611 lsb-base tags 65611 +upstream thanks Hi, I don't think it's Debians role to demand such changes in upstreams behavior, even though this change might be a good idea. So I'll reassign this to lsb-base. regards, Holger
reassign 65611 base-files thanks Le 10.09.2008 20:19, Holger Levsen a écrit : Hi, (LSB maintainer wannabe [#616131] hat on). Unless something is written down in the LSB specification about a common place to set "global" environment variables (such as PATH), I don't think it should be done in the lsb-base package. Let's reassign (yay for bug ping-pong) to base-files (although I doubth it will be done there either...). Cheers, OdyX
Guten Tag 65611, Vermittlungsagentur stellt Ihnen nachfolgend eine interessante Stelle in einem internationalen Team im Home-office Bereich vor, ohne Fahrzeit, ohne Anfahrtswege, ohne Stau. Wir generieren qualifizierte und attraktive Jobs nicht nur in der Stadt, sondern auch in ländlichen Regionen landesweit und bieten dabei exzellente Qualität für unsere Auftraggeber. Ab sofort suchen wir: Mitarbeiter (m/w) für Home Office Tätigkeit im Bereich Telekommunikation und Büroarbeit Wir bieten Ihnen eine Stelle als Festangestellter oder als Gewerbetreibender mit einem Stundenlohn von 20 € die Stunde in eigenverantwortlichen Arbeitsweise und einer effektiven Beschäftigungsform, sowie eine spannende Tätigkeit ohne Arbeitsweg mit flexiblen Arbeitszeiten. Es werden keine besonderen Kenntnisse vorausgesetzt. Die Einarbeitung findet schrittweise durch kompetente Kollegen statt. Die benötigte technische Ausstattung stellen wir Ihnen kostenlos zur Verfügung. Die Position kann sogar nebenberuflich besetzt werden, sowie von Rentnern und Hausfrauen. Was von Ihnen erwartet wird: - Unproblematischer Umgang mit E-mail, PC und Internet - Deutsch fließend, Fremdsprachen sind von Vorteil - Genauigkeit, Ehrlichkeit und Zielstrebigkeit Ihre Aufgaben sind: - Unterlagen empfangen, bearbeiten und weitersenden - Dokumente einscannen/kopieren - Emails bearbeiten - Tätigkeit im Home-office in freier Zeiteinteilung - Arbeit mit zur Verfügung gestellten Büroausstattungen Sie sind bereit für flexible Arbeitszeiten und die Arbeit im Home-office? Sollten Sie an diesen Arbeitsstellen Interesse haben, dann senden Sie uns ein Bewerbungsschreiben an: GreenTargen@technologist.com Wir freuen uns auf Ihre Antwort, Ihre persönlichen Daten behandeln wir selbstverständlich vertraulich. Es grüßt Sie Ihre Kahl Gbr.