Patch for test-ipcrm
It is part of unsafe-tests. It got enabled and turned out to be failing in the koji environment.
This commit is contained in:
parent
6353553a57
commit
40fcd871d4
23
0068-test-ipcrm-use-configured-nobody-user-name.patch
Normal file
23
0068-test-ipcrm-use-configured-nobody-user-name.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From b8ef421ff36209dd21c4dbe74c71ae56dce6751c Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||||||
|
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) {
|
@ -104,6 +104,8 @@ Patch0059: 0059-units-restore-Before-dependencies-for-systemd-vconso.patch
|
|||||||
Patch0060: 0060-coredump-really-extract-container-cmdline-5167.patch
|
Patch0060: 0060-coredump-really-extract-container-cmdline-5167.patch
|
||||||
Patch0061: 0061-machinectl-make-sure-that-inability-to-get-OS-versio.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
|
# GIT_DIR=../../src/systemd/.git git diffab -M v232..master@{2017-01-30} hwdb/[67]* > hwdb.patch
|
||||||
Patch0997: hwdb.patch
|
Patch0997: hwdb.patch
|
||||||
Patch0998: 0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
|
Patch0998: 0998-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user