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

Launchpad Bug Tracker 881373 at bugs.launchpad.net
Tue Oct 25 13:35:11 UTC 2011


This bug was fixed in the package base-files - 6.5ubuntu2

---------------
base-files (6.5ubuntu2) precise; urgency=low

  * share/profile: Fix incorrect ordering of /etc/profile.d handling vs. PS1
    check, bringing this more into line with Debian (LP: #881373).
 -- Colin Watson <cjwatson at ubuntu.com>   Tue, 25 Oct 2011 14:28:47 +0100

** Changed in: base-files (Ubuntu)
       Status: New => Fix Released

-- 
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