tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc RC scripts



On Sun, 4 Oct 2009, Geert Hendrickx wrote:

(1) Install pkgsrc RC scripts by default into /etc/rc.pkg.d, not
/etc/rc.d and adjust the default value for rc_directories accordingly.
This keeps the logical separation between base and pkgsrc RC scripts
and still allows /usr (or /usr/pkg) to be on a separate filesystem.


Sounds like a good plan.  How will you handle duplicated rc.d scripts,
eg. /etc/rc.d/sshd vs. /etc/rc.pkg.d/sshd if sshd=yes in /etc/rc.conf?

And how do you handle rc.d scripts that are only present after some other script mounts the containing filesystem? Do you keep track of all the scripts that have already been executed, and re-run rcorder?


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index