Bug 24596 - Missed 'startup_failure' function in startup script
Summary: Missed 'startup_failure' function in startup script
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: cgroup (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Alexey Shabalin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 18:06 MSK by Nikolay A. Fetisov
Modified: 2010-12-17 16:33 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 Nikolay A. Fetisov 2010-11-19 18:06:49 MSK
Для 0.36.2-alt3.git20100906 в /etc/init.d/cgconfig, строка 105, присутствует
вывод сообщения об ошибке вида
startup_failure "kernel too old - no  /sys/fs/cgroup"

Функция startup_failure не определена ни в коде скрипта, ни в пакете
service-0.5.19-alt2 - соответственно, вместо предполагавшегося сообщения
выводится 

/etc/init.d/cgconfig: line 105: startup_failure: command not found
Comment 1 Nikolay A. Fetisov 2010-11-19 18:07:27 MSK
В init-скрипте udevd функция startup_failure определяется как

startup_failure()
{
        msg_starting "udevd"
        printf "%s" "$1"
        failure "udevd startup"
        echo
}
Comment 2 Repository Robot 2010-12-17 16:33:31 MSK
libcgroup-0.37-alt1 -> sisyphus:

* Thu Dec 16 2010 Alexey Shabalin <shaba@altlinux> 0.37-alt1
- 0.37
- defined startup_failure in cgconfig init script (ALT #24596)