Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1948

Selboolean provider has a bug: private method `split' called for nil:NilClass

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • PUP 3.4.3
    • None
    • Types and Providers
    • Linux virtual-rhel 2.6.32-431.1.2.el6.x86_64 #1 SMP Sun Nov 24 09:37:37 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
      puppet-3.4.3-1.el6.noarch
      facter-1.7.5-1.el6.x86_64

    Description

      If for some reason setsebool command takes too long to execute it is killed and following error appears in Puppet log:

      sh: line 1:  5597 Killed                  /usr/sbin/setsebool -P rsync_export_all_ro on 2>&1
      Error: private method `split' called for nil:NilClass
      Error: /Stage[main]/Main/Selboolean[rsync_export_all_ro]/value: change from off to on failed: private method `split' called for nil:NilClass
      

      Puppet should process the exception above and give reasonable error message. Even better would be to have timeout parameter for selboolean resource.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jirauser12071 user-03e0f (Inactive)
              Narmadha Perumal Narmadha Perumal
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support