Skip to content

sssd service reload not supported on Centos 7 #43

Description

@carguel

The following error occurs with release 2.0.1:


           - execute /bin/cat /etc/authconfig/arguments | /usr/bin/xargs /usr/sbin/authconfig --updateall
       [2017-03-25T17:52:22+00:00] INFO: template[/etc/authconfig/arguments] sending reload action to service[sssd] (immediate)
         * service[sssd] action reload[2017-03-25T17:52:22+00:00] INFO: Processing service[sssd] action reload (authconfig::default line 170)


           ================================================================================
           Error executing action `reload` on resource 'service[sssd]'
           ================================================================================

           Mixlib::ShellOut::ShellCommandFailed
           ------------------------------------
           Expected process to exit with [0], but received '3'
           ---- Begin output of /bin/systemctl --system reload sssd ----
           STDOUT:
           STDERR: Failed to reload sssd.service: Job type reload is not applicable for unit sssd.service.
           ---- End output of /bin/systemctl --system reload sssd ----
           Ran /bin/systemctl --system reload sssd returned 3

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/authconfig/recipes/default.rb

           170: service "sssd" do
           171:   supports :status => true, :restart => true, :reload => true
           172:   # Avoid starting or restarting sssd if disabled,
           173:   # especially when kerberos is enabled, and ldap not
           174:   restart_command "/sbin/chkconfig sssd --list | grep -v :on || /sbin/service sssd restart"
           175:   start_command "/sbin/chkconfig sssd --list | grep -v :on || /sbin/service sssd start"
           176:   action :nothing
           177: end
           178:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions