Re: chkconfig and init scripts (RH/Fedora specific)

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

 



On Tue, Mar 16, 2004 at 08:47:37PM -0800, Michael A. Peters wrote:

> The problem is upgrading a package undoes a change a system
> administrator has made to how (if) a service should be started.

Not if you use it in the proper way.

> If the sysadmin chooses to delete an init script from sysconfig
> management (via chkconfig --del service) - the service will be added
> again to chkconfig management when the package is updated via rpm.

You should never --add or --del a service manually, that should only
be done with rpm's %pre and %post scripts.

If you use "chkconfig <service> on/off", that status will be preserved.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux