Re: [PATCH] Touch /.autorelabel when running under rescue mode (#491747).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, April 15 2009, Chris Lumens said:
> diff --git a/rescue.py b/rescue.py
> index 6938e35..707f3be 100644
> --- a/rescue.py
> +++ b/rescue.py
> @@ -339,6 +339,9 @@ def runRescue(anaconda, instClass):
>                      except Exception, e:
>                          log.error("error mounting selinuxfs: %s" %(e,))
>  
> +                    fd = open("%s/.autorelabel" % anaconda.rootPath, "w+")
> +                    fd.close()
> +
>                  # set a library path to use mounted fs
>                  os.environ["LD_LIBRARY_PATH"] =  "/lib:/usr/lib:/usr/X11R6/lib:/lib:/mnt/usr/lib:/mnt/sysimage/lib:/mnt/sysimage/usr/lib:/mnt/sysimage/usr/X11R6/lib"

Painful and annoying, but it will solve the problem.  Ack

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux