Re: RFC: Alternate patch to have true new-style rc.d scripts in ports(without touching localpkg)

From: Jamie Bowden (ragnar_at_sysabend.org)
Date: 08/17/04

  • Next message: Scot Hetzel: "Re: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)"
    Date: Tue, 17 Aug 2004 10:13:53 -0700 (PDT)
    To: Andre Oppermann <andre@freebsd.org>
    
    

    On Tue, 17 Aug 2004, Andre Oppermann wrote:

    > Brad Knowles wrote:
    > > At 3:11 PM +0200 2004-08-17, sthaug@nethelp.no wrote:
    > >
    > >> - Why cannot /usr/local/etc/rc.d be used with rcorder if /etc/rc.d/local
    > >> is okay?
    > >
    > > You can't guarantee that /usr/local is on the same filesystem as
    > > /etc (and available early in the boot process), and while you can't
    > > guarantee that /etc/rc.d/local is also on the same filesytem, it's a lot
    > > easier for some people to guarantee.
    > >
    > > Moreover, many sites may mount /usr read-only, or /usr/local non-suid.
    >
    > So? How does this prevent rc scripts being used from /usr or /usr/local?

    Imagine /usr/local is NFS mounted from one machine across multiple in your
    network. Now imagine each machine needs a local set of individual startup
    scripts for certain bits of software specific to it. I have seen this
    setup more than once. On Irix and Solaris (and other SysV derived
    systems), this isn't a problem, you just put the startup scripts for the
    software you want to run in /etc/rcN.d/SNNscriptname, and you control the
    order of startup and which particiular pieces of software startup. Od you
    also have the option of KNNscriptname for processes that must shut down
    cleanly when changing run levels.

    Screeds about how vile NFS is can be sent to /dev/null to save us all the
    trouble of deleting them.

    Jamie Bowden

    -- 
    "It was half way to Rivendell when the drugs began to take hold"
    Hunter S Tolkien "Fear and Loathing in Barad Dur"
    Iain Bowen <alaric@alaric.org.uk>
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Scot Hetzel: "Re: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg)"

    Relevant Pages

    • Re: Excel 2003 documents open slow or do not open.
      ... Not sure what the process is for 2003, but I imagine the cause is the ... same - having VBA code running on the startup of Excel (perhaps book.xlt ...
      (microsoft.public.office.misc)
    • Re: Deploy office 2003 to XP workstations
      ... I'm new to group policy, and I did read your posting carefully and went to group policy to look where is the setting. ... I don't quite understand what to do with "Always wait for the network at computer startup and logon." ... "run startup scripts asynchronously" ...
      (microsoft.public.windows.group_policy)
    • Re: Executing script on X login
      ... You restart your WM and the X session is gone. ... I'm surpised that the X startup scripts take this all or nothing approach. ...
      (Debian-User)
    • Re: Executing script on X login
      ... > I'm surpised that the X startup scripts take this all or nothing approach. ... There really should be a user file that can be sourced even ... at the end/beginning of your .xsession and the Debian ...
      (Debian-User)
    • Re: Ports startup scripts in /etc/rc.d (Re: 5.2-BETA and related ports issues)
      ... > change the ports, but this is probably not the right fix. ... startup scripts to /etc/rc.d? ... postgresql starts before your mail system). ...
      (freebsd-current)