Bug 1615101
Summary: | When nfs-utils happens to be installed in container image, running systemd in the container shows degraded status | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> | |
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 30 | CC: | bfields, jlayton, jpazdziora, rjanik, steved | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1615303 (view as bug list) | Environment: | ||
Last Closed: | 2019-12-18 19:24:09 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1615303 |
Description
Jan Pazdziora (Red Hat)
2018-08-12 10:34:49 UTC
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The issue is still present with nfs-utils-1:2.3.3-1.rc2.fc29.x86_64. This message is a reminder that Fedora 29 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '29'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 29 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The issues is still present with nfs-utils-2.4.1-0.rc1.fc30.x86_64. By adding a --privileged=true flag starting of the container cause all the mounts to work... I don't think this is the correct solution. The container needs to be runnable unprivileged (or rootless). *** Bug 1772877 has been marked as a duplicate of this bug. *** (In reply to Jan Pazdziora from comment #8) > I don't think this is the correct solution. The container needs to be > runnable unprivileged (or rootless). Just curious as to why? Giving the processes as little privileges as possible is a good thing, isn't it? Note that we do not try to do anything with NFS in the container, so the goal is not to make the mountpoint work or do anything. The nfs-utils package gets pulled in as a dependency for FreeIPA server container image. I believe that in containers, it should not try to setup the .mount by default. (In reply to Jan Pazdziora from comment #11) > Giving the processes as little privileges as possible is a good thing, isn't > it? Yes! > > Note that we do not try to do anything with NFS in the container, so the > goal is not to make the mountpoint work or do anything. The nfs-utils > package gets pulled in as a dependency for FreeIPA server container image. I > believe that in containers, it should not try to setup the .mount by default. Is there a way to tell when run from a container? For example ConditionVirtualization=container in the [Unit] section can be used; see systemd.unit(5) for more info. I'm not sure how well it mixes with .mount units though. |