radiusd.sh

KES kes-kes at yandex.ru
Mon Aug 21 02:22:10 CEST 2006


Здравствуйте, Peter.

Вы писали 18 августа 2006 г., 15:07:11:

PN> On Fri 18 Aug 2006 13:08, KES wrote:
>> Hello, freeradius-users.
>>
>> Patch for radiusd.sh
>>
>> #!/bin/sh
>>
>> # PROVIDE: radiusd
>> -# REQUIRE: NETWORKING SERVERS
>> -# BEFORE: DAEMON
>> +# REQUIRE: NETWORKING SERVERS mysql
>> # KEYWORD: shutdown
>>
>> radiusd must start after DBServers(mysql) do  because of some problems
>> with some rlm_sql* modules (rlm_nibs - can't connect to MySQL)
>>
>> so I have added
>> # REQUIRE: NETWORKING SERVERS mysql
>>
>> adding mysql is case for loop dependency of 'rcorder'
>> so I have removed
>> -# BEFORE: DAEMON
>>
>> Does any have such problems?

PN> Yes. This is in-fact incorrect as it will force people who are not using mysql
PN> to start it. The correct thing to do is simply add the line:

PN> # Should-Start: $time postgresql mysql ldap

But I am using FreeBSD v6.1#2 and I have not such options
I have only ``REQUIRE'' ``PROVIDE'', ``BEFORE'' and ``KEYWORD'' lines
Any have a clue for FreeBSD?

-- 
С уважением,
 KES                          mailto:kes-kes at yandex.ru




More information about the Freeradius-Users mailing list