x11/slim, as a login manager, does not setlogin(). Some software use getlogin() to decide the user name, so when user is using slim as the login manager, those software would get wrong results, and some programs refuse to start. Fix: Apply the patch, which does setsid() and setlogin() Patch attached with submission follows: How-To-Repeat: 1. Install x11/slim and enable it 2. Install textproc/ibus and try to start it
Maintainer of x11/slim, Please note that PR ports/139594 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/139594 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->miwi I'll take it.
Thanks for the update! Please commit, and also please change maintainership from me to Henry (we discussed this through email). Thanks, Tobias
State Changed From-To: feedback->closed Committed. Thanks!
miwi 2009-10-29 22:26:14 UTC FreeBSD ports repository Modified files: x11/slim Makefile Added files: x11/slim/files patch-switchuser.cpp Log: - Fix setlogin() - Pass maintainership to submitter note: x11/slim, does not setlogin(). Some software use getlogin() to decide the user name, so when user is using slim as the login manager, those software would get wrong results, and some programs refuse to start PR: 139594 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Approved by: maintainer Revision Changes Path 1.18 +2 -2 ports/x11/slim/Makefile 1.1 +13 -0 ports/x11/slim/files/patch-switchuser.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"