URL: https://github.com/SSSD/sssd/pull/5684 Title: #5684: src/conf_macros.m4: set default value /run for pidpath
pbrezina commented: """ Hi, we have `runstatedir` that could be used here:
``` $ git grep runstatedir Makefile.am:runstatedir = @runstatedir@ Makefile.am: -DSSS_SEC_SOCKET_NAME="$(runstatedir)/secrets.socket" \ Makefile.am: -e 's|@runstatedir[@]|$(runstatedir)|g' \ contrib/sssd.spec.in:%make_build all docs runstatedir=%{_rundir} src/conf_macros.m4: if test x"$runstatedir" = x; then src/conf_macros.m4: AC_SUBST([runstatedir], src/sysv/systemd/sssd-kcm.socket.in:ListenStream=@runstatedir@/.heim_org.h5l.kcm-socket src/sysv/systemd/sssd-secrets.socket.in:ListenStream=@runstatedir@/secrets.socket src/tests/intg/Makefile.am: $(MKDIR_P) $(DESTDIR)$(runstatedir)/dbus src/tests/intg/Makefile.am: $(SED) -e "s!@runstatedir[@]!$(runstatedir)!" \ src/tests/intg/Makefile.am: -D "runstatedir=`$(runstatedir)'" \ src/tests/intg/Makefile.am: DBUS_SOCK_DIR="$(DESTDIR)$(runstatedir)/dbus/" \ src/tests/intg/config.py.m4:RUNSTATEDIR = "runstatedir" src/tests/intg/data/cwrap-dbus-system.conf.in: <pidfile>@runstatedir@/dbus/messagebus.pid</pidfile> src/tests/intg/data/cwrap-dbus-system.conf.in: <listen>unix:path=@runstatedir@/dbus/system_bus_socket</listen> ``` """
See the full comment at https://github.com/SSSD/sssd/pull/5684#issuecomment-863110532