Bug 842806 - [RFE] namespaces for rlFileBackup / rlFileRestore
Summary: [RFE] namespaces for rlFileBackup / rlFileRestore
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Muller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 893056
TreeView+ depends on / blocked
 
Reported: 2012-07-24 16:07 UTC by Jiri Jaburek
Modified: 2016-09-20 02:09 UTC (History)
4 users (show)

Fixed In Version: beakerlib-1.7-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 893056 (view as bug list)
Environment:
Last Closed: 2013-05-22 03:09:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.