Fails on recent Oneiric dailies: mkdir: File exists

Bug #812418 reported by Sergey "Shnatsel" Davidoff
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit
Fix Released
Undecided
Unassigned

Bug Description

UCK fails on preparing the environment for chroot with the following error:
mkdir: cannot create directory `/home/serioga/tmp/remaster-root/var/run': File exists

I'm running UCK 2.4.4 on Maverick amd64.
Full build log attached.

It seems to me that the cause of this issue is that /var/run in Oneiric dailies is a symlink to /run. UCK checks if it's a directory, determines that it's not and attempts to mkdir it, but that also fails.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :
Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

Fixed in Subversion on SourceForge (in case you want to get a snapshot from there ;-)

Changed in uck:
status: New → Fix Committed
Revision history for this message
Wolf Geldmacher (wolf-womaro) wrote :

I've attached the patch I committed - this needs to be applied to /usr/lib/uck/libraries/remaster-live-cd.sh (assuming you have uck/2.4.4 installed). The patch is backwards compatible, i.e. it tries not to break any builds that worked before for Ubuntu versions other than oneiric.

Revision history for this message
Pierre (pierrewinnipeg) wrote :

Also happens on 386 systems. Is the patch the same? Is subversion also fixed?

Great software!

Thanks.

Revision history for this message
Fabrizio Balliano (fabrizio-balliano) wrote :

this patch is causing some problems to me, i'm rewriting this part of uck

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Hmm, I've copy-pasted it to Glimpse already, so if you come up with a better solution, please let me know. I'm also curious what's wrong with the current solution.

Changed in uck:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.