Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751973 - sys-fs/udev-init-scripts-34: debug option doesn't work
Summary: sys-fs/udev-init-scripts-34: debug option doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 02:30 UTC by Wojciech Pyczak
Modified: 2021-05-24 22:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Pyczak 2020-10-31 02:30:13 UTC
File (/run/udevdebug.log) is being created but it contains no data. 

Reproducible: Always

Steps to Reproduce:
- /etc/conf.d/udev -> udev_debug="YES"
- /etc/udev/udev.conf -> udev_log="debug"




I looked through couple of latest git commits and by making this change I got it working:
-               command_args="${command_args} --debug 2> /run/udevdebug.log"
+               command_args="${command_args} --debug"
+               error_log="/run/udevdebug.log"
Comment 1 Larry the Git Cow gentoo-dev 2021-05-24 22:55:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/udev-gentoo-scripts.git/commit/?id=9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba

commit 9ce321d30bed9f952018f5bb63b3c8a3aebcd4ba
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2021-05-24 22:51:21 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2021-05-24 22:51:33 +0000

    fix --debug option
    
    Thanks to nissarin@gmail.com for the patch
    
    Closes: https://bugs.gentoo.org/751973
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 init.d/udev | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)