Content-Type: text/plain; charset=UTF-8 Content-Length: 1073 I've been debugging this some more and it's only partially broken, but not in the way I thought. I fundamentally misunderstood the way that -r works here (adding extra realms by collecting other arguments); the line I pointed to actually makes sense. And it actually works... as long as you don't specify a -w. Passing -w causes the parent to fork, and each child to rerun through initialize_realms, which ends up parsing argv again. But it uses getopt(): the children will have optind > 1, so they will never see the arguments. On Mon, Jun 16, 2014 at 3:39 PM, Greg Hudson via RT < rt-comment@krbdev.mit.edu> wrote: > If krb5kdc -r has really been broken since inception, we should think > about whether we want to fix it, remove it, or replace it with the > ability to serve multiple realms out of the same DB. The best answer may > be "fix it"; if so, we should add automated tests to make sure it stays > fixed. > _______________________________________________ > krb5-bugs mailing list > krb5-bugs@mit.edu > https://mailman.mit.edu/mailman/listinfo/krb5-bugs >