From 5475ff4b7ad8b95d9863c98f0930a6c9b5c80eed Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 14 Nov 2010 19:24:41 +0100 Subject: [PATCH] udev: ignore temporary udev devices --- TODO | 16 ++++++---------- src/99-systemd.rules | 2 ++ 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/TODO b/TODO index 09a392f47..cb1296950 100644 --- a/TODO +++ b/TODO @@ -56,8 +56,6 @@ * start getty 2-6 only when actual vt switch happens (same model as socket on-demand activation) -* ask-password: find way to disable wall agent where tty agent is running - * readahead: btrfs/LVM SSD detection * man pages for: locale.conf, vconsole.conf modules-load.d @@ -68,20 +66,12 @@ * parse early boot time env var from dracut RD_TIMEOUT, drop RD_xxx -* cryptsetup - * add seperate man page for [Install] settings * only add quotacheck deps to .mount units which mention grpquota/usrquota in the mount flags -* we now order plymouth after udev-trigger. Can we optimize this? - -* drop tmp.mount - * systemctl condrestart should return 0 if service isn't running -* fsck-root.service/start gets queued twice - * tmpfiles: allow specification of .conf files on cmdline * allow runtime changing of log level and target @@ -90,10 +80,16 @@ * tmpfiles: skip sticky files and after wallclock time change +Pre v12: + +* fsck-root.service/start gets queued twice + * pull in 'following' units in transactions * fix hotplug transactions +* make it possible to wait for device unplug, i.e. issue "stop" on devices + External: * patch kernel for xattr support in /dev, /proc/, /sys and /sys/fs/cgroup. diff --git a/src/99-systemd.rules b/src/99-systemd.rules index 470b1a087..815c8fd55 100644 --- a/src/99-systemd.rules +++ b/src/99-systemd.rules @@ -7,6 +7,8 @@ ACTION!="add|change", GOTO="systemd_end" +ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="systemd_end" + KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd" KERNEL=="ttyS*", TAG+="systemd" -- 2.30.2