1
0
mirror of https://github.com/systemd/systemd.git synced 2025-09-07 09:44:44 +03:00

comment out udev's is_initialized call until the problem is sorted out

This commit is contained in:
Kay Sievers
2013-12-18 05:06:32 +01:00
parent bf5332d2bf
commit 48b9cfcb7c
2 changed files with 12 additions and 0 deletions

8
TODO
View File

@@ -1,4 +1,12 @@
Bugfixes: Bugfixes:
* sort-out libudev's is_initialized logic for:
- enumerate devices:
- is_initialized is true if a database exists
- monitor devices:
- is_initialized is always false; was not supposed to be used here
- in-container devices:
- is_initialized is always false, because there is no database
* enabling an instance unit creates a pointless link, and * enabling an instance unit creates a pointless link, and
the unit will be started with getty@getty.service: the unit will be started with getty@getty.service:
$ systemctl enable getty@.service $ systemctl enable getty@.service

View File

@@ -303,9 +303,13 @@ static int device_process_new_device(Manager *m, struct udev_device *dev) {
assert(m); assert(m);
#if 0
/* FIXME: this is always false for devices received from udev_monitor */
/* Don't pick up devices before udev finished initialization for them */ /* Don't pick up devices before udev finished initialization for them */
if (!udev_device_get_is_initialized(dev)) if (!udev_device_get_is_initialized(dev))
return 0; return 0;
#endif
sysfs = udev_device_get_syspath(dev); sysfs = udev_device_get_syspath(dev);
if (!sysfs) if (!sysfs)