Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] autofs & nfs

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: Eric Sandall <eric AT sandall.us>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] autofs & nfs
  • Date: Fri, 9 Jul 2004 08:43:27 -0700

On Fri, Jul 09, 2004 at 08:34:36AM -0700, Eric Sandall wrote:
> Quoting Jason Flatt <jason AT flattfamily.com>:
> > On Friday 09 July 2004 1:50 am, Lyon Lemmens wrote:
> > > Since some time (I forgot just about when, but at least a month ago)
> > > I've
> > > got a problem that my autofs nfs mounts are not functional when my
> > > system
> > > is rebooted.
> > >
> > > I've tracked it down to autofs being started before nfs. So, reading up
> > > on
> > > simpleinit-msb and going through the smlg-scripts in /etc/init.d, it
> > > looks
> > > as if a "NEEDS='+nfs'" in autofs should fix the order.
> > >
> > > But it doesn't. So I added a PROVIDES="nfs" in the nfs script. Which
> > didn't
> > > help either.
> > >
> > > Somebody out there that can tell me how to do this properly?
> >
> > If you remove the +, you don't need the PROVIDES, like this: NEEDS="nfs".
> >
> > Then autofs is depending on the nfs script and not the service.
>
> If the "nfs" script is not executable (i.e. disabled), will autofs still be
> able
> to start? I'm asking because this sounds like a bug in our script
> dependencies,
> but not everyone uses NFS, but they might use autofs, and I don't want to
> break
> one just to fix the other.
>
> -sandalle

You mean to add some sort of missing or non-executable dependency logic
that automatically turns on a disabled dependency? I could see this
happening so long as we sent an note to the system log. A true missing
dependency should never happen because the dependency will be written
into our spell dependency system, but perhaps we should look into what
should be done in that case as well.

Seth
--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org

Attachment: pgpuKzyAfv8D9.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page