From: Robert L. <vec...@ya...> - 2009-08-06 07:05:06
|
Hi Newt M0E Well i tried the same experiment from the installer shell after exiting the installer I tried chroot /mnt/target /sbin/passwdx rob (passwd) and got a seqfault then for fun did useradd robby that worked passwdx robby (passwd) seqfault.............tried adduser from same chroot no problem all worked fine tried userdel worked and useradd worked passwdx seems to seqfault for some reason............would you all try the same and see if we can nail down the seqfault for passwdx............we get this figured out we are almost home............:) Cheers, Robert Robert Lange vec...@ya... http://www.vectorlinux.com --- On Thu, 8/6/09, Newtor <gen...@gm...> wrote: > From: Newtor <gen...@gm...> > Subject: Re: [Vectorlinux-devel] VL6.0-SOHO-A1.9.21 > To: "M0E Lnx" <m0...@gm...>, "Vector Linux developer's list" <vec...@li...> > Received: Thursday, August 6, 2009, 12:56 AM > Hello, > > I'm trying to recreate the scenario for setting root's > password during > installation to see if I can log any further information. > So far all I've been > able to determine is that a 'segmentation fault' is > occurring when trying to set > root's password; I'll make the assumption that the same is > true when setting user > account passwords as well. > > If I manually chroot to the target and issue 'passwdx root > root' I receive: > spawn passwd root > Segmentation fault > > The installer looks to be passing a valid and correct > command to the shell. The > 'passwdx' script looks to be correct in regards to code. > 'expect' is installed and > seems to be functioning correctly. 'autopasswd' also ends > in a segmentation fault. > Is it possible that the 1.21 ISO was simply compiled with > some kind of a > corruption that causes this issue (either in the ISO itself > or the expect > interpreter)? > > I have not had a problem with user account creation; simply > password setting. I > assume that the user account creation step involves the > same password setting > syntax (and interpreter; expect), which would lead me to > believe the problem lies > somewhere in there. By chance, did 'expect' change from > 1.17 to 1.21? > > The md5 of expect installed on my system from 1.21 is: > e4a981a3b18bc7f53b817ce1d1639b61 /usr/bin/expect > > It would be interesting to see if the same is true for M0E > since he does not seem > to be experiencing this same issue. > > On the bright side, 'chpasswd' works fine :D > > Cheers, newt > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > Wednesday, August 5, 2009, 10:11:32 PM, you wrote: > > ML> Ok guys, I will check the /etc/shadow thing. But im > still curious why > ML> I dont get this problem. > > ML> @ uelsk8s > ML> Can you check my shell code to make sure the > procedure for creating > ML> the new account is correct? The code is here > ML> http://vlcore.vectorlinux.com/trac/vinstall/browser/branches/speedy/MdlMain.module#L668 > > ML> Will do some more debugging tomorrow > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's > new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Vectorlinux-devel mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vectorlinux-devel > __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ |