[Bug 881373] Re: /etc/profile incorrectly sources /etc/.profile.d/ content before setting PS1

agent 8131 881373 at bugs.launchpad.net
Thu Nov 10 07:21:27 UTC 2011


I was just investigating this issue.  Am I correct in assuming that this
bug is present in all versions of Ubuntu at least from 10.04 through
11.04?  Is there any chance other affected versions will be fixed.  At
the very least 10.04 should be fixed given its LTS status.

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

Title:
  /etc/profile incorrectly sources /etc/.profile.d/ content before
  setting PS1

Status in “base-files” package in Ubuntu:
  Fix Released

Bug description:
  In its current form, /etc/profile sources the content of
  /etc/profile.d/ first and then sets PS1. This effectively prevents the
  administrator or a third-party package from setting PS1 by adding a
  file to /etc/profile.d/ and is therefore undesirable. The order of the
  code fragments for sourcing /etc/profile.d content and for setting the
  stock PS1 must thus be reversed.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: base-files 6.5ubuntu1
  ProcVersionSignature: Ubuntu 3.1.0-1.1-generic 3.1.0-rc10
  Uname: Linux 3.1.0-1-generic i586
  ApportVersion: 1.24-0ubuntu1
  Architecture: i386
  Date: Tue Oct 25 14:26:05 2011
  Dependencies:
   
  SourcePackage: base-files
  UpgradeStatus: Upgraded to precise on 2009-02-07 (990 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/881373/+subscriptions




More information about the foundations-bugs mailing list