[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird errors
From: |
Danny Milosavljevic |
Subject: |
Re: weird errors |
Date: |
Sun, 14 Jan 2018 11:57:34 +0100 |
On Sun, 14 Jan 2018 11:43:46 +0100
Danny Milosavljevic <address@hidden> wrote:
> Hi Catonano,
>
> On Sun, 14 Jan 2018 08:21:10 +0100
> Catonano <address@hidden> wrote:
>
> > the line is supposed to be like
> >
> > TRYTOPASSILE = /path/to/some/passfile trytond-admin -c
> > trytond-conf-file.conf
> >
> > that is
> >
> > TRYTOPASSILE = /gnu/store/some-hash-passfile
> > /gnu/store/some-hash-trytond-admin -c
> > /gnu/stor/some-hash-trytond-conf-file.conf
>
> That only works with a shell - and the spaces marked below break it:
>
> TRYTOPASSILE = /gnu/store/some-hash-passfile
> ^ ^
>
> You'd need to remove those. But even better instead do the following:
>
Fixed typo:
I'd just call (setenv "TRYTOPASSILE" "/gnu/store/some-hash-passfile") instead
of starting a whole shell (it's a waste and increases the attack surface for no
reason to use a shell here).
> > The problem seesm to be that a call to some .trytond-admin-real can't be
> > satisfied
>
> I don't think so. Did you check via "ls -a" ? (files whose names start with
> a dot are otherwise hidden from output)
- weird errors, Catonano, 2018/01/13
- Re: weird errors, Ludovic Courtès, 2018/01/13
- Re: weird errors, Catonano, 2018/01/22
- Re: weird errors, Danny Milosavljevic, 2018/01/22
- Re: weird errors, Catonano, 2018/01/22
- Re: weird errors, Danny Milosavljevic, 2018/01/22