Lines Matching refs:rename
835 log_debug("collision on rename of network interface %s to %s , retrying until timeout\n",
916 /* rename a new network interface, if needed */
924 * the run the rename.
927 * but also on its own to check if a temp-rename is necessary when event->name exists.
929 * A temp-rename is necessary when:
947 /* have a conflict, rename to a temp name */
960 /* note, r > 0, which will skip the post-rename stuff if no rename occurs */
962 /* if sysname isn't already the tmpname (ie there is no numeric component), do the rename */
969 log_error("could not rename netif to '%s' for collision avoidance\n",newifname);
972 /* rename it now to its final target if its not already there */
979 } else { /* no need to rename to a tempname first, do a regular direct rename to event->name */
981 r = 1; /* skip the post-rename stuff if no rename occurs */
996 log_warning_errno(r, "could not rename interface '%d' from '%s' to '%s': %m", udev_device_get_ifindex(dev),