Bug#249372: [Pkg-shadow-devel] Bug#249372: Please enable login for GNU/Hurd

Alexander Gattin Alexander Gattin <arg@online.com.ua>, 249372@bugs.debian.org
Sun Jul 10 23:24:46 UTC 2005


tags 249372 pending
thanks

> On Sat, Jul 09, 2005 at 11:18:21PM +0200, Michael Banck wrote:
> > this patch got applied a while ago, which makes /bin/login being
> > provided by the login package and passwd Depend on it.

Now hurd's "passwd" will have non-versioned
dependency on "login" that should allow to use native
hurd's login instead of shadow's one.

Michael, please test this.
// shadow's SVN rep is at svn://svn.debian.org/pkg-shadow.
// To build a package, extract shadow_4.0.3.orig.tar.gz
// and just copy pkg-shadow/trunk/debian subdir from SVN
// to shadow-4.0.3 to debianize.

> How was it on Hurd?

I got an answer to this. Previously shadow's "passwd"
was built for Hurd so that it did not depend on "login"
at all.

But fix for #249372 broke this tradition. 

IMHO, this is not a good thing to have strong
dependency discarded for hurd. The good question
Michael asked me was "why at all passwd depends on
login?". I replied "because of common stuff like
/etc/login.defs and /etc/securetty". I'm pretty sure
this does not make strong dependency, and it looks like
all useradd/userdel etc can operate without
/etc/login.defs at all (at least they worked on hurd
before...).

That's why I did not drop the dependency in question
for hurd but made it non-versioned. After more
discussion, I think we will either make a separate
shadow-common pkg, or change passwd's "Depends: login"
to "Recommends: login".

Please, send your comments.

-- 
WBR,
xrgtn





More information about the Pkg-shadow-devel mailing list