Commit 7bd781d
committed
Follow the trail when resolv.conf ain't home
When /etc is mounted as a whole directory, /etc/resolv.conf may be
a symlink (e.g., to /run/systemd/resolve/stub-resolv.conf). Resolve
the symlink and mount the slirp DNS config at the real target path,
creating the parent directory if needed.1 parent 504a398 commit 7bd781d
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| |||
0 commit comments