Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493522 - net-p2p/bitcoind with x11-misc/lightdm - user "bitcoin" is listed in LightDM chooser
Summary: net-p2p/bitcoind with x11-misc/lightdm - user "bitcoin" is listed in LightDM ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-07 12:11 UTC by Róbert Čerňanský
Modified: 2020-08-28 00:52 UTC (History)
3 users (show)

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


Attachments
emerge --info (file_493522.txt,6.87 KB, text/plain)
2013-12-07 12:11 UTC, Róbert Čerňanský
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Róbert Čerňanský 2013-12-07 12:11:01 UTC
Created attachment 364786 [details]
emerge --info

List of users in LightDM chooser contains bitcoin user.  Despite that the issue is manifested in LightDM I suspect that it is not the one to blame.  It might be something wrong with bitcoin user or accountservice.  Either way that user should not be listed amongst standard users that can log-in to X session.

$ emerge -pv lightdm accountsservice bitcoind
...
[ebuild   R    ] sys-apps/accountsservice-0.6.34  USE="introspection -doc -systemd -vala" 0 kB
[ebuild   R    ] net-p2p/bitcoind-0.8.5  USE="bash-completion ipv6 logrotate -examples -upnp" 0 kB
[ebuild   R   ~] x11-misc/lightdm-1.8.5  USE="gtk introspection qt4 -kde (-razor)" 0 kB
Comment 1 Anthony Basile gentoo-dev 2014-01-26 13:40:49 UTC
(In reply to Robert Cernansky from comment #0)
> Created attachment 364786 [details]
> emerge --info
> 
> List of users in LightDM chooser contains bitcoin user.  Despite that the
> issue is manifested in LightDM I suspect that it is not the one to blame. 
> It might be something wrong with bitcoin user or accountservice.  Either way
> that user should not be listed amongst standard users that can log-in to X
> session.
> 
> $ emerge -pv lightdm accountsservice bitcoind
> ...
> [ebuild   R    ] sys-apps/accountsservice-0.6.34  USE="introspection -doc
> -systemd -vala" 0 kB
> [ebuild   R    ] net-p2p/bitcoind-0.8.5  USE="bash-completion ipv6 logrotate
> -examples -upnp" 0 kB
> [ebuild   R   ~] x11-misc/lightdm-1.8.5  USE="gtk introspection qt4 -kde
> (-razor)" 0 kB

I don't see what in bitcoind is doing this.  Why do you suspect lightdm is not to blame?
Comment 2 Róbert Čerňanský 2014-01-28 21:44:32 UTC
(In reply to Anthony Basile from comment #1)
> Why do you suspect lightdm is not to blame?

It is just my feeling.  There are many system users on my machine but none of them is shown in LightDM, only bitcoin.  It is unlikely that LightDM would pick a single system user of all those and show it alongside standard users.  It seems more likely that bitcoin user is wrongly added by bitcoind ebuild in some way.

I know nothing about accountservice.  Only that the LightDM uses it to get users.  So maybe something wrong might be there.
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2015-04-29 16:43:47 UTC
Hidden users in the LightDM chooser are defined in /etc/lightdm/users.conf. You need to add users you do not want to see in there.

However, if the bitcoind user was created with a UID lower than 1000 then it would not show by default. This seems to be the more elegant solution because it will avoid lazy users who don't RTFM to file similar bugs in the future.
Comment 4 Róbert Čerňanský 2015-05-01 16:41:00 UTC
(In reply to Denis Dupeyron from comment #3)
> Hidden users in the LightDM chooser are defined in /etc/lightdm/users.conf.
> You need to add users you do not want to see in there.

That of course I've done 2 years ago, but as you imply below it is not the right solution.

> However, if the bitcoind user was created with a UID lower than 1000 then it
> would not show by default. This seems to be the more elegant solution

$ id bitcoin                                                                    
uid=115(bitcoin) gid=101(bitcoin) groups=101(bitcoin)
Comment 5 Luke-Jr 2020-08-28 00:51:18 UTC
(In reply to Róbert Čerňanský from comment #4)
> > However, if the bitcoind user was created with a UID lower than 1000 then it
> > would not show by default. This seems to be the more elegant solution
> 
> $ id bitcoin                                                                
> 
> uid=115(bitcoin) gid=101(bitcoin) groups=101(bitcoin)

Sounds like a bug somewhere else. How do I pass this bug back to triage?
Comment 6 Luke-Jr 2020-08-28 00:52:28 UTC
[00:50:37] <DarthGandalf> if you switched bitcoin to acct-user/* already, just mark as obsolete