Bug 1509094 - The CLI uses the USERNAME environment variable, which clashes with GDM
Summary: The CLI uses the USERNAME environment variable, which clashes with GDM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bodhi
Version: 26
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Randy Barlow
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-03 02:42 UTC by Randy Barlow
Modified: 2017-11-15 20:15 UTC (History)
3 users (show)

Fixed In Version: bodhi-2.12.2-2.fc27 bodhi-2.12.2-2.fc26
Clone Of:
Environment:
Last Closed: 2017-11-15 17:41:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Randy Barlow 2017-11-03 02:42:12 UTC
Upstream Bodhi 3.0.0 removed support for the USERNAME environment variable due to it clashing with GDM:

https://github.com/fedora-infra/bodhi/issues/1789

This was a backwards incompatible change (in an otherwise backwards incompatble release) since it removed the feature to set usernames with environment variables. Due to this, Bodhi 3.0.0 will not be released on Fedora 26 or 27. However, those Fedora releases are still faced with the issue for GDM users who use a different username on their computer than they do in FAS.

I wrote a devel list post to see what people thought about this, and only got one response:

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/6CWWTX7YGASV3ZO5LDZLOB44J5IJAJ7R/#CZD3SOKN2YCH4EZUQBUC74NKKFJJMASR

I'm happy to go with Cole's suggestion, so I will be replacing the USERNAME environment variable in F26 and F27 with FAS_USERNAME.

Comment 1 Fedora Update System 2017-11-03 04:20:23 UTC
bodhi-2.12.2-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f382ce708

Comment 2 Fedora Update System 2017-11-03 04:20:30 UTC
bodhi-2.12.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ecfed002af

Comment 3 Fedora Update System 2017-11-03 14:24:15 UTC
bodhi-2.12.2-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-6f382ce708

Comment 4 Fedora Update System 2017-11-04 18:03:22 UTC
bodhi-2.12.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ecfed002af

Comment 5 Fedora Update System 2017-11-15 17:41:52 UTC
bodhi-2.12.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2017-11-15 20:15:18 UTC
bodhi-2.12.2-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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