Bug 968995

Summary: Remove the subpackage 'rmt' from dump
Product: [Fedora] Fedora Reporter: Pavel Raiskup <praiskup>
Component: dumpAssignee: Petr Hracek <phracek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ovasik, phracek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dump-0.4-0.20.b44.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-05 06:31:31 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:
Attachments:
Description Flags
Define new rmt path
none
Dump.spec patch none

Description Pavel Raiskup 2013-05-30 12:39:31 UTC
The 'rmt' package is mostly about /usr/sbin/rmt binary.  Similar (more recent)
version of this binary is also in 'star' distribution tarball.  See the
bug #968980.

If the binary _was_ compatible with dump, would it be possible to remove this
subpackage from dump?  And let it be obsoleted by star's 'rmt'?

Thanks,
Pavel

Comment 1 Petr Hracek 2013-06-04 10:46:24 UTC
Created attachment 756683 [details]
Define new rmt path

Comment 2 Petr Hracek 2013-06-04 10:50:02 UTC
Created attachment 756684 [details]
Dump.spec patch

Comment 3 Petr Hracek 2013-06-04 11:25:45 UTC
scm-commit (http://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130603/1033762.html) 

How to test dump with new rmt delivered by star package.
Dump patch has defined path to /usr/sbin/rmt directly.
You need to have two machines or localhost on the one machine.

On the one machine use following commands:
1) export RSH=/usr/sbin/rmt
2) dump -0 -f <username>@<ipaddress_of_another_pc_or_localhost>:<file> <path_to_directory>

dump command has to be run under root user.

Comment 4 Pavel Raiskup 2013-06-04 17:07:33 UTC
Thanks for testing and patch!

(In reply to Petr Hracek from comment #3)
> 1) export RSH=/usr/sbin/rmt

Here is a typo s/RSH/RMT/ .

> 2) dump -0 -f <username>@<ipaddress_of_another_pc_or_localhost>:<file>
> <path_to_directory>
> 
> dump command has to be run under root user.

I checked it also (over ssh) and it works ok:

  RMT=/usr/sbin/rmt RSH=/usr/bin/ssh dump -0 -f localhost:/tmp/bootDump /boot

(note that dump does not ask for ssh password so you need to use ssh-copy-id
before)

FYI:  I have committed (and built) the changes in star in Rawhide — the Epoch
of new rmt package from star.spec is '2', so it should replace rmt from
dump.spec in a natural way.  So from this time, the 'rmt' removal from dump is
OK.

Pavel

Comment 5 Petr Hracek 2013-06-05 06:31:31 UTC
dump package was build up.
scm-commit for removing star from section Requires (http://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20130603/1033773.html) -> CLOSED