SSSD failed to start with error could not stat file [/etc/resolv.conf]. Error [13:Permission denied]

Solution Verified - Updated -

Issue

  • Unable to start sssd with selinux enforcing mode.
  • Could not stat file [/etc/resolv.conf]. Error [13:Permission denied].
(Thu Sep  5 13:33:44 2019) [sssd] [snotify_watch] (0x2000): Opened inotify fd 0
(Thu Sep  5 13:33:44 2019) [sssd] [snotify_watch] (0x0080): inotify_add_watch failed [13]: Permission denied
(Thu Sep  5 13:33:44 2019) [sssd] [watch_ctx_destructor] (0x2000): Closing inotify fd 0
(Thu Sep  5 13:33:44 2019) [sssd] [monitor_config_file] (0x0080): Falling back to polling
(Thu Sep  5 13:33:44 2019) [sssd] [monitor_config_file_fallback] (0x0010): Could not stat file [/etc/resolv.conf]. Error [13:Permission denied]
  • realm/net ads join fails.

Environment

  • Red Hat Enterprise Linux 7
  • sssd
  • Active Directory

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content