Bug 566252

Summary: Login manager settings changed after update
Product: [openSUSE] openSUSE 12.3 Reporter: Mark Goldstein <goldstein.mark>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: alinm.elena, ctrippe, forgotten_kHYb7eJGnH, forgotten_sM9JzehKpy, jslaby
Version: FinalFlags: forgotten_kHYb7eJGnH: needinfo? (goldstein.mark)
Target Milestone: ---   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Files changed after re-install. ".save" - before install.
configuration files before and after update
Configuration files before and after update

Description Mark Goldstein 2009-12-19 15:25:21 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5

OpenSUSE 11.2 (x86), KDE4.3.4 from repository kde43.
I configure Login Manager as follows: disable theme greeting, show clock, use specific background image with scaling.
The settings is kept until next update. After update theme greeting is still disabled, but default image is used in background and Logo is shown instead of clock.
I could see that files backgroundrc and kdrmrc in /usr/share/kde4/config/kdm are changed and the values from previous versions are forgotten (they exists in .bak files though)

Reproducible: Always

Steps to Reproduce:
1. Configure Login Manager using Personal Settings as described in Details
2. Verify Login screen looks correctly.
3. Wait for some updates and perform update.
4. Verify that Login screen has changed to default image and Logo.
Actual Results:  
Parameters in backgroundrc and kdmrc are not preserved

Expected Results:  
Parameters shall be preserved upon update.
Comment 1 Forgotten User kHYb7eJGnH 2010-05-20 08:48:30 UTC
Mark, is this still happening?
Comment 2 Mark Goldstein 2010-05-20 16:01:41 UTC
Stephen,

I missed one detail in the report: it should be update of KDM.

In short: I can't check it now since I do not have 11.2/KDE4 right now). I gave up and reverted to 11.1/KDE3 (not just because of this issue, but the whole lot of annoying things).

More information.
While I was still trying to work with 11.2/KDE4 I did the following:
1) Upgraded to KDE4.4 (somewhere in January) and found out that it happens in KDE4.4 as well.
2) I thought that maybe it is some simple issue with post-install script and tried looking into it. It turned out that in both KDE4 and KDE3, when kdm is installed, the script calls genkdmconf executable. I tried comparing the sources (genkdmconf.c) from KDE3 (3.5.9-65.2) and KDE4.4 (4.4.0-415.1) - it was the end of February.

I've seen that there are differences, but was not able to quickly figure out how it works (and had no time to dig deeper into it).

A couple of weeks ago I removed 11.2/KDE4 altogether (I'm still planning to re-install it after I'll play enough with Kubuntu 10.4). 
It's a pity it took 5 month before somebody looked into this report. Otherwise I would like to help as much as I can.
Comment 3 Forgotten User kHYb7eJGnH 2010-06-30 09:06:53 UTC
.

*** This bug has been marked as a duplicate of bug 267903 ***
Comment 4 Mark Goldstein 2010-06-30 09:44:50 UTC
(In reply to comment #3)
> .
> 
> *** This bug has been marked as a duplicate of bug 267903 ***

Stephen,

Are you sure? I've checked the bug 267903 before I filed this one. 
It looks very different. Here the contents of the files backgroundrc and kdrmrc in /usr/share/kde4/config/kdm is changed after update. The parameters (background image and logo) present only in these files and not in /etc/sysconfig/displaymanager.
Comment 5 Forgotten User kHYb7eJGnH 2010-07-01 08:16:05 UTC
Sorry, I thought they were similar.

I'll reopen.

Cheers
Steve
Comment 6 Forgotten User kHYb7eJGnH 2010-09-13 23:59:12 UTC
Hi Mark

Have you tried this in 11.3?

Thanks
Steve
Comment 7 Mark Goldstein 2010-09-14 06:45:32 UTC
(In reply to comment #6)
Hi Steve,

I have 11.3 with KDE4.4 installed, but there were no updates involving KDM yet. I changed the definitions as before and waiting...
Probably I can do "forced" re-install of KDM to check whether the issue has gone or not? What do you think, if I'll select KDM in Yast and check "update" or just use rpm --force, will it do the job?

Regards,
-- Mark
Comment 8 Mark Goldstein 2010-09-14 19:07:58 UTC
Created attachment 389614 [details]
Files changed after re-install. ".save" - before install.

You can see that in the file backgroundrc the name of background image got lost and in kdmrc LogoArea=Clock got lost
Comment 9 Mark Goldstein 2010-09-14 19:09:54 UTC
Steve, 

The issue is easily reproduced - just re-install KDM using Yast.
I'm attaching configuration files saved before "update" and the result.


(In reply to comment #8)
> Created an attachment (id=389614) [details]
> Files changed after re-install. ".save" - before install.
> 
> You can see that in the file backgroundrc the name of background image got lost
> and in kdmrc LogoArea=Clock got lost
Comment 10 Mark Goldstein 2010-10-09 07:24:31 UTC
Recent update of KDE4.4 on 11.3 included update to KDM.
The issue is still there.
Comment 11 Andreas Jaeger 2011-03-09 08:45:05 UTC
Moving bug to 11.3 since it appears there as well.
Comment 12 Mark Goldstein 2011-03-19 15:50:38 UTC
Re-tested in 11.4 with KDE 4.6. Same behavior as described in Comment 9.
Comment 13 Christian Trippe 2012-04-02 17:18:10 UTC
AFAIU this should be fixed at least for 12.1 as both files have in the spec '%config(noreplace) ...' in the files section.

If you can still reproduce the bugs with 12.1 please reopen.
Comment 14 Mark Goldstein 2012-04-02 17:50:18 UTC
Created attachment 484502 [details]
configuration files before and after update
Comment 15 Mark Goldstein 2012-04-02 17:52:22 UTC
Updated kdm (forced, to the same version). oS12.1, KDE 4.7
Bug is still there. Attached zipped files before update ('.bak') and after.

Yast log:

Downloading kdm (download size 1.89 MB)
Installing kdm-4.7.2-6.4.1.x86_64.rpm (installed size 3.23 MB)
Additional rpm output:
Warning: Do not know how to create missing GreeterUID user kdm
Information: reading pre-existing kdmrc /usr/share/kde4/config/kdm/kdmrc (config version 2.4)
Comment 16 Alin M Elena 2012-11-15 21:58:55 UTC
the spec file may need to contain a noreplace... I will push it to 12.2 Mark if you are interested I may try to cook a kdm rpm for you to test.

Alin
Comment 17 Mark Goldstein 2012-11-16 08:28:50 UTC
(In reply to comment #16)
> the spec file may need to contain a noreplace... I will push it to 12.2 Mark if
> you are interested I may try to cook a kdm rpm for you to test.

I can try. I have KDE4 installed in 12.2 on the old machine (32-bit architecture).
Comment 18 Christian Trippe 2014-05-02 06:19:18 UTC
This should be fixed with later versions of openSUSE. If you can still reporduce it with 12.3 or 13.1 please reopen.
Comment 19 Mark Goldstein 2014-05-02 17:46:31 UTC
Created attachment 588560 [details]
Configuration files before and after update
Comment 20 Mark Goldstein 2014-05-02 17:48:48 UTC
(In reply to comment #18)
> This should be fixed with later versions of openSUSE. If you can still
> reporduce it with 12.3 or 13.1 please reopen.

As could be seen from attached files it is easily reproducible in 12.3, same as in comment 15
Comment 21 Forgotten User sM9JzehKpy 2014-05-02 18:44:23 UTC
About which KDE release are we talking here ? Only as of the KDE version delivered with openSUSE 13.1, it would be possible to configure KDM with the standard KDE systemsettings. Version before this, would take their configuration from the displaysettings within YaST or SuSEconfig.
Comment 22 Mark Goldstein 2014-05-03 06:05:27 UTC
(In reply to comment #21)
> About which KDE release are we talking here ? Only as of the KDE version
> delivered with openSUSE 13.1, it would be possible to configure KDM with the
> standard KDE systemsettings. Version before this, would take their
> configuration from the displaysettings within YaST or SuSEconfig.

The version I checked it with is kdm version 4.10.5 on openSUSE 12.3.

Not sure what you mean by "possibility to configure KDM with the standard KDE systemsettings"? I'm doing this same type of configuration for .. do not remember how long, at least long before KDE4 got introduced. I first cancel openSUSE theme (by editing /etc/sysconfig (DISPLAYMANAGER_KDM_THEME in displaymanager file) and then configure desktop -> login screen -> uncheck "use themed greeter" and then chose my background.
The problem is that after KDM update the confguration got lost.
Comment 23 Jiri Slaby 2015-11-06 09:36:40 UTC
This version is out of maintenance, if you still see the problem, please reopen and move the bug to a more recent product.