On Fri, 2008-05-09 at 15:50 +0100, Jonny Lamb wrote: > [Replying to Mark as well as CC'ing the list as others might find it > interesting.] > > On Tue, May 06, 2008 at 10:07:00AM +0100, Mark Ellis wrote: > > synce-hal is basically a replacement for odccm, but tries to handle a > > lot more of the connection process. It provides an addon for hal, which > > is called by hal whenever a WM device is connected. We're going for full > > plug and play here. > > I've been preparing Debian packages for hal-dccm recently, and I have > some queries: >
The problem here is that I haven't found a reliable way of determining where hal addons/callouts go. Obviously _I_ know where they go :) but configure doesn't. > synce-hal produces four executables: hal-dccm, synce-serial-chat, > hal-synce-rndis and hal-synce-serial. All four of these are installed > into $prefix/libexec, which is bad for Debian. I see in your synce-hal > package you've installed the hal-synce-* files into /usr/lib/hal/, but > I'm unsure as to the proper location of the others. > > So, why did you install the four executables into $libexecdir? Do any of > the executables require root? My understanding is that the hal-synce-* > scripts will be called by hal upon a device connection, so they'll be > run as root, and therefore so will hal-dccm and synce-serial-start, but > I could be wrong.. Therefore I am emailing just to be clear, so I don't > screw up the package. > libexec is the closest approximation hal-dccm and synce-serial-chat are true libexec, so on debian go in /usr/lib/<packagename>, ie /usr/lib/synce-hal. They are only called internally so the exact location is not vital. hal-synce-* are the problem, they go in the hal addon location, which is poorly defined. On debian it's the hal libexecdir, ie /usr/lib/hal. Your understanding of how the process works is correct, everything initially comes from hal, so runs as root anyway. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel