[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem
- From: Jos Vos <jos xos nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem
- Date: Thu, 9 Mar 2006 16:31:40 +0100
On Thu, Mar 09, 2006 at 03:50:03PM +0100, Patrick Monnerat wrote:
> I use "rpm --root ..." to build a cross root filesystem. Some of the
> packages I install start, restart or stop a daemon from their
> install/erase scripts. [...]
Packages doing that are wrong, IMHO. Packages may do a "condrestart"
(restarting them *only* if they are already running), but never start
(or stop) a service. In fact, the system install itself is done in
another root.
So, IMHO packages should never *need* to check this, they just should
work fine in a chroot environment or they should be fixed.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]