Current-Users archive

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

Re: Sysinst default root login shell



jruohonen%iki.fi@localhost wrote:

> I agree that there's a problem in sysinst, but I don't agree about
> what the problem is.

Whatever the resolution is, can we get a fix ASAP. Keeping the test
infrastructure broken can be expensive.

The following change has been added to my local copy of anita. It forces use of /bin/sh and successfully allows the 'anita test' command to proceed.

I'll be using this locally until the root cause is resolved. If you want to check amd64 test results, you can see my test results at http://www.whooppee.com/amd64-results/


{179} diff -u anita.py.orig anita.py
--- anita.py.orig       2012-04-10 04:24:56.000000000 -0700
+++ anita.py    2012-04-09 20:15:19.000000000 -0700
@@ -1175,6 +1175,8 @@
     child.expect("login:")
     child.send("root\n")
     child.expect("\n# ")
+    child.send("/bin/sh\n")
+    child.expect("\n# ")

 def net_setup(child):
     child.send("dhclient ne2\n")




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index