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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: PUP 3.4.3
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
    • Environment:

      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

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mmagr Martin Mágr
                  QA Contact:
                  Narmadha Perumal
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: