Bug 153066 - FACTORY x86-64 install: No /etc/x11/xorg.conf available after reboot
Summary: FACTORY x86-64 install: No /etc/x11/xorg.conf available after reboot
Status: RESOLVED FIXED
: 153307 153403 153448 153666 154132 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Beta 5
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Klaus Kämpf
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 12:13 UTC by Andreas Jaeger
Modified: 2006-02-28 16:15 UTC (History)
6 users (show)

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


Attachments
here are my y2logs instead, 2nd stage is text mode here as well. (3.75 MB, application/x-tgz)
2006-02-24 09:43 UTC, Ludwig Nussel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2006-02-23 12:13:19 UTC
Klaus asked me to file this:

This is an installation from the FACTORY tree on x86-64.

There's only /etc/x11/xorg.conf.install
Comment 1 Stanislav Visnovsky 2006-02-23 17:32:49 UTC
Marcus, how does this work? Could you, please, take a look?
Comment 2 Andreas Jaeger 2006-02-23 19:02:16 UTC
This happened with normal beta5 x86-64 as well.
Comment 3 Marcus Schaefer 2006-02-24 09:19:56 UTC
I assume the package yast2-x11 wasn't installed by the installer
so the X11 config tool never was called. This has been reported in
several bug reports (libzypp) problem ?
Comment 4 Klaus Kämpf 2006-02-24 09:27:16 UTC
No, this can't be the problem.

The 1st stage of installation did start graphically and should copy the xorg.conf to the newly installed system at end of 1st stage.
This somehow did not happen.

So after reboot (into 2nd stage installation), no X11 config was available and YaST started in text mode.
Comment 5 Marcus Schaefer 2006-02-24 09:33:42 UTC
Ah now I understand what stage you meant. Well this is done in x11_finish.ycp
the code there copies the file. See the following code part:

 if (x11_installed) {
    if ( Mode::update () ) {
        ...
    } else {
      y2milestone ("Include X11 config [instsys] to installed system: xorg.conf");
        string filename = "/etc/X11/xorg.conf";
        WFM::Execute (.local.bash, "/bin/cp " + filename + " " +
              Installation::destdir + "/etc/X11/xorg.conf"
              );
    }
 }
     

I didn't change that code and it looks pretty good to me. Do you have
a y2log file with the message "Include X11 config..." in there ?

Thanks
Comment 6 Ludwig Nussel 2006-02-24 09:43:29 UTC
Created attachment 70133 [details]
here are my y2logs instead, 2nd stage is text mode here as well.
Comment 7 Stanislav Visnovsky 2006-02-24 09:48:06 UTC
x11_installed is false according to logs.
Comment 8 Marcus Schaefer 2006-02-24 09:52:57 UTC
The log said:

  [YCP] clients/x11_finish.ycp:112 Include X11 config [instsys] to installed system: xorg.conf.install

so the code is reached. I'm wondering if WFM::Execute is called there normally
is a log entry starting with [wfm] but this is missing in that case. Could it
be that the y2milestone message is there but the call to

  WFM::Execute (.local.bash, "/bin/cp " + filename + " " +
              Installation::destdir + "/etc/X11/xorg.conf" + ".install"
              );

failed ?

And by the way why does the log tell me:

  [YCP] clients/x11_finish.ycp:63 x11_installed: <false>

X11 not installed ??
Comment 9 Marcus Schaefer 2006-02-24 09:58:09 UTC
The call to:

   boolean x11_installed = Pkg::IsProvided("xorg-x11");

returns false
Comment 10 Andreas Jaeger 2006-02-24 10:07:10 UTC
Thanks Ludwig for the logfiles.
Comment 11 Ludwig Nussel 2006-02-24 10:07:56 UTC
# rpmqpack |grep xorg-x11
xorg-x11-driver-video
xorg-x11-driver-video-nvidia
xorg-x11-fonts-100dpi
xorg-x11-server-glx
xorg-x11-server
xorg-x11-libs-32bit
xorg-x11-Xvnc
xorg-x11
xorg-x11-fonts-75dpi
xorg-x11-libs
# rpm -q --whatprovides xorg-x11
xorg-x11-6.9.0-16
Comment 12 Marcus Schaefer 2006-02-24 10:09:41 UTC
so yet another libzypp problem ? or is checking via

  Pkg::IsProvided("xorg-x11");

wrong ?
Comment 13 Stanislav Visnovsky 2006-02-24 10:13:56 UTC
Target is not updated after commit.
Comment 14 Marcus Schaefer 2006-02-24 10:16:30 UTC
What does that mean ? Do I have to fix anything here ? If yes please explain
a bit more detailed. The code above has worked up to now and is broken now it
really would be usefull if people will tell others if they make changes
breaking code in other modules

Thanks
Comment 15 Klaus Kämpf 2006-02-24 11:10:32 UTC
comment #13 is right. Thats the cause.
Comment 16 Klaus Kämpf 2006-02-24 13:28:26 UTC
*** Bug 153307 has been marked as a duplicate of this bug. ***
Comment 17 Michael Gross 2006-02-24 16:22:25 UTC
*** Bug 153403 has been marked as a duplicate of this bug. ***
Comment 18 Michael Gross 2006-02-24 18:44:06 UTC
*** Bug 153448 has been marked as a duplicate of this bug. ***
Comment 19 Klaus Kämpf 2006-02-26 16:55:21 UTC
Fixed in libzypp
Comment 20 Lukas Ocilka 2006-02-27 13:09:50 UTC
*** Bug 153666 has been marked as a duplicate of this bug. ***
Comment 21 Klaus Kämpf 2006-02-27 18:45:08 UTC
*** Bug 153475 has been marked as a duplicate of this bug. ***
Comment 22 Klaus Kämpf 2006-02-28 05:40:57 UTC
*** Bug 153852 has been marked as a duplicate of this bug. ***
Comment 23 Michael Gross 2006-02-28 16:15:05 UTC
*** Bug 154132 has been marked as a duplicate of this bug. ***