pcp
[Top] [All Lists]

Re: [pcp] systemctl issue for QA on openSuSE 12.1

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] systemctl issue for QA on openSuSE 12.1
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 3 Sep 2014 21:01:20 -0400 (EDT)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1999821436.43617708.1409788942661.JavaMail.zimbra@xxxxxxxxxx>
References: <54079C6B.9060901@xxxxxxxxxxxxxxxx> <1677609058.43609677.1409787232939.JavaMail.zimbra@xxxxxxxxxx> <5407AB2E.9080908@xxxxxxxxxxxxxxxx> <1999821436.43617708.1409788942661.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: IzaH3IwYQn6MqdI0/wBgZ2mhd8mZF9SmKo/I
Thread-topic: systemctl issue for QA on openSuSE 12.1
Hi Ken,

----- Original Message -----
> [...]
> Can you do a check build with "./Makepkgs --without-systemd" for
> this host, and then check QA?  I'll go have a look at the configure
> script to see how this became enabled with no unitdir path.

Hmm, I'm not able to trace how this happened.  We should be going
through the configure/m4 code snippet below, going via the I-have-
no-pcp_systemdunit_dir path, and arriving at enable_systemd=false,
as planned...


dnl Check for systemd services
enable_systemd=false
AS_IF([test "x$do_systemd" != "xno"], [
    enable_systemd=true

    PKG_CHECK_VAR([SYSTEMD_SYSTEMUNITDIR], [systemd], [systemdsystemunitdir],
        [pcp_systemdunit_dir=$SYSTEMD_SYSTEMUNITDIR], [enable_systemd=false])
    AC_SUBST(pcp_systemdunit_dir)
    if test -z "$pcp_systemdunit_dir"
    then
        if test "$do_systemd" = "yes"
        then
            AC_MSG_ERROR(cannot enable systemd support - no systemunitdir path)
        fi
        enable_systemd=false
    fi
])
AC_SUBST(enable_systemd)


Can you send the values of PCP_SYSTEMDUNIT_DIR (from pcp.conf) and
ENABLE_SYSTEMD (from builddefs) that we ended up with on this box?

thanks!

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>