Issue #18026 has been updated by Andrew Parker.

Status changed from In Topic Branch Pending Review to Merged - Pending Release

Merged in 
<https://github.com/puppetlabs/puppet/commit/70267d4ff62a421cf515bac4920b50e546ad9f64>
----------------------------------------
Bug #18026: SELinux warnings when using ensure => absent on file
https://projects.puppetlabs.com/issues/18026#change-81322

Author: Malcolm Howe
Status: Merged - Pending Release
Priority: Normal
Assignee: eric sorenson
Category: SELinux
Target version: 3.1.0
Affected Puppet version: 3.0.2
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1396


When using, for example,  

    file {"/etc/exclude.systemdump": ensure => absent  }

If the file is already absent Puppet 3.0.2rc1 gives the following warnings not 
seen in Puppet 3.0.1

    Warning: /File[/etc/exclude.systemdump]/seluser: Could not stat; No such 
file or directory - /etc/exclude.systemdump
    Warning: /File[/etc/exclude.systemdump]/selrole: Could not stat; No such 
file or directory - /etc/exclude.systemdump
    Warning: /File[/etc/exclude.systemdump]/seltype: Could not stat; No such 
file or directory - /etc/exclude.systemdump
    Warning: /File[/etc/exclude.systemdump]/selrange: Could not stat; No such 
file or directory - /etc/exclude.systemdump

System is running Centos 6 with SELinux in permissive mode.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to