Bug 1475870

Summary: [Tests] Fix test-functions that generate root image for TEST-* tests
Product: Red Hat Enterprise Linux 7 Reporter: Michal Sekletar <msekleta>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: fsumsal, systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: systemd-219-43.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 11:21:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Sekletar 2017-07-27 13:56:42 UTC
Description of problem:
create_empty_image function generates image that is not usable on RHEL7. Function uses sfdisk to partition image, which fails on RHEL7. Next issue is ext3 filesystem that is used by default. It is not possible to mount ext3 with RHEL7 initrd, because initrd is missing mount.ext3. Also ext3 is not default filesystem in RHEL7.

Version-Release number of selected component (if applicable):
systemd-219-42.el7

How reproducible:
deterministic

Steps to Reproduce:
1. cd test/TEST-02-CRYPTSETUP
2. make setup
3. make run


Actual results:
Test fails.

Expected results:
Test passes.

Additional info:

Comment 2 Michal Sekletar 2017-07-31 14:00:00 UTC
https://github.com/lnykryn/systemd-rhel/pull/126

Comment 9 errata-xmlrpc 2018-04-10 11:21:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0711