File procps-ng-3.3.9-stable_secret.patch of Package procps.openSUSE_Leap_42.3_Update

---
 sysctl.c |    6 ++++++
 1 file changed, 6 insertions(+)

--- sysctl.c
+++ sysctl.c	2017-07-06 09:23:55.635379302 +0000
@@ -234,6 +234,9 @@ static int ReadSetting(const char *restr
 			xwarnx(_("permission denied on key '%s'"), outname);
 			rc = -1;
 			break;
+		case EIO:	    /* Ignore stable_secret below /proc/sys/net/ipv6/conf */
+			rc = -1;
+			break;
 		default:
 			xwarn(_("reading key \"%s\""), outname);
 			rc = -1;
@@ -288,6 +291,9 @@ static int ReadSetting(const char *restr
 					rc = DisplayAll(tmpname);
 					goto out;
 				}
+			case EIO:	    /* Ignore stable_secret below /proc/sys/net/ipv6/conf */
+				rc = -1;
+				break;
 			default:
 				xwarnx(_("reading key \"%s\""), outname);
 				rc = -1;
openSUSE Build Service is sponsored by