Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238044 - sys-kernel/module-rebuild-0.5: tyop in error message
Summary: sys-kernel/module-rebuild-0.5: tyop in error message
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 20:56 UTC by Dan Wallis
Modified: 2008-10-31 22:53 UTC (History)
0 users

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 Dan Wallis 2008-09-18 20:56:30 UTC
Hello

I ran module-rebuild as my user and think there's a typographical error in the message displayed:

dan@tui ~ $ module-rebuild 
This application must be ran as root.
dan@tui ~ $ 

Reproducible: Always

Steps to Reproduce:
As any user other than root, run "module-rebuild".
Actual Results:  
dan@tui ~ $ /usr/sbin/module-rebuild 
This application must be ran as root.
dan@tui ~ $ 

Expected Results:  
dan@tui ~ $ /tmp/module-rebuild 
This application must be run as root.
dan@tui ~ $ 

Patch to fix:

dan@tui ~ $ diff -u /usr/sbin/module-rebuild /tmp/module-rebuild 
--- /usr/sbin/module-rebuild	2008-07-07 02:48:44.000000000 +0100
+++ /tmp/module-rebuild	2008-09-18 21:46:40.000000000 +0100
@@ -8,7 +8,7 @@
 # Copyright Gentoo Linux
 
 if [[ `id -u` != 0 ]]; then
-	echo "This application must be ran as root."
+	echo "This application must be run as root."
 	exit 1
 fi
 
dan@tui ~ $
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-19 06:41:26 UTC
It could have been speled that way on purpose ;)

Assigning to maintainers.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2008-10-31 22:53:38 UTC
Fixed in module-rebuild-0.6, sorry for the delay