Anders Eriksson wrote:
> dan...@pocock.com.au said:
>   
>> If you look at my script, you will see that the freevo process is  started as
>> the user `freevo' using the su command, so it does not get to  keep the root
>> privileges of gdm 
>>     
>
>
> I guess we're not looking at the same thing. Where is the su'ing done?
>
> $ grep -r su  /tmp/freevo-1.8.2/boot/*
> /tmp/freevo-1.8.2/boot/boot_config:# a log used to catch errors when freevo 
> startsup
> /tmp/freevo-1.8.2/boot/boot_config:# needed, Freevo will start a X server on 
> its own. Make sure your X
> /tmp/freevo-1.8.2/boot/freevo:        echo -n "Hard kill to be sure: "
> /tmp/freevo-1.8.2/boot/gentoo-conf.d:# Before using this, make sure your 
> settings in /etc/freevo are correct.
> /tmp/freevo-1.8.2/boot/gentoo-conf.d:# needed, Freevo will start a X server 
> on its own. Make sure your X
> /tmp/freevo-1.8.2/boot/recordserver:# and edited to suit your needs.
> /tmp/freevo-1.8.2/boot/recordserver_init:# and edited to suit your needs.
> /tmp/freevo-1.8.2/boot/webserver:# and edited to suit your needs.
> /tmp/freevo-1.8.2/boot/webserver_init:# and edited to suit your needs.
>
>   

I'm only talking about my own script, /etc/gdm/Init/:2 - you can find it 
here:

http://doc.freevo.org/BootFreevo#head-68c70d623012dd745e4a2342743c59bc6751d3a6

> dan...@pocock.com.au said:
>   
>> The Debian packages implement recordserver and webserver as daemons -  have
>> you had a look at that? 
>>     
>
> You're referring to stuff that lives in debian repos, or something else? I'll 
> have to track them down somehow. I'm on gentoo myself.
>
>   
Have you tried Xen or VMware?  I recently installed Centos and Solaris 
10 in VMs as a convenient way of evaluating a couple of apps that 
haven't been conveniently packaged for the OS I normally use, Debian.  
It's surprisingly easy.

Anyhow, an easy way to examine the Debian packages is to expand the source:

wget 
http://mirror.positive-internet.com/debian/pool/main/f/freevo/freevo_1.8.1.orig.tar.gz
wget 
http://mirror.positive-internet.com/debian/pool/main/f/freevo/freevo_1.8.1-3.diff.gz

Unpack the tar.gz file, and then apply the diff.  Look under the debian 
directory to see the custom init scripts, etc

On a Debian machine, you can just do:

$ mkdir /tmp/freevo-sources
$ cd /tmp/freevo-sources
$ apt-get source freevo

and that will set up the source tree for you to examine.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to