[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] [Bug 21764] [Installation] NEEDINFO: /etc/init.d/autofs script broken (not working with lda
From:       "michael.bauer () cs ! fau ! de" <bugzilla () qa ! mandrivalinux ! com>
Date:       2006-03-31 19:37:17
Message-ID: bug21764.20060331193717.569160 () qa ! mandriva ! com
[Download RAW message or body]

User ID: 71238, 3 bugs reported (0 fixed, 0 duplicate, 0 invalid), 5 comments.

http://qa.mandriva.com/show_bug.cgi?id=21764





------- Comment #3 from michael.bauer@cs.fau.de  2006-03-31 21:37 -------
(In reply to comment #1)
> I use LDAP without problems, so you'd better make a difference between 'using a
> graphical wizard to setup configuration' and 'using ldap', thanks.

Sorry, I didn't want to insult anybody. 

> autofs works perfectly for me on 2006 (as on 2005 and cooker):
> Points de montage configurés :
> ------------------------/usr/sbin/automount --timeout=60 /home/beaune ldap
> ou=auto.home.beaune,ou=autofs,dc=village,dc=inria,dc=fr
> 
> It seems the main difference comes from the schema you're using. Can you give
> an LDIFF sample ? 

See the snapshot in the attachment (I assume it is wrong) Sorry, I'm not admin
of the ldap server, I just want to run my own client. Our admin installed a new
ldap server (we had a nis server before) and since then there are some problems
;-) Most of our clients are running suse10.0 (or suse8.2) and both do work with
the server, but I don't want to use suse and tried mandriva10.2 and 2006.0 and
even fedoracore5 ;-) and failed. I have to admit that I'm not an expert but I
usually am able to solve these kind of problems.


-- 
Configure bugmail: http://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: install@mandriva.com
status: NEEDINFO
distribution: 2006.0-official
creation_date: 
description: 
I tried to install a mandriva 2006 client using ldap for "everything"
(authentification, automount maps ...) but the automounter does not work. In
addition the lap config-files are incomplete (see bug #21762). The whole ldap
configuration seems not to be tested at all ;-) I switched back to "mandriva
2005 limited ed".

The error is probably located in the /etc/init.d/autofs script in the function
getmounts. The script generates wrong automount commands which contain
parameters for yp AND ldap, but ONLY ldap should be there (our admin found a
similar error in the debian autofs script).

Example (wrong): 

> /etc/init.d/autofs status
Konfigurierte Einhängepunkte:
------------------------
/usr/sbin/automount --timeout=60 /home yp ldap
nisMapName=auto.home,ou=automounts,dc=i9,dc=informatik,dc=uni-erlangen,dc=de


The correct version should be:

/usr/sbin/automount --timeout=60 /home ldap
nisMapName=auto.home,ou=automounts,dc=i9,dc=informatik,dc=uni-erlangen,dc=de


After patching the autofs script the boot process took extraordinarily long. It
took about 2 or 3 minutes to "mount sysfs as /sys" and to start udev. This could
be due to another bug, but it seems to be related, since it only occurs when
using ldap, it did not occur with a "nis for everything" setup. I switched back
to "2005 limited edition" for the moment which has the same autofs-script bug,
but it works when patched and has no problem with the udev start during the boot
process.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic