[horde] PEAR base horde directory change?
vilius at lnk.lt
Thu Jan 26 16:04:57 UTC 2017
> On 2017/01/25 4:06 PM, Vilius Sumskas/LNK wrote:
> >> On 2017/01/25 1:22 PM, Erling Preben Hansen wrote:
> >>> Citat af Nels Lindquist <nlindq at maei.ca>:
> >>> sometimes if multipli users have access to pear it is importent to
> >>> the same user every time.
> >> Certainly. For one of the above-mentioned systems, though, I am the
> >> only one with access. And I definitely haven't changed the horde_dir
> >> value myself.
> > Search for .pearrc file. PEAR configuration is per-user based by
> > (see "pear help config-set"). Your issue could happen in cases where:
> > 1) initial Horde install was done with one user, but update with
> > (like cron script)
> > 2) initial Horde install was performed using sudo, but update was done
> > with "root" user (or vice versa)
> > 3) user's .pearrc file was deleted during home directory/temporary
> > directory cleanup
> > I think there was a bug ticket somewhere where I suggested to change
> > Horde_Role to use "config-set system", but I'm not sure if it ever was
> > implemented.
> Okay, the only .pearrc file is in root's home directory (there are a
> very small number of users, and locate database is up to date).
> Root's ~/.pearrc file contains:
> And yet running pear "config-get horde_dir" still produces:
> Seems like the .pearrc file is being ignored?
> "strace pear config-get horde_dir" shows that /root/.pearrc is being
> accessed, but it doesn't appear to be loading the value.
I should have probably mentioned that these settings are also per-channel
based. You probably need "pear config-get -c horde horde_dir".
More information about the horde