I just ran into a problem this morning when a customer noted that the mysql
common.log and update.log files were growing out of control.  After doing
some checking, I figured out that the main problem is that the %restart
section of the %{l_prefix}/etc/rc.d/rc.mysql run control file needs to run
as root, not as the restricted user.

Running %restart as the restricted user won't allow it to do the necessary
``stop start'' as it requires root priviledges to run the %stop section.

Unless I'm mistaken, any %restart section must run at the higher
priviledges of the %start and %start sections.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software, LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

We contend that for a nation to try to tax itself into prosperity is like a
man standing in a bucket and trying to lift himself up by the handle.
    -- Winston Churchill
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to