On Sat, Nov 27, 2004 at 03:34:17PM +0100, manu@... wrote:
>
> ....
> Isn't it possible to tweak the rc-linux.sh so that it works with other
> Linux flavors?
=> Right now we already have two Linux scripts : rc-debian.sh.in,
rc-linux.sh.in (for RH/MDK) ...
It's difficult to support all Linux flavors in one initscript.
It will likely I fear be difficult to maintain as it will be
full of case switches (for SUSE,DEBIAN,RH+MDK, GENTOO).
RH and MDK are cousins but for the rest of Linux distributions
initscripts are organised really differently : special functions
used, special comments, special config paths ...
Example : /etc/init.d/functions is a Redhatism . This file does
not exist on non-RH/MDK Linux flavors ..
What do other milter-greylist Linux users think about this topic ?
If there is a general agreement to have just one initscript for
Linux, we'll have to do some tests. I can test on Mandrake 10.1,
Gentoo, SUSE 9.2 ...
> > In the meantime find attached an initscript for Gentoo Linux.
> > You can call it rc-gentoo.sh.in (and replace mail by @USER@).
> >
> > I had a quick look at 1.5.12, here are some comments :
> >
> ....
> > * Makefile.in improvement : directory for milter-greylist should
> > be owned by $USER:$USER . What about using install -g switch :
> > ${INSTALL} -d -m 755 -o ${USER} -g ${USER} /var/milter-greylist
> >
> > Other option : --with-group
>
> Does it actually matter? What do you win with a --with-group flag?
>
=> I think that most of us are using accounts with same groupname as
username (mail or smmsp). But maybe some people don't. If you want
to support this case a configure -with-group is needed.
SL/