Bug#319138: [Pkg-shadow-devel] Bug#319138: passwd: install fails: shadowconfig not found

Alexander Gattin arg at online.com.ua
Wed Jul 20 14:07:34 UTC 2005


Hi!

On Wed, 20 Jul 2005 09:07:12 +0200
  Christian Perrier <bubulle at debian.org> wrote:
> Quoting Marc Haber (mh+debian-bugs at zugschlus.de):
>> /var/lib/dpkg/tmp.ci/preinst: line 33: shadowconfig: command not found
...
> The point of this fix was activating shadow passwords on 
>*new*
> installs and, because of the above, this completely 
>fails its goals...
> 
> As the point was running "shadowconfig on" on new 
>installs, the best
> way to handle this is moving the "shadowconfig on" line 
>to postinst
> rather than preinst and run it only when the script is 
>run with
> "install" as argument (not with "reconfigure").
> 
> Comments?

Not run shadowconfig in preinst but in postinst?
BTW, maybe we should also move as much as possible from 
preinst?

P.S. Sorry for ugly quoting -- my mail www interface sucks 
:-/
-- 
WBR,
xrgtn




More information about the Pkg-shadow-devel mailing list