On 07/12/2011 02:06 PM, Mike O'Connor wrote:
> I have two problems, one is that debian doesn't not default to installing with
> a blank password,

It does! If you set debconf to non-interactive mode, that is what is
going to happen. I just checked again in SID, just to make sure!

Now, I can see that this is a bit stupid to warn in a debconf template
about what is going to happen if you don't see the debconf templates...

I thought about checking if the root password was set, and refuse to do
anything if it was not, because I really wouldn't like to allow such a
dangerous situation. Such test could go like this:

if mysql -uroot --execute="use mysql;" ; then
        echo "error"
fi

But the issue is that this is against the policy that any package should
be installable even in the non-interactive mode. So, do you have an idea
how to solve this?

> the other is that mysql-server-5.0 is not a package that is
> currently in debian.

FYI: This was an old template that needs to be updated. There is still
mysql-server-5.0 in Lenny, and the template was written at the time. I'm
quite happy that you spotted the issue.

Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to