diff options
author | Jan Synacek <jsynacek@redhat.com> | 2019-12-18 09:41:29 +0100 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2020-02-05 23:06:18 +0100 |
commit | b7f9d757dd6f276203b8b04f0c0ba1c61bcf8937 (patch) | |
tree | e9118ee224ad679602b74e13c4fe4a6c7a12767f /rules/60-alias-kmsg.rules | |
parent | 966ecf0011a02c7823083a7868b8589fdf850be8 (diff) | |
download | systemd-b7f9d757dd6f276203b8b04f0c0ba1c61bcf8937.tar.gz |
rules: reintroduce 60-alias-kmsg.rules
Resolves:#1739353
rhel-only
Diffstat (limited to 'rules/60-alias-kmsg.rules')
-rw-r--r-- | rules/60-alias-kmsg.rules | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rules/60-alias-kmsg.rules b/rules/60-alias-kmsg.rules new file mode 100644 index 0000000000..9c7236a730 --- /dev/null +++ b/rules/60-alias-kmsg.rules @@ -0,0 +1,10 @@ +SUBSYSTEM!="block", GOTO="log_end" +KERNEL=="loop*|ram*", GOTO="log_end" +ACTION=="remove", GOTO="log_end" +ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", GOTO="log_end" +ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="log_end" + +IMPORT{cmdline}="udev.alias" +ENV{udev.alias}=="1", RUN+="/bin/sh -c 'echo udev-alias: $name \($links\) > /dev/kmsg'" + +LABEL="log_end" |