richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
bd1529
From c68da72231d5c502acd4e79791d0810790f3231b Mon Sep 17 00:00:00 2001
bd1529
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
bd1529
Date: Fri, 4 Sep 2020 18:09:20 +0200
bd1529
Subject: [PATCH] udev-test: do not rely on "mail" group being defined
bd1529
bd1529
"audio" should be there, at least we declare it. "mail" nowadays is less
bd1529
likely to exist than in the past.
bd1529
bd1529
Fixes one of the items in #16942.
bd1529
bd1529
(cherry picked from commit a9030b81c154c3ec92227d04cad6b13cc1125608)
bd1529
bd1529
Related: #1642728
bd1529
---
bd1529
 test/udev-test.pl | 4 ++--
bd1529
 1 file changed, 2 insertions(+), 2 deletions(-)
bd1529
bd1529
diff --git a/test/udev-test.pl b/test/udev-test.pl
bd1529
index 4bf97d82bb..a4deffacb9 100755
bd1529
--- a/test/udev-test.pl
bd1529
+++ b/test/udev-test.pl
bd1529
@@ -629,9 +629,9 @@ EOF
bd1529
                 desc            => "textual user/group id",
bd1529
                 devpath         => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda",
bd1529
                 exp_name        => "node",
bd1529
-                exp_perms       => "root:mail:0660",
bd1529
+                exp_perms       => "root:audio:0660",
bd1529
                 rules           => <
bd1529
-SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="mail"
bd1529
+SUBSYSTEMS=="scsi", KERNEL=="sda", SYMLINK+="node", OWNER="root", GROUP="audio"
bd1529
 EOF
bd1529
         },
bd1529
         {