#186 F29 Change: User PATH Prioritization
Closed 5 years ago Opened 5 years ago by jkurik.

This issue tracks the release note for the following Fedora Change:

User PATH Prioritization
owned by @ssbarnea , @till , @churchyard

If you own this change, please add additional information here that we should communicate to Fedora users. Specifically, please consider:

  • New features available because of this change - pick 2 or 3 that are important
  • Considerations for users of previous releases of Fedora (upgrade issues, format changes, etc.)
  • Links to any upstream Release Notes
  • If this helps Fedora be a superior environment for our target audiences, please explain how so that we can emphasize this.

Your notes to us do not need to be formally written. We will edit them and add details as needed. This is a way for you to ensure that we know what is critical about your change.

If you want to write this release note, then:

  • Assign this issue to yourself
  • Check the wiki page linked above, find out what the change is about
  • Determine whether the change actually made it into the release or not[0]
  • Write a draft release note using that information against the correct branch here, in Pagure. (or see below)
  • Get in touch with the contact person/people listed on the wiki page, either through IRC or e-mail, and ask them to check your draft for technical accuracy
  • Submit your Release Note as a PR to this repository.

Once you're done with the above, make sure to either commit the relnote to an appropriate section of the Release Notes book, or, if you're not familiar with Git, AsciiDoc, or whatever else, just add it to this issue as a comment and let pbokoc[1] and Brian ( @bex ) know that you're done with this one and you'd like the note included. Also make sure to do this even for relnotes that haven't been checked by the change owner.

[0] You can do that by asking the change owner listed on the wiki page; alternatively you can infer it by checking the tracker bug (linked in Wiki) in Bugzilla and looking at its status; see bug comments for details. Ask someone on the mailing list or on IRC if you're not sure.
[1] In #fedora-docs on FreeNode (UTC+1 timezone, online mostly during the day on weekdays), or pbokoc @redhat.com if you can't get a hold of me on IRC.


Fedora now prioritizes commands from "$HOME/.local/bin" and "$HOME/bin" over system-wide paths to allow to easily mask system binaries with newer versions. For example "pip install --user virtualenv" will now work even when virtualenv from the package repositories is installed. The new behavior is only available for newly created user accounts.

... If you have existing user accounts and you want to benefit from this change, edit file ~/.bash_profile and adjust the PATH definition to bePATH=$HOME/.local/bin:$HOME/bin:$PATH (see /etc/skel/.bash_profile).

I think that this should be
PATH=$HOME/bin:$HOME/.local/bin:$PATH
rather than
PATH=$HOME/.local/bin:$HOME/bin:$PATH

to prefer the location users are more likely to put there own scripts (~/bin/) above the .local/bin location that I'd never even heard of.

Open a bug or discussion on devel mailing list, if you think this is currently wrong. Alternativelly comment in the tracking bug of the change. This ticket is not the right place.

Metadata Update from @pbokoc:
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata