core: add Manager::honor_device_enumeration flag
When system manager is started first time or after switching root, then the udev's device tag data do not exist yet. So, let's not honor the enumeration results. Fixes #11997.
This commit is contained in:
@@ -395,6 +395,8 @@ struct Manager {
|
||||
* multiple times on the same unit. */
|
||||
unsigned sigchldgen;
|
||||
unsigned notifygen;
|
||||
|
||||
bool honor_device_enumeration;
|
||||
};
|
||||
|
||||
#define MANAGER_IS_SYSTEM(m) ((m)->unit_file_scope == UNIT_FILE_SYSTEM)
|
||||
|
||||
Reference in New Issue
Block a user