Jira (FACT-1992) autofs mountpoints being mounted by facter

0 views
Skip to first unread message

Fabrizio Lungo (JIRA)

unread,
Aug 16, 2019, 10:05:03 AM8/16/19
to puppe...@googlegroups.com
Fabrizio Lungo created an issue
 
Facter / Bug FACT-1992
autofs mountpoints being mounted by facter
Issue Type: Bug Bug
Affects Versions: FACT 3.11.9
Assignee: Unassigned
Created: 2019/08/16 7:04 AM
Priority: Major Major
Reporter: Fabrizio Lungo
Original Estimate: 1 hour
Remaining Estimate: 1 hour

After updating to facter 3.11.9 we started experiencing issues caused by the regular mounting and unmounting of automount filesystems. We traced the cause back to facter and found that it was triggering a mount of . This seems to be related to the change made in FACT-1910 (0f0d8f4df70f886ec7ae86f65a24909a4f20b0f7/lib/src/facts/linux/filesystem_resolver.cc). The auto mount is triggered by stating the mount dir to get the size and available space.

Skipping non-physical mountpoints was a good catch all of a lot of synthetic filesystems which could introduce other problems problems and so it seems it will now be required to maintain a list of mount types to ignore.

The change should be reverted, autofs should be added as a skipped mtype (as with tempfs) or you should not stat autofs mountpoints.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Mihai Buzgau (JIRA)

unread,
Aug 20, 2019, 9:53:03 AM8/20/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage

Mihai Buzgau (JIRA)

unread,
Aug 20, 2019, 9:59:03 AM8/20/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Night's Watch

Mihai Buzgau (JIRA)

unread,
Sep 4, 2019, 5:54:03 AM9/4/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR NW - Triage 2019-09-18

Mihai Buzgau (JIRA)

unread,
Sep 4, 2019, 7:38:04 AM9/4/19
to puppe...@googlegroups.com

Gabriel Nagy (JIRA)

unread,
Sep 6, 2019, 5:55:04 AM9/6/19
to puppe...@googlegroups.com
Gabriel Nagy assigned an issue to Gabriel Nagy
Change By: Gabriel Nagy
Assignee: Gabriel Nagy

Gabriel Nagy (JIRA)

unread,
Sep 13, 2019, 6:48:06 AM9/13/19
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Release Notes Summary: When Facter stats a mountpoint to get the size and available space, it causes mountpoints of type {{autofs}} to be automatically mounted, which is not the intended behavior.

Automounts are now skipped by Facter when resolving mountpoints.
Release Notes: Bug Fix

Gabriel Nagy (JIRA)

unread,
Sep 13, 2019, 6:51:03 AM9/13/19
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.13.z
Fix Version/s: FACT 3.11.z

Jean Bond (JIRA)

unread,
Oct 10, 2019, 1:27:05 PM10/10/19
to puppe...@googlegroups.com
Jean Bond updated an issue
Change By: Jean Bond
Labels: resolved-issue-added

Jean Bond (JIRA)

unread,
Oct 10, 2019, 1:28:02 PM10/10/19
to puppe...@googlegroups.com
Jean Bond commented on Bug FACT-1992
 
Re: autofs mountpoints being mounted by facter

Gabriel Nagy, this went into Facter 3.14.5 as well, didn't it?

Gabriel Nagy (JIRA)

unread,
Oct 10, 2019, 1:32:03 PM10/10/19
to puppe...@googlegroups.com

Gabriel Nagy (JIRA)

unread,
Oct 10, 2019, 1:33:03 PM10/10/19
to puppe...@googlegroups.com
Gabriel Nagy commented on Bug FACT-1992

Also 3.13.4 and 3.11.10 from the looks of the commit

Jean Bond (JIRA)

unread,
Oct 10, 2019, 2:48:02 PM10/10/19
to puppe...@googlegroups.com
Jean Bond commented on Bug FACT-1992

Oh, good, thank you Gabriel Nagy! I thought that's what the .z fixversions referred to, but with a .z version, I'm never sure.

Mihai Buzgau (JIRA)

unread,
Oct 11, 2019, 3:47:03 AM10/11/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Fix Version/s: FACT 3.13.4

Mihai Buzgau (JIRA)

unread,
Oct 11, 2019, 3:48:03 AM10/11/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 3.11.10

Mihai Buzgau (JIRA)

unread,
Oct 11, 2019, 3:50:03 AM10/11/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Fix Version/s: FACT 3.13.z
Fix Version/s: FACT 3.11.z

Gabriel Nagy (JIRA)

unread,
Oct 11, 2019, 3:52:03 AM10/11/19
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: FACT 3.14.5
Reply all
Reply to author
Forward
0 new messages