[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Losing a slash in an init file



Am Mo, den 06.12.2004 schrieb Steven Stern um 1:11:

> Following a discussion earlier on the list, I tried to play with the contents
> of an init file.
> 
> In /etc/init.d/spamass-milter, I edited the line to start the daemon by adding
> "-i 192.168.123.0/24" to exclude mail on the local network:
> 
> daemon $prog -p $SOCKET -f -i 192.168.123.0/24  $EXTRA_FLAGS
> 
> BUT, when the line is executed, it seems the slash in the CDIR format is lost:
> 
> root      2957  0.0  0.1 13704 1068 pts/0    Sl   18:02   0:00 spamass-milter
> -p /var/run/spamass.sock -f -i 192.168.123.0 24
> 
> On the other hand, if I remove the " -i ", the slash shows up.
> 
> Other slashes (e.g., the local socket file) appear correctly in the runtime
> parameter list.
> 
> What am I doing wrong? 

Nothing. The "problem" is spamass-milter itself. The daemon function
from the Fedora init scripts does not cause this. Start spamass-milter
by hand and you will see it in the process list the same. I can't say
how in influence processing (then of course a bug) or whether this is
just cosmetic.
 
>   Steve 

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp 
Serendipity 02:12:19 up 1:34, 16 users, 0.92, 0.87, 0.85 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]