Re: Use of rpm --root to build a cross root filesystem: pre/post/preun/postun scripts problem

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

 



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