summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1eea74a)
raw | patch | inline | side by side (parent: 1eea74a)
| author | Michael Biebl <biebl@debian.org> | |
| Mon, 26 Nov 2012 18:44:22 +0000 (19:44 +0100) | ||
| committer | Michael Biebl <biebl@debian.org> | |
| Mon, 26 Nov 2012 23:31:12 +0000 (00:31 +0100) |
| src/99-systemd.rules.in | patch | blob | history | |
| src/login/70-uaccess.rules | patch | blob | history | |
| src/login/71-seat.rules | patch | blob | history | |
| src/login/73-seat-late.rules.in | patch | blob | history |
--- a/src/99-systemd.rules.in
+++ b/src/99-systemd.rules.in
# (at your option) any later version.
ACTION=="remove", GOTO="systemd_end"
+TEST!="/sys/fs/cgroup/systemd", GOTO="systemd_end"
SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd"
ACTION=="remove", GOTO="uaccess_end"
ENV{MAJOR}=="", GOTO="uaccess_end"
+TEST!="/sys/fs/cgroup/systemd", GOTO="uaccess_end"
# PTP/MTP protocol devices, cameras, portable media players
SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="", ENV{DEVTYPE}=="usb_device", IMPORT{program}="usb_id --export %p"
--- a/src/login/71-seat.rules
+++ b/src/login/71-seat.rules
# (at your option) any later version.
ACTION=="remove", GOTO="seat_end"
+TEST!="/sys/fs/cgroup/systemd", GOTO="seat_end"
TAG=="uaccess", SUBSYSTEM!="sound", TAG+="seat"
SUBSYSTEM=="sound", KERNEL=="card*", TAG+="seat"
# (at your option) any later version.
ACTION=="remove", GOTO="seat_late_end"
+TEST!="/sys/fs/cgroup/systemd", GOTO="seat_late_end"
ENV{ID_SEAT}=="", ENV{ID_AUTOSEAT}=="1", ENV{ID_FOR_SEAT}!="", ENV{ID_SEAT}="seat-$env{ID_FOR_SEAT}"
ENV{ID_SEAT}=="", IMPORT{parent}="ID_SEAT"
