My script is still working fine and tested the Gentoo init.d scripts.
There are couple issues not sure are going to be resolved with
them so if you use them here is what you need to do:

1) There are config files in /etc/conf.d called owserver, owfs and
owhttpd that you can use to change your start options. The way
it is now the /etc/conf.d/owfs config file won't get used, so do
number 2 below.
 
2) Change this line in /etc/init.d/owfs
${OWHTTPD_OPTS:-m /var/lib/owfs/mnt --allow_other -s 127.0.0.1:4304}
to
${OWFS_OPTS:-m /var/lib/owfs/mnt --allow_other -s 127.0.0.1:4304}
Then /etc/conf.d/owfs will be used and you can change your
options. The rest of the line above is just incase you
don't have anything in the /etc/conf.d config files. But I
believe they came with default options and aren't blank.

3) You also HAVE TO add owfs to the uucp group if using
serial OR add owfs to the usb group if using usb.
ie.
Serial devices (/dev/ttyS*): # gpasswd -a owfs uucp
USB devices (/proc/bus/usb): # gpasswd -a owfs usb

Or you will get permission denied, even if the User is in
the owfs and uucp or usb group. Check your syslog for
errors to see what is happening when start owserver.

I'm not using the Gentoo scripts as they are, I want mine
owned by user:owfs so used the fuse option:
--fuse_open_opt=
to change it. But you still have to have the --allow_other
or you can't access it, cause root starts the init.d scripts.

Otherwise except for few issues testing the Gentoo
scripts and getting my bug marked invalid, owfs has
been starting/stopping fine. No issues with version 2.7p2

Dave


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to