http://qa.mandrakesoft.com/show_bug.cgi?id=6119

           Product: autofs
         Component: program
           Summary: [amd64] parsing autofs names goes wrong
           Product: autofs
           Version: 4.0.0-0.19mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


after putting a symlink (/usr/lib64/autofs --> /usr/lib/autofs), otherwise
autofs won't start, see bug 5351:

When I do "ls /build/plf" the following shows up in the log files, as you can
see, it is looking up "/build/":

Oct  9 21:10:00 turaco automount[930]: attempting to mount entry /build/
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): no entry for "" found,
trying cn="/"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=/))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): getting first entry for cn="/"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): query succeeded, no
matches for (&(objectclass=nisObject)(cn=/))
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): searching for
"(&(objectclass=automount)(cn=))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): no entry for "" found,
trying cn="/"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): searching for
"(&(objectclass=automount)(cn=/))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): getting first entry for cn="/"
Oct  9 21:10:00 turaco automount[1144]: lookup(ldap): query succeeded, no
matches for (&(objectclass=automount)(cn=/))

For "ls /build/cooker" it only looks up "/build/er" :

Oct  9 21:20:00 turaco automount[930]: attempting to mount entry /build/er
Oct  9 21:20:03 turaco automount[1142]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=er))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:20:03 turaco automount[1142]: lookup(ldap): no entry for "er" found,
trying cn="/"
Oct  9 21:20:03 turaco automount[1142]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=/))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:20:03 turaco automount[1142]: lookup(ldap): getting first entry for cn="/"
Oct  9 21:20:03 turaco automount[1142]: lookup(ldap): query succeeded, no
matches for (&(objectclass=nisObject)(cn=/))
Oct  9 21:20:06 turaco automount[1142]: lookup(ldap): searching for
"(&(objectclass=automount)(cn=er))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:20:06 turaco automount[1142]: lookup(ldap): no entry for "er" found,
trying cn="/"
Oct  9 21:20:06 turaco automount[1142]: lookup(ldap): searching for
"(&(objectclass=automount)(cn=/))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:20:06 turaco automount[1142]: lookup(ldap): getting first entry for cn="/"
Oct  9 21:20:06 turaco automount[1142]: lookup(ldap): query succeeded, no
matches for (&(objectclass=automount)(cn=/))

For "ls /build/cookcooker" it only looks up "/build/cooker":

Oct  9 21:40:00 turaco automount[930]: attempting to mount entry /build/cooker
Oct  9 21:40:03 turaco automount[1162]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=cooker))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:40:03 turaco automount[1162]: lookup(ldap): no entry for "cooker"
found, trying cn="/"
Oct  9 21:40:03 turaco automount[1162]: lookup(ldap): searching for
"(&(objectclass=nisObject)(cn=/))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:40:03 turaco automount[1162]: lookup(ldap): getting first entry for cn="/"
Oct  9 21:40:03 turaco automount[1162]: lookup(ldap): query succeeded, no
matches for (&(objectclass=nisObject)(cn=/))
Oct  9 21:40:07 turaco automount[1162]: lookup(ldap): searching for
"(&(objectclass=automount)(cn=cooker))" under "ou=auto.build,dc=mandrake,dc=vpn"
Oct  9 21:40:07 turaco automount[1162]: lookup(ldap): examining first entry
Oct  9 21:40:07 turaco automount[1162]: lookup(ldap): entry 0 is
"anorien:/data/build/&"
Oct  9 21:40:07 turaco automount[1162]: parse(sun): expanded entry:
anorien:/data/build/cooker
Oct  9 21:40:07 turaco automount[1162]: parse(sun): gathered options:
Oct  9 21:40:07 turaco automount[1162]: parse(sun):
dequote("anorien:/data/build/cooker") -> anorien:/data/build/cooker
Oct  9 21:40:07 turaco automount[1162]: parse(sun): core of entry: options=,
loc=anorien:/data/build/cooker
Oct  9 21:40:07 turaco kernel: automount[1162]: segfault at 0000007f54907738 rip
0000002a964aac37 rsp 0000007f54907740 error 6

I guess the first 4 characters in to be mounted directories name get lost.

This only takes place on amd64 (alpha, i586 and sparc are fine)

-- 
Configure bugmail: http://qa.mandrakesoft.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.

Reply via email to