Bug#714634: [lsb-discuss] Clarification of general LSB requirements

Steve Langasek <[email protected]> Wed, 10 Jul 2013 11:20:21 -0700
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <20130710182021.GA28421__33203.0086814941$1373480681$gmane$org@virgil.dodds.net>
On Wed, Jul 10, 2013 at 02:10:22AM -0700, Russ Allbery wrote:
> But, in the example that you raise, this is an optional configuration.
> Indeed, at least at present and in all previous releases of Debian, one
> has to go out of one's way to get the lsb-invalid-mta package installed,
> since a fully functional mail transport agent providing the sendmail
> command is part of a standard Debian installation.  You have to go out of
> your way to remove it.  So the scenario I describe above doesn't really
> apply, and the problem reduces to whether the installation of the Debian
> lsb-core package should guarantee that a fully functional sendmail program
> is present on the system (but possibly not configured), as opposed to
> delivering one by default but allowing the local systems administrator to
> choose to replace it with a error-producing stub without removing the
> lsb-core package.

I don't think there's any problem here wrt the LSB standard, but I'm not
thrilled about the package-wise implementation of lsb-invalid-mta,
particularly from the perspective of a Debian derivative which does not ship
an MTA by default.

 - user installs a stock system with no MTA.
 - user installs lsb-core so they can install an LSB package
 - user installs a package that Depends: mail-transport-agent
 - user gets a system without a usable MTA, only because they installed
   lsb-core first

I would argue that lsb-invalid-mta is a perfectly valid solution for
lsb-core, but that it should not Provide: mail-transport-agent - so that any
packages that actually say "yes, I require an MTA" get the default MTA and
not the lsb-invalid-mta bodge.  It's not reasonable for an LSB package which
is at arm's length from the system to require a working and configured MTA,
but for native packages I think this is legitimate - and installing the MTA
by default does require the user to configure it for use.

> (It's probably also worth noting that Debian does not claim LSB compliance
> and the description of that Debian package states, rather prominently:
> "The intent of this package is to provide a best current practice way of
> installing and running LSB packages on Debian GNU/Linux.  Its presence
> does not imply that Debian fully complies with the Linux Standard Base,
> and should not be construed as a statement that Debian is LSB-compliant."
> So, really, it's kind of hard to see what's notably egregious about this.)

Well, I think that package description is silly in its lawyeresque
weaselness.  The raison d'ĂȘtre of the package is to provide an LSB-compliant
layer, which is what it means to support installing and running LSB
packages.  I don't see any reason the package description should have this
long disclaimer about the possibility of bugs in the implementation.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJR3aXkAAoJEFaNMPMhshM9nmsP/1n4qP28G0W/gKqPvEEbKMos
V2rsq9qlM2ze75zkURXZi2V9pRLi7pwwckWvvbtfBglYl5ohD5/PzZ/cznO/RcQ9
kDa37m6dhnPPmXfGoTe59FsrarVFML46sRtoejymE3bhzvbZgXHQwhNSsjdbNoCZ
6lnetza93aujo23/NMSknwz+RhnVgRWNRQBDhDP3Z7R2PqzL0sybHaupzOHCjacI
O82onoqA2EbSrNyjMK26VixXoGDVYanbSSXwR9r+SIyPa69Mfd6uz5i5zfZ21cGI
TNt57ZuPXRrZ9PQDKbmxsPIvPyY+wfrzCKGHwq+Wz6gkMiWJ2735PtL1kEV7JrQS
v2/HKjWkytDX/hRVfDASgzY1JqOBBSAZmyzdE0FKxAsMt6n00YPz2Fu+Rkn+t+Q6
CXZ2QfCctDLzHOCcRWRD6iF/4DQUjdkOBfdgs0r/wCRi/yJO791675cCdRQHt3dG
3+lJauj+udcYYAqSh6svkUdJLZwkUxSDAbC+WrZeRsAOsSuwCJN4flUUvdNBmUD8
K6dehACt44MuLnQl9uGA0zPD7It7/f9e/BXgbej4IwkYzKMJSWqUbSIfHrD2Mi9E
UWyFrvWsObaEIzd/I0A0X7nIn4gaJaeiRHwUZWaulQ58I31Pnt+Xwe5MgVab/Ak6
ak6nRWBCd1i+cZzA7H5G
=IVm3
-----END PGP SIGNATURE-----