[nzlug] Help: Trouble after LDAP + NSS configuration

Cliff Pratt enkidu at cliffp.com
Fri Feb 15 08:53:55 NZDT 2008


Steve Holdoway wrote:
> On Fri, 15 Feb 2008 08:05:54 +1300 (NZDT) "Roland Hill"
> <rolandh at ak.planet.gen.nz> wrote:
> 
>> On Fri, February 15, 2008 7:54 am, Steve Holdoway wrote:
>> 
>>> It looks like your softraid isn't being initiated. If you're
>>> using mirroring, then you may be able to boot off one of the
>>> physical disks into single user mode, and then update both copies
>>> of /etc/group. With raid 5 it'll be a bit more tricky!
>>> 
>>> I reckon the live CD's by far the best way too!
>>> 
>>> Steve
>> Thanks Steve,
>> 
>> I'm running software RAID 1, and indeed I did wonder about how that
>> was 'contributing' to the situation. It also makes me wonder how I
>> will mount the array while running a live CD in order to make the
>> changes I need to do. I need to mount /dev/md2, which is my root.
> IIRC a modern version of Knoppix will recognise them. Otherwise it's
> down to hacking the mirrors separately. I have done this in
> desperation before - booting into single user mode changing the
> root=/dev/md2 to /dev/sda2, and adding init=/bin/bash *should* work.
> 
> But I'd try the live cd first!!! The hacking above's a last resort
> only.
>> It's all about the timing of what loads when in the boot process,
>> which is the core of my current problem regarding LDAP + NSS. It
>> trys to connect to the LDAP server before the network has been
>> started (well that's my take of the notes of seen my googling).
> 
I look at it the other way around - hacking it with the Live CD is the 
last resort! The proper way is to boot into single user mode.

Cheers,

Cliff



More information about the NZLUG mailing list