Summary: | [smbfs] [jail] "Bad address" with smbfs inside a jail | ||
---|---|---|---|
Product: | Base System | Reporter: | Kirk Strauser <kirk> |
Component: | kern | Assignee: | freebsd-jail (Nobody) <jail> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Only Me | CC: | jpaetzel |
Priority: | Normal | ||
Version: | 7.0-PRERELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Kirk Strauser
2008-01-20 21:20:03 UTC
Here's a minimal example that triggers the failure 100% of the time on both i386 and amd64. =46rom inside a jail: =2D-------------- $ python >>> import os >>> outfile =3D os.open('/mnt/remote/foo', os.O_CREAT|os.O_EXCL|os.O_RDWR) >>> os.write(outfile, 'this is a test') 14 >>> os.close(outfile) >>> exit() $ cp /mnt/remote/foo /tmp/foo cp: /tmp/foo: Bad address $ =2D-------------- =46rom the "host OS": =2D-------------- $ python >>> import os >>> outfile =3D os.open('/jail/server1/mnt/remote/foo', os.O_CREAT|os.O_EXC= L|os.O_RDWR) >>> os.write(outfile, 'this is a test') 14 >>> os.close(outfile) >>> exit() $ cp /jail/server1/mnt/remote/foo /tmp/foo $ =2D-------------- Note that "/mnt/remote/foo" and "/jail/server1/mnt/remote/foo" are the exact same mountpoint. The first is just the second as seen from inside the jail rooted at /jail/server1. Responsible Changed From-To: freebsd-bugs->freebsd-jail Reassign to appropriate mailing list. |