[Bug 1284599] [NEW] login ignoring /etc/environment

Thomas Schweikle 1284599 at bugs.launchpad.net
Tue Feb 25 11:47:43 UTC 2014


Public bug reported:

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)

** Affects: shadow (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1284599

Title:
  login ignoring /etc/environment

Status in “shadow” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1284599/+subscriptions



More information about the foundations-bugs mailing list