OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   10-Aug-2006 20:01:41
  Branch: HEAD                             Handle: 2006081019013901

  Modified files:
    openpkg-src/mysql       mysql.spec rc.mysql

  Log:
    We really need that the %restart section is run as the super-user
    because once the run-command process has downgraded its privileges,
    it cannot upggrade it again.
    
    Credit to Bill Campbell for discovering.

  Summary:
    Revision    Changes     Path
    1.149       +1  -1      openpkg-src/mysql/mysql.spec
    1.28        +1  -1      openpkg-src/mysql/rc.mysql
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/mysql/mysql.spec
  ============================================================================
  $ cvs diff -u -r1.148 -r1.149 mysql.spec
  --- openpkg-src/mysql/mysql.spec      4 Aug 2006 17:29:11 -0000       1.148
  +++ openpkg-src/mysql/mysql.spec      10 Aug 2006 18:01:39 -0000      1.149
  @@ -39,7 +39,7 @@
   Group:        Database
   License:      GPL
   Version:      %{V_opkg}
  -Release:      20060804
  +Release:      20060810
   
   #   package options
   %option       with_server    yes
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/mysql/rc.mysql
  ============================================================================
  $ cvs diff -u -r1.27 -r1.28 rc.mysql
  --- openpkg-src/mysql/rc.mysql        11 Mar 2006 12:20:57 -0000      1.27
  +++ openpkg-src/mysql/rc.mysql        10 Aug 2006 18:01:40 -0000      1.28
  @@ -61,7 +61,7 @@
           --defaults-extra-file=${mysql_pwd_file} \
           shutdown
   
  -%restart -p 400 -u @l_rusr@
  +%restart -p 400 -u @l_susr@
       rcService mysql enable yes || exit 0
       rcService mysql active no  && exit 0
       rc mysql stop start
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to