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

Re: /proc file system



On Mon, Aug 27, 2001 at 01:01:35AM +0100, Andrew Suffield wrote:
> On Sun, Aug 26, 2001 at 07:06:40PM -0400, Joey Hess wrote:
> > Colin Watson wrote:
> > > But then people can't use self-compiled kernels without using
> > > kernel-package, and you also don't know whether an installed kernel
> > > package is the running kernel. There's no good way to do this within the
> > > Debian packaging framework, as far as I can work out.
> > 
> > Well, this is pretty out there, 
> 
> Way out with the cows :)

I almost started writing it, but it was two o'clock in the morning and I
wasn't thinking straight enough to fully appreciate the lunacy. ;)

> The package should detect /proc at run time and refuse to start if it
> is not available; it should not require /proc to install. If there are
> things which could be run in postinst _if_ /proc is available, it
> should be possible to run them by hand after installation (postinst
> should run them if it can, and scream if it can't. I can't see any
> good reason for depending on anything /proc provides.

For shaper, I went for the approach of displaying a debconf note if you
install it on a system without the required modules installed (only the
first time you install it, of course). It isn't perfect, especially as
it currently doesn't spot whether you have the support built into the
kernel rather than as modules, but it seems to work well enough as a
reminder.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: