Bug 25580

Summary: recursive status() call in initscript
Product: Sisyphus Reporter: Vladimir V. Kamarzin <vvk>
Component: hylafax-serverAssignee: Denis Smirnov <mithraen>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: aen
Version: unstable   
Hardware: all   
OS: Linux   

Description Vladimir V. Kamarzin 2011-05-06 14:47:29 MSK
`service hylafax-server status` никогда не завершится, т.к. там происходит рекурсивный вызов функции status:

status() {
        status hfaxd
        status faxq
}
...

        status)
                status
Comment 1 Denis Smirnov 2011-05-07 20:29:18 MSK
Сходу не соображу -- а как это фиксить?
Comment 2 Vladimir V. Kamarzin 2011-05-10 12:30:24 MSK
Посмотреть в /etc/init.d/template и сделать аналогично.
Comment 3 Repository Robot 2011-05-14 18:46:11 MSK
hylafax-5.2.7-alt8 -> sisyphus:

* Sat May 14 2011 Denis Smirnov <mithraen@altlinux> 5.2.7-alt8
- bugfixes:
  + Fix loop in status (ALT #25580).
  + Add requires to ghostscript-utils (ALT #25598).
  + Add requires to fonts-type1-htmldoc (ALT #25596).
  + remove old unused code in initscript (ALT #25581).