Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218523 - x11-misc/slim needs x11-apps/sessreg
Summary: x11-misc/slim needs x11-apps/sessreg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-20 08:36 UTC by Andrew Stimpson
Modified: 2008-10-17 23:21 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Stimpson 2008-04-20 08:36:41 UTC
Though it doesn't absolutely need sessreg, without it, slim fails to log logins to utmp and wtmp, which causes finger, who, last, etc. to misreport logins.  If one manually instally sessreg and adds

   sessionstart_cmd        /usr/bin/sessreg -a -l $DISPLAY %user
   sessionstop_cmd         /usr/bin/sessreg -d -l $DISPLAY %user

to /etc/slim.conf, the problem is solved.  A USE flag to enable (a dependency on sessreg should be added, along with the above to the default /etc/slim.conf) should be added, or perhaps be made the default behavior, as not logging logins seems like a Bad Thing.

Reproducible: Always

Steps to Reproduce:
1. Install slim.
2. Login with slim.
3. Run the "who" command.
Actual Results:  
"Who" reports that you are not logged in.

Expected Results:  
It should have reported you logged in.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-19 21:17:24 UTC
This is a valuable find. I am looking into it now.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-20 03:07:19 UTC
fixed in -r2, thanks.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-23 22:56:55 UTC
bah, something else is wrong here.

Now, no matter what..."w" or "who" only reports one user logged in no matter how many xterms I have opened - anyone have any ideas or can anyone confirm my symptoms here.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-26 18:07:43 UTC
@Daniel: Would you mind investigating this bug too? I'm getting ambiguous results here. thx.. (see previous comments)
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-10-17 23:21:57 UTC
Another person has confirmed that this bug is fixed. I will resolve it now.