Description of problem: The current default DefaultPath in /etc/sddm.conf is: [Users] # Default $PATH #DefaultPath=/bin:/usr/bin:/usr/local/bin And it would turn out to a full PATH if I login through sddm: $ echo $PATH /usr/lib64/ccache:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/home/testuser/.local/bin:/home/testuser/bin But PATH through kdm: $ echo $PATH /usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/home/testuser/.local/bin:/home/testuser/bin 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): sddm-0.12.0-3.fc23.x86_64 How reproducible: Always 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 Actual results: The rpm requires '/bin/perl' that cannot be fulfilled. Expected results: The resulting rpm is installable. Additional info:
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, http://pkgs.fedoraproject.org/cgit/sddm.git/commit/?id=b41a7bee4e231730573fe13dbcdcb168965589dd
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.