duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] current directory


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] current directory
Date: Wed, 15 Feb 2017 07:18:51 -0600

We can try to make it foolproof, but the universe keeps making better fools.  🙂

Some people mount the cache to remote.  I'd go with a cd to our tempdir.  The real solution is to find a hard location that the user can't remove during execution, cd, and make an exec syscall to start over.

Seems a bit complex to solve what is essentially a pilot error.

...Ken


On Wed, Feb 15, 2017 at 7:08 AM, <address@hidden> wrote:
Ken,

so you'd rather keep it as is and oppose to adding a chdir as a precaution? or not?

..ee/duply.net

On 15.02.2017 13:44, Kenneth Loafman wrote:
> In my experience, just starting in a transient directory can cause problems, mounted or static.  A cd at that point might help, but no guarantees, and really no good way to test it.
>
> For me, problems occurred mostly when trying to exit or kill a Python program after its cwd had gone away.
>
> ...Ken
>
>
> On Wed, Feb 15, 2017 at 6:28 AM, <address@hidden <mailto:address@hidden>> wrote:
>
>     he's probably aware of the workaround. any reason for us not to chdir into say, archive dir?
>
>     ..ede/duply.net <http://duply.net>
>
>     On 15.02.2017 13:23, Kenneth Loafman wrote:
>     > This is probably not in duplicity, but in Python itself.  I've had other Python programs get 'wobbly' when the cwd is in a directory that disappears, especially if the cwd is mounted.  Try running from home or tmp.
>     >
>     > ...Ken
>     >
>     >
>     > On Wed, Feb 15, 2017 at 5:25 AM, edgar.soldin--- via Duplicity-talk <address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>> wrote:
>     >
>     >     i don't see any.
>     >
>     >     ..ede/duply.net <http://duply.net> <http://duply.net>
>     >
>     >     On 15.02.2017 12:20, Dirk-Willem van Gulik via Duplicity-talk wrote:
>     >     > Duplicity throws a wobbly when the `cwd’ it was started from disappears prior or during runtime.
>     >     >
>     >     > Any reason why it could not ‘cd’ into its own DB or temp dir ?
>     >     >
>     >     > Dw.
>     >     >
>     >     >
>     >     > _______________________________________________
>     >     > Duplicity-talk mailing list
>     >     > address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>
>     >     > https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>
>     >     >
>     >
>     >     _______________________________________________
>     >     Duplicity-talk mailing list
>     >     address@hidden <mailto:address@hiddenorg> <mailto:address@hiddenorg <mailto:address@hiddenorg>>
>     >     https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk> <https://lists.nongnu.org/mailman/listinfo/duplicity-talk <https://lists.nongnu.org/mailman/listinfo/duplicity-talk>>
>     >
>     >
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]