Description of problem: Fresh F23 install in VM with NFS home directories. sddm-helper segfaults on login returning you directly to the login screen. Core was generated by `/usr/libexec/sddm-helper --socket /tmp/sddm-authae2bc886-67e5-4ff1-b306-9998e4b'. Program terminated with signal SIGSEGV, Segmentation fault. #0 SDDM::UserSession::setupChildProcess (this=0x5632a15c0490) at /usr/src/debug/sddm-0.12.0/src/helper/UserSession.cpp:115 115 if (setgid(pw->pw_gid) != 0) { (gdb) list 110 } 111 } 112 113 const char *username = qobject_cast<HelperApp*>(parent())->user().toLocal8Bit(); 114 struct passwd *pw = getpwnam(username); 115 if (setgid(pw->pw_gid) != 0) { 116 qCritical() << "setgid(" << pw->pw_gid << ") failed for user: " << username; 117 exit(Auth::HELPER_OTHER_ERROR); 118 } 119 if (initgroups(pw->pw_name, pw->pw_gid) != 0) { (gdb) print username $1 = 0x5632a15ee9e8 "ion" username should be "orion" so something is getting corrupted. Version-Release number of selected component (if applicable): sddm-0.12.0-2.fc23.x86_64 How reproducible: Most of the time, but not 100%.
Looks like this bug -> https://github.com/sddm/sddm/issues/489 We have a PR but I asked a change so the fix has not been applied yet.
See https://github.com/sddm/sddm/issues/489#issuecomment-142760373 for the bug that clobbers the string and the one-line fix.
sddm-0.12.0-3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16608
Uh, the other upstream fix you applied worries me a bit: Why bother filtering environment variables if you let LD_LIBRARY_PATH and QT_PLUGIN_PATH through? If environment variables are untrusted, then this is a blatant security hole. If they're not, why do they bother using a whitelist?
Good points, excellent questions for sddm upstream (since these were commits already made, and will be included in subsequent sddm releases)
sddm-0.12.0-3.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-16608
sddm-0.12.0-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.