Oleg Bartunov wrote:
>
> Hi,
>
> I had a request from bulgarian user of postgres. He complained
> about non-working locale. His system is MANDRAKE 7.0 which comes
> with postgres 6.5.3 I believe. After several messages we found
> that problem was in startup script /etc/init.d/rc3.d
> su -l postgres -c 'postmaster .......'
> The problem was '-l', after removing it all problems were solved !
?!?!?!? Do something for me: add a couple of lines in
/etc/rc.d/init.d/postgresql after the postmaster start:
su -l postgres -c 'set >/var/lib/pgsql/envvars-l.lst'
su postgres -c 'set >/var/lib/pgsql/envvaqrs-no-l.lst'
And e-mail me the two '*.lst' files out of /var/lib/pgsql.
> I'm not an expert in su, at least I don't know what '-l' is supposed
>From man su:
SU(1) FSF SU(1)
NAME su - run a shell with substitute user and group IDs
SYNOPSIS su [OPTION]... [-] [USER [ARG]...]
DESCRIPTION Change the effective user id and group id to that of USER.
-, -l, --login make the shell a login shell
......
> for, but it's worth to describe the problem and let people from
> MANDRAKE to know.
The same problem should manifest itself in RedHat, which is what I build
the RPM's for. Mandrake has been taking the RedHat RPM's and using
them, with modifications, up till now, so, if I fix this in the RedHat
RPM's, the Mandrake RPM's will follow from Mandrake shortly.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11