[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-bugs
Subject: Re: sharity-light => uvm_fault
From: "Dipl.-Ing. Markus Wawersich" <wawersich () www-pool ! de>
Date: 2011-11-30 15:03:19
Message-ID: IYqsxEx3jWDM3WcDHPwCEdcpl8MLmCaRP2MLGx7STdi () akmail
[Download RAW message or body]
Hi.
Here is a guide how to see the bug with only an OpenBSD box (no other
Windows/Linux computer are needed):
- You need OpenBSD 5.0
- do all as user root:
Let's go ...
pkg_add samba-3.5.10.tgz
pkg_add sharity-light-1.3p0.tgz
mkdir /tmp/samba
mkdir /tmp/mnt
edit the file "/etc/samba/smb.conf" with the following content:
==========================================================
[global]
workgroup = WORKGROUP
map to guest = Bad Password
[test]
path = /tmp/samba
force user = root
read only = No
guest ok = Yes
==========================================================
then restart samba:
/etc/rc.d/samba restart
Now a Window PC can see in the share "test" the content of "/tmp/samba"
Then we mount this samba share with sharity-light:
shlight //localhost/test /tmp/mnt -n
(if you got the error "unknown host" check /etc/hosts => "127.0.0.1
localhost")
Now You can see in "/tmp/mnt" the content of "/tmp/samba".
but we will verify this:
mkdir /tmp/mnt/folder
ls /tmp/samba
Now you should see the folder "folder".
OK.
Let's crash it.
chown nobody /tmp/mnt/folder
I don't know what, but the chown command has done something bad.
You can now read You emails and do all other things but You can't do one of
these two:
ls /tmp/mnt/folder
or unmount /tmp/mnt with
unshlight -a
Hope it crashes ;-)
thank You for Your help.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic