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. */
|