Jira (PUP-10970) Mount Resources not Completely Verified or Enforced

4 views
Skip to first unread message

Diuslkd Diusdhf (Jira)

unread,
Mar 19, 2021, 9:18:05 AM3/19/21
to puppe...@googlegroups.com
Diuslkd Diusdhf created an issue
 
Puppet / Bug PUP-10970
Mount Resources not Completely Verified or Enforced
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/03/19 6:17 AM
Priority: Normal Normal
Reporter: Diuslkd Diusdhf

Puppet Version: 6.17
Puppet Server Version: 2019.8.0
OS Name/Version: RHEL 7

When Puppet checks for managed mount resources it only computes how the line should exist in /etc/fstab and then confirms such a line exists in /etc/fstab. If the lines do not match, it deletes the erroneous line and inserts the correct line. It then attempts to unmount and remount that mount. On subsequent runs (after the /etc/fstab entry has been corrected) it does not actually verify the mount is active with options specified in /etc/fstab.

Someone could remount something from /etc/fstab that is managed by Puppet with whatever options they want, and Puppet won't report or correct it because it only checks what the line should be in /etc/fstab and not the options of the active mount.

Desired Behavior:
Puppet should confirm/correct both the managed /etc/fstab entry and the active mount options.

Actual Behavior:

Puppet only confirms/corrects the managed /etc/fstab entry, it does not confirm/correct active mount options.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
Mar 19, 2021, 9:28:03 AM3/19/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages