Bug 9793 - rebootmgr startup script bug
Summary: rebootmgr startup script bug
Status: CLOSED WONTFIX
Alias: None
Product: Sisyphus
Classification: Development
Component: util-vserver (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: at@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-20 08:13 MSD by Dmitry Vodennikov
Modified: 2009-09-29 12:08 MSD (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Vodennikov 2006-07-20 08:14:02 MSD
startup script для сервиса rebootmgr не рабочий. вот патч для исправления ошибки
-------------------------------------------------------------------------------
--- etc/rc.d/init.d/rebootmgr   2006-07-20 10:07:27 +0600
+++ /etc/rc.d/init.d/rebootmgr  2006-07-16 22:58:18 +0600
@@ -28,7 +28,8 @@
                        VSERVERS="$VSERVERS $serv"
                fi
        done
-       start_daemon --lockfile "$LOCKFILE" --pidfile "$PIDFILE" -- rebootmgr
$VSERVERS
+       start_daemon --lockfile "$LOCKFILE" --make-pidfile dummy \
+               --pidfile "$PIDFILE" -- rebootmgr $VSERVERS
        RETVAL=$?
        return $RETVAL

@@ -57,7 +58,7 @@
                restart
                ;;
        status)
-               status --pidfile "$PIDFILE" named
+               status --pidfile "$PIDFILE" rebootmgr
                RETVAL=$?
                ;;
        reload)
-------------------------------------------------------------------------------

применение dummy в строчке 
--make-pidfile dummy 
связано с багом в compact в обработке --make-pidfile (пакет service)
Comment 1 Michael Shigorin 2008-02-15 19:54:34 MSK
apparently wontfix :(
Comment 2 Mikhail Gusarov 2008-06-13 13:00:39 MSD

    
Comment 3 Michael Shigorin 2009-09-29 12:08:35 MSD
orphaned / unsupported