Bug 1186531
| Summary: | RFE: Please consider managing /etc/resolv.conf as symlink to a location in /run | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dcbw, dominick.grift, dwalsh, extras-qa, lpoetter, lvrabec, mgrepl, nmavrogi, plautrba, psimerda, teg, thaller, thozza, walters |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1116999 | Environment: | |
| Last Closed: | 2015-08-09 23:58:51 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: | 1116999 | ||
| Bug Blocks: | 1164044 | ||
|
Description
Petr Lautrbach
2015-01-27 21:42:41 UTC
Hi, Could you tell me all paths where will be resolv.conf stored? Thank you It's even worse: #============= chronyd_t ============== allow chronyd_t NetworkManager_var_run_t:dir search; #============= cupsd_t ============== allow cupsd_t NetworkManager_var_run_t:dir search; #============= sshd_t ============== allow sshd_t NetworkManager_var_run_t:file read; In order to make this work, you would want to label /run/NetworkManager/resolv.conf as net_conf_t and then have a transition rule to label it correctly on creation. (In reply to Lukas Vrabec from comment #1) > Hi, > > Could you tell me all paths where will be resolv.conf stored? > > Thank you For the purpose of this bug report it's /run/NetworkManager/resolv.conf in addition to /etc/resolv.conf. There may be (and are) other locations for other software like dnssec-trigger or systemd-networkd. Meaning they are all going to change the symbolic link? yes. |