getting rid of the symlink to /mnt/runtime/etc/selinux fixes:
12:28:33 WARNING : Failed to create /etc/selinux/config: Read-only file
system
12:28:33 WARNING : Failed to create
/etc/selinux/targeted/contexts/customizable_types: Read-only file system
Jerry
diff -up ./loader.c.orig ./loader.c
--- ./loader.c.orig 2008-04-05 12:24:25.000000000 -0500
+++ ./loader.c 2008-04-05 12:39:57.000000000 -0500
@@ -1734,13 +1734,14 @@ int main(int argc, char ** argv) {
url = doLoaderMain("/mnt/source", &loaderData, modInfo);
if (!FL_TESTING(flags)) {
- int ret;
+/* int ret; */
/* unlink dirs and link to the ones in /mnt/runtime */
migrate_runtime_directory("/usr");
migrate_runtime_directory("/lib");
migrate_runtime_directory("/lib64");
- ret = symlink("/mnt/runtime/etc/selinux", "/etc/selinux");
+/* ret = symlink("/mnt/runtime/etc/selinux", "/etc/selinux"); */
+
copyDirectory("/mnt/runtime/etc","/etc", copyWarnFn, copyErrorFn);
copyDirectory("/mnt/runtime/var","/var", copyWarnFn, copyErrorFn);
}
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list