From 40fcd871d49985a4093079444780ece1c1bc4dbf Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Feb 14 2017 23:44:48 +0000 Subject: Patch for test-ipcrm It is part of unsafe-tests. It got enabled and turned out to be failing in the koji environment. --- diff --git a/0068-test-ipcrm-use-configured-nobody-user-name.patch b/0068-test-ipcrm-use-configured-nobody-user-name.patch new file mode 100644 index 0000000..96a0b25 --- /dev/null +++ b/0068-test-ipcrm-use-configured-nobody-user-name.patch @@ -0,0 +1,23 @@ +From b8ef421ff36209dd21c4dbe74c71ae56dce6751c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= +Date: Tue, 14 Feb 2017 18:40:55 -0500 +Subject: [PATCH] test-ipcrm: use configured nobody user name + +"nfsnobody" is now obsolete. +--- + src/test/test-ipcrm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/test/test-ipcrm.c b/src/test/test-ipcrm.c +index 463e135e2b..ce6c7aa18a 100644 +--- a/src/test/test-ipcrm.c ++++ b/src/test/test-ipcrm.c +@@ -24,7 +24,7 @@ + int main(int argc, char *argv[]) { + uid_t uid; + int r; +- const char* name = argv[1] ?: "nfsnobody"; ++ const char* name = argv[1] ?: NOBODY_USER_NAME; + + r = get_user_creds(&name, &uid, NULL, NULL, NULL); + if (r < 0) { diff --git a/systemd.spec b/systemd.spec index cd90f39..e3d1f53 100644 --- a/systemd.spec +++ b/systemd.spec @@ -104,6 +104,8 @@ Patch0059: 0059-units-restore-Before-dependencies-for-systemd-vconso.patch Patch0060: 0060-coredump-really-extract-container-cmdline-5167.patch Patch0061: 0061-machinectl-make-sure-that-inability-to-get-OS-versio.patch +Patch0068: 0068-test-ipcrm-use-configured-nobody-user-name.patch + # GIT_DIR=../../src/systemd/.git git diffab -M v232..master@{2017-01-30} hwdb/[67]* > hwdb.patch Patch0997: hwdb.patch Patch0998: 0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch