login ignoring /etc/environment

Bug #1284599 reported by Thomas Schweikle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shadow (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If global variables are set in /etc/environment these settings are ignored loging in. Assume /etc/environmet holding proxy informations:

ftp_proxy=http://proxy:8080
http_proxy=http://proxy:8080
https_proxy=http://proxy:8080

I'd assume these information exported in an users shell:

# export
[...]
export ftp_proxy=http://proxy:8080
export http_proxy=http://proxy:8080
export https_proxy=http://proxy:8080

Since short this isn't the case any more. Settings in /etc/environmet are just ignored (or read, but not exported).

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: login 1:4.1.5.1-1ubuntu9
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Tue Feb 25 12:35:24 2014
InstallationDate: Installed on 2014-01-31 (25 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: shadow
UpgradeStatus: Upgraded to trusty on 2014-01-31 (25 days ago)

Revision history for this message
Thomas Schweikle (tps) wrote :
Thomas Schweikle (tps)
Changed in shadow (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.