pkgsrc-Bugs archive

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

pkg/35887: rc.d/mysqld does not set pid file correctly



>Number:         35887
>Category:       pkg
>Synopsis:       rc.d/mysqld does not set pid file correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 01 16:45:00 +0000 2007
>Originator:     Edgar Fuß
>Release:        2006Q4
>Organization:
Mathematisches Institut der Universität Bonn, Computerabteilung
>Description:
        In rc.d/mysqld, pidfile is set before load_rc_config is called.
        If mysqld_datadir is set, this leads to an inconsistent setting
        of pidfile and so mysqld fails.
        I must admit I don't understand the whole else block at the end
        and why load_rc_config is not called at the beginning of the script.
>How-To-Repeat:
        install databases/mysql5-server, set mysql_datadir in rc.conf
>Fix:
        Move up load_rc_config to beginning of script?
        move assignement to pidfile down after load_rc_config call?




Home | Main Index | Thread Index | Old Index