[Freeipa-devel] [PATCH] fix configure/makefile

Simo Sorce ssorce at redhat.com
Fri Mar 13 13:49:20 UTC 2009


On Fri, 2009-03-13 at 09:40 -0400, Stephen Gallagher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Simo Sorce wrote:
> > On Fri, 2009-03-13 at 07:34 -0400, Stephen Gallagher wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Simo Sorce wrote:
> >>> We were setting absolute paths in conf_macros.m4 that's bad.
> >>>
> >>> Simo.
> > 
> >> Nack. If you don't pass a value for the --with-* macros, the defaults in
> >> config.h are unusable.
> > 
> > Care to explain?
> > Seem to work fine for me.
> > 
> > Simo.
> > 
> 
> ./autogen && ./configure && make && sudo make install
> 
> sudo /usr/local/sbin/sssd
> [sssd] [server_setup] (0): ERROR: PID File reports daemon already running!
> 
> Reason: config.h has:
> #define PID_PATH ""VARDIR"/run"
> 
> PIPE_PATH, DATA_PROVIDER_PLUGIN_PATH, DB_PATH all have the same problem.

And where would be the problem ?

VARDIR is passed to make with -D so it should resolve properly.

The error is probably somewhere else, I guess we do not attempt to
create PID_PATH on installation (which should be /usr/local/var/run in
your case. Therefore creating a pid fails.
And we also fail to report exactly what is happening when we try to
create the pid.

Can you create the PID_PATH and see if that helps ? Meanwhile I will
make a patch to report better what error we saw in pidfile()

Simo.




-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list