All of lore.kernel.org
 help / color / mirror / Atom feed
* auto direct
@ 2004-07-16 20:31 EAGOMEZC
  2004-07-20  1:27 ` Ian Kent
  0 siblings, 1 reply; 9+ messages in thread
From: EAGOMEZC @ 2004-07-16 20:31 UTC (permalink / raw)
  To: autofs

Hi, 

i´ll need to setup direct maps in a linux box using a nis server on Solaris 8. 
This option is not supported in autofs 4.

I don´t know why is not supported, why ? is not implemented, or are there any security tip ? 

Are there another way to mount direct maps ?

Thanks

-----------------------------------------------------------------------
Eduardo A. Gómez Ceballos 
Soporte Técnico de Aplicaciones de Geociencia 
Repsol-YPF 
Regional Argentina Oeste 
Talero 360 - (8300) Neuquén - Argentina 
Tel: 54 299 4492800 int. 42621 
----------------------------------------------------------------------- 




AVISO LEGAL:

Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de REPSOL YPF S.A. y/o subsidiarias y/o afiliadas. La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. 

This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: auto direct
  2004-07-16 20:31 auto direct EAGOMEZC
@ 2004-07-20  1:27 ` Ian Kent
  2004-07-20 12:54   ` Jeff Moyer
  2004-07-20 15:06   ` D. Bahi
  0 siblings, 2 replies; 9+ messages in thread
From: Ian Kent @ 2004-07-20  1:27 UTC (permalink / raw)
  To: EAGOMEZC; +Cc: autofs

On Fri, 16 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:

> Hi, 
> 
> i´ll need to setup direct maps in a linux box using a nis server on Solaris 8. 
> This option is not supported in autofs 4.
> 
> I don´t know why is not supported, why ? is not implemented, or are there any security tip ? 
> 
> Are there another way to mount direct maps ?
> 

Your not entirely correct.

Maybe you should investigate a bit before making these assumptions.

Ian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: auto direct
  2004-07-20  1:27 ` Ian Kent
@ 2004-07-20 12:54   ` Jeff Moyer
  2004-07-20 15:06   ` D. Bahi
  1 sibling, 0 replies; 9+ messages in thread
From: Jeff Moyer @ 2004-07-20 12:54 UTC (permalink / raw)
  To: Ian Kent; +Cc: EAGOMEZC, autofs

==> Regarding Re: [autofs] auto direct; Ian Kent <raven@themaw.net> adds:

raven> On Fri, 16 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:
>> Hi,
>> 
>> i´ll need to setup direct maps in a linux box using a nis server on
>> Solaris 8. This option is not supported in autofs 4.
>> 
>> I don´t know why is not supported, why ? is not implemented, or are
>> there any security tip ?
>> 
>> Are there another way to mount direct maps ?
>> 

raven> Your not entirely correct.

raven> Maybe you should investigate a bit before making these assumptions.

What Ian means is look at
     /usr/share/doc/autofs-4.x.y/README.direct.

You may also find some threads on this in the autofs mailing list archives.

-Jeff

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: auto direct
  2004-07-20  1:27 ` Ian Kent
  2004-07-20 12:54   ` Jeff Moyer
@ 2004-07-20 15:06   ` D. Bahi
  2004-07-20 16:37     ` raven
  1 sibling, 1 reply; 9+ messages in thread
From: D. Bahi @ 2004-07-20 15:06 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 972 bytes --]

well - to be helpful - direct mounts are supported if you have
a non-root mount point (a mount point other than '/')

/etc/auto.direct (works):

/mount/auto  -options server:/path/to/mount/point

but

/etc/auto.direct (won't work):

/mountauto  -options server:/path/to/mount/point


Ian Kent wrote:

> On Fri, 16 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:
> 
> 
>>Hi, 
>>
>>i´ll need to setup direct maps in a linux box using a nis server on Solaris 8. 
>>This option is not supported in autofs 4.
>>
>>I don´t know why is not supported, why ? is not implemented, or are there any security tip ? 
>>
>>Are there another way to mount direct maps ?
>>
> 
> 
> Your not entirely correct.
> 
> Maybe you should investigate a bit before making these assumptions.
> 
> Ian
> 
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs

-- 
db


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 187 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: auto direct
  2004-07-20 15:06   ` D. Bahi
@ 2004-07-20 16:37     ` raven
  0 siblings, 0 replies; 9+ messages in thread
From: raven @ 2004-07-20 16:37 UTC (permalink / raw)
  To: D. Bahi; +Cc: autofs

On Tue, 20 Jul 2004, D. Bahi wrote:

> well - to be helpful - direct mounts are supported if you have
> a non-root mount point (a mount point other than '/')
> 
> /etc/auto.direct (works):
> 
> /mount/auto  -options server:/path/to/mount/point
> 
> but
> 
> /etc/auto.direct (won't work):
> 
> /mountauto  -options server:/path/to/mount/point
>

That's right and it is still a problem.

> 
> Ian Kent wrote:
> 
> > On Fri, 16 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:
> > 
> > 
> >>Hi, 
> >>
> >>i´ll need to setup direct maps in a linux box using a nis server on Solaris 8. 
> >>This option is not supported in autofs 4.
> >>
> >>I don´t know why is not supported, why ? is not implemented, or are there any security tip ? 
> >>
> >>Are there another way to mount direct maps ?
> >>
> > 
> > 
> > Your not entirely correct.
> > 
> > Maybe you should investigate a bit before making these assumptions.
> > 
> > Ian
> > 
> > 
> > _______________________________________________
> > autofs mailing list
> > autofs@linux.kernel.org
> > http://linux.kernel.org/mailman/listinfo/autofs
> 
> -- 
> db
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: auto direct
@ 2004-07-21 13:31 EAGOMEZC
  2004-07-21 13:58 ` raven
  0 siblings, 1 reply; 9+ messages in thread
From: EAGOMEZC @ 2004-07-21 13:31 UTC (permalink / raw)
  To: raven, dbahi; +Cc: autofs

ok,

but why not ?

is it not posible ?

is it not implemented yet ?

Can I help you ?

Thanks.

-----Mensaje original-----
De: autofs-bounces@linux.kernel.org
[mailto:autofs-bounces@linux.kernel.org]En nombre de raven@themaw.net
Enviado el: martes, 20 de julio de 2004 13:37
Para: D. Bahi
CC: autofs@linux.kernel.org
Asunto: Re: [autofs] auto direct


On Tue, 20 Jul 2004, D. Bahi wrote:

> well - to be helpful - direct mounts are supported if you have
> a non-root mount point (a mount point other than '/')
> 
> /etc/auto.direct (works):
> 
> /mount/auto  -options server:/path/to/mount/point
> 
> but
> 
> /etc/auto.direct (won't work):
> 
> /mountauto  -options server:/path/to/mount/point
>

That's right and it is still a problem.

> 
> Ian Kent wrote:
> 
> > On Fri, 16 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:
> > 
> > 
> >>Hi, 
> >>
> >>i´ll need to setup direct maps in a linux box using a nis server on Solaris 8. 
> >>This option is not supported in autofs 4.
> >>
> >>I don´t know why is not supported, why ? is not implemented, or are there any security tip ? 
> >>
> >>Are there another way to mount direct maps ?
> >>
> > 
> > 
> > Your not entirely correct.
> > 
> > Maybe you should investigate a bit before making these assumptions.
> > 
> > Ian
> > 
> > 
> > _______________________________________________
> > autofs mailing list
> > autofs@linux.kernel.org
> > http://linux.kernel.org/mailman/listinfo/autofs
> 
> -- 
> db
> 
> 


_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs


AVISO LEGAL:

Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de REPSOL YPF S.A. y/o subsidiarias y/o afiliadas. La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. 

This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: auto direct
  2004-07-21 13:31 EAGOMEZC
@ 2004-07-21 13:58 ` raven
  0 siblings, 0 replies; 9+ messages in thread
From: raven @ 2004-07-21 13:58 UTC (permalink / raw)
  To: EAGOMEZC; +Cc: autofs

On Wed, 21 Jul 2004 EAGOMEZC@REPSOLYPF.COM wrote:

> ok,
> 
> but why not ?

It is a limitation of the current implementation.

> 
> is it not posible ?

Not until the direct mount rework is done.
First I've spent a long time deciding on how best to implement it.
Second, the original method was used, largely due to the restricted number 
of anonymous mounts available in 2.4.
Third, the kernel module changes needed are a bit tricky. They'll need 
significant testing when the work is done, as will the userspace code.
Fourth, I've had a more or less constant stream of bug fix and basic 
functionality work needed with the package. It's way hard implement 
against a moving target.

> 
> is it not implemented yet ?

Above.

> 
> Can I help you ?

Perhaps. What do you have in mind?

Ian

^ permalink raw reply	[flat|nested] 9+ messages in thread

* auto direct
@ 2008-12-18  8:42 Bazan, Wojciech 
  2008-12-23  6:09 ` Ian Kent
  0 siblings, 1 reply; 9+ messages in thread
From: Bazan, Wojciech  @ 2008-12-18  8:42 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 2039 bytes --]

Hello,

 

Are there any known issues with auto direct automounts on RHEL.... (see
details below)

 

# uname -r

2.6.9-78.0.8.ELsmp

# more /etc/redhat-release 

Red Hat Enterprise Linux AS release 4 (Nahant Update 7)

# rpm -qi autofs-4.1.3-234

Name        : autofs                       Relocations: (not
relocatable)

Version     : 4.1.3                             Vendor: Red Hat, Inc.

Release     : 234                           Build Date: Thu 19 Jun 2008
05:18:46 PM BST

Install Date: Tue 16 Dec 2008 06:08:11 PM GMT      Build Host:
hs20-bc1-5.build.redhat.com

Group       : System Environment/Daemons    Source RPM:
autofs-4.1.3-234.src.rpm

Size        : 960684                           License: GPL

Signature   : DSA/SHA1, Tue 01 Jul 2008 02:32:36 PM BST, Key ID
219180cddb42a60e

Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>

Summary     : A tool for automatically mounting and unmounting
filesystems.

Description :

Autofs controls the operation of the automount daemons. The automount

daemons automatically mount filesystems when you use them and

unmount them after a period of inactivity. Filesystems can include

network filesystems, CD-ROMs, floppies, and other media.

 

Install this package if you want a program for automatically mounting

and unmounting filesystems. If your Red Hat Linux machine is on a

network, you should install autofs.

 

 

Although the configuration seems to be perfectly fine:

 

# more /etc/auto.master

...

/misc   /etc/auto.misc

/net    /etc/auto.net

/-      /etc/auto.direct

 

# more /etc/auto.direct 

...

/PKGrep <host>:/export/PKGrep

 

It does not want to start autofs saying:

 

automount[9521]: cache_ghost: entry in file:/etc/auto.direct not valid
map format, key /PKGrep

 

 

Auto direct work however if we do not use the dir directly under root.

 

Any ideas?

 

Many thanks,

Wojtek

 

 

 

 

 

 

 


[-- Attachment #1.2: Type: text/html, Size: 8431 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: auto direct
  2008-12-18  8:42 Bazan, Wojciech 
@ 2008-12-23  6:09 ` Ian Kent
  0 siblings, 0 replies; 9+ messages in thread
From: Ian Kent @ 2008-12-23  6:09 UTC (permalink / raw)
  To: Bazan, Wojciech; +Cc: autofs

On Thu, 2008-12-18 at 08:42 +0000, Bazan, Wojciech wrote:
> Hello,
> 
>  
> 
> Are there any known issues with auto direct automounts on RHEL....
> (see details below)
> 
>  
> 
> # uname -r
> 
> 2.6.9-78.0.8.ELsmp
> 
> # more /etc/redhat-release 
> 
> Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
> 
> # rpm -qi autofs-4.1.3-234
> 
> Name        : autofs                       Relocations: (not
> relocatable)
> 
> Version     : 4.1.3                             Vendor: Red Hat, Inc.
> 
> Release     : 234                           Build Date: Thu 19 Jun
> 2008 05:18:46 PM BST
> 
> Install Date: Tue 16 Dec 2008 06:08:11 PM GMT      Build Host:
> hs20-bc1-5.build.redhat.com
> 
> Group       : System Environment/Daemons    Source RPM:
> autofs-4.1.3-234.src.rpm
> 
> Size        : 960684                           License: GPL
> 
> Signature   : DSA/SHA1, Tue 01 Jul 2008 02:32:36 PM BST, Key ID
> 219180cddb42a60e
> 
> Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
> 
> Summary     : A tool for automatically mounting and unmounting
> filesystems.
> 
> Description :
> 
> Autofs controls the operation of the automount daemons. The automount
> 
> daemons automatically mount filesystems when you use them and
> 
> unmount them after a period of inactivity. Filesystems can include
> 
> network filesystems, CD-ROMs, floppies, and other media.
> 
>  
> 
> Install this package if you want a program for automatically mounting
> 
> and unmounting filesystems. If your Red Hat Linux machine is on a
> 
> network, you should install autofs.
> 
>  
> 
>  
> 
> Although the configuration seems to be perfectly fine:
> 
>  
> 
> # more /etc/auto.master
> 
> …
> 
> /misc   /etc/auto.misc
> 
> /net    /etc/auto.net
> 
> /-      /etc/auto.direct
> 
>  
> 
> # more /etc/auto.direct 
> 
> …
> 
> /PKGrep <host>:/export/PKGrep
> 
>  
> 
> It does not want to start autofs saying:
> 
>  
> 
> automount[9521]: cache_ghost: entry in file:/etc/auto.direct not valid
> map format, key /PKGrep
> 
>  
> 
>  
> 
> Auto direct work however if we do not use the dir directly under root.

That's right, the pseudo direct mount support in version 4 has several
limitations and this is one.

Ian


_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-12-23  6:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-16 20:31 auto direct EAGOMEZC
2004-07-20  1:27 ` Ian Kent
2004-07-20 12:54   ` Jeff Moyer
2004-07-20 15:06   ` D. Bahi
2004-07-20 16:37     ` raven
  -- strict thread matches above, loose matches on Subject: below --
2004-07-21 13:31 EAGOMEZC
2004-07-21 13:58 ` raven
2008-12-18  8:42 Bazan, Wojciech 
2008-12-23  6:09 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.