forked from pool/s390-tools
Marcus Meissner
9b729e2acc
New package per "Factory first" policy. Please list me as bug owner and maintainer, if possible. OBS-URL: https://build.opensuse.org/request/show/459343 OBS-URL: https://build.opensuse.org/package/show/Base:System/s390-tools?expand=0&rev=1
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
Subject: [PATCH] [BZ 147113] chzdev: Disable root device update mechanism
|
|
From: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
|
|
|
|
Description: chzdev: Disable root device update mechanism
|
|
Symptom: chzdev reports problems updating /etc/zipl.conf and running
|
|
zipl.
|
|
Problem: When chzdev changes the root device persistent configuration,
|
|
it performs additional steps to ensure that these changes are
|
|
correctly applied. Example for such steps are: updating the
|
|
initial RAM disk, modifying the zipl.conf configuration file
|
|
and running zipl. As these steps are incompatible with the target
|
|
distribution, they fail.
|
|
Solution: Suppress chzdev's root device update mechanism.
|
|
Reproduction: chzdev --enable --persistent --by-path /
|
|
Upstream-ID: -
|
|
Problem-ID: 147113
|
|
|
|
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
|
|
---
|
|
zdev/src/chzdev.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/zdev/src/chzdev.c
|
|
+++ b/zdev/src/chzdev.c
|
|
@@ -233,6 +233,7 @@ static void init_options(struct options
|
|
opts->settings = strlist_new();
|
|
opts->remove = strlist_new();
|
|
opts->base = strlist_new();
|
|
+ opts->no_root_check = 1;
|
|
}
|
|
|
|
/* Release memory used in options data structure. */
|