Bug 582945

Summary: smolt overwrites existing hw-uuid when run by firstboot
Product: [Fedora] Fedora Reporter: G.Wolfe Woodbury <redwolfe>
Component: smoltAssignee: Mike McGrath <mmcgrath>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 13CC: mmcgrath
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: 2010-05-16 04:27:42 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 G.Wolfe Woodbury 2010-04-16 08:59:07 UTC
Description of problem:
 smolt ignores and overwrites an existing /etc/sysconfig/hw-uuid file following installation in Fedora 13.

Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. install FC13
2. restore hw-uuid file prior to reboot
3. run (firstboot)
  
Actual results:
  the existing hw-uuid is replaced in the generated report

Expected results:
  re-use the existing hw-uuid

Additional info:
  this seems to be a regression, as restoring the hw-uuid after install and before firstboot used to work (keeping the hw-uuid).  FC11 re-uses the hw-uuid, FC13 doesn't (don't know about 12 since I've skipped a cycle)

Comment 1 G.Wolfe Woodbury 2010-05-16 04:27:42 UTC
Further investigation and preusal of the sources shows that the hw-uuid file moved from /etc/sysconfig to /etc/smolt/hw-uuid.

putting the hw-uuid file in the right place solves the problem.

NOTABUG