Hi Erich,
Thanks a lot for your feedback. I have some good news below.
> systemconfigurator doesn't support currently labels, and it looks like
> you're using labels. During the testing phase of the RPM build the grub
> test fails because it is using the partitioning info from the host.
Sure, RedHat Linux has been using labels for years. But I'm just trying to
build the systemconfigurator RPM for use on the real target systems.
Why should the RPM build process even bother about the partitions on the
build host at all ?
By the way, I just repeated the RPM build on a CentOS 4.5 (RedHat 4 Update 5)
machine, and exactly the same error appears as on CentOS 5 / RedHat 5.
> Could you please post the content of your /etc/fstab and /proc/partitions?
> And the output of blkid?
/etc/fstab:
LABEL=/1 / ext3 defaults 1 1
LABEL=/boot1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=/scratch /scratch ext3 defaults 1 2
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda3 swap swap defaults 0 0
/proc/partitions:
major minor #blocks name
8 0 244198584 sda
8 1 104391 sda1
8 2 10241437 sda2
8 3 8385930 sda3
8 4 1 sda4
8 5 225464211 sda5
/sbin/blkid:
/dev/sda5: LABEL="/scratch" UUID="02bc7eae-872d-48e0-92a6-c80364d524f4"
SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: TYPE="swap" LABEL="SWAP-sda3"
/dev/sda2: LABEL="/1" UUID="d9f7f1d5-ecca-4a8f-88de-5f503fa9280b"
SEC_TYPE="ext2" TYPE="ext3"
/dev/sda1: LABEL="/boot1" UUID="7697fa28-d3a0-4e0c-9ded-da76379084a8"
SEC_TYPE="ext2" TYPE="ext3"
> By the way, do you have selinux enabled on your system? Not sure, but that
> could have some impact on running under chroot.
RedHat 5 (and CentOS 5) does have SELinux enabled by default. I use the
"permissive" SELinux settings.
> I just realize that the test doesn't copy /sbin/lbkid to the mini-chroot
> used for testing. Maybe you want to try adding
>
> copy("/sbin/blkid","$root/usr/sbin/blkid") or ($skip = 1);
>
> to t/boot_grub.t in the systemconfigurator tarball. I'd be curious about the
> result.
I added the suggested line and that solves the problem !! The t/boot_grub
test now succeeds, and the RPM packages get built correctly:
(lines deleted)
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/01_sysconf0..............ok
t/01_sysconf1..............ok
t/01_sysconf2..............ok
t/01_sysconf3..............ok
t/01_sysconf4..............ok
t/boot_aboot...............ok
t/boot_elilo...............ok
t/boot_grub................ok 1/10Probing devices to guess BIOS drives. This
may
take a long time.
t/boot_grub................ok
8/10 skipped:
t/boot_lilo................ok
t/boot_palo................ok
t/boot_yaboot..............ok
t/boot_zipl................ok 1/14BOOTDEV option under [BOOT] section ignored.
t/boot_zipl................ok
t/hardware_cm..............ok
t/hardware_ma..............ok
t/hardware_mc..............ok
t/hardware_mc2.............ok
t/hardware_order...........ok
t/initrd_01................ok
t/netmasks.................ok
t/networking_dns_01........ok
t/networking_dns_02........ok
t/networking_dns_03........ok
t/networking_interfaces....ok
t/networking_lc............ok
t/networking_rc............ok
t/networking_rn............ok
t/timez....................ok
t/userexit.................ok
t/z_scbin..................ok
All tests successful, 8 subtests skipped.
Files=29, Tests=527, 4 wallclock secs ( 2.16 cusr + 0.40 csys = 2.56 CPU)
(lines deleted)
Would it be possible to update the systemconfigurator package om SourceForge
so that the fix for RedHat Linux gets included ?
Thanks a lot,
Ole
--
Ole Holm Nielsen
Department of Physics, Technical University of Denmark
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users