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

Re: FHS and /var/www



On Mon, 2008-07-21 at 14:04 -0700, Don Armstrong wrote:
> On Mon, 21 Jul 2008, Franklin PIAT wrote:
> > Can Debian satisfy them both ? Well... why not !
> 
> We already do. Someone who was concerned about such things could write
> a policy-rc.d which checked to see whether a particular daemon was
> allowed to start based on any number of critera, including whether it
> depends on the network, whether it has been installed for a long time,
> or whether one of the configuration files it ships has been modified.

I wasn't aware of policy-rc.d

> > The policy could state that network service's init.d script must check
> > for a file named "/etc/no-paranoia"[1].
> 
> Anything which sets up a network-listening daemon should almost
> certainly depend on $network, so assuming LSB compliant init scripts,
> no changes would even be required to figure out what a network service
> was.

This is a nice bonus which comes with LSB dependencies.

Franklin


Reply to: