Matthew Burgess wrote:
> Matthew Burgess wrote:
> 
>> I think that the top two were failing because the relevant
>> /proc entries hadn't been created
> 
> 
> Well, I don't get the error here anymore, so I can only assume it was
> operator error when I was first playing with this.  That said, I don't
> think moving sysctl to S01 is particularly safe, because of Bryan's
> observation that the RTC entry won't exist until the rtc module is loaded.
> 
> As we don't dictate to folks how to configure their kernel (though we do
> warn them that a non-modular kernel is easier ATM wrt. udev), I believe
> the safest place to put the bootscript is some time after S05modules.
> Because the modules are loaded asynchronously though, I'm not sure we'll
> ever know what the "right" time is to attempt to set sysctl related
> stuff - slower machines, or those loading lots of modules, will take a
> while before sysctl can do its thing successfully.
> 
> So, with all that said, I think someone with some time on their hands
> needs to investigate this whole 'dev.d' setup (or just hit me with the
> relevant cluebat), and we'll put the relevant machinery in the
> bootscripts and/or the book.  This, I believe, would completely
> deprecate 'sysctl', in favour of configuring devices immediately after
> their creation.
> 
> Regards,
> 
> Matt.

One could argue that this issue should be handled case by case by the
sysadmin, however, I take back the suggestion and will do this only
locally.  It still makes sense to me (opinion) to configure /proc/sys
when mounted, and the system's one-offs be handled when the necessary
module loads, or when it is first needed if it's not available at mount
time for any reason.  But simplicity is better in this case, it'll save
headache for users if it's left at 90.  Also as stated above, sysctl may
be completely unneeded in favor of the correct dev.d setup (a topic for
which I don't have enough of a grasp to participate in).

-- DJ Lucas
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to