zfs send/recv invalid data
Larry Rosenman
ler at lerctr.org
Wed Mar 6 18:59:11 UTC 2013
On 2013-03-06 12:57, Martin Simmons wrote:
>>>>>> On Wed, 06 Mar 2013 05:07:28 -0600, Larry Rosenman said:
>>
>> On 2013-03-06 04:56, Larry Rosenman wrote:
>>> On 2013-03-06 04:51, Tom Evans wrote:
>>>> On Wed, Mar 6, 2013 at 10:46 AM, Larry Rosenman <ler at lerctr.org>
>>>> wrote:
>>>>> So, you are correct that something(tm) is unclean about the ssh
>>>>> path.
>>>>>
>>>> And what is it that is added? Surely that is trivial to determine?
>>>> echo hello > foo
>>>> cat foo | ssh host cat
>>>> Cheers
>>>> Tom
>>> it seems to be bytestream dependent, as this simple case works, and
>>> the vast majority of the sends work, but the particular
>>> case in the thread does NOT.
>>>
>>> # echo hello >foo
>>> # cat foo | ssh home cat
>>> hello
>>> #
>> stranger:
>> $ cd /tmp
>> $ cat send.stream | ssh home openssl md5
>> (stdin)= 9cd1d73ea8411f1c222bc90e7bea3d33
>> $ openssl md5 send.stream
>> MD5(send.stream)= 9cd1d73ea8411f1c222bc90e7bea3d33
>> $
>>
>> so I'm not sure what is tripping it in the stream to a pipe case.
>
> Is that running under the same uid? The script you posted earlier
> runs the
> pipe under ssh root at tbh.lerctr.org.
>
> __Martin
Ooo, good point. Would csh vs. sh make a difference?
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c) E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
More information about the freebsd-fs
mailing list