LINUX.ORG.RU

История изменений

Исправление mos, (текущая версия) :

я сделал ls /net/data
в логах (если их врубить) видим:

Jan 25 17:21:51 marathon automount[32608]: attempting to mount entry /net/data
Jan 25 17:21:51 marathon automount[32608]: lookup_mount: lookup(ldap): looking up data
Jan 25 17:21:51 marathon automount[32608]: do_bind: lookup(ldap): auth_required: 2, sasl_mech GSSAPI
Jan 25 17:21:51 marathon automount[32608]: sasl_bind_mech: Attempting sasl bind with mechanism GSSAPI
Jan 25 17:21:51 marathon automount[32608]: getuser_func: called with context (nil), id 16385.
Jan 25 17:21:51 marathon automount[32608]: getuser_func: called with context (nil), id 16385.
Jan 25 17:21:51 marathon automount[32608]: sasl_bind_mech: sasl bind with mechanism GSSAPI succeeded
Jan 25 17:21:51 marathon automount[32608]: do_bind: lookup(ldap): autofs_sasl_bind returned 0
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): searching for "(&(objectclass=automount)(|(cn=data)(cn=/)(cn=\2A)))" under "ou=auto.net,ou=autofs,ou=services,dc=home,dc=lan"
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): getting first entry for cn="data"
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): examining first entry
Jan 25 17:21:51 marathon automount[32608]: lookup_mount: lookup(ldap): data -> -fstype=nfs4,sec=krb5p,soft,intr,retry=0 helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): expanded entry: -fstype=nfs4,sec=krb5p,soft,intr,retry=0 helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): gathered options: fstype=nfs4,sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): dequote("helios.home.lan:/data") -> helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): core of entry: options=fstype=nfs4,sec=krb5p,soft,intr,retry=0, loc=helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: sun_mount: parse(sun): mounting root /net, mountpoint data, what helios.home.lan:/data, fstype nfs4, options sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): root=/net name=data what=helios.home.lan:/data, fstype=nfs4, options=sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): nfs options="sec=krb5p,soft,intr,retry=0", nobind=0, nosymlink=0, ro=0
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: called with host helios.home.lan(192.168.1.2) proto tcp version 0x40
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: nfs v4 rpc ping time: 0.000484
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: host helios.home.lan cost 483 weight 0
Jan 25 17:21:51 marathon automount[32608]: prune_host_list: selected subset of hosts that support NFS4 over TCP
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): calling mkdir_path /net/data
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): calling mount -t nfs4 -s -o sec=krb5p,soft,intr,retry=0 helios.home.lan:/data /net/data
Jan 25 17:21:51 marathon automount[32608]: spawn_mount: mtab link detected, passing -n to mount
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon automount[32608]: mount_mount: mount(nfs): mounted helios.home.lan:/data on /net/data
Jan 25 17:21:52 marathon automount[32608]: dev_ioctl_send_ready: token = 11
Jan 25 17:21:52 marathon automount[32608]: mounted /net/data
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon nfsidmap[20828]: nss_getpwnam: name 'deluge' not found in domain 'home.lan'

Исходная версия mos, :

я сделал ls /net/data
в логах (если их врубить) видим:
[code]
Jan 25 17:21:51 marathon automount[32608]: attempting to mount entry /net/data
Jan 25 17:21:51 marathon automount[32608]: lookup_mount: lookup(ldap): looking up data
Jan 25 17:21:51 marathon automount[32608]: do_bind: lookup(ldap): auth_required: 2, sasl_mech GSSAPI
Jan 25 17:21:51 marathon automount[32608]: sasl_bind_mech: Attempting sasl bind with mechanism GSSAPI
Jan 25 17:21:51 marathon automount[32608]: getuser_func: called with context (nil), id 16385.
Jan 25 17:21:51 marathon automount[32608]: getuser_func: called with context (nil), id 16385.
Jan 25 17:21:51 marathon automount[32608]: sasl_bind_mech: sasl bind with mechanism GSSAPI succeeded
Jan 25 17:21:51 marathon automount[32608]: do_bind: lookup(ldap): autofs_sasl_bind returned 0
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): searching for "(&(objectclass=automount)(|(cn=data)(cn=/)(cn=\2A)))" under «ou=auto.net,ou=autofs,ou=services,dc=home,dc=lan»
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): getting first entry for cn=«data»
Jan 25 17:21:51 marathon automount[32608]: lookup_one: lookup(ldap): examining first entry
Jan 25 17:21:51 marathon automount[32608]: lookup_mount: lookup(ldap): data -> -fstype=nfs4,sec=krb5p,soft,intr,retry=0 helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): expanded entry: -fstype=nfs4,sec=krb5p,soft,intr,retry=0 helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): gathered options: fstype=nfs4,sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): dequote(«helios.home.lan:/data») -> helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: parse_mount: parse(sun): core of entry: options=fstype=nfs4,sec=krb5p,soft,intr,retry=0, loc=helios.home.lan:/data
Jan 25 17:21:51 marathon automount[32608]: sun_mount: parse(sun): mounting root /net, mountpoint data, what helios.home.lan:/data, fstype nfs4, options sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): root=/net name=data what=helios.home.lan:/data, fstype=nfs4, options=sec=krb5p,soft,intr,retry=0
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): nfs options=«sec=krb5p,soft,intr,retry=0», nobind=0, nosymlink=0, ro=0
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: called with host helios.home.lan(192.168.1.2) proto tcp version 0x40
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: nfs v4 rpc ping time: 0.000484
Jan 25 17:21:51 marathon automount[32608]: get_nfs_info: host helios.home.lan cost 483 weight 0
Jan 25 17:21:51 marathon automount[32608]: prune_host_list: selected subset of hosts that support NFS4 over TCP
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): calling mkdir_path /net/data
Jan 25 17:21:51 marathon automount[32608]: mount_mount: mount(nfs): calling mount -t nfs4 -s -o sec=krb5p,soft,intr,retry=0 helios.home.lan:/data /net/data
Jan 25 17:21:51 marathon automount[32608]: spawn_mount: mtab link detected, passing -n to mount
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon automount[32608]: mount_mount: mount(nfs): mounted helios.home.lan:/data on /net/data
Jan 25 17:21:52 marathon automount[32608]: dev_ioctl_send_ready: token = 11
Jan 25 17:21:52 marathon automount[32608]: mounted /net/data
Jan 25 17:21:52 marathon rpc.gssd[1778]: ERROR: GSS-API: error in gss_free_lucid_sec_context(): GSS_S_NO_CONTEXT (No context has been established) - Unknown error
Jan 25 17:21:52 marathon rpc.gssd[1778]: WARN: failed to free lucid sec context
Jan 25 17:21:52 marathon nfsidmap[20828]: nss_getpwnam: name 'deluge' not found in domain 'home.lan'
[/code]