Skip to content

Commit f46b652

Browse files
authored
Merge pull request #108 from dkarpukhin/master
Fix error "invalid cross-device link" for porto journal.
2 parents b446c2a + 63c83cb commit f46b652

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
cocaine-isolate-daemon (0.1.7.6) unstable; urgency=low
2+
3+
* bugfix(porto): use same dir for tmp journal to prevent "invalid cross-device link" error
4+
5+
-- Dmitriy Karpukhin <kdmitriy@yandex-team.ru> Tue, 30 Aug 2016 16:10:00 +0300
6+
17
cocaine-isolate-daemon (0.1.7.5) unstable; urgency=low
28

39
* bugfix(porto): use right layers oreder according the Scheme

isolate/porto/box.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func (b *Box) dumpJournalEvery(ctx context.Context, every time.Duration) {
212212

213213
func (b *Box) dumpJournal(ctx context.Context) (err error) {
214214
defer apexctx.GetLogger(ctx).Trace("dump journal").Stop(&err)
215-
tempfile, err := ioutil.TempFile("", "portojournalbak")
215+
tempfile, err := ioutil.TempFile(filepath.Dir(b.config.Journal), "portojournalbak")
216216
if err != nil {
217217
return err
218218
}

0 commit comments

Comments
 (0)