[Mageia-sysadm] BS broken by /usr move

Colin Guthrie mageia at colin.guthr.ie
Tue Jul 24 13:57:43 CEST 2012


'Twas brillig, and Colin Guthrie at 24/07/12 12:13 did gyre and gimble:
> 'Twas brillig, and Thierry Vignaud at 24/07/12 12:09 did gyre and gimble:
>> I cannot compile drakx-installer-stage2 b/c BS now fails to install
>> lvm2 & dmraid:
>> See http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120724103609.tv.valstar.9916/log/drakx-installer-stage2-14.31-1.mga3/
>>
>> D: [iurt_root_command] chroot
>> error: Failed build dependencies:
>> 	lvm2 is needed by drakx-installer-stage2-14.31-1.mga3.x86_64
>> 	dmraid is needed by drakx-installer-stage2-14.31-1.mga3.x86_64
>> Installing /home/iurt/rpm/SRPMS/@274005:drakx-installer-stage2-14.31-1.mga3.src.rpm
>> I: [iurt_root_command] ERROR: chroot
>>
>>
>>   174/417: dmraid                #############################################
>> error: unpacking of archive failed on file /var/lock/dmraid: cpio:
>> mkdir failed - No such file or directory
>> error: dmraid-1.0.0-0.rc16.9.mga2.x86_64: install failed
>> (...)
>>   412/417: lvm2                  #############################################
>> error: unpacking of archive failed on file /var/lock/lvm: cpio: mkdir
>> failed - No such file or directory
>> error: lvm2-2.02.95-4.mga3.x86_64: install failed
>>
>> Please fix & resubmit d-i-stage2
> 
> Ahh yes.... no package should package anything in /var/lock or /var/run.
> I have generally been fixing them as I didn't think they would cause any
> problems but /var/lock stuff will :s
> 
> I'll see what I can do.


OK, seems to be behaving better now. I've submitted d-i-stage2 again.
Fingers crossed!

I just did the minimum needed here, I didn't change libs or bin paths
etc. in dmraid or lvm2 packages, but this could probably be done and
simplify the packaging. We likely also do not need static versions these
days (I noticed a dmsetup-static and dmsetup.static) seeing as dracut
takes care of mounting things in initrd and we do not support /usr
mounts except when they are already mounted in the initrd.

Col

-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-sysadm mailing list