Bug 1462379 - Incorrect bash prompt for root after install from Workstation ostree installer image
Summary: Incorrect bash prompt for root after install from Workstation ostree installe...
Keywords:
Status: CLOSED DUPLICATE of bug 1193590
Alias: None
Product: Fedora
Classification: Fedora
Component: ostree
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-16 23:25 UTC by Adam Williamson
Modified: 2017-06-19 13:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-19 13:21:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2017-06-16 23:25:23 UTC
After installing from the Workstation ostree installer image, if you log in to a console as root (or do 'su' from a GNOME Terminal), the bash prompt looks like this:

-bash-4.4#

and not the more usual Fedora prompt:

[root@localhost root]#

Not sure why, yet, just know that it happens. (I know because this made openQA tests fail, as they expect a prompt which looks something like the latter).

Note that the prompt for a *regular user* is fine (again, both on a TTY and a GNOME terminal window):

[test@localhost test]$

It is only root's prompt that is wrong.

Comment 1 Colin Walters 2017-06-19 13:21:17 UTC

*** This bug has been marked as a duplicate of bug 1193590 ***

Comment 2 Colin Walters 2017-06-19 13:22:24 UTC
Thanks for the report.

Technically I guess we do need a separate bug for each workaround instance of this, but I'd rather we track that centrally in one BZ at the moment if you don't mind.


Note You need to log in before you can comment on or make changes to this bug.