Bug 842806

Summary: [RFE] namespaces for rlFileBackup / rlFileRestore
Product: [Fedora] Fedora Reporter: Jiri Jaburek <jjaburek>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ohudlick, pmuller, psplicha, zmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: beakerlib-1.7-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 893056 (view as bug list) Environment:
Last Closed: 2013-05-22 03:09:58 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:
Bug Depends On:    
Bug Blocks: 893056    

Description Jiri Jaburek 2012-07-24 16:07:35 UTC
This RFE basically requests something like --namespace option for rlFileBackup / rlFileRestore.

Each namespace would be separate and rlFileRestoreable on its own, unaffecting other namespaces.

Example:

# BEGIN
rlFileBackup --namespace blah /etc/passwd
rlFileBackup /etc/group

echo junk >> /etc/passwd
echo junk2 >> /etc/group

rlFileRestore --namespace blah
# END

This would restore only /etc/passwd, leaving "junk2" in /etc/group.

One use case example, that would benefit from this feature, is zmraz's kerberos testing library. In general - any custom test library, which has its own init+cleanup functions, could benefit from it.

Comment 1 Jiri Jaburek 2012-11-01 14:01:49 UTC
I've sent a patch to the beakerlib-devel mailing list, see ie. https://lists.fedorahosted.org/pipermail/beakerlib-devel/2012-October/000020.html .

Comment 3 Fedora Update System 2013-04-30 15:12:33 UTC
beakerlib-1.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/beakerlib-1.7-1.fc19

Comment 4 Fedora Update System 2013-04-30 20:05:42 UTC
Package beakerlib-1.7-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing beakerlib-1.7-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7067/beakerlib-1.7-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-05-22 03:09:58 UTC
beakerlib-1.7-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.