فهرست منبع

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.

Ralf S. Engelschall 19 سال پیش
والد
کامیت
9554e4b3b5
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      mysql/mysql.spec
  2. 1 1
      mysql/rc.mysql

+ 1 - 1
mysql/mysql.spec

@@ -39,7 +39,7 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      %{V_opkg}
-Release:      20060804
+Release:      20060810
 
 #   package options
 %option       with_server    yes

+ 1 - 1
mysql/rc.mysql

@@ -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