On Fri, 19.08.11 16:48, Albert Strasheim ([email protected]) wrote: > it does a goto fail at this point: > > 151 if ((r = hashmap_put(u->meta.manager->units, s, u)) < 0) { > (gdb) n > 152 set_remove(u->meta.names, s); > (gdb) n > 153 goto fail; > > where s = strdup(text), and text contains the alias string. > > This is the only obvious difference I can see in the code that adds > the original device and its alias.
Usually this is an indication that the name is already defined. Can you do "print (char*) strerror(-r)" in gdb after the hashmap_put() failed? This should tell us what is going wrong. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
