From 0d096cffff99eac6a836881a4c8b685050234e6c80b631d7992f70494f103426 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Mar 2024 20:48:22 +0000 Subject: [PATCH] - Add an explanation to the use of static_node OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=74 --- 60-vhba.rules | 7 ++++++- cdemu-daemon.changes | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/60-vhba.rules b/60-vhba.rules index 4e8fbff..c8bfc42 100644 --- a/60-vhba.rules +++ b/60-vhba.rules @@ -1,2 +1,7 @@ #KERNEL=="vhba_ctl", NAME="%k", MODE="0660", OWNER="root", GROUP="cdrom" -KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess" +# +# ACL-granting via uaccess only works when the module has actually been loaded +# (more specifically, that there was a device-create event from the kernel? or +# that it just shows up in /proc/devices?). +# +KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=vhba_ctl" diff --git a/cdemu-daemon.changes b/cdemu-daemon.changes index f577c56..dddfb26 100644 --- a/cdemu-daemon.changes +++ b/cdemu-daemon.changes @@ -1,7 +1,13 @@ +------------------------------------------------------------------- +Thu Mar 14 20:47:36 UTC 2024 - Jan Engelhardt + +- Add an explanation to the use of static_node + ------------------------------------------------------------------- Mon Mar 11 12:17:01 UTC 2024 - Jan Engelhardt -- Revert Feb 27 addition of static_node; this does not do anything. +- Revert Feb 27 addition of static_node; this does not seemingly + do anything. ------------------------------------------------------------------- Tue Feb 27 09:48:05 UTC 2024 - Matthias Bach