Mandriva

Return to the main archive index.

Custom Search

Mandriva Linux Archives: cooker@mandrivalinux.org

Mandriva Linux: cooker@mandrivalinux.org


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


roudoudou wrote:
> On Sat, Apr 26, 2008 at 9:48 PM, Guillaume Rousse
> <Guillaume.Rousse@inria.fr> wrote:
>> roudoudou a écrit :
>>
>>> Hi,
>>  > When trying to make some rpm package, i've found valuable information
>>  > in the initscript howto on wiki.mandriva.com (
>>  > http://wiki.mandriva.com/en/Development/Howto/Initscripts ) . But it
>>  > seems that there's some minor issue with this how to:
>>  > * it seems that the status() primitive suggested
>>  > (http://wiki.mandriva.com/en/Development/Howto/Initscripts#Second_part_-_Primitives)
>>  >  leads to infinite recursion loop. Indeed, a status() function is
>>  > defined in the initscript which try to call the
>>  > /etc/rc.d/init.d/functions::status() function which it already
>>  > redefined
>>  there is no namespace in shell: you can not define your own status
>>  function without replacing the one from /etc/rc.d/init.d/functions
>>
>>
> ok, thanks ! Anssi has already modified the initscript sample given in
> this how to ( http://wiki.mandriva.com/en/index.php?title=Development/Howto/Initscripts&diff=11180&oldid=11163
> )

Yes, and it seems my message about that on this thread did not reach the
list. I also fixed my cdemu-daemon package, that had the same error
(copypasted from wiki).

-- 
Anssi Hannula



Date Index | Thread Index

Looking for a job?



Advertisement (via La Vignette)