# kdb5_util create -r GNUTOO.ORG Loading random data Initializing database '/var/lib/krb5kdc/principal' for realm 'GNUTOO.ORG', master key name 'K/M@GNUTOO.ORG' You will be prompted for the database Master Password. It is important that you NOT FORGET this password. Enter KDC database master key: Re-enter KDC database master key to verify: create: File exists while creating database '/var/lib/krb5kdc/principal' here we see that the file created is in /var/lib/krb5kdc but /var/lib/krb5kdc doesn't exist because the ebuild didn't create it so it fails to create the database... by the way we could also change the default kdc.conf to match the location of the file... Reproducible: Always Steps to Reproduce:
So, just creating a zero-length file will be ok?
(In reply to comment #1) > So, just creating a zero-length file will be ok? > mabe i didn't express myself well... /var/lib/krb5kdc is a folder... and this folder doesn't exist at the installation so the database creeation tool can't create the database because it will create the files in this directory that is absent...
1.5.2-r1 (the security bumped version) has this fix. about to commit.