pkgsrc-Bugs archive

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

pkg/45403: postgresql startup script remove pgsql_home from rc.conf



>Number:         45403
>Category:       pkg
>Synopsis:       postgresql startup script remove pgsql_home from rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 11:20:01 +0000 2011
>Originator:     Dima Veselov
>Release:        NetBSD 5.1_STABLE
>Organization:
        LMA
>Environment:
System: NetBSD steel.labma.ru 5.1_STABLE NetBSD 5.1_STABLE (Georn) #0: Tue Jun 
21 07:57:59 MSD 2011 toor@:/usr/src/sys/arch/amd64/compile/Georn amd64
Architecture: x86_64
Machine: amd64
>Description:
        Stock /etc/rc.d/pgsql in pkgsrc overwrite rc.conf's pgsql_home to 
default
        value, when ran at startup.
        However, it is correctly set if pgsql is restarted from root shell.
        Noticed on many instances, I can't understand how it comes.
>How-To-Repeat:
        Stock installed postgresql, set pgsql_home to something else in 
/etc/rc.conf,
        move /usr/pkg/share/examples/pgsql to /etc/rc.d, restart the sytem.
>Fix:
        Comment pgsql_home="/usr/pkg/pgsql" in /etc/rc.d/pgsql



Home | Main Index | Thread Index | Old Index