=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
== Highlights == * Several more regressions caused by cache refactoring to use qualified names internally were fixed, including a regression that prevented the krb5_map_user option from working correctly. * A regression when logging in with a smart card using the GDM login manager was fixed * SSSD now removes the internal timestamp on startup cache when the persistent cache is removed. This enables admins to follow their existing workflow of just removing the persistent cache and start from a fresh slate * Several fixes to the sssd-secrets responder are present in this release * A bug in the autofs responder that prevented automounter maps from being returned when sssd_be was offline was fixed * A similar bug in the NSS responder that prevented netgroups from being returned when sssd_be was offline was fixed * Disabling the netlink integration can now be done with a new option disable_netlink. Previously, the netlink integration could be disabled with a sssd command line switch, which is being deprecated in this release. * The internal watchdog no longer kills sssd processes in case time shifts during sssd runtime * The fail over code is able to cope with concurrent SRV resolution requests better in this release * The proxy provider gained a new option proxy_max_children that allows the administrator to control the maximum number of child helper processes that authenticate users with auth_provider=proxy * The InfoPipe D-Bus responder exports the UUIDs of user and group objects through a uniqueID property
== Packaging Changes == * The private pipe directory permissions were changed from 0700 to 0750. The restrictive permissions we causing SELinux dac_override denials * The Python packages for python2 were renamed from python-package to python2-package with backwards-compatible Provides and Obsoletes * The sssd-common subpackage contains a new manual page sssd-secrets(5) * The sssd-tools subpackage explicitly Requires /sbin/service on platforms that don't support systemd in order to be able to restart sssd from the sssctl tool
== Documentation Changes == * The kill_service option that was no longer useful after we moved from in-process pings to watchdog was removed * The --disable-netlink sssd(8) command-line option was removed in favor of [sssd] section option disable_netlink * The proxy_max_children option was added. Please see the highlights section for more details. * The sssd-secrets responder gained a man page in this release. * Two new options containers_nest_level and max_secrets options were added to the sssd-secrets responder. The former allows the administrator to configure the maximum nesting level of secrets containers, the latter allows the administrator to configure the maximum number of secrets that can be stored. Please note that both option apply to the local secrets provider only. * The sssd-ldap man page didn't specify different default for user and group name LDAP attribute default for the AD provider. This documentation bug was fixed.
== Tickets Fixed == https://fedorahosted.org/sssd/ticket/2813 man page for sss_override command provides irrelevant information for --debug option https://fedorahosted.org/sssd/ticket/2841 sssd stores and returns incorrect information about empty netgroup (ldap-server: 389-ds) https://fedorahosted.org/sssd/ticket/3051 Move the diag_cmd option so that it's usable by the watchdog. https://fedorahosted.org/sssd/ticket/3052 Remove the no longer used kill_service command https://fedorahosted.org/sssd/ticket/3053 The sssd-secrets responder needs a manpage https://fedorahosted.org/sssd/ticket/3054 Create integration tests for the sssd-secrets responder https://fedorahosted.org/sssd/ticket/3056 The sssctl tool should restart the service with systemd's dbus API https://fedorahosted.org/sssd/ticket/3107 Python SSSD Config API deletes an item during iteration https://fedorahosted.org/sssd/ticket/3123 Netgroup resolution doesn't work offline https://fedorahosted.org/sssd/ticket/3125 secrets responder throws an internal error when trying to delete a non-existent secret https://fedorahosted.org/sssd/ticket/3127 SSSD qualifies principal twice in IPA-AD trust if the principal attribute doesn't exist on the AD side https://fedorahosted.org/sssd/ticket/3128 throw away the timestamp cache if re-initializing the persistent cache https://fedorahosted.org/sssd/ticket/3134 sssd is not able to authenticate with alias https://fedorahosted.org/sssd/ticket/3137 secrets: creating a secret in a container doesn't work https://fedorahosted.org/sssd/ticket/3140 autofs map resolution doesn't work offline https://fedorahosted.org/sssd/ticket/3142 expose disabling the netlink support as a sssd.conf option https://fedorahosted.org/sssd/ticket/3143 selinux avc denial for vsftp login as ipa user https://fedorahosted.org/sssd/ticket/3145 Update sssd-sudo man page to reflect native sudo support https://fedorahosted.org/sssd/ticket/3154 sssd exits if clock is adjusted backwards after boot https://fedorahosted.org/sssd/ticket/3163 resolving IPA nested user group is broken in 1.14 https://fedorahosted.org/sssd/ticket/3165 login using gdm calls for gdm-smartcard when smartcard authentication is not enabled https://fedorahosted.org/sssd/ticket/3167 SECRETS: Deleting a container that has children should fail https://fedorahosted.org/sssd/ticket/3168 secrets: Add a configurable depth limit for containers https://fedorahosted.org/sssd/ticket/3172 Access denied for user when access_provider = krb5 is set in sssd.conf https://fedorahosted.org/sssd/ticket/3173 unable to create group in sssd cache https://fedorahosted.org/sssd/ticket/3174 Clock skew makes SSSD return System Error https://fedorahosted.org/sssd/ticket/3175 sss_groupshow does not work https://fedorahosted.org/sssd/ticket/3178 unable to add local user in sssd to a group in sssd https://fedorahosted.org/sssd/ticket/3179 sss_override fails to export https://fedorahosted.org/sssd/ticket/3180 sss_cache -r option does not print error message if more than one argument is supplied https://fedorahosted.org/sssd/ticket/3181 libwbclient-sssd: update interface to version 0.13 https://fedorahosted.org/sssd/ticket/3184 sss_groupshow <user> fails with error "No such group in local domain. Printing groups only allowed in local domain" https://fedorahosted.org/sssd/ticket/3185 SSSD goes offline when the LDAP server returns sizelimit exceeded https://fedorahosted.org/sssd/ticket/3188 krb5_map_user doesn't seem effective anymore https://fedorahosted.org/sssd/ticket/3194 [RFE] Make GETSIDBYNAME and GETORIGBYNAME request aware of UPNs and aliases https://fedorahosted.org/sssd/ticket/3205 Typo In SSSD-AD Man Page https://fedorahosted.org/sssd/ticket/3207 SSSD logs error upon adding [secrets] section. https://fedorahosted.org/sssd/ticket/3212 secrets: 500 internal server error when proxy is defined but not running https://fedorahosted.org/sssd/ticket/3213 IPA: Uninitialized variable during subdomain check
== Detailed Changelog ==
Fabiano Fidêncio (24): * PROXY: Use the fqname when converting to lowercase * SYSDB: Rework sysdb_cache_connect() * SYSDB: Remove the timestamp cache for a newly created cache * SECRETS: Return ENOENT when_deleting a non-existent secret * PROXY: Remove lowercase attribute from save_user() * PROXY: Remove cache_timeout attribute from save_user() * PROXY: Remove cache_timeout attribute from save_group() * PROXY: Mention that save_user()'s parameters are already qualified * PROXY: Share common code of save_{group,user}() * BUILD: Add a few more targets for intg tests * BUILD: Clean up prerelease targets * BUILD: Fix typo in intgcheck-run rule * MONITOR: Remove leftovers from diag_cmd * MONITOR: Remove leftovers from kill_service * SECRETS: Search by the right type when checking containers * SECRETS: Don't remove a container when it has children * CONFIG: Add secrets responder to the allowed sections * CONFIG: Add secrets provider options * SECRETS: Make functions from local.c static * SECRETS: Use a tmp_context on local_db_check_containers() * SECRETS: Add a configurable depth limit for nested containers * SECRETS: Add a configurable limit of secrets that can be stored * TESTS: Remove a leftover debug message * TESTS: Fix check for py bindings in dlopen tests
Jakub Hrozek (35): * Updating the version for the 1.14.2 release * CONFIG: selinux_provider is a valid provider type * CONFIG: session_provider does not exist anymore * IPA: Parse qualified names when guessing AD user principal * MONITOR: Remove the no longer used diag_cmd command * MONITOR: Remove the no longer used kill_service command * WATCHDOG: define and use _MAX_TICKS as 3 * SECRETS: Make internal function static * SECRETS: Make reading the config options more uniform * netlink: Don't define USE_GNU * MAN: Document the ldap_user_primary_group option * TOOLS: Fix a typo in groupadd() * KRB5: Send the output username, not internal fqname to krb5_child * KRB5: Return ERR_NETWORK_IO on clock skew * LDAP: Return partial results from adminlimit exceeded * TESTS: Add integration tests for the sssd-secrets * AUTOFS: Fix offline resolution of autofs maps * NSS: Fix offline resolution of netgroups * TESTS: Test offline netgroups resolution * tests: Add a regression test for upstream ticket #3131 * MAN: sssd-secrets documentation * CONFIG: List allowed secrets responder options * SECRETS: Add DEBUG messages to the sssd-secrets provider * SECRETS: Use a better data type for ret * SECRETS: Fix a typo in function name * SECRETS: Use HTTP error code 504 when a proxy server cannot be reached * IPA: Initialize a boolean control value * tests: Add tests for sidbyname NSS operation * tests: Add tests for getorig by UPN NSS op * BUILD: Detect the path of the "service" executable * BUILD: Only search for service in /sbin and /usr/sbin * BUILD: Not having /sbin/service is not fatal * RPM: Require initscripts on non-systemd platforms * sssctl: Fix a typo in preprocessor macro * Updating the translations for the 1.14.2 release
Justin Stephenson (4): * MONITOR: Remove --disable-netlink command-line option * MONITOR: Add disable_netlink option * MAN: sssd-sudo manual update IPA native LDAP tree support * sss_cache: improve option argument handling
Lukas Slebodnik (16): * sssd_netgroup.py: Resolve nested netgroups * BUILD: Allow to read private pipes for root * SPEC: Fix typo in Summary * SYSDB: Fix uninitialized scalar variable * BUILD: Remove leftover after sysdb refactoring * PROXY: Use right name in ldap filter * SYSDB: Fix error handling in sysdb_get_user_members_recursively * DEBUG: Apend line feed to messages from libsemanage * SYSDB: Suppress warning from clang static analyser * SDAP: Fix settig paging attribute in sdap_get_generic_ext_send * Remove double semicolon at the end of line * TESTS: Add simple test for double semicolon * SSSDConfig: Do not fail with nonexisting domains/services * SPEC: Rename python packages using macro %python_provide * BUILD: intgcheck need to fail if pytest fails * CI: Remove dlopen-test from valgrind blacklist
Michal Židek (12): * TOOLS: sss_groupshow did not work * TESTS: sss_groupadd/groupshow regressions * TOOLS: use internal fqdn for DN * TESTS: Test for sss_user/groupmod -a * TOOLS: sss_mc_refresh_nested_group short/fqname usage * TESTS: Add FQDN variants for some tests * TOOLS: sss_override without name override * TEST: Add regression test for ticket #3179 * TOOLS: sss_groupshow fails to show MPG * TESTS: sss_groupshow with MPG * MAN: Typo in id mapping explanation * MAN: Wrong defaults for AD provider
Pavel Březina (7): * watchdog: cope with time shift * dyndns: fix typo and unify ipa with ad debug message when off * failover: proceed normally when no new server is found * sss_override: improve --debug description * man page: fix language in debug level description * sssctl: use systemd D-Bus API * sssctl: call service with absolute path
Petr Cech (4): * LDAP: Fixing of removing netgroup from cache * INTG: Adding support for netgroups to ldap_ent * INTG: Tests for ldap nested netgroups * PROXY: Adding proxy_max_children option
Petr Čech (5): * SYSDB: Removing of unused parameter * TESTS: Fixing of 'const' warnings in sbus tests * MAKEFILE: Fixing CFLAGS in some tests * KRB5: Fixing FQ name of user in krb5_setup() * TESTS: Adding intg. tests on nested groups
Sumit Bose (8): * sdap_initgr_nested_get_membership_diff: use fully-qualified names * p11: only set PKCS11_LOGIN_TOKEN_NAME if gdm-smartcard is used * p11: return a fully-qualified name * pam_sss: check PKCS11_LOGIN_TOKEN_NAME * PAM: call free only when memory is expected to be allocated * nss: allow UPNs in SSS_NSS_GETSIDBYNAME and SSS_NSS_GETORIGBYNAME * libwbclient-sssd: update interface to version 0.13 * LDAP: Removing of member link from group
Thomas Equeter (1): * IFP: expose user and group unique IDs through DBus
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la-krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy-common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Also, could you fix this warning: /etc/init.d/sssd[3049]: /etc/init.d/sssd uses runscript, please convert to openrc-run.
Just apply sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' src/sysv/gentoo/sssd.in
Jocke
On Thu, Oct 20, 2016 at 06:58:53AM +0000, Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la-krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy-common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Yes, these functions come from librt, if we don't link there correctly, please open a bug (I guess this happens because Gentoo is using --as-needed)
Or even better, submit a PR :)
Also, could you fix this warning: /etc/init.d/sssd[3049]: /etc/init.d/sssd uses runscript, please convert to openrc-run.
Just apply sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' src/sysv/gentoo/sssd.in
Can you open a pull request on Github with this change? See https://fedorahosted.org/sssd/wiki/GithubWorkflow on how to do that..
On (20/10/16 09:27), Jakub Hrozek wrote:
On Thu, Oct 20, 2016 at 06:58:53AM +0000, Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get:
Sorry, I had longer holiday and there were higher priority task. Fortunatelly, workaround is quite simple and you already uses it.
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la-krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy-common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Yes, these functions come from librt, if we don't link there correctly, please open a bug (I guess this happens because Gentoo is using --as-needed)
It's not cause by "--as-needed". It compiles for me with --as-needed without any problem. I assume it's caused by different CFLAGS provided by different package.
Man page for timer_* is crystall clear. It needs to be linked with -lrt. I just need to some time to find more portable way then hardcoded "-lrt" among *_CFLAGS. The ideal would be something like LIBADD_DL for "-ldl"
LS
On Thu, 2016-10-20 at 10:16 +0200, Lukas Slebodnik wrote:
On (20/10/16 09:27), Jakub Hrozek wrote:
On Thu, Oct 20, 2016 at 06:58:53AM +0000, Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get:
Sorry, I had longer holiday and there were higher priority task. Fortunatelly, workaround is quite simple and you already uses it.
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la- krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys- auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing- include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy- common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl, --as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Yes, these functions come from librt, if we don't link there correctly, please open a bug (I guess this happens because Gentoo is using --as-needed)
It's not cause by "--as-needed". It compiles for me with --as-needed without any problem. I assume it's caused by different CFLAGS provided by different package.
Man page for timer_* is crystall clear. It needs to be linked with -lrt. I just need to some time to find more portable way then hardcoded "-lrt" among *_CFLAGS. The ideal would be something like LIBADD_DL for "-ldl"
maybe someting like: libsss_util_LIBADD = -lrt or libsss_util_la_LIBADD = -lrt
?
On (20/10/16 08:44), Joakim Tjernlund wrote:
On Thu, 2016-10-20 at 10:16 +0200, Lukas Slebodnik wrote:
On (20/10/16 09:27), Jakub Hrozek wrote:
On Thu, Oct 20, 2016 at 06:58:53AM +0000, Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get:
Sorry, I had longer holiday and there were higher priority task. Fortunatelly, workaround is quite simple and you already uses it.
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la- krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys- auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing- include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy- common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl, --as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Yes, these functions come from librt, if we don't link there correctly, please open a bug (I guess this happens because Gentoo is using --as-needed)
It's not cause by "--as-needed". It compiles for me with --as-needed without any problem. I assume it's caused by different CFLAGS provided by different package.
Man page for timer_* is crystall clear. It needs to be linked with -lrt. I just need to some time to find more portable way then hardcoded "-lrt" among *_CFLAGS. The ideal would be something like LIBADD_DL for "-ldl"
Yes, it shoudl be part of linker flags and not CLFAGS.
maybe someting like: libsss_util_LIBADD = -lrt or libsss_util_la_LIBADD = -lrt
You did not get a point. "-lrt" is hardcoded string which should be detected at configure time. Some platforms needn't have librt or timer_* functions might be part of different library.
LS
On Thu, 2016-10-20 at 12:18 +0200, Lukas Slebodnik wrote:
On (20/10/16 08:44), Joakim Tjernlund wrote:
On Thu, 2016-10-20 at 10:16 +0200, Lukas Slebodnik wrote:
On (20/10/16 09:27), Jakub Hrozek wrote:
On Thu, Oct 20, 2016 at 06:58:53AM +0000, Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get:
Sorry, I had longer holiday and there were higher priority task. Fortunatelly, workaround is quite simple and you already uses it.
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la- krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys- auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys- auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast- qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing- include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy- common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl, --as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2- abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Yes, these functions come from librt, if we don't link there correctly, please open a bug (I guess this happens because Gentoo is using --as-needed)
It's not cause by "--as-needed". It compiles for me with --as-needed without any problem. I assume it's caused by different CFLAGS provided by different package.
Man page for timer_* is crystall clear. It needs to be linked with -lrt. I just need to some time to find more portable way then hardcoded "-lrt" among *_CFLAGS. The ideal would be something like LIBADD_DL for "-ldl"
Yes, it shoudl be part of linker flags and not CLFAGS.
maybe someting like: libsss_util_LIBADD = -lrt or libsss_util_la_LIBADD = -lrt
You did not get a point. "-lrt" is hardcoded string which should be detected at configure time. Some platforms needn't have librt or timer_* functions might be part of different library.
Then perhaps libsss_util_la_LIBADD = @TIMERLIB@ Then set TIMERLIB in configure as you want. You could allow an user option to override this setting too.
Jocke
On (20/10/16 06:58), Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la-krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy-common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as-needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Could you test attached patch?
Also, could you fix this warning: /etc/init.d/sssd[3049]: /etc/init.d/sssd uses runscript, please convert to openrc-run.
Just apply sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' src/sysv/gentoo/sssd.in
I would appreciate if you or gentoo maintaner provide such patch for src/sysv/gentoo/sssd.in.
LS
On Mon, 2016-11-07 at 12:08 +0100, Lukas Slebodnik wrote:
On (20/10/16 06:58), Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la- krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys- auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include- dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy- common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as- needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Could you test attached patch?
Works as expected, Tested-by: Joakim Tjernlund joakim.tjernlund@infinera.com
Jocke
On (07/11/16 15:08), Joakim Tjernlund wrote:
On Mon, 2016-11-07 at 12:08 +0100, Lukas Slebodnik wrote:
On (20/10/16 06:58), Joakim Tjernlund wrote:
On Wed, 2016-10-19 at 21:48 +0200, Jakub Hrozek wrote:
=== SSSD 1.14.2 ===
The SSSD team is proud to announce the release of version 1.14.2 of the System Security Services Daemon.
As always, the source is available from https://fedorahosted.org/sssd
RPM packages will be made available for Fedora shortly.
== Feedback == Please provide comments, bugs and other feedback via the sssd-devel or sssd-users mailing lists: https://lists.fedorahosted.org/mailman/listinfo/sssd-devel https://lists.fedorahosted.org/mailman/listinfo/sssd-users
hmm, I still get: libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC src/providers/krb5/.libs/libsss_krb5_la- krb5_init.o -Wl,-rpath -Wl,/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs -Wl,-rpath -Wl,/usr/lib64/sssd -L/var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs -Wl,--as-needed -L/usr/lib64 ./.libs/libsss_util.so -lpopt -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys- auth/sssd-1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent -ltalloc /var/tmp/portage/sys-auth/sssd- 1.14.2/work/sssd-1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so ./.libs/libsss_krb5_common.so -lkeyutils /usr/lib64/libdhash.so -lkrb5 -lk5crypto -lcom_err -O2 -Wl,-O1 -Wl,-soname -Wl,libsss_krb5.so -o .libs/libsss_krb5.so ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include- dirs -fno-strict-aliasing -std=gnu99 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-O1 -o .libs/sss_ssh_knownhostsproxy src/sss_client/sss_ssh_knownhostsproxy- common.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_client.o src/sss_client/ssh/sss_ssh_knownhostsproxy-sss_ssh_knownhostsproxy.o -Wl,-rpath -Wl,/usr/lib64 -Wl,--as- needed ./.libs/libsss_util.so -L/usr/lib64 -lldb -ldbus-1 -lpcre /usr/lib64/libini_config.so /usr/lib64/libpath_utils.so /usr/lib64/libbasicobjects.so /usr/lib64/libref_array.so /usr/lib64/libcollection.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lresolv -lsasl2 -lgnutls /usr/lib64/libgcrypt.so -lgpg-error -ltdb -lglib-2.0 /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_child.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_cert.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd-1.14.2- abi_x86_64.amd64/.libs/libsss_crypt.so ./.libs/libsss_crypt.so -lcrypto ./.libs/libsss_debug.so ./.libs/libsss_child.so -ltevent /usr/lib64/libdhash.so /var/tmp/portage/sys-auth/sssd-1.14.2/work/sssd- 1.14.2-abi_x86_64.amd64/.libs/libsss_debug.so -lpthread -ltalloc -lpopt -Wl,-rpath -Wl,/usr/lib64/sssd Makefile:11323: recipe for target 'sss_ssh_authorizedkeys' failed make[2]: *** [sss_ssh_authorizedkeys] Error 1 make[2]: *** Waiting for unfinished jobs.... ./.libs/libsss_util.so: undefined reference to `timer_settime' ./.libs/libsss_util.so: undefined reference to `timer_delete' ./.libs/libsss_util.so: undefined reference to `timer_create' collect2: error: ld returned 1 exit status Makefile:11336: recipe for target 'sss_ssh_knownhostsproxy' failed make[2]: *** [sss_ssh_knownhostsproxy] Error 1
I thought this was fixed(linking with librt that is)?
Could you test attached patch?
Works as expected, Tested-by: Joakim Tjernlund joakim.tjernlund@infinera.com
Also, could you fix this warning: /etc/init.d/sssd[3049]: /etc/init.d/sssd uses runscript, please convert to openrc-run.
Just apply sed -i 's:#!/sbin/runscript:#!/sbin/openrc-run:' src/sysv/gentoo/sssd.in
I would appreciate if you or gentoo maintaner provide such patch for src/sysv/gentoo/sssd.in.
And feel free to send a patch for this issue.
LS
sssd-users@lists.fedorahosted.org