S3Sync.net
February 02, 2014, 01:19:59 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Report Bugs
>
Closed Bugs
>
Crash trying to copy /dev/zero
Pages: [
1
]
« previous
next »
Print
Author
Topic: Crash trying to copy /dev/zero (Read 5291 times)
bbrown
Newbie
Posts: 5
Crash trying to copy /dev/zero
«
on:
April 29, 2007, 01:45:24 PM »
I'm using s3sync to back up my /var partition. One of the files included is /var/named/chroot/dev/zero. s3sync crashes with this error:
Create node named/chroot/dev/zero
/usr/lib/ruby/1.8/delegate.rb:158:in `method_missing': undefined method `length' for nil:S3sync::ProgressStream (NoMethodError)
from /usr/lib/ruby/1.8/net/http.rb:1507:in `send_request_with_body'
from /usr/lib/ruby/1.8/net/http.rb:1496:in `exec'
from /usr/lib/ruby/1.8/net/http.rb:1044:in `_HTTPStremaing_request'
from ./HTTPStreaming.rb:45:in `request'
from ./S3_s3sync_mod.rb:50:in `make_request'
from ./S3.rb:152:in `put'
from ./s3try.rb:57:in `S3try'
from ./s3sync.rb:499:in `updateFrom'
from ./s3sync.rb:370:in `main'
from ./s3sync.rb:690
I could add it to my exclude list, but s3sync ought to handle this situation.
Logged
lowflyinghawk
Jr. Member
Posts: 52
Re: Crash trying to copy /dev/zero
«
Reply #1 on:
April 29, 2007, 04:09:40 PM »
I deal with this by checking File.ftype; if it isn't "file", "directory" or "link" I skip it as unsupported. obviously it would take a while to archive /dev/zero, and then there *is* the issue of the length...
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Crash trying to copy /dev/zero
«
Reply #2 on:
April 29, 2007, 06:03:35 PM »
I think the changes I made for --progress caused a lot of the error conditions I catch to be converted into "method_missing" errors.. thereby making a bunch of previously solved things happen again.
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Crash trying to copy /dev/zero
«
Reply #3 on:
June 03, 2007, 12:05:30 AM »
should be fixed in 1.1.3
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...