[Mageia-dev] LSB init scripts question.

Guillaume Rousse guillomovitch at gmail.com
Wed Apr 18 12:31:41 CEST 2012


Le 18/04/2012 10:05, Colin Guthrie a écrit :
> 'Twas brillig, and David W. Hodgins at 18/04/12 05:01 did gyre and gimble:
>>
>> On my Mageia 1 system, I noticed that xinetd wasn't getting
>> started.  After comparing the lsb headers, I modified the
>> script as per the following patch, and confirmed that on
>> reboot, it's now getting started.
>>
>> $ cat xinetd.patch
>> --- /etc/init.d/xinetd.original 2011-01-11 23:35:28.000000000 -0500
>> +++ /etc/init.d/xinetd  2012-04-17 23:38:19.507878097 -0400
>> @@ -7,7 +7,7 @@
>>   # Provides: xinetd
>>   # Required-Start: $network $syslog
>>   # Required-Stop: $network $syslog
>> -# Default-Start: 345
>> +# Default-Start: 3 4 5
>>   # Short-Description: A powerful replacement for inetd
>>   # Description: This startup script launches xinetd daemon
>>   ### END INIT INFO
>
> Is that the only change you did? You didn't run a chkconfig command too
> or similar?
>
> I'm not an expert on the previous sysvinit but I thought that provided
> the links existed in /etc/rcN.d/S??xinetd then it should get started.
> prcsys might do things somewhat differently here tho', I don't know.
You're right. The 'Default-Start' headers just tells chkconfig where to 
create those symlinks, if not defined on the commande line.

-- 
The number of coupons of the person in front of you is directly 
proportional to how much of a hurry you're in
		-- Murphy's Food Laws n°15


More information about the Mageia-dev mailing list