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

Re: LSB Spec 1.0 Criticism



On Wed, Jul 04, 2001 at 12:24:15PM +0200, Wichert Akkerman wrote:
> Previously Steven Hanley wrote:
> > oh but wait, rpms cant ask questions during install, and nothing like debconf
> > exists where we could have sets of defaults, packages decide what they want to
> > do.
> 
> The fact that they don't does not mean that they can't. You should research
> such statements before making them.

yes, however this is one I have been yelled at for in the past when creating
rpms that ask questions of the user in the install scripts in the %post
section

in redhat the idea is anything that needs the user input should not be put in
the rpm

see maximum rpm "Since every step depends on the user making decisions, the
best way to handle them is to not handle them at all. Let the user do it! "
(http://www.rpmdp.org/rpmbook/node112.html#SECTION031243000000000000000)

in debian we ask question, however in the hopes of being able to create fully
automated installs we have debconf.

Now I dont know about the current state of redhat installation, however I
remember a few years ago (ie what the maximum rpm book currently documents)
you just left things for the admin to fix if they needed user input.

There is though admittedly nothing explicitly saying dont ask questions during
installation of a package, ust redhat (and probably other dists using rpm)
discoutrage it as they want the packages to be able to go on without stopping
and asking people things.

I seem to remember that these days there is some magicc thing redhat have to
install the system across many hosts with a set of packages and a set of
configurations or some such, I dont however know how this integrates with rpm,
so it could be somewhat debconfish.

On the subject of the rpm in LSB 

http://www.linuxbase.org/spec/gLSB/gLSB/swinstall.html

says 

Applications should be provided in the RPM packaging format as defined in the
appendix of Maximum RPM, with some restrictions listed below. [1]

and nowhere on that page does it say which version of maximum rpm the LSB
uses. it just linsk to a website with the book.

The LSB MUST indicate the version of the Maximum RPM book if this is indeed
what it plans to use in the standard.

As it says on http://www.rpm.org/ 

"The next version of "Maximum RPM" is under development. Packages for the work
in progress are available here, and an online copy is here
(http://www.rpm.org/max-rpm/),"

and I assume once that is released the website LSB points at will have the new
version of the book.

        See You
            Steve

-- 
sjh@wibble.net http://wibble.net/~sjh/
Look Up In The Sky
   Is it a bird?  No
      Is it a plane?  No
         Is it a small blue banana?
YES



Reply to: