Red Hat Bugzilla – Bug 1276450
Default DefaultPath is not a good one for Fedora
Last modified: 2015-11-08 01:51:51 EST
Description of problem:
The current default DefaultPath in /etc/sddm.conf is:
# Default $PATH
And it would turn out to a full PATH if I login through sddm:
$ echo $PATH
But PATH through kdm:
$ echo $PATH
After all, sddm makes '/bin' preceding '/usr/bin'. That makes trouble for building rpm that rewrites shebang at build time. For scripts using Perl, 'stow' for example, the resulting rpm will require '/bin/perl' instead of '/usr/bin/perl'. That means the rpm is not installable on Fedora.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a new user
2. login through sddm
3. download the lastest stow src.rpm and rebuild locally.
4. try to install the resulting rpm
The rpm requires '/bin/perl' that cannot be fulfilled.
The resulting rpm is installable.
I'll take a look
Which is better you think?
* get rid of /bin altogether?
* reverse the order (so /bin/ is last)?
* some other better idea
Let's go with option 2 methinks,
There is no '/sbin' inserted by /etc/profile. So I think '/bin' is not necessary too. I prefer just '/usr/local/bin:/usr/bin'
<nod>, I'm just going by what bash defaults are.
sddm-0.12.0-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-63e4353cfa
sddm-0.12.0-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update sddm'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-63e4353cfa
sddm-0.12.0-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.