On Mon, 2008-06-23 at 08:15 +0100, Anton Altaparmakov wrote:
> Good morning,
> 
> On 23 Jun 2008, at 04:10, Ian Kent wrote:
> > I see, btw, what is the OpenSuSE rpm revision you are working with?
> > I see an rpm of autofs-5.0.2-30.2.i586.rpm and I'm assuming the
> > autofs.rpm is the source corresponding to that or am I missing  
> > something
> > about the OpenSuSE packaging.
> 
> 
> The one we are using is indeed autofs-5.0.2-30.2.i586.rpm and the  
> corresponding source rpm is autofs-5.0.2-30.2.src.rpm and it can be  
> obtained for example here:
> 
>       
> http://www.mirrorservice.org/sites/ftp.opensuse.org/pub/opensuse/update/10.3/rpm/src/autofs-5.0.2-30.2.src.rpm

Got it.
Will check patches against it and make any changes needed.

> 
> Regarding the need to run a single instance: you do realise that init  
> scripts do the exclusion already?  So there should not be any reason  
> to repeat the exclusion in the daemon itself...  At least on SuSE  
> systems this is done by executing daemons using "/sbin/startproc"  
> rather than running the daemons themselves.  So you are basically  
> repeating everything the init script is already doing in the automount  
> daemon which IMHO is rather pointless given I assume all Linux  
> flavours use an analogous init script to launch the automount daemon.

Yeah, not all distributions use a function like this.

The idea here is that, if someone runs the program directly from the
command line, I want the same behavior except for possibly command line
arguments present in the configuration. Such as if someone runs the
program in the foreground maybe with debug enabled. A check to see if it
is already running is just a small part of that.

Ian


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to