Hi!

On Sat, Jul 23, 2005 at 07:15:25PM +0200, Marc Haber wrote:
> On Sat, Jul 23, 2005 at 07:55:13PM +0300, Alexander Gattin wrote:
> > BTW I would prefer to have a sequence of actions to
> > reproduce the bug. ;)
> 
> Create a syntactically invalid /etc/group, for example one with an
> empty line in it. Then dpkg-reconfigure passwd.

OK. Trying on woody:
> cherokee:~# dpkg-reconfigure passwd
> cherokee:~# echo "$?"
> 1
> cherokee:~# vim -n /var/lib/dpkg/info/passwd.config
Repeating the fix from SVN

> cherokee:~# dpkg-reconfigure passwd
> invalid group file entry
> delete line `'? grpck: no changes
> Please correct the error and rerun `/usr/sbin/shadowconfig on'
Now you see error message form grpck.
So the fix is pending (in SVN).

> cherokee:~# vigr
Removed empty line.

> cherokee:~# dpkg-reconfigure passwd
> Shadow passwords are now on.

As you see, passwd.config became more wordy. Maybe this
is too much -- what do you think?

I could make it complaining on error only, but I'm not
sure about "gettext" debconf frontend with shadowconfig
-- need to check.

-- 
WBR,
xrgtn


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to