[Server-devel] Debugging network scripts (from udev and explicit ifup invocation)

Martin Langhoff martin.langhoff at gmail.com
Thu Aug 28 00:26:52 EDT 2008


On Thu, Aug 28, 2008 at 4:08 PM, Martin Langhoff
<martin.langhoff at gmail.com> wrote:
> Is there a way to get the network script invocations to get logged
> somewhere? Something like /etc/sysconfig/network supporting
> DEBUGLOGGING=YesPlease -

Hack du jour: I've changed /etc/udev/rules.d/60-net.rules to invoke
net.hotplug.debugger which calls bash -x net.hotplug and redirects
stdin/stdout to a logfile.

There is probably something more elegant, but I'll get by with this for now :-)



m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff


More information about the Server-devel mailing list