supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Laurent Bercot <ska-supervision@skarnet.org>
Subject: Re: runit pblms on Mandrake
Date: Thu, 17 Jul 2003 14:33:32 +0200	[thread overview]
Message-ID: <20030717123332.GA27833@skarnet.org> (raw)
In-Reply-To: <20030717165118.0139ae8a.hleil@yahoo.com.cn>

> no,the reason is what you said below.the /package and /command directorys
> may be not stay at root partition.Although we can think /pacakge/admin/* 
> as the basic system packages,but what about others?like /package/prog?
> /package/host?Are they basic?So we have to take all the /package/*,at least
> all the binaries under /package at root partition?

 No, of course.
 You can have for instance /rootfs/package, located on the root partition,
/usr/local/package, located on another one, and /package being a set of
symlinks pointing to the right places. The command
  update-symlinks /package /rootfs/package /usr/local/package
will create the right links in /package.

 Remember: /package is only an _access_ path, not a physical location path.
Nobody cares where your files really are, as long as they can be
reliably accessed. You could even have the runit and runit-init binaries
on the root partition, and everything else, including the rest of the
runit package, in /usr/local - no problem as long as /package and /command
still provide the right access paths.


> good idea,we dont need *replace* /sbin/init,thanks!But maybe I use
> init=/sbin/runit-init in my /etc/grub.conf, :)

 Don't. Use init=/command/runit-init
         or init=/package/admin/runit/command/runit-init
in your /etc/grub.conf, and make sure it points to the actual runit-init
program.

-- 
 Ska


  reply	other threads:[~2003-07-17 12:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-17  3:10 Karthik M
2003-07-17  6:00 ` Hleil Liu
2003-07-17  6:05   ` Hleil Liu
2003-07-17  6:25     ` Laurent Bercot
2003-07-17  8:51       ` Hleil Liu
2003-07-17 12:33         ` Laurent Bercot [this message]
2003-07-17 16:30           ` Karthik M
2003-07-17 17:10             ` Lukas Beeler
2003-07-17 22:22               ` Karthik M
2003-07-19  1:43               ` Karthik M
2003-07-19  8:02                 ` Lukas Beeler
2003-07-22 21:31                   ` Karthik M
2003-07-22 21:40                     ` Charlie Brady
2003-07-23 18:30                     ` clemens fischer
2003-07-17 19:30           ` Stefan Karrmann
2003-07-18 10:17       ` Gerrit Pape
2003-07-19 17:25       ` Hleil Liu
2003-07-17 16:26   ` Karthik M
2003-07-18 10:20     ` Gerrit Pape
2003-07-18 16:27       ` Lukas Beeler
2003-07-21 10:01         ` some getties require setsid() (Re: runit pblms on Mandrake) Gerrit Pape
2003-07-21 10:13           ` some getties require setsid() Lukas Beeler
2003-07-23 17:03             ` clemens fischer
2003-07-23 17:23               ` Lukas Beeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030717123332.GA27833@skarnet.org \
    --to=ska-supervision@skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).