Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logind: save seat before applying acl
udev will trigger the uaccess program in 73-seat-late.rules, which may modify the device's acl permissions. In some cases, udev triggers the uaccess program when logind is started and active is being set. At this time, 1) logind sets the user's acl permissions, 2) uaccess obtains active and sets acl permissions; 3) logind updates seat's stat_file and writes active. This situation will cause the device to not have the correct acl permissions, resulting in abnormal situations such as a black screen. Therefore, it is necessary to write active to seat's stat file before setting acl.
- Loading branch information