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:
Edwin Groothuis via the GNATS Auto Assign Tool
Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
I'll take it.
Thanks for the update! Please commit, and also please change
maintainership from me to Henry (we discussed this through email).
miwi 2009-10-29 22:26:14 UTC
FreeBSD ports repository
- Fix setlogin()
- Pass maintainership to submitter
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
Submitted by: Henry Hu <email@example.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)
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"