2006-08-10: Keith Bennett dixit:
> [...]
> Since we are directly accessing hardware, there is no getting
> around the fact that root operations will be required at some
> point. My solution to this is to launch a separate root-owned
> process for performing these operations. The main issue with
> this is that you need to have "mount" and "eject" (or
> "karma_helper") in your PATH or specify their location
> specifically. EV wants to put the functionality into a daemon,
> which still has the problem of locating the socket file
> although that is less of an issue since we are in control of
> where it gets created. A third option is to make riocp, etc.
> into suid root processes which launch a sub-thread for the
> root-only operations and then drop their privileges. This
> solves all the path problems but makes me slightly ill just
> thinking about it.
> 
> EV thinks that fork/exec is ugly and I think that
> yet-another-system-daemon is ugly.
> 
> I don't think that we're going to find any nice solution to
> this problem. We just need to reach a consensus on which option
> is the least ugly!

An accurate analysis of the situation, indead!  Yet another 
option is to leave things as they are, as favoured by Bob (and by 
me to some extent):

2006-08-09: Bob Copeland dixit:
> Do we really need the karma_helper stuff in
> libkarma proper? I think it is fine and useful as-is.

2006-08-09: EV dixit:
> I tend to agree with you in this point, ...

Only problem so far is USB/OMFS-lkarmafs, but we have the 
Ethernet interface if all (or most) of what we want is to 
browse through the music collection and/or do light maintenance 
work.

So may be it is time to focus on other pending issues which are 
perhaps less exciting, but which are more important for improving 
usability ;)

Best,
EV.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to