Blame SOURCES/opencryptoki-3.11.0-warn-user-not-in-pkcs11-group.patch

c0e815
diff -up opencryptoki-3.11.0/usr/sbin/pkcsconf/pkcsconf.c.me opencryptoki-3.11.0/usr/sbin/pkcsconf/pkcsconf.c
c0e815
--- opencryptoki-3.11.0/usr/sbin/pkcsconf/pkcsconf.c.me	2019-01-31 13:27:05.720647942 +0100
c0e815
+++ opencryptoki-3.11.0/usr/sbin/pkcsconf/pkcsconf.c	2019-01-31 13:36:05.763624633 +0100
c0e815
@@ -1072,6 +1072,9 @@ CK_RV init(void)
c0e815
     if (rc != CKR_OK) {
c0e815
         printf("Error initializing the PKCS11 library: 0x%lX (%s)\n", rc,
c0e815
                p11_get_ckr(rc));
c0e815
+        printf("Note: all non-root users that require access to PKCS#11 tokens "
c0e815
+               "using opencryptoki must be assigned to the pkcs11 group to be "
c0e815
+               "able to communicate with the pkcsslotd daemon.\n");
c0e815
         fflush(stdout);
c0e815
         cleanup();
c0e815
     }