[Server-devel] Fwd: F11 testing for XS

Martin Langhoff martin.langhoff at gmail.com
Mon Aug 10 09:29:28 EDT 2009


Over the last could of weeks Jerry's been exploring the F11 rebase. Here are
his notes.

Forwarded conversation
Subject: F11 testing for XS
------------------------

From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Fri, Jul 31, 2009 at 12:42 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Changing the repos used in xs-livecd to F11 results in:


 xs-pkgs-0.10.1.g2a97d89-1.noarch from olpcxs-testing-f9 has depsolving
problems
 --> Missing Dependency: mkbootdisk is needed by package
xs-pkgs-0.10.1.g2a97d89-1.noarch (olpcxs-testing-f9)

revise xs-pkgs to exclude mkbootdisk...


xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch from olpcxs-stable-xs5
has depsolving problems
 --> Missing Dependency: python(abi) = 2.5 is needed by package
xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch (olpcxs-stable-xs5)
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems
 --> Missing Dependency: /usr/bin/python2.5 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems
 --> Missing Dependency: python < 2.6 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems
 --> Missing Dependency: python(abi) = 2.5 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
xs-activation-0.2.36.gfb57490-1.xs9.noarch from olpcxs-testing-f9 has
depsolving problems
 --> Missing Dependency: python(abi) = 2.5 is needed by package
xs-activation-0.2.36.gfb57490-1.xs9.noarch (olpcxs-testing-f9)
xs-tools-0.4.5.g40d79c0-1.xs9.noarch from olpcxs-stable-xs5 has
depsolving problems
 --> Missing Dependency: python(abi) = 2.5 is needed by package

These need a fix for the python bump in F11....

 xs-tools-0.4.5.g40d79c0-1.xs9.noarch (olpcxs-stable-xs5)
ejabberd-xs-2.0.3-10.fc9.olpc.i386 from olpcxs-testing-f9 has depsolving
problems
 --> Missing Dependency: libssl.so.7 is needed by package
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)

That is libssl dependency....

idmgr-0.7.8.g2f46590-1.xs9.noarch from olpcxs-testing-f9 has depsolving
problems
 --> Missing Dependency: python(abi) = 2.5 is needed by package
idmgr-0.7.8.g2f46590-1.xs9.noarch (olpcxs-testing-f9)

python bump...

ejabberd-xs-2.0.3-10.fc9.olpc.i386 from olpcxs-testing-f9 has depsolving
problems
 --> Missing Dependency: libcrypto.so.7 is needed by package
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)

libssl I think....

olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has depsolving problems
 --> Missing Dependency: /usr/bin/python2.5 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)

Python again..

Unable to resolve dependencies for some packages selected:
Missing Dependency: python(abi) = 2.5 is needed by package
xs-activity-server-0.2.13.g1852ac0-1.xs9.noarch (olpcxs-stable-xs5)
Missing Dependency: python < 2.6 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
Missing Dependency: /usr/bin/python2.5 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
Missing Dependency: libssl.so.7 is needed by package
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)
Missing Dependency: python(abi) = 2.5 is needed by package
idmgr-0.7.8.g2f46590-1.xs9.noarch (olpcxs-testing-f9)
Missing Dependency: mkbootdisk is needed by package
xs-pkgs-0.10.1.g2a97d89-1.noarch (olpcxs-testing-f9)
Missing Dependency: python(abi) = 2.5 is needed by package
xs-activation-0.2.36.gfb57490-1.xs9.noarch (olpcxs-testing-f9)
Missing Dependency: python(abi) = 2.5 is needed by package
olpc-contents-2.5-1.i386 (olpcxs-testing-f9)
Missing Dependency: libcrypto.so.7 is needed by package
ejabberd-xs-2.0.3-10.fc9.olpc.i386 (olpcxs-testing-f9)
Missing Dependency: python(abi) = 2.5 is needed by package
xs-tools-0.4.5.g40d79c0-1.xs9.noarch (olpcxs-stable-xs5)
make: *** [with-revisor] Error 1
[Jerry at f9 xs-livecd]$

Most of these are just a recompile for the newer python,
I got some time to help debug this, need the help?

Jerry




----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Fri, Jul 31, 2009 at 4:23 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Hi Martin:

attached is a diff for the changes against F11, the only issue is that
olpc-contents-2.5-1.i386 from olpcxs-testing-f9 has no src.rpm so I'm
unable to recompile and test....

Jerry

----------
From: *Martin Langhoff* <martin.langhoff at gmail.com>
Date: Sat, Aug 1, 2009 at 12:22 AM
To: jvonau at shaw.ca


ISTR we had found that mkbootdisk has moved to a different package?

And yes, the python packages need to be rebuilt for the python bump.
The various ejabberd issues may be solved with a rebuild. Anyway, the
spec file borrows heavily from the one in Fedora CVS so whatever deps
need fixing we can look in there too.
...

It would be fantastic! Right now I am helping a deployment team, so
talking more than hacking :-). Next week I will be in better shape to
be able to bounce package updates and fixes with you.

cheers,



m
--
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Mon, Aug 3, 2009 at 1:19 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Ok, here is the scoop with olpc-contents, is required by xs-pkgs(wish
that would go away..), 2.5 you have in the F9 repo needs a recompile for
F11, while 2.6 available at:
http://dev.laptop.org/~dsd/xo1-rpms<http://dev.laptop.org/%7Edsd/xo1-rpms>is
compiled for F11 with a dependence on bitfrost which is available at:
http://dev.laptop.org/~mdengler/xo-1<http://dev.laptop.org/%7Emdengler/xo-1>.
Other that the recompile of the
other packages, I have an XS-F11 installer ready to test. I'll report
any issues I find when I boot the installer on my junk test box..

Jerry


----------
From: *Martin Langhoff* <martin.langhoff at gmail.com>
Date: Tue, Aug 4, 2009 at 2:34 PM
To: jvonau at shaw.ca


You want to switch to a group thingy? How do I maintain that?

I'll review olpc-contents 2.6 -- I'll probably go that way, but ISTR
Daniel moved some stuff around, so the packages that depend on it may
need changes.
Cool! I am hoping it's a good chance to drop some of the nasty hacks
we have on the F9 based XSs...

----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Tue, Aug 4, 2009 at 8:39 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Not really, just list the XS/olpc sub-packages, remove references to all
the fedora rpms that are list as "# packages from schoolserver". All of
those would (should if the dependencies are correct) get pulled in by
yum anyway. At least that would cut down on the between release upkeep
going forward. Any late additions could be handled with the compose
kickstart file. I'll test build a cut down version to see what rpms are
pulled in.
As long as the dependencies are met, which repo they come from doesn't
matter. This is what I used with revisor:

[Jerry at f9 revisor]$ cat revisor-XS-i386.conf
[main]
cachedir=-yumcache
reposdir=
keepcache=1
#debuglevel=10
logfile=-yum.log
pkgpolicy=newest
distroverpkg=xs-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=0
metadata_expire=15
installroot=/var/tmp/revisor
failovermethod=priority

[xo-kernel]
name=xo-kernel
baseurl=http://dev.laptop.org/~mdengler/xo-1/
enabled=1
exclude=kernel*<http://dev.laptop.org/%7Emdengler/xo-1/%0Aenabled=1%0Aexclude=kernel*>

[xo-f11]
name=xo-f11
baseurl=http://dev.laptop.org/~dsd/xo1-rpms
enabled=1
exclude=xorg-x11-drv-openchrome<http://dev.laptop.org/%7Edsd/xo1-rpms%0Aenabled=1%0Aexclude=xorg-x11-drv-openchrome>

[olpcxs-local-f11]
name=XS local - i386
baseurl=file:///home/Jerry/rpmbuild/RPMS
enabled=1
gpgcheck=0
cost=1
exclude=anaconda

[olpcxs-testing-f9]
name=XS testing - i386
baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386/
enabled=1
gpgcheck=0
exclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools<http://fedora.laptop.org/xs/testing/olpc/9/i386/%0Aenabled=1%0Agpgcheck=0%0Aexclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools>


[olpcxs-stable-xs5]
name=XS 0.5 - i386
baseurl=http://fedora.laptop.org/xs/stable/olpc/xs-0.5/i386/
enabled=1
gpgcheck=0
exclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools<http://fedora.laptop.org/xs/stable/olpc/xs-0.5/i386/%0Aenabled=1%0Agpgcheck=0%0Aexclude=xs-pkgs,ejabberd-xs,idmgr,xs-activation,xs-activity-server,xs-tools>

[fedoraF11]
name=Fedora 11 - i386
mirrorlist=
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386
enabled=1
gpgcheck=0<http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-11&arch=i386%0Aenabled=1%0Agpgcheck=0>

[updatesF11]
name=Fedora 11 - i386 - Updates
mirrorlist=
http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386
enabled=1
gpgcheck=0<http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386%0Aenabled=1%0Agpgcheck=0>
Just got back to the city(needed a break), I'll try testing that later
tonight...

more later,

Jerry


----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Tue, Aug 4, 2009 at 11:28 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Well that was interesting, with xs-release supplying the *.repo files,
those repo files got pulled into anaconda, confusing the installer...
I'll have to re-roll that...

Jerry


----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Wed, Aug 5, 2009 at 3:18 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Things get more interesting, for anaconda to find the repo that is on
the iso, there need to be a media.repo file present on the CD. I'm
checking why revisor is not creating that file, while pungi does..

fun with anaconda,

Jerry



----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Thu, Aug 6, 2009 at 5:29 AM
To: Martin Langhoff <martin.langhoff at gmail.com>


Well I mis-guessed that one, ran into guess what.. an anaconda bug..
have a read: http://forums.fedoraforum.org/showthread.php?t=225742

I grabbed the zip file and did a diff...

diff /usr/lib/anaconda/storage/devicetree.py
tmp/hold/storage/devicetree.py
1460a1461,1465
>       # 7/12/2009 - Patrick J. Maloney
>       # Default fs to iso9660 for CDROM when it's not detected
>         if (not format_type) and udev_device_is_cdrom(info):
>             format_type = "iso9660"
>             log.debug("overriding type for device %s to be %s" %
(name, format_type))

I'll say this is a big opps, should never made it out the door...

I'm testing an anaconda upgrade with that updates.img file on my test
xs-server... Its starting to install the rpms now..

crossing finger,

Jerry


----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Thu, Aug 6, 2009 at 12:19 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Well the rest of the rpms installed without issue, only to have grub
messed up resulting in an un-bootable drive. Think this is the most
issues I've ran across with anaconda in a long time.

Jerry



----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Thu, Aug 6, 2009 at 1:03 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


Booting the installer with rescue, chroot, and grub-install fixed the
issue for me. What a PITA...

Jerry



----------
From: *Martin Langhoff* <martin.langhoff at gmail.com>
Date: Thu, Aug 6, 2009 at 8:10 PM
To: jvonau at shaw.ca


Ow! Good catch. That contains the F9 repo files. You can probably just
use 'fedora-release' for now.

The other repo files are only useful to update XS-specific packages
once the system is installed.

Or is anaconda reading the release rpm for its repo URLs and ignoring
the ones provided in the pungi/revisor config? That's a nasty bug in
my book ;-)

[sorry about the latency!]

----------
From: *Jerry Vonau* <jvonau at shaw.ca>
Date: Thu, Aug 6, 2009 at 8:51 PM
To: Martin Langhoff <martin.langhoff at gmail.com>


No, pungi/revisor behave well. Anaconda was ignoring the whole F$%king
repo on the install-cd, and trying to enable the network to connect to
the repos listed in the release file. That updates.zip file fixes that
issue here, just need to use mkskim to have it copied, goes in
the /images dir, for auto detection with the install iso.

The grub issue I think could be fixed with a ks file that would call
grub-install in %post while in the chroot enviroment. The other issue is
having swap defined in the fstab, that was choking the upgrade until I #
that one out, that should be a "before you start warning" in the release
notes.

O-yea the modprobe files need to have .conf appended to the name, there
is a warning that in the future the files will need to have that.

That is about it for now...

Jerry









-- 
martin.langhoff at gmail.com
martin at laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff  - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20090810/2947a4e7/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: F11.diff
Type: text/x-patch
Size: 2884 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/server-devel/attachments/20090810/2947a4e7/attachment-0001.bin 


More information about the Server-devel mailing list