[Bug 270899] New: no yp offered during install
https://bugzilla.novell.com/show_bug.cgi?id=270899 Summary: no yp offered during install Product: openSUSE 10.3 Version: Alpha 3 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: olh@novell.com QAContact: jsrain@novell.com a fresh install of 10.3a3+ openSUSE-10.3-Build00303 does only offer local user and LDAP as auth method. YP is missing. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com Severity|Normal |Critical -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #1 from olh@novell.com 2007-05-03 05:58 MST ------- Created an attachment (id=137244) --> (https://bugzilla.novell.com/attachment.cgi?id=137244&action=view) bug270899.tar.bz2 -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com ------- Comment #2 from fehr@novell.com 2007-05-07 03:21 MST ------- Reassigned to maintainer of yast2-users. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@novell.com Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #3 from jsuchome@novell.com 2007-05-09 02:19 MST ------- YaST packages for other authentication methods are not available, looks like there is some problem with your sources. Can you install the packages after the installation? Or, can you reproduce the problem when you start second stage again (touch /var/lib/YaST2/runme_at_boot)? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|olh@novell.com | ------- Comment #4 from olh@novell.com 2007-05-09 02:43 MST ------- I was able to configure nis in the running system. yast2-nis-client is on cd1, so I expect it to be available during second stage. I will try it once I find some 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |schubi@novell.com ------- Comment #5 from jsuchome@novell.com 2007-05-09 02:48 MST ------- I didn't want to say that the package is really not available but that the packager has problems to realize that. Stefan, I can see for example this line in the code (it's after inst_auth is started, which calls Pkg::IsAvailable several times): 2007-05-03 13:02:11 <5> mac(4601) [zypp] Exception.cc(log):94 /usr/src/packages/BUILD/libzypp-3.2.0/zypp/SourceManager.cc(restore):398 THROW: /usr/src/packages/BUILD/libzypp-3.2.0/zypp/SourceManager.cc(restore):398: At least one source already registered, stored sources cannot be restored Could you comment? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #6 from schubi@novell.com 2007-05-09 03:46 MST ------- It looks like Bug #271912. I am working on it.... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent ------- Comment #7 from aj@novell.com 2007-05-14 01:00 MST ------- Still a bug in Alpha4! -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |schubi@novell.com Status|NEEDINFO |NEW Info Provider|schubi@novell.com | ------- Comment #8 from jsuchome@novell.com 2007-05-14 01:06 MST ------- Looks like a libzypp issue... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #9 from schubi@novell.com 2007-05-14 02:32 MST ------- Please provide a testcase http://en.opensuse.org/Bugs/YaST#I_want_to_report_a_bug_related_to_package_d... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|aj@novell.com | ------- Comment #10 from olh@novell.com 2007-05-14 02:35 MST ------- how do we create a testcase in the user authentication method window? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #11 from schubi@novell.com 2007-05-14 03:29 MST ------- The error is that a package has not been installed. Start the installation again, go to the single package selection and generate the testcase. That is enough. You do not have to reinstall the system. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #12 from olh@novell.com 2007-05-14 07:37 MST ------- a fresh a4 gnome install offers yp as auth method. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #13 from aj@novell.com 2007-05-15 00:39 MST ------- Created an attachment (id=139962) --> (https://bugzilla.novell.com/attachment.cgi?id=139962&action=view) solver test case. Here're the yast2 log files including the generated solver test case. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #14 from olh@novell.com 2007-05-18 04:42 MST ------- this happens during a DVD install. yast2-nis-client is installed at that 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 schubi@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|schubi@novell.com |jsuchome@novell.com ------- Comment #15 from schubi@novell.com 2007-05-24 04:50 MST ------- U_Ts_[S1:1][package]yast2-nis-client-2.15.2-15.i586 and U_Ts_[S1:1][package]yast2-ldap-client-2.15.7-11.noarch will be installed. So I cannot see that it is an package problem -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #16 from jsuchome@novell.com 2007-05-24 05:07 MST -------
this happens during a DVD install.
Do you have the network configured (I mean during installation)? If yes, could you attach the logfiles from last attempt? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #17 from jsuchome@novell.com 2007-05-28 02:27 MST ------- Olaf, could you please answer last? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #18 from jsuchome@novell.com 2007-05-30 08:33 MST ------- I've just tested DVD installation of Alpha4 and seen no problem. Olaf, please test again and support the needed info. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #19 from aj@novell.com 2007-06-13 07:25 MST ------- This happens with Alpha5 for me as well. I had network configured - an ftp installation. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #20 from jsuchome@novell.com 2007-06-13 07:42 MST ------- Andreas, do you have the log files? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|olh@novell.com |aj@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #21 from aj@novell.com 2007-06-14 06:01 MST ------- I'll get you log files now... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|aj@novell.com | ------- Comment #22 from aj@novell.com 2007-06-14 06:46 MST ------- Created an attachment (id=146270) --> (https://bugzilla.novell.com/attachment.cgi?id=146270&action=view) yast2 log files -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmacvicar@novell.com Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #23 from jsuchome@novell.com 2007-06-14 07:28 MST -------
From the logs it looks like your initial source was lost - zypp cannot read from it during second stage.
After the installation is finished, could you install any new package? Is your source listed in inst_source dialog or in /var/lib/zypp/db/sources? If everything looks correct, please start new installation and let the system in the second stage after that auth dialog, so someone could ssh to it. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com ------- Comment #26 from jsuchome@novell.com 2007-06-15 00:50 MST ------- Looks like the interesting part which was done was skipping the Online Update (that's why I couldn't reproduce it, as I always run it). If YOU is run, than everything seems to be correct - probably because of some Pkg calls in inst_you? But inst_you refreshs the target, not the source... I'm confused. At e208, there's only one source in /var/lib/zypp/db/sources/ - the installation one (ftp://dist/%2finstall/SLP/openSUSE-10.3-Alpha5-DVD/i386/DVD1). However, when y2log prints the list of sources, it only contains the openSUSE-10.3-Updates one. Maybe the registration part broke the sources setup somehow? Just a note why this bug is currently at me: in the dialog with authentication sources, YaST scans if various yast modules (e.g. yast2-nis-client) are available (on the source). I assume the function Pkg::IsAvailable (yast2-nis-client) returns false so the authentication dialog correctly doesn't show the option for selecting it. Could any zypp guy (schubi, dmacvicar, ma) check the handling of the sources in this case? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |dmacvicar@novell.com -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdsn@novell.com AssignedTo|jsuchome@novell.com |locilka@novell.com Status|NEEDINFO |NEW Info Provider|dmacvicar@novell.com | Summary|no yp offered during install|source not initialized in the second stage ------- Comment #27 from jsuchome@novell.com 2007-06-15 06:17 MST ------- Well, the problem is that several calls during second stage are actually asking for some information from package source, which is not initialized by default. There are: inst_fam.ycp - uses direct call Pkg::IsProvided. Solution it to use Package::Available call, which internally ensures if the source is initialized (and which does the initialization in case it was not done). The main problem is probably during adding the online update source after the registration, which was also done without initializing Source Manager. The problematic call is in SourceManager (Pkg::SourceCreate at line 1400), but SourceManager itself when started on installed system does the initialization (in ReadSources routine), so maybe the problem is more in the fact that SourceManager::AddUpdateSources call is used wrongly from Register.ycp module (when it is adding online update source) without ensuring the source manager is initialized. Lukas, please take care of the first 2 clients; Daniel, please fix registration code. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #28 from jsuchome@novell.com 2007-06-15 06:26 MST ------- Hm, part of my comment was lost. Second client from yast2-installation is inst_addon_update_sources.ycp, which is using Pkg::SourceGetCurrent and Pkg::ResolvableProperties calls without ensuring Source Manager is initialized (there are also other calls, but they were not called) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899
locilka@novell.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|locilka@novell.com |jdsn@novell.com
------- Comment #29 from locilka@novell.com 2007-06-15 06:33 MST -------
This patch should fix the inst_addon_update_sources client:
Index: inst_addon_update_sources.ycp
===================================================================
--- inst_addon_update_sources.ycp (revision 38432)
+++ inst_addon_update_sources.ycp (working copy)
@@ -18,6 +18,7 @@
import "Popup";
import "SourceManager";
import "Report";
+import "Installation";
include "packager/inst_source_dialogs.ycp";
@@ -55,6 +56,10 @@
// feedback message
string message = _("Reading packages available on the installation
sources...");
+Pkg::TargetInitialize (Installation::destdir);
+Pkg::TargetLoad();
+Pkg::SourceStartManager (true);
+
list<string> knownUrls = KnownUrls ();
y2milestone ("sources known: %1", knownUrls);
map
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #30 from jsuchome@novell.com 2007-06-15 07:03 MST ------- Lukas, don't forget inst_fam.ycp (see comment 27). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899 ------- Comment #32 from locilka@novell.com 2007-06-15 07:12 MST ------- OK, fixed inst_fam.ycp as well. I didn't even know it's part of the installation. Looking into the file, such functionality should be rather dropped (anyway, fixed). -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=270899#c33
--- Comment #33 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=270899#c35
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=270899#c37
J. Daniel Schmidt
https://bugzilla.novell.com/show_bug.cgi?id=270899
Olaf Hering
participants (1)
-
bugzilla_noreply@novell.com