[Pkg-sssd-devel] [Git][sssd-team/sssd][master] tests: Dump the daemon status after restart, hoping to see what the error is if it fails to start.

Timo Aaltonen (@tjaalton) gitlab at salsa.debian.org
Sat Apr 9 14:12:25 BST 2022



Timo Aaltonen pushed to branch master at Debian SSSD packaging / sssd


Commits:
d84f7885 by Timo Aaltonen at 2022-04-09T16:12:14+03:00
tests: Dump the daemon status after restart, hoping to see what the error is if it fails to start.

- - - - -


3 changed files:

- debian/changelog
- debian/tests/ldap-user-group-krb5-auth
- debian/tests/util


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+sssd (2.6.3-3) UNRELEASED; urgency=medium
+
+  * tests: Dump the daemon status after restart, hoping to see what the
+    error is if it fails to start.
+
+ -- Timo Aaltonen <tjaalton at debian.org>  Sat, 09 Apr 2022 16:10:52 +0300
+
 sssd (2.6.3-2) unstable; urgency=medium
 
   * rules: Disable lto.


=====================================
debian/tests/ldap-user-group-krb5-auth
=====================================
@@ -29,7 +29,7 @@ enable_pam_mkhomedir
 # tests begin here
 run_common_tests
 
-# login works with the kerneros password
+# login works with the kerberos password
 echo "The Kerberos principal can login on a terminal"
 kdestroy > /dev/null 2>&1 || /bin/true
 /usr/bin/expect -f debian/tests/login.exp "${ldap_user}" "${kerberos_principal_pw}" "${ldap_user}"@"${myrealm}"


=====================================
debian/tests/util
=====================================
@@ -143,6 +143,7 @@ ldap_search_base = ${mysuffix}
 EOF
     chmod 0600 /etc/sssd/sssd.conf
     systemctl restart sssd
+    systemctl status --lines 100 sssd
 }
 
 configure_sssd_ldap_rfc2307() {
@@ -160,6 +161,7 @@ ldap_search_base = ${mysuffix}
 EOF
     chmod 0600 /etc/sssd/sssd.conf
     systemctl restart sssd
+    systemctl status --lines 100 sssd
 }
 
 check_local_user() {



View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/commit/d84f78853be6f3f14d1950ecf103dcb4f26d9dde

-- 
View it on GitLab: https://salsa.debian.org/sssd-team/sssd/-/commit/d84f78853be6f3f14d1950ecf103dcb4f26d9dde
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-sssd-devel/attachments/20220409/87a095af/attachment-0001.htm>


More information about the Pkg-sssd-devel mailing list