[Pkg-shadow-devel] Bug#386293: this bug related to my postinst fix?

Nicolas François nicolas.francois at centraliens.net
Sat Feb 24 23:03:29 CET 2007


tags 386293 -unreproducible
thanks

On Sat, Feb 24, 2007 at 02:11:26PM -0500, pryzbyj at justinpryzby.com wrote:
> In #374457, I reported a postinst path that wasn't being followed, and
> proposed a fix.  In #386293, it is my understanding that "shadowconfig"
> was run not during a new install, inconsistent with the maintainers'
> expectations.  Are these related?  The version numbers seem to indicate
> this as a possibility.

In #386293, shadowconfig is run after an install (i.e. passwd installed,
removed and installed again).

It is reproducible, but I don't really understand were is the problem.

1. On install, password and group databases are shadowed (shadowconfig on)

2. On removal, the databases are not unshadowed.

I'm not willing to change this behavior.

3. When shadowconfig enables a shadow config, it first checks if the
current databases are consistent, and if they are not, it displays an
error.

This also looks like a valid behavior to me.


Matthieu and Kurt, isn't the following log sufficient?

>   no matching group file entry in /etc/gshadow
>   add group 'plugdev' in /etc/gshadow ?grpck: no changes
>   Please correct the error and rerun `/sbin/shadowconfig on'

Of course, as this happens during passwd's installation,
/sbin/shadowconfig may not be available, but users should notice what has
to be done.

Regards,
-- 
Nekral




More information about the Pkg-shadow-devel mailing list