tags 1152854 + patch
thanks

I built procps locally after adding upstream commit ff38df780ec8a1e57b46e64435576e5d1b5be8f8 (from the linked MR in my original report) as a patch and have confirmed that it fixes the issue. I'm attaching the patch I used here as a convenience so the Debian-provided package can be built with this fix before upstream provides a release with the fix. (As of right now, 4.0.7 is still the latest available upstream.)

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document: http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5

------------------------------------------------------------------------
                    IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is addressed. If you have received this message it was obviously addressed to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY mailing lists to which I am subscribed, whether intentionally or accidentally, you are agreeing that I am "the intended recipient," and that I may do whatever I wish with the contents of any message received from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may be included on your message.
diff --git a/src/sysctl.c b/src/sysctl.c
index 870dd492..e145eebc 100644
--- a/src/sysctl.c
+++ b/src/sysctl.c
@@ -406,7 +406,7 @@ static int ReadSetting(const char *restrict const name)
 			rc = EXIT_FAILURE;
 			break;
 		case EIO:	    /* Ignore stable_secret below /proc/sys/net/ipv6/conf */
-			rc = EXIT_FAILURE;
+			rc = EXIT_SUCCESS;
 			break;
 		default:
 			warn(_("reading key \"%s\""), outname);
@@ -458,7 +458,7 @@ static int ReadSetting(const char *restrict const name)
 					goto out;
 				}
 			case EIO:	    /* Ignore stable_secret below /proc/sys/net/ipv6/conf */
-				rc = EXIT_FAILURE;
+				rc = EXIT_SUCCESS;
 				break;
 			default:
 				warnx(_("reading key \"%s\""), outname);

Reply via email to