Package: autofs5
Version: 5.0.3-3
Severity: minor

        I've wished to mount a localhost's filesystem over NFSv3, like:

## FIXME: use IPv6 when it'll become available for NFS on GNU/Linux
ro.public                       
-fstype=nfs,ro,nosuid,nodev,soft,intr,nolock,rsize=8192,wsize=8192      
x.y.z.w:/var/public

        (where x.y.z.w is one of the host's addresses) in order to
        achieve a --bind-like mount, but read-only.  Surprisingly
        enough, the FS was mounted with --bind instead!

        I was able to work-around the problem with:

# iptables -t nat -A OUTPUT \
                 --destination=X.Y.Z.A \
      -j DNAT --to-destination=X.Y.Z.W

        then specifying the NAT'ed address in the autofs5 configuration.

PS.  Hopefully I didn't make some silly mistake configuring the thing.

-- 
FSF associate member #7257



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to