Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646932 - sys-cluster/heartbeat - systemd[1]: /lib/systemd/system/heartbeat.service:23: Executable path is not absolute: ${exec_prefix}/libexec/heartbeat/heartbeat -f
Summary: sys-cluster/heartbeat - systemd[1]: /lib/systemd/system/heartbeat.service:23:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-09
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-02-07 20:16 UTC by Dan Goodliffe
Modified: 2020-10-09 07:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log up to and including configure phase (build.log,26.82 KB, text/plain)
2018-02-07 20:16 UTC, Dan Goodliffe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Goodliffe 2018-02-07 20:16:08 UTC
Created attachment 518506 [details]
build.log up to and including configure phase

As per summary, the systemd unit file installed at:
/lib/systemd/system/heartbeat.service

Contains the following two lines:
ExecStart=${exec_prefix}/libexec/heartbeat/heartbeat -f
ExecStop=${exec_prefix}/libexec/heartbeat/heartbeat -k

Which causes the following error when attempting to start the service:
Feb 02 15:07:12 firebrand systemd[1]: /lib/systemd/system/heartbeat.service:23: Executable path is not absolute: ${exec_prefix}/libexec/heartbeat/heartbeat -f

Manually changing them to:
ExecStart=/usr/libexec/heartbeat/heartbeat -f
ExecStop=/usr/libexec/heartbeat/heartbeat -k
Resolves the problem.

The file is created by configure, replacing @HA_DAEMON_DIR@ with ${exec_prefix}
How and why is beyond my configure fu.



firebrand ~ # emerge --info
Portage 2.3.24 (python 3.5.4-final-0, hardened/linux/amd64/no-multilib, gcc-7.3.0, glibc-2.26-r5, 4.9.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-6400_CPU_@_2.70GHz-with-gentoo-2.4.1
KiB Mem:    16113460 total,   4597024 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 07 Feb 2018 19:26:10 +0000
Head commit of repository gentoo: cfd90a5f48b1614b4b867f64b15c04ca6b48e608

Head commit of repository RandomLAN: 92c901c1b6fd83039337323bb90bba7f142bcc9b

sh bash 4.4_p18
ld GNU ld (Gentoo 2.30 p1) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p18::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

RandomLAN
    location: /var/lib/layman/RandomLAN
    sync-type: git
    sync-uri: https://git.randomdan.homeip.net/git/portage
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--changed-deps"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://portage.random.lan http://sys.randomdan.homeip.net/"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 apache2 autoservicerestart autoupdate bash-completion berkdb btrfs bzip2 c++0x caps cli cron crypt cxx device-mapper dri exiscan-acl extras fam firmware fontconfig fpm fuse git graphviz hardened hpn http2 iconv icu ipv6 ithreads jit jpeg json ldap logrotate lvmboot lvmroot lzma maildir mdadm modperl modules mp3 mysql ncurses nls nohourlyupdate nptl nscd ocfs2 offensive pam pcre pcre-jit pcre16 pcre32 pdo pie png postgres proxy readline seccomp smp ssl ssp symlink syslog system-jsoncpp systemd threads tinfo truetype unicode urandom uuid vim-syntax xattr xml xtpax xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="alias headers filter authz_core auth_basic authz_user authn_core unixd authz_host cgid mime_magic mime autoindex vhost_alias dav dir deflate log_config env rewrite cache socache_shmcb cache_disk status expires http2 proxy proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 07:36:48 UTC
Package removed.