From: Kay Sievers Date: Fri, 15 Jul 2011 00:18:50 +0000 (+0200) Subject: do not delete database when renaming netif, the db name does not change anymore X-Git-Tag: 174~56 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52dd9ef2efd3b0392fed505fe4af7c18cb7daa35;p=systemd do not delete database when renaming netif, the db name does not change anymore --- diff --git a/udev/udev-event.c b/udev/udev-event.c index 832abbbf..a4141e9c 100644 --- a/udev/udev-event.c +++ b/udev/udev-event.c @@ -957,10 +957,6 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules, if (err == 0) { info(event->udev, "renamed netif to '%s'\n", event->name); - /* delete stale db file */ - udev_device_delete_db(dev); - udev_device_tag_index(dev, NULL, false); - /* remember old name */ udev_device_add_property(dev, "INTERFACE_OLD", udev_device_get_sysname(dev));