FS#56806 - [sddm] wrong PATH

Attached to Project: Arch Linux
Opened by nl6720 (nl6720) - Thursday, 21 December 2017, 16:03 GMT
Last edited by Antonio Rojas (arojas) - Friday, 22 December 2017, 11:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
SDDM by default sets PATH to "/usr/local/bin:/usr/bin:/bin". This differs from the Arch Linux default PATH.

Since /etc/profile doesn't unconditionally overwrite PATH anymore, the PATH after logging in with SDDM results in:
"/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"

The PATH for SDDM can be set with DefaultPath" in sddm.conf.

The file "/usr/lib/sddm/sddm.conf.d/sddm.conf" also currently sets PATH to SDDM default.

Additional info:
* package version(s)
* config and/or log files etc.
sddm 0.17.0-2

Steps to reproduce:
Use SDDM to login, run:
printenv PATH
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 22 December 2017, 11:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  sddm 0.17.0-3
Comment by David McAdoo (geecroof) - Friday, 22 December 2017, 11:01 GMT
I don't know if arch can do anything about this. You can either report it upstream or change default path by yourself.
Comment by nl6720 (nl6720) - Friday, 22 December 2017, 11:06 GMT
https://github.com/sddm/sddm/issues/955

Arch can do something about this, like replacing the "DefaultPath" in "/usr/lib/sddm/sddm.conf.d/sddm.conf" with the Arch default one.

Loading...