Issue #19053 has been reported by Elliot Schlegelmilch.
----------------------------------------
Bug #19053: Bad mount line from when including selinux context
https://projects.puppetlabs.com/issues/19053
Author: Elliot Schlegelmilch
Status: Unreviewed
Priority: Normal
Assignee:
Category: mount
Target version:
Affected Puppet version: 2.6.17
Keywords: selinux, mount, context
Branch:
# puppet apply -v
mount { '/var/www/my.example.edu':
ensure => 'mounted',
atboot => 'true',
device => 'arvak.oit.example.edu:/disk/drupal01/my.example.edu',
options => 'context=system_u:object_r:httpd_sys_rw_content_t:s0',
fstype => 'nfs',
}
info: Loading facts in commvault_installed
info: Loading facts in rhn_registered
info: Loading facts in puppet_vardir
info: Loading facts in root_home
info: Loading facts in meminbytes
info: Loading facts in facter_dot_d
info: Applying configuration version '1360021098'
notice: /Stage[main]//Mount[/var/www/my.example.edu]/ensure: ensure changed
'unmounted' to 'mounted'
err: /Stage[main]//Mount[/var/www/my.example.edu]: Could not evaluate:
Execution of '/bin/mount -o context=system_u:object_r:httpd_sys_rw_content_t:s0
/var/www/my.example.edu' returned 32: mount.nfs: an incorrect mount option was
specified
notice: Finished catalog run in 0.20 seconds
What happened to the NFS Server?
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.