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

Re: Bug#459403: libuuid1: missing depends on non-essential package passwd



Hi,

I've made some cleanup of the passwd and login dependencies, and
remembered this discussion.

The main change is the move of libpam-modules from Depends to Pre-Depends
for login (which is Essential).
This moves libpam-modules to a virtual Essential package, which is the
reason of this mail (but as mentioned in the earlier thread, I don't think
this may be an issue).

On Mon, Jan 07, 2008 at 01:16:59AM -0800, Steve Langasek wrote:
> But let's have a look:
> 
> Package: passwd
> Version: 1:4.0.18.2-1
> Depends: libc6 (>= 2.6.1-1), libpam0g (>= 0.99.7.1), libselinux1 (>= 2.0.15), login (>= 970502-1), libpam-modules (>= 0.72-5), debianutils (>= 2.15.2)
[...]
> login is also Essential: yes, so is only in the list because it's a
> versioned dep; but it's a versioned dep on a version older than oldstable,
> so we can probably prune that dep from passwd to make the essential set just
> a little less tangled.  Anyway, nothing in essential currently depends on
> passwd so we know there's no problematic loop here.

I've removed the versioned dependency of passwd on login (and hence the
dependency)

> debianutils is likewise essential, and the versioned dep is likewise
> satisfied by the version in stable (though not in oldstable).  Again the dep
> could probably be pruned.

I've kept this one.

> That leaves libpam-modules being pulled in, which is not currently essential
> or a pre-dep of any other essential packages.  This is not a spurious
> dependency on the part of passwd; actually, I'm left wondering why login has
> it as a Depends instead of as a Pre-Depends, since the stock login PAM
> config isn't going to work very well without those modules, so login seems
> to be failing the requirement to be minimally functional while unpacked but
> not configured.

I've moved the login's dependency on libpam-modules to a Pre-Depends.
Without libpam-modules, login and su will always reject the request.

Best Regards,
-- 
Nekral


Reply to: