Bug 968995 - Remove the subpackage 'rmt' from dump
Summary: Remove the subpackage 'rmt' from dump
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dump
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Hracek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-30 12:39 UTC by Pavel Raiskup
Modified: 2013-06-05 06:31 UTC (History)
2 users (show)

Fixed In Version: dump-0.4-0.20.b44.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-05 06:31:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Define new rmt path (320 bytes, patch)
2013-06-04 10:46 UTC, Petr Hracek
no flags Details | Diff
Dump.spec patch (2.71 KB, patch)
2013-06-04 10:50 UTC, Petr Hracek
no flags Details | Diff

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


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