Bug 25580 - recursive status() call in initscript
Summary: recursive status() call in initscript
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: hylafax-server (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Denis Smirnov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 14:47 MSK by Vladimir V. Kamarzin
Modified: 2011-05-14 18:46 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).