Bug 19576

Summary: Plasma's User Manager should depend on accountsservice; won't work without it
Product: Mageia Reporter: JanKusanagi <jan-bugs>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, jan-bugs, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: user-manager-5.8.0-1.mga6.src.rpm CVE:
Status comment:

Description JanKusanagi 2016-10-12 19:08:35 CEST
Description of problem:

If you don't have the 'accountsservice' package installed, the user management module in Plasmas's System Settings won't work. It won't list your users, and the "+" button to add a new account will do nothing.

Launching it from the command line gets me this:

$ kcmshell5 user_manager
log_user_manager: "The name org.freedesktop.Accounts was not provided by any .service files"

Now, installing 'accountsservice', the problem goes away instantly, without even restarting the desktop session, or manually starting any services.

The thing is, I might have had accountsservice installed in the past automatically for whatever reason, I don't remember, but if I uninstalled it while cleaning up stuff I don't use, the package manager certainly didn't complain about user-manager requiring it to work. Maybe there are other ways user-manager could work that I don't know about, but doesn't seem likely. If there aren't, I imagine a hard dependency would be in order ;)

There are updates coming in to Plasma 5.8.1, which I haven't installed yet, but apparently there's no difference in this regard.


As an aside, there's the fact that the user-manager module won't complain about this in the UI, only as a stdout message on the CLI, but I imagine I should report this part to KDE.


user-manager:
http://madb.mageia.org/package/show/arch/x86_64/application/0/release/cauldron/name/user-manager

user-manager deps: http://sophie.zarb.org/rpms/b462e8add419dc44e66ad24780770ac1/deps

accountsservice:
http://madb.mageia.org/package/show/arch/x86_64/application/0/release/cauldron/name/accountsservice


Thanks!



Version-Release number of selected component (if applicable):

 Version     : 5.8.0
 Release     : 1.mga6



How reproducible:

Everytime



Steps to Reproduce:
1. Install user-manager.
2. Uninstall accountsservice if it's installed.
3. user-manager is still installed and can be started, but won't show any users.
JanKusanagi 2016-10-12 19:14:28 CEST

CC: (none) => jan-bugs

Marja Van Waes 2016-10-13 11:51:11 CEST

CC: (none) => marja11
Assignee: bugsquad => kde

Comment 1 David GEIGER 2016-10-13 12:24:17 CEST
Thanks for your report JanKusanagi!

Fixed now adding accountsservice as a requires of user-manager package.

Status: NEW => RESOLVED
CC: (none) => geiger.david68210
Resolution: (none) => FIXED

Comment 2 JanKusanagi 2016-10-13 15:36:04 CEST
You're very welcome!

Thanks for the fix =)