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

Re: e2fsprogs not esential anymore?



* Sven Joachim <svenjoac@gmx.de> [100314 20:54]:
> >> Then you clearly don't understand the purpose of Essential.
> >
> > I understand the theory, I've just never seen the practical purpose of
> > the current mechanism. Yes, it shortens Depends: lines but if the
> > dependencies are not listed and the Essential tag is omitted, what
> > actually goes wrong?
>
> The user removes the package and breaks their system.

The problem is that Essential has three aspects:

1) Avoid people breaking their system
   by deinstalling the wrong parts.

2) Specifying a base set of functionality always available
   (with all those working if only unpacked...)

3) Reducing dependencies of other packages.

The problem is that 1 and 2 are not exactly the same, and while 3
is a logical choice with 2, it is also done for 1.

While removing mount or the pam stack from a stand-alone system is usually
not a good idea, treating 1 and 2 the same means it hast to be installed in
every chroot[1]. This increases minimal build chroot sizes massively for
many simple packages. (And reducing it needs manual looking and testing
to make sure which parts are needed and which not, as there are no
dependencies).

Hochachtungsvoll,
	Bernhard R. Link

[1] Well, in practise you often need pam, because many packages need
util-linux for some parts of the package, while other parts of the package
need libuuid1 which needs passwd which needs pam, but that is another thing.


Reply to: