Issue #21168 has been reported by Stefan Schulte.

----------------------------------------
Bug #21168: mount property "pass" should default to "-" on Solaris
https://projects.puppetlabs.com/issues/21168

* Author: Stefan Schulte
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: mount
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The default value of the pass property is currenty "0" on all operating 
systems. Unfortunately a value of zero has different meanings on Solaris and 
non-Solaris systems

On Linux (man fstab)

    If the sixth field is not present or
    zero, a value of zero is returned and fsck will assume that the
    filesystem does not need to be checked.

On Solaris (http://docs.oracle.com/cd/E19455-01/805-7228/6j6q7uev3/index.html)

    The pass number used by fsck to determine whether to check a file system.
    When the field contains a dash (-), the file system is not checked. When
    the field contains a value of 1 or more, the file system is checked; non-UFS
    file systems with a 0 fsck pass are checked. For UFS file systems only, when
    the field contains a 0, the file system is not checked.

Every example `/etc/vfstab` file I can find uses `-` for the `pass` field 
(http://docs.oracle.com/cd/E19455-01/805-7228/6j6q7uev3/index.html). This is 
especially true for NFS shares so I think we should default the `pass` property 
to `-` on Solaris and keep the default of `0` on other systems.


-- 
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.


Reply via email to