On Wed, Jun 05, 2013 at 02:17:20PM +0200, Vratislav Podzimek wrote:
See e7b877c296e8d43dc32b75888b7fbf9790565c01 for more info.
Signed-off-by: Vratislav Podzimek <vpodzime(a)redhat.com>
---
pyanaconda/users.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/users.py b/pyanaconda/users.py
index 212184b..7ec594c 100644
--- a/pyanaconda/users.py
+++ b/pyanaconda/users.py
@@ -246,6 +246,7 @@ class Users:
if not childpid:
if not root in ["","/"]:
os.chroot(root)
+ os.chdir("/")
del(os.environ["LIBUSER_CONF"])
self.admin = libuser.admin()
--
1.7.11.7
See 2 other places in users.py where we have os.chroot, why not add this
to them as well?
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)