Bug 491234

Summary: livecd-iso-to-disk shouldn't ask to overwrite boot loader
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: livecd-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: davidz, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-21 18:31:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Warren Togami 2009-03-19 23:07:04 UTC
livecd-tools-022-1.fc11
syslinux-3.73-2.fc11
mtools-4.0.9-1.fc11

Use livecd-iso-to-disk with on a USB stick already written previously by livecd-iso-to-disk.

Updating boot config file
Installing boot loader
file is read only, overwrite anyway (y/n) ? 

Processes running at this time:
/usr/bin/livecd-iso-disk --noverify --skipcopy --reset-mbr livecd.iso /dev/sdb1
syslinux -d syslinux /dev/sdb1
mmove -D o -D O s:/ldlinux.sys s:/syslinux/ldlinux.sys

There is no good reason for the program to ask for permission to overwrite this file.  It seems that mtools changed to prompt instead of just go ahead.

I couldn't figure out how to use mattrib to unprotect ldlinux.sys prior to syslinux tries to install it again.

Comment 1 Jeremy Katz 2009-03-20 14:48:11 UTC
Fixed in git, although the fix is ugly.

Comment 2 Warren Togami 2009-04-05 04:30:56 UTC
I just noticed this still happens in rawhide, was this not built into rawhide yet?

Comment 3 Jeremy Katz 2009-04-06 14:08:41 UTC
Has there been a new livecd-tools build since the 20th? (answer: no)

I'll get a build before the devel freeze, but this is hardly critical enough on its own to have warranted special builds

Comment 4 Bug Zapper 2009-06-09 12:25:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Jeremy Katz 2009-07-21 18:31:25 UTC
Closing out bug that's been in MODIFIED for a while.