bionic verification With package from proposed: *** 1.16.1-1ubuntu1.6 500 500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
a) inotify test Since I have the proposed package, logs show sssd is monitoring the symlink's target: (Tue Jun 2 14:39:32 2020) [sssd] [_snotify_create] (0x0400): Added a watch for /etc/resolv.conf.target with inotify flags 0x8D88 internal flags 0x1 using function resolv_conf_inotify_cb after delay 1.0 Domain is offline as expected: root@bionic-sssd-1723350:~# sssctl domain-status LDAP Online status: Offline Active servers: LDAP: not connected Discovered LDAP servers: - ldap01.example.com root@bionic-sssd-1723350:~# After unbreaking the symlink, logs show sssd picked the change up: (Tue Jun 2 14:40:17 2020) [sssd] [process_dir_event] (0x0400): received notification for watched file [resolv.conf.target] under /etc And the domain is now online: root@bionic-sssd-1723350:~# sssctl domain-status LDAP Online status: Online Active servers: LDAP: ldap01.example.com Discovered LDAP servers: - ldap01.example.com b) polling test After restarting with the proposed sssd package, I see it detected /etc/resolv.conf is broken, and since it's not using inotify, it starts the polling: (Tue Jun 2 14:44:59 2020) [sssd] [monitor_config_file_fallback] (0x0020): file [/etc/resolv.conf] is missing. Will try again later. (Tue Jun 2 14:45:09 2020) [sssd] [monitor_config_file_fallback] (0x0020): file [/etc/resolv.conf] is missing. Will try again later. ... sssctl shows domain is offline, as expected: root@bionic-sssd-1723350:~# sssctl domain-status LDAP Online status: Offline Active servers: LDAP: not connected Discovered LDAP servers: - ldap01.example.com After unbreaking the symlink and waiting a few seconds, sssd picks the change up: (Tue Jun 2 14:45:49 2020) [sssd] [monitor_config_file_fallback] (0x0020): file [/etc/resolv.conf] is missing. Will try again later. (Tue Jun 2 14:45:59 2020) [sssd] [signal_res_init] (0x0040): Reloading Resolv.conf. And the domain is now online: root@bionic-sssd-1723350:~# sssctl domain-status LDAP Online status: Online Active servers: LDAP: ldap01.example.com Discovered LDAP servers: - ldap01.example.com bionic verification successful. ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1723350 Title: sssd offline on boot, stays offline forever To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1723350/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs