Description of problem:
I've created a custom udev rule to run a script to initialise & load firmware
for an prism2 wlan usb card.
At the default log level, udevd discards any error output from the script making
it difficult for normal users to understand why their wlan device isn't working
if there's a failure. there is no output logged even if the script return an
Pleas enhance udev to log STDERR for all RUN rules.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. load prism2_usb device
2. udevd runs script that errors
3. script errors are not logged
No errors logged
The prism2_usb driver is an out of kernel driver for this wlan card.
Looking at the source code, can I just change the run_program(...) call in
udev_rules.c as in the attached patch, to get the behaviour I want?
patch _NOT_ tested!
Are there any instructions for building udevd from the src.rpm ? I guess a apply
all the patches in the rpm and build as normal ?
Created attachment 127407 [details]
patch of possible solution
The behavior is intentional, as some tools validly print errors, or are even
expected to fail while called from udev. It would needlessly flood the syslog.
The log level of the udev daemon can be changed at runtime if needed for