|
Bugzilla – Full Text Bug Listing |
| Summary: | Linking /etc/mtab to /proc/self/mounts breaks collectd | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.4 | Reporter: | Rafal Kwasny <mag> |
| Component: | Basesystem | Assignee: | Roman Neuhauser <rneuhauser> |
| Status: | VERIFIED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | aduffeck, aspiers, pth, puzel, stefan.bruens |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Rafal Kwasny
2011-08-19 17:03:58 UTC
Balazs, can you look into that? I see the mtab symlink with two fresh builds of openSUSE 12.1 from DVD onto physical machines so it's not exclusive to susestudio. lrwxrwxrwx 1 root root 17 Mar 18 2011 /etc/mtab -> /proc/self/mounts Presumably there is a good reason for doing that, in which case the problem lies with collectd's df plugin, which is enabled by default with no configuration. I guess most people do not see it because it is (only?) required by webyast: # rpm -q --whatrequires collectd webyast-status-ws-0.2.13-2.1.2.noarch By the way an easy workaround is to comment out the 'LoadPlugin df' line of /etc/collectd.conf. I'm not sure if this breaks anything in WebYaST though. Sorry for the bug spam, this will be my last comment (for now ;-) (In reply to comment #2) > I see the mtab symlink with two fresh builds of openSUSE 12.1 from DVD onto > physical machines so it's not exclusive to susestudio. > > lrwxrwxrwx 1 root root 17 Mar 18 2011 /etc/mtab -> /proc/self/mounts > > Presumably there is a good reason for doing that I found the good reason: http://lists.opensuse.org/opensuse-factory/2011-01/msg00130.html Adding Petr to Cc in case he has any ideas ... (In reply to comment #4) > I found the good reason: > > http://lists.opensuse.org/opensuse-factory/2011-01/msg00130.html > > Adding Petr to Cc in case he has any ideas ... Well, my only idea is to fix the 'df' utility not to print the rootfs information twice. Adding coreutils maintainer to CC. How is df supposed to be able to distinguish which of the multiple entries to suppress? /proc/mounts lists all mounts as they occurred, i.e. / from initram and then the actual device. If you loop mounted dev you would have two /dev entries. It is IMO up to the user of df's output to filter the information. this is an issue in OpenSUSE, and it's been fixed in revision 4 of the collectd package in Factory: https://build.opensuse.org/package/rdiff?linkrev=base&package=collectd&project=openSUSE%3AFactory&rev=4 This seems to be a duplicate of bug 709543, however this one has more useful information so the other one should probably be resolved as a duplicate of this one. BTW commenting out loading of the df plugin and restarting collectd no longer works for me as a workaround :-( Both bug 709543 and the fix mentioned in #c8 are done by me, so yes, close as duplicate. *** Bug 709543 has been marked as a duplicate of this bug. *** (In reply to comment #8) > this is an issue in OpenSUSE, and it's been fixed in revision 4 of the collectd > package in Factory: > > https://build.opensuse.org/package/rdiff?linkrev=base&package=collectd&project=openSUSE%3AFactory&rev=4 The .changes file doesn't reference this bug number :-/ Also, can this be backported to 12.2? |