Skip to content

Commit 74b9123

Browse files
committed
documentation note about nsswitch
1 parent 67ca600 commit 74b9123

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ $ ip netns exec $NETNS_NAME nslookup example.com
159159
While `ip netns exec` is handy for one-off commands, this project is most
160160
useful to allow running other systemd units in a VPN-only namespace. This is accomplished by
161161
adding a drop-in override file to the unit. In the following example, we'll configure
162-
Transmission Daemon to run in our namespace.
162+
Transmission Daemon to run in our namespace. Beware that is used in conjunction with the
163+
`nsswitch.conf` and `resolv.conf` tweaks above this will not work correctly, as systemd
164+
does not mount them into the right locations. There using `ip netns exec` may be more
165+
appropriate.
163166

164167
#### `/etc/systemd/system/transmission-daemon.service.d/10-vpn-netns.conf`:
165168

0 commit comments

Comments
 (0)