Bug#208514: [Pkg-shadow-devel] Bug#208514: add-shell should not depend on passwd : what's *really* intended here?

Alexander Gattin Alexander Gattin <arg@online.com.ua>, 208514@bugs.debian.org
Wed, 13 Apr 2005 23:33:49 +0300


Hi!

On Wed, Apr 13, 2005 at 08:05:44PM +0200, Christian Perrier wrote:
> I've just read the bug log for #208514 and I must admit that, even if
> I understand the topic in general (Herbert did not want to make his
> shell package depend on passwd if it needs add-shell to add it to
> /etc/shells), I don't understand what is *really* suggested.

I too.

Maybe, some sort of /usr/lib/shells/ directory
maintained on the same priciples as /usr/lib/menu/?
And adding 99updatesh to /etc/apt/apt.conf.d/ with
something like
   DPkg::Post-Invoke { "/usr/sbin/update-shells"; };
?

> -should we move add-shell out of the passwd binary package and make it
>  Essential?

Maybe just move it into some other essential package
like debianutils?

> -what is bad in the current situation where all shells needing
> add-shell just test for it to be here?

IMO, single file is simple and satisfactory solution.

Anyway, making a change that will affect _all shells_
in Debian should be well discussed, probably on
debian-devel.

-- 
WBR
xrgtn