supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Is it possible to run automounter (autofs) w/ runit ?
@ 2004-06-03  6:09 Manolis Tzanidakis
  2004-06-03  7:28 ` George Georgalis
  0 siblings, 1 reply; 6+ messages in thread
From: Manolis Tzanidakis @ 2004-06-03  6:09 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 896 bytes --]

Hello all,
I'm using runit as process 1 and I'd like to run automounter (from the
autofs package) with it, however its init script is quite complex & as
I figured it doesn't stay on foreground.
I know I could run it from stage 1, however I want it to run right after
portmap & rpc.statd (since I use autofs to mount nfs shares on demand),
that run supervised & I'd prefer to keep them this way. 
Has anyone figured it out or should I stick to an ugly solution with
fghack :) ?

-- 
.: Manolis Tzanidakis
mailto: mtzanidakis@freemail.gr
http://www.kegep.tuc.gr/~manolis
jabber: mtzanidakis@jabber.org
icq: #102798230
GnuPG Key Fingerprint:
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.


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

* Re: Is it possible to run automounter (autofs) w/ runit ?
  2004-06-03  6:09 Is it possible to run automounter (autofs) w/ runit ? Manolis Tzanidakis
@ 2004-06-03  7:28 ` George Georgalis
  2004-06-03  7:43   ` Manolis Tzanidakis
  0 siblings, 1 reply; 6+ messages in thread
From: George Georgalis @ 2004-06-03  7:28 UTC (permalink / raw)


On Thu, Jun 03, 2004 at 09:09:34AM +0300, Manolis Tzanidakis wrote:

>Hello all, I'm using runit as process 1 and I'd like to run automounter
>(from the autofs package) with it, however its init script is quite
>complex & as I figured it doesn't stay on foreground.  I know I could
>run it from stage 1, however I want it to run right after portmap &
>rpc.statd (since I use autofs to mount nfs shares on demand), that run
>supervised & I'd prefer to keep them this way.  Has anyone figured it
>out or should I stick to an ugly solution with fghack :) ?

Umm, why are you using automounter for core services? Shouldn't you
be using fstab to mount them (local or nfs) or use a nfs-root system?
...then run automounter later for intermittent mount points.

// George


-- 
George Georgalis, Architect and administrator, Linux services. IXOYE
http://galis.org/george/  cell:646-331-2027  mailto:george@galis.org
Key fingerprint = 5415 2738 61CF 6AE1 E9A7  9EF0 0186 503B 9831 1631



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

* Re: Is it possible to run automounter (autofs) w/ runit ?
  2004-06-03  7:28 ` George Georgalis
@ 2004-06-03  7:43   ` Manolis Tzanidakis
  2004-06-03 12:37     ` Manolis Tzanidakis
  2004-06-03 13:53     ` George Georgalis
  0 siblings, 2 replies; 6+ messages in thread
From: Manolis Tzanidakis @ 2004-06-03  7:43 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 888 bytes --]

On Thu, 3 Jun 2004 03:28:38 -0400
George Georgalis <george@galis.org> wrote:

> Umm, why are you using automounter for core services? Shouldn't you
> be using fstab to mount them (local or nfs) or use a nfs-root system?
> ...then run automounter later for intermittent mount points.

I don't use it for core services (...no /usr shares, etc.), I use it on
my laptop roaming through 5 different lans, with different nfs shares &
automount makes my file quite easier :).

-- 
.: Manolis Tzanidakis
mailto: mtzanidakis@freemail.gr
http://www.kegep.tuc.gr/~manolis
jabber: mtzanidakis@jabber.org
icq: #102798230
GnuPG Key Fingerprint:
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.


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

* Re: Is it possible to run automounter (autofs) w/ runit ?
  2004-06-03  7:43   ` Manolis Tzanidakis
@ 2004-06-03 12:37     ` Manolis Tzanidakis
  2004-06-03 13:53     ` George Georgalis
  1 sibling, 0 replies; 6+ messages in thread
From: Manolis Tzanidakis @ 2004-06-03 12:37 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 566 bytes --]

On Thu, 3 Jun 2004 10:43:06 +0300
Manolis Tzanidakis <mtzanidakis@freemail.gr> wrote:

> automount makes my file quite easier :).

s/file/life :).

-- 
.: Manolis Tzanidakis
mailto: mtzanidakis@freemail.gr
http://www.kegep.tuc.gr/~manolis
jabber: mtzanidakis@jabber.org
icq: #102798230
GnuPG Key Fingerprint:
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.


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

* Re: Is it possible to run automounter (autofs) w/ runit ?
  2004-06-03  7:43   ` Manolis Tzanidakis
  2004-06-03 12:37     ` Manolis Tzanidakis
@ 2004-06-03 13:53     ` George Georgalis
  2004-06-03 14:02       ` Manolis Tzanidakis
  1 sibling, 1 reply; 6+ messages in thread
From: George Georgalis @ 2004-06-03 13:53 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 1152 bytes --]

On Thu, Jun 03, 2004 at 10:43:06AM +0300, Manolis Tzanidakis wrote:
>On Thu, 3 Jun 2004 03:28:38 -0400
>George Georgalis <george@galis.org> wrote:
>
>> Umm, why are you using automounter for core services? Shouldn't you
>> be using fstab to mount them (local or nfs) or use a nfs-root system?
>> ...then run automounter later for intermittent mount points.
>
>I don't use it for core services (...no /usr shares, etc.), I use it on
>my laptop roaming through 5 different lans, with different nfs shares &
>automount makes my file quite easier :).

Guess I misinterpreted the problem... first thing to do is file a bug
report:

       Please report other bugs along with a detailed description
       to  <autofs@linux.kernel.org>.  To join this mailing list,
       send a message with the line "subscribe autofs" to <major­
       domo@linux.kernel.org>.

Next, I would write a service to insure the daemon is up....

Cheers,
// George


-- 
George Georgalis, Architect and administrator, Linux services. IXOYE
http://galis.org/george/  cell:646-331-2027  mailto:george@galis.org
Key fingerprint = 5415 2738 61CF 6AE1 E9A7  9EF0 0186 503B 9831 1631



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

* Re: Is it possible to run automounter (autofs) w/ runit ?
  2004-06-03 13:53     ` George Georgalis
@ 2004-06-03 14:02       ` Manolis Tzanidakis
  0 siblings, 0 replies; 6+ messages in thread
From: Manolis Tzanidakis @ 2004-06-03 14:02 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 629 bytes --]

On Thu, 3 Jun 2004 09:53:36 -0400
George Georgalis <george@galis.org> wrote:

> Guess I misinterpreted the problem... first thing to do is file a bug
> report

I guess you're right George. Thanx for answering.

-- 
.: Manolis Tzanidakis
mailto: mtzanidakis@freemail.gr
http://www.kegep.tuc.gr/~manolis
jabber: mtzanidakis@jabber.org
icq: #102798230
GnuPG Key Fingerprint:
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3

____________________________________________________________________
http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.


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

end of thread, other threads:[~2004-06-03 14:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-03  6:09 Is it possible to run automounter (autofs) w/ runit ? Manolis Tzanidakis
2004-06-03  7:28 ` George Georgalis
2004-06-03  7:43   ` Manolis Tzanidakis
2004-06-03 12:37     ` Manolis Tzanidakis
2004-06-03 13:53     ` George Georgalis
2004-06-03 14:02       ` Manolis Tzanidakis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).