Jira (FACT-1964) Facter retrive the first mountpoint when multiple mountpoints are mounted to the same directory

瀏覽次數:0 次
跳到第一則未讀訊息

Oana Tanasoiu (JIRA)

未讀,
2019年7月23日 上午9:55:032019/7/23
收件者:puppe...@googlegroups.com
Oana Tanasoiu created an issue
 
Facter / Bug FACT-1964
Facter retrive the first mountpoint when multiple mountpoints are mounted to the same directory
Issue Type: Bug Bug
Affects Versions: FACT 3.11.8
Assignee: Oana Tanasoiu
Created: 2019/07/23 6:54 AM
Priority: Normal Normal
Reporter: Oana Tanasoiu

When two mountpoints are mounted to the same directory, facter only shows the first one that appears in /etc/mtab file.

Exemple: For CentOS 7 in mtab file are two entries for the root directory: 

rootfs / rootfs rw 0 0
/dev/mapper/vg0-root / xfs rw,relatime,attr2,inode64,noquota 0 0

Facter will only show the first one as a mountpoint for "/".

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

Oana Tanasoiu (JIRA)

未讀,
2019年7月23日 上午9:56:032019/7/23
收件者:puppe...@googlegroups.com

Oana Tanasoiu (JIRA)

未讀,
2019年7月23日 上午10:00:032019/7/23
收件者:puppe...@googlegroups.com
Oana Tanasoiu updated an issue
When two mountpoints are mounted to the same directory, facter only shows the first one that appears in /etc/mtab file.

Exemple: For CentOS 7 in mtab file are two entries for the root directory: 
|

{code}
rootfs / rootfs rw 0 0 |
| /dev/mapper/vg0-root / xfs rw,relatime,attr2,inode64,noquota 0 0 |
{code}



Facter will only show the first one as a mountpoint for "/".

Mihai Buzgau (JIRA)

未讀,
2019年7月23日 上午10:12:022019/7/23
收件者:puppe...@googlegroups.com

Vadym Chepkov (JIRA)

未讀,
2019年7月23日 上午10:14:032019/7/23
收件者:puppe...@googlegroups.com
Vadym Chepkov commented on Bug FACT-1964
 
Re: Facter retrive the first mountpoint when multiple mountpoints are mounted to the same directory

Interestingly enough, rootfs is not shown in mount output, only in mountab:

# mount |grep root
/dev/mapper/vg0-root on / type xfs (rw,relatime,attr2,inode64,noquota)
# grep root /etc/mtab 
rootfs / rootfs rw 0 0
/dev/mapper/vg0-root / xfs rw,relatime,attr2,inode64,noquota 0 0

Mihai Buzgau (JIRA)

未讀,
2019年7月23日 上午10:14:032019/7/23
收件者:puppe...@googlegroups.com

Oana Tanasoiu (JIRA)

未讀,
2019年7月23日 上午10:20:032019/7/23
收件者:puppe...@googlegroups.com

Mihai Buzgau (JIRA)

未讀,
2019年7月24日 凌晨4:34:032019/7/24
收件者:puppe...@googlegroups.com

Mihai Buzgau (JIRA)

未讀,
2019年7月24日 凌晨4:34:032019/7/24
收件者:puppe...@googlegroups.com

Mihai Buzgau (JIRA)

未讀,
2019年8月14日 清晨6:40:032019/8/14
收件者:puppe...@googlegroups.com

Jean Bond (JIRA)

未讀,
2019年8月20日 下午3:00:152019/8/20
收件者:puppe...@googlegroups.com

Vadym Chepkov (JIRA)

未讀,
2019年9月15日 下午5:03:022019/9/15
收件者:puppe...@googlegroups.com
Vadym Chepkov commented on Bug FACT-1964
 
Re: Facter retrive the first mountpoint when multiple mountpoints are mounted to the same directory

Oana Tanasoiu, I think a more comprehensive solution would ignore all filesystems with nodev flag in /proc/filesystems

Mihai Buzgau (JIRA)

未讀,
2019年10月11日 凌晨4:18:032019/10/11
收件者:puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Fix Version/s: FACT 3.11.10
Fix Version/s: FACT 3.13.4
回覆所有人
回覆作者
轉寄
0 則新訊息