[Bug 679435] New: autoyast does not install sssd with LDAP enabled
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c0
Summary: autoyast does not install sssd with LDAP enabled
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: AutoYaST
AssignedTo: jsuchome@novell.com
ReportedBy: jbenc@novell.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
Created an attachment (id=419186)
--> (http://bugzilla.novell.com/attachment.cgi?id=419186)
YaST logs, autoyast profile and LDAP config from the installed system
When LDAP is enabled (
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c1
--- Comment #1 from Jiri Benc
Note that the 11.4 media does not contain sssd
Just for the reference, bug 679439. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c3
--- Comment #3 from Jiri Benc
could you repeat with verbose logging?
Sure. How to do that?
How (and when) did you add the online repo? It is not mentioned in the profile...
I'm afraid I didn't save the logs from the attempt with the on-line repo. I'll add the repo in the next reinstall (with the verbose logging). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c4
--- Comment #4 from Jiří Suchomel
(In reply to comment #2)
could you repeat with verbose logging?
Sure. How to do that?
http://en.opensuse.org/openSUSE:Bugreport_YaST#The_y2logs_don.27t_seem_to_sh... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c5
Jiri Benc
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c6
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c7
--- Comment #7 from Jiri Benc
Sorry, but I have to ask you again to give that y2debug argument as boot parameter also for the second stage (=after the reboot).
Hm, I expected yast to take care of that. How to do that, using autoyast? Note that the installation is automatic and although I could watch the installation using a serial console waiting for the reboot, I would prefer not to, as it is too time consuming. It should be yast job to set the boot parameters correctly, after all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c8
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c9
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c10
Jiri Benc
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c11
Jiri Benc
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c12
Jiri Benc
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c13
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c14
Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c15
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c16
--- Comment #16 from Jiří Suchomel
ProductControl.ycp:922 UseAutomaticConfiguration has been set to: true installation/misc.ycp:258 Using AC... ProductControl.ycp:722 Disabling module: $["enable_back":"no", "enable_next":"no", "id":"continue_6", "label":"Check Installation", "name":"rpmcopy_secondstage"]
Isn't it wrong to enable Automatic Configuration for autoYaST, which works differently? At least, isn't it wrong it is enabled by default? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c17
--- Comment #17 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c18
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c19
Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c20
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c21
--- Comment #21 from Jiri Benc
(Uwe: maybe mostly users have correct packages in profile already, not relying on the result of Packages)
If you look at the profile I used, I already have things such as pam_krb5 manually included. If I remember correctly, I added them because they were not installed automatically in the previous releases (and I didn't have the time to investigate, as putting them there solved the problem for me). So, it's indeed possible the bug is present for longer time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c22
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c23
Jiří Suchomel
* Either it might help to call "inst_check_autoinst_mode" even before calling SetInitialInstallation()
Would it help? It does not seem SetInitialInstallation cares about autoinstallation mode.
* Or more generic solution: Reset disabled modules/proposals while switching to another installation mode (could produce more errors)
Where's this done (I mean that 'switching')?
* Or reset disabled modules/proposals in "inst_check_autoinst_mode" if we actually switch to AutoYaST. This would probably need to call UpdateWizardSteps() to redraw the screen.
Are disabled modules really the only problem? Shouldn't be the whole automatic configuration stuff be off by autoinstallation (at least by default)? I do not know if second stage cares about autoinstallation mode actually, but I had an impression that if anything should be configured (and how), than it should be stated in autoyast profile. Lukas, Uwe, what do you think? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c24
Lukas Ocilka
From what I've seen in the logs and code:
1.) YaST Starts in installation mode 2.) SetInitialInstallation() adjusts installation steps according to installation/initial, then adjusts AC to 'enabled' and disables 'non-automatic' steps 3.) After that "inst_check_autoinst_mode" switches the installation/initial to autoinstallation/initial and sets the steps ... but AC is still 'enabled' (even if not used) ... disabled steps and proposals are still set (needs reset) and redrawing of installation steps -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c25
--- Comment #25 from Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c26
--- Comment #26 from Jiří Suchomel
2.) SetInitialInstallation() adjusts installation steps according to installation/initial, then adjusts AC to 'enabled' and disables 'non-automatic' steps
But it does not check the mode, so I assume moving it after "inst_check_autoinst_mode" would not help.... (if SetInitialInstallation() were not somehow modified itself)
3.) After that "inst_check_autoinst_mode" switches the installation/initial to autoinstallation/initial and sets the steps ... but AC is still 'enabled' (even if not used) ... disabled steps and proposals are still set (needs reset) and redrawing of installation steps
Well, so the third option from comment 22 should be the way to go? Another notes: - clients/inst_check_autoinst_mode.ycp checks only for floppy. Is this the only way to starting autoinstallation? - the client only work is really Mode::SetMode ("autoinstallation"), it does not do anything like "setting the steps"... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c27
--- Comment #27 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c28
--- Comment #28 from Lukas Ocilka
Well, so the third option from comment 22 should be the way to go?
Looks like a well-isolated minimal change.
Another notes:
- clients/inst_check_autoinst_mode.ycp checks only for floppy. Is this the only way to starting autoinstallation?
No, Mode.ycp (in constructor/init) checks whether (SCR::Read (.target.size, "/etc/install.inf") != -1) and then sets Mode to autoinstallation
- the client only work is really Mode::SetMode ("autoinstallation"), it does not do anything like "setting the steps"...
yes, because this looks like some old way of starting AutoYaST -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c29
--- Comment #29 from Jiří Suchomel
- the client only work is really Mode::SetMode ("autoinstallation"), it does not do anything like "setting the steps"...
yes, because this looks like some old way of starting AutoYaST
That's not the point. You wrote in comment 24 that this client does some work that it does not seem to really do. I'm not saying it is wrong (=it should do something different), only that your comment is confusing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c30
--- Comment #30 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c31
--- Comment #31 from Lukas Ocilka
You wrote in comment 24 that this client does some work that it does not seem to really do. I'm not saying it is wrong (=it should do something different), only that your comment is confusing.
I was wrong, this client ALSO doesn't do what it should but not in this particular bugreport. Here it just doesn't do anything... as there are no floppies anyway. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c32
--- Comment #32 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c33
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c34
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c35
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c36
--- Comment #36 from Jiří Suchomel
IMO the proposed fix should work for this particular case but it's not generic enough. A few lines above, you have:
--- cut --- if ... ProductControl::DisableModule ("add-on");
if ... ProductControl::EnableModule ("productsources");
ProductControl::DisableModule ("root"); --- cut ---
These do not hurt. see below.
Additionally, after that AdjustAutomaticConfiguration() is called that contains:
--- cut --- ProductControl::DisableAllModulesAndProposals ("installation", "continue"); ProductControl::EnableModule ("automatic_configuration"); EnableRequiredModules();
or
ProductControl::UnDisableAllModulesAndProposals ("installation", "continue"); ProductControl::DisableModule ("automatic_configuration"); --- cut ---
Yes, and in case of autoYaST, second part of this is actually called, because ProductControl::GetUseAutomaticConfiguration returns false - it is set to false after my patch proposed above in the call of: ProductControl::SetUseAutomaticConfiguration (autoconfiguration_default == true);
IMO we should do something like this ...
Whit my patch proposal above, InstData::enable_autoconfiguration is set to false ProductControl::use_automatic_configuration is set to fals and ProductControl::UnDisableAllModulesAndProposals ("installation", "continue") ProductControl::DisableModule ("automatic_configuration"); are called. I think this should solve it all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c37
--- Comment #37 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c38
--- Comment #38 from Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c39
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c40
Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c41
--- Comment #41 from Jiří Suchomel
So, is there any workaround to get <post-packages> working for an OpenSUSE 11.4 autoinstall? Could you possibly post an example script that does the required modifications?
1. If you know about the needed package, add it directly to the autoyast profile 2. The patch above cannot be used in 11.4, we'd need to change installation media. However, it might be help to modify /var/lib/YaST2/installation_disabled_steps file (remove "rpmcopy_secondstage" item from it) at the start of second stage. Uwe, is it possible to enter some script doing this to the start of second stage? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c42
--- Comment #42 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c43
--- Comment #43 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c44
--- Comment #44 from Uwe Gansert
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c45
--- Comment #45 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c46
--- Comment #46 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c47
--- Comment #47 from Joschi Brauchle
https://bugzilla.novell.com/show_bug.cgi?id=679435
https://bugzilla.novell.com/show_bug.cgi?id=679435#c48
--- Comment #48 from Joschi Brauchle
participants (1)
-
bugzilla_noreply@novell.com