FS#57804 - [lxdm] PATH is not initialized correctly

Attached to Project: Community Packages
Opened by Uwe Koloska (kolewu) - Monday, 12 March 2018, 13:41 GMT
Last edited by Balló György (City-busz) - Monday, 09 April 2018, 22:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If not explicitly configured, the PATH will be set to a default of "/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin" that is not suited for current archlinux.

This can either be fixed in the source code (`lxdm.c:1416`) or overwritten by explicit configuration:

[base]
## don't use lxdm default path, its bad for arch users
path=/usr/local/sbin:/usr/local/bin:/usr/bin

One problem that can be attributed to this error is https://bugs.archlinux.org/task/55915: `gdbus-codegen` cannot locate it's modules if called via `/bin/gdbus-codegen` instead of `/usr/bin/gdbus-codegen`
This task depends upon

Closed by  Balló György (City-busz)
Monday, 09 April 2018, 22:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  lxdm 0.5.3-6
Comment by Balló György (City-busz) - Saturday, 24 March 2018, 09:03 GMT
I think that nothing wrong with this PATH, so I don't want to modify the package. If a binary doesn't work from /bin, then it's a bug in that software.

However, you can ask upstream to replace the order of /bin and /usr/bin if you want here:
https://sourceforge.net/p/lxde/bugs/search/?q=labels:lxdm

Loading...