Skip to content

Default config uses "/etcpimd.conf" instead of "/etc/pimd.conf" #55

Closed
@amluto

Description

This bit in Makefile is probably the culprit.

sysconfdir   ?= /etc
[...]
CPPFLAGS     += -D_PATH_SYSCONF=\"$(sysconfdir)\"

Compare to pathnames.h:

#ifndef _PATH_SYSCONF
#define _PATH_SYSCONF           "/etc/"
#endif

#define _PATH_PIMD_CONF         _PATH_SYSCONF "pimd.conf"

Note that explicitly setting --sysconfdir=/etc works fine:

        sysconfdir)
            echo "sysconfdir    = $arg/" >> $TMP
            ;;

On a related note, "sysconfidir" in the configure help text is a typo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions