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

Martin-Éric Racine 881373 at bugs.launchpad.net
Tue Oct 25 12:00:52 UTC 2011


Actually, comparing with the original Debian base-files 6.5's profile, I
cannot see the reason for this diff.

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

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