Bug 138225 - Installation suddenly quit before it was finished
Summary: Installation suddenly quit before it was finished
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Installation (show other bugs)
Version: Alpha 3
Hardware: PC SUSE Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Stanislav Visnovsky
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 08:59 UTC by Ofir Geri
Modified: 2006-02-01 12:14 UTC (History)
4 users (show)

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


Attachments
y2log (188.52 KB, application/x-gzip)
2005-12-13 12:57 UTC, Ofir Geri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir Geri 2005-12-13 08:59:43 UTC
The moment I clicked the "next" button for proceeding to the users configuration step, the installation suddenly quitted, before it was finished.
Comment 1 Ladislav Slezák 2005-12-13 09:01:56 UTC
Please, attach y2log (see http://www.opensuse.org/Bug_Reporting_FAQ#YaST)
Comment 2 Ofir Geri 2005-12-13 12:57:22 UTC
Created attachment 60400 [details]
y2log

The needed information has been attached.
Comment 3 Martin Vidner 2005-12-14 09:35:32 UTC
Jirka, here you go. Do not get confused by the printer log at the bottom of the log, it's from a different process. Look for 2005-12-13 10:16:54.
Comment 4 Jiří Suchomel 2005-12-14 10:20:22 UTC
I cannot see anything pointing to the users in the log; did it fall during inst_auth? But there is no milestone log before it would exit... 
Couldn't the problem be in the NetworkDevices::List("") call?
Comment 5 Ofir Geri 2005-12-14 11:57:09 UTC
Yes, the moment I clicked the "next" button for proceeding to the users management step, it went off.
Comment 6 Martin Vidner 2005-12-14 12:00:20 UTC
Here I see that inst_auth is the last thing running in PID 3601. I don't know which List call you mean (timestamp?).

2005-12-13 10:16:54 <1> linux(3601) [Interpreter] ProductControl.ycp:179 Calling YaST client inst_auth (arguments: [$["enable_back":true, "enable_next":true]])
2005-12-13 10:16:54 <1> linux(3601) [wfm] Y2WFMComponent.cc(import):695 Y2WFMComponent::import (PackageCallbacks)
...
2005-12-13 10:16:54 <1> linux(3601) [wfm] Y2WFMComponent.cc(import):695 Y2WFMComponent::import (PackageCallbacks)
2005-12-13 10:16:54 <1> linux(3601) [packagemanager] InstSrcManager.cc(enableDefaultSources):995 Going to enable all default InstSrc'es...
2005-12-13 10:16:54 <1> linux(3601) [packagemanager] InstSrcManager.cc(enableDefaultSources):995 Going to enable all default InstSrc'es...
2005-12-13 10:18:46 <1> linux(9444) [liby2] genericfrontend.cc(main):193 Launched YaST2 component 'y2base'
Comment 7 Jiří Suchomel 2005-12-14 12:04:04 UTC
I mean NetworkDevices::List("") call from inst_auth.

It is the first function call in inst_auth.ycp, that's why I thought there might be the problem.
Comment 8 Jiří Suchomel 2005-12-14 12:16:15 UTC
It the described behaviour reproducible?
If so, please use Shift-F7 (=verbose logging: http://www.opensuse.org/Bug_Reporting_FAQ#YaST) before you exit network configuration, than continue and attach new y2logs.
Comment 9 Ofir Geri 2005-12-14 12:50:02 UTC
Do I have to reinstall SuSE, or I can just try to reconfigure network conncetions?
Comment 10 Jiří Suchomel 2005-12-14 12:56:09 UTC
It should be possible to start just the second stage of the installation (- that's the one begining with the root password dialog; whole stage will acctualy contain only configuration parts, not the installation).

touch the file /var/lib/YaST2/runme_at_boot and restart
Comment 11 Ofir Geri 2005-12-14 13:45:34 UTC
There's no such file, but I've found /var/lib/YaST2/step, that contains:
continue_12

Shall I change it?
Comment 12 Jiří Suchomel 2005-12-14 13:49:17 UTC
No, sorry for no explanation. Touch the file = create the file (just call "touch  /var/lib/YaST2/runme_at_boot").
The presence of the file means that the second stage of installation should start after reboot, so it surely cannot exist now (it is deleted after the installatiuon).
Comment 13 Ofir Geri 2005-12-14 14:28:31 UTC
Something strange happened. First time I tried Shift-F7 (before proceeding to the user management), the logging dialog showed up and it made the installation freeze and I had no choice but rebooting.
Then I tried again and pressed Shift-F7 before setting the root management, set it to log the setup, then continued and everything went fine. The only difference is that I used shorter root password.

What would you like me to do?
Comment 14 Jiří Suchomel 2005-12-14 16:15:19 UTC
Hm... I don't know.

Anyway, this is not yast2-users related. Stano?
Comment 15 Stanislav Visnovsky 2005-12-20 11:50:50 UTC
Michael, the crash seems to be in package manager. Anything you could read out of logs?
Comment 16 Michael Andres 2005-12-20 13:06:32 UTC
Are you shure? I see no hint, that it's actually the packagemanager.

The last loglines "InstSrcManager.cc(enableDefaultSources)" originate from a call to 'Pkg::sourceStartManager(true)'. If you look at y2logs, you'll notice that this is called quite often. And the call did not perform any real action. If there were sources to enable/disble, the perceeding call would have done it. And if anything had changed between the two calls, there would have been a logline.

I guess controll is back in YCP.
Comment 17 Jiří Suchomel 2005-12-20 13:12:36 UTC
The last ycp client that was called was inst_auth.ycp (as seen in comment #6); this client calls Package::Available ("yast2-nis-client"). PackageSystem::Available calls only
  EnsureSourceInit();
  return Pkg::IsAvailable(package);
Comment 18 Stanislav Visnovsky 2006-01-10 08:09:21 UTC
Jiri, please check, if all needed packages for the users management are installed.
Comment 19 Jiří Suchomel 2006-01-10 08:19:13 UTC
According to y2logRPM, yes (all packages in Require list of yast2-users).

(But the packages checked for "Available" as written in comment #17 don't have to be installed)
Comment 20 Stanislav Visnovsky 2006-01-10 08:26:14 UTC
Was there any error report on the console when YaST quit?
Comment 21 Ofir Geri 2006-01-10 13:08:42 UTC
I'm not sure, so I'll recheck when Beta 1 is released.
Comment 22 Stanislav Visnovsky 2006-02-01 12:14:13 UTC
No response. Please reopen if happens again.