Bug 134176 - YAST edits the wrong file for autologin settings
Summary: YAST edits the wrong file for autologin settings
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-17 14:00 UTC by Boris Kazak
Modified: 2005-11-21 16:25 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/etc/sysconfig/displaymanager (2.24 KB, text/plain)
2005-11-21 07:02 UTC, Jiří Suchomel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Kazak 2005-11-17 14:00:06 UTC
User management applet in YAST has the "Advanced" tab where I can select the user for autologin.
I have 2 users: boris and mila. 
Originally autologin was assigned to boris.
When I changed the username for autologin to mila, no changes happened. The autologin still worked for boris. 

Inspection showed that this applet does make changes in the wrong configuration file. The changes are made in
/etc/opt/kde3/share/config/kdm/kdmrc.SuSEconfig ,
but the actual configuration file is
/etc/opt/kde3/share/config/kdm/kdmrc . 
This is why the changes made in this applet produce no results. 

I was forced to edit the actual file (successfully).

Best wishes
BNK
Comment 1 Jiří Suchomel 2005-11-18 07:07:10 UTC
Are you able to reproduce that behaviour? (e.g. by changing autologin back to boris?) After you do that, please attach the YaST log files (http://www.opensuse.org/Bug_Reporting_FAQ#YaST) and the file /etc/sysconfig/displaymanager.
Comment 2 Boris Kazak 2005-11-20 12:04:41 UTC
(In reply to comment #1)
The behavior is perfectly reproducible. I changed the autologin in YAST from mila to boris, then back to mila and again to boris. The last change happened about 13h52min.
All the time content of kdmrc file was unchanged, and only user mila could autologin.
The files attached were emailed to you
Comment 3 Jiří Suchomel 2005-11-21 07:02:21 UTC
Created attachment 57835 [details]
/etc/sysconfig/displaymanager
Comment 4 Jiří Suchomel 2005-11-21 07:06:40 UTC
/etc/sysconfig/displaymanager is edited correctly -> KDE maintainers
Comment 5 Boris Kazak 2005-11-21 07:19:12 UTC
(In reply to comment #4)
> /etc/sysconfig/displaymanager is edited correctly -> KDE maintainers
> 
The only problem is that KDE Login works according to etc/opt/kde3/share/config/kdm/kdmrc, and disregards /etc/sysconfig/displaymanager. Is THIS the correct behavior?
Comment 6 Stephan Kulow 2005-11-21 10:03:38 UTC
sorry, if you edited kdmrc manually (or via control center), then SUSEconfig won't transfer the sysconfig variables into the kdmrc, but only give a warning that it put a new version side by side. 

There are other bugs about that behaviour ;(
Comment 7 Boris Kazak 2005-11-21 16:25:26 UTC
The exact sequence of events was:
1. Install SUSE 10.0. User boris was created at time of installation.
2. Launch SUSE 10.0. User boris did Autologin.
3. End session for boris, login as root. User mila was created at this time.
  (kdmrc was NOT edited, neither manually, nor via control center)
4. Open YAST as root, attempt to change Autologin from boris to mila. After reboot Autologin did not change, remained with boris.
5. Open YAST as root, attempt to change Autologin from mila back to boris, then again to mila, each time with reboot. Autologin consistently remained with boris.
  (kdmrc was NOT edited, neither manually, nor via control center)
6. Started Konsole as root, cd to /etc, then "grep -r boris *". the display showed "kdmrc"
7. At this point I edited manually kdmrc, writing there mila as DefaultUser and AutoLogin user. Now the system works as I wanted.

There were no warnings at any time.

Thank you and best wishes.